import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DelayRegularMetadata } from "./delayregularmetadata.js"; import { DelayScheduledMetadata } from "./delayscheduledmetadata.js"; import { DigestRegularMetadata } from "./digestregularmetadata.js"; import { DigestTimedMetadata } from "./digesttimedmetadata.js"; import { MessageTemplate } from "./messagetemplate.js"; import { NotificationStepData } from "./notificationstepdata.js"; import { ReplyCallback } from "./replycallback.js"; import { StepFilterDto } from "./stepfilterdto.js"; /** * Metadata associated with the workflow step. Can vary based on the type of step. */ export type Metadata = DelayScheduledMetadata | DigestRegularMetadata | DigestTimedMetadata | DelayRegularMetadata; export type NotificationStepDto = { /** * Unique identifier for the notification step. */ id?: string | undefined; /** * Universally unique identifier for the notification step. */ uuid?: string | undefined; /** * Name of the notification step. */ name?: string | undefined; /** * ID of the template associated with this notification step. */ templateId?: string | undefined; /** * Indicates whether the notification step is active. */ active?: boolean | undefined; /** * Determines if the process should stop on failure. */ shouldStopOnFail?: boolean | undefined; /** * Message template used in this notification step. */ template?: MessageTemplate | undefined; /** * Filters applied to this notification step. */ filters?: Array | undefined; /** * ID of the parent notification step, if applicable. */ parentId?: string | undefined; /** * Metadata associated with the workflow step. Can vary based on the type of step. */ metadata?: DelayScheduledMetadata | DigestRegularMetadata | DigestTimedMetadata | DelayRegularMetadata | undefined; /** * Callback information for replies, including whether it is active and the callback URL. */ replyCallback?: ReplyCallback | undefined; variants?: Array | undefined; }; /** @internal */ export declare const Metadata$inboundSchema: z.ZodType; export declare function metadataFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const NotificationStepDto$inboundSchema: z.ZodType; export declare function notificationStepDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=notificationstepdto.d.ts.map