import * as z from "zod/v3"; import { ChatStepUpsertDto, ChatStepUpsertDto$Outbound } from "./chatstepupsertdto.js"; import { CustomStepUpsertDto, CustomStepUpsertDto$Outbound } from "./customstepupsertdto.js"; import { DelayStepUpsertDto, DelayStepUpsertDto$Outbound } from "./delaystepupsertdto.js"; import { DigestStepUpsertDto, DigestStepUpsertDto$Outbound } from "./digeststepupsertdto.js"; import { EmailStepUpsertDto, EmailStepUpsertDto$Outbound } from "./emailstepupsertdto.js"; import { HttpRequestStepUpsertDto, HttpRequestStepUpsertDto$Outbound } from "./httprequeststepupsertdto.js"; import { InAppStepUpsertDto, InAppStepUpsertDto$Outbound } from "./inappstepupsertdto.js"; import { PreferencesRequestDto, PreferencesRequestDto$Outbound } from "./preferencesrequestdto.js"; import { PushStepUpsertDto, PushStepUpsertDto$Outbound } from "./pushstepupsertdto.js"; import { ResourceOriginEnum } from "./resourceoriginenum.js"; import { SeverityLevelEnum } from "./severitylevelenum.js"; import { SmsStepUpsertDto, SmsStepUpsertDto$Outbound } from "./smsstepupsertdto.js"; export type UpdateWorkflowDtoSteps = InAppStepUpsertDto | EmailStepUpsertDto | SmsStepUpsertDto | PushStepUpsertDto | ChatStepUpsertDto | DelayStepUpsertDto | DigestStepUpsertDto | CustomStepUpsertDto | HttpRequestStepUpsertDto; export type UpdateWorkflowDto = { /** * Name of the workflow */ name: string; /** * Description of the workflow */ description?: string | undefined; /** * Tags associated with the workflow */ tags?: Array | undefined; /** * Whether the workflow is active */ active?: boolean | undefined; /** * Enable or disable payload schema validation */ validatePayload?: boolean | undefined; /** * The payload JSON Schema for the workflow */ payloadSchema?: { [k: string]: any; } | null | undefined; /** * Enable or disable translations for this workflow */ isTranslationEnabled?: boolean | undefined; /** * Workflow ID (allowed only for code-first workflows) */ workflowId?: string | undefined; /** * Steps of the workflow */ steps: Array; /** * Workflow preferences */ preferences: PreferencesRequestDto; /** * Origin of the layout */ origin: ResourceOriginEnum; /** * Severity of the workflow */ severity?: SeverityLevelEnum | undefined; }; /** @internal */ export type UpdateWorkflowDtoSteps$Outbound = InAppStepUpsertDto$Outbound | EmailStepUpsertDto$Outbound | SmsStepUpsertDto$Outbound | PushStepUpsertDto$Outbound | ChatStepUpsertDto$Outbound | DelayStepUpsertDto$Outbound | DigestStepUpsertDto$Outbound | CustomStepUpsertDto$Outbound | HttpRequestStepUpsertDto$Outbound; /** @internal */ export declare const UpdateWorkflowDtoSteps$outboundSchema: z.ZodType; export declare function updateWorkflowDtoStepsToJSON(updateWorkflowDtoSteps: UpdateWorkflowDtoSteps): string; /** @internal */ export type UpdateWorkflowDto$Outbound = { name: string; description?: string | undefined; tags?: Array | undefined; active: boolean; validatePayload?: boolean | undefined; payloadSchema?: { [k: string]: any; } | null | undefined; isTranslationEnabled: boolean; workflowId?: string | undefined; steps: Array; preferences: PreferencesRequestDto$Outbound; origin: string; severity?: string | undefined; }; /** @internal */ export declare const UpdateWorkflowDto$outboundSchema: z.ZodType; export declare function updateWorkflowDtoToJSON(updateWorkflowDto: UpdateWorkflowDto): string; //# sourceMappingURL=updateworkflowdto.d.ts.map