The open alternative to Salesforce, designed for AI.
TypeScript crmcrm-systemcustomergood-first-issuegraphqlhacktoberfestjavascriptmarketingmonoreponestjsopen-sourcepostgresqlreactreactjssalestypescriptweb
import { z } from 'zod';
import { workflowAiAgentActionSchema } from './ai-agent-action-schema';
import { workflowClassifyActionSchema } from './classify-action-schema';
import { workflowCodeActionSchema } from './code-action-schema';
import { workflowCreateCalendarEventActionSchema } from './create-calendar-event-action-schema';
import { workflowCreateRecordActionSchema } from './create-record-action-schema';
import { workflowDeleteRecordActionSchema } from './delete-record-action-schema';
import { workflowDraftEmailActionSchema } from './draft-email-action-schema';
import { workflowEmptyActionSchema } from './empty-action-schema';
import { workflowFilterActionSchema } from './filter-action-schema';
import { workflowFindRecordsActionSchema } from './find-records-action-schema';
import { workflowFormActionSchema } from './form-action-schema';
import { workflowHttpRequestActionSchema } from './http-request-action-schema';
import { workflowIfElseActionSchema } from './if-else-action-schema';
import { workflowIteratorActionSchema } from './iterator-action-schema';
import { workflowLogicFunctionActionSchema } from './logic-function-action-schema';
import { workflowPickRecordActionSchema } from './pick-record-action-schema';
import { workflowSendChatMessageActionSchema } from './send-chat-message-action-schema';
import { workflowSendEmailActionSchema } from './send-email-action-schema';
import { workflowUpdateRecordActionSchema } from './update-record-action-schema';
import { workflowUpsertRecordActionSchema } from './upsert-record-action-schema';
import { workflowDelayActionSchema } from './workflow-delay-action-schema';
import { workflowWaitForEventActionSchema } from './wait-for-event-action-schema';
export const workflowActionSchema = z.discriminatedUnion('type', [
workflowCodeActionSchema,
workflowLogicFunctionActionSchema,
workflowSendEmailActionSchema,
workflowDraftEmailActionSchema,
workflowSendChatMessageActionSchema,
workflowCreateCalendarEventActionSchema,
workflowCreateRecordActionSchema,
workflowUpdateRecordActionSchema,
workflowDeleteRecordActionSchema,
workflowUpsertRecordActionSchema,
workflowFindRecordsActionSchema,
workflowPickRecordActionSchema,
workflowFormActionSchema,
workflowHttpRequestActionSchema,
workflowAiAgentActionSchema,
workflowClassifyActionSchema,
workflowFilterActionSchema,
workflowIfElseActionSchema,
workflowIteratorActionSchema,
workflowDelayActionSchema,
workflowWaitForEventActionSchema,
workflowEmptyActionSchema,
]);