import * as z from "zod/v3"; import { ClosedEnum } from "../../types/enums.js"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { DelayControlsMetadataResponseDto } from "./delaycontrolsmetadataresponsedto.js"; import { ResourceOriginEnum } from "./resourceoriginenum.js"; import { StepIssuesDto } from "./stepissuesdto.js"; /** * Type of the delay. Currently only 'regular' is supported by the schema. */ export declare const DelayStepResponseDtoType: { readonly Regular: "regular"; readonly Timed: "timed"; }; /** * Type of the delay. Currently only 'regular' is supported by the schema. */ export type DelayStepResponseDtoType = ClosedEnum; /** * Unit of time for the delay amount. */ export declare const DelayStepResponseDtoUnit: { readonly Seconds: "seconds"; readonly Minutes: "minutes"; readonly Hours: "hours"; readonly Days: "days"; readonly Weeks: "weeks"; readonly Months: "months"; }; /** * Unit of time for the delay amount. */ export type DelayStepResponseDtoUnit = ClosedEnum; /** * Control values for the delay step */ export type DelayStepResponseDtoControlValues = { /** * JSONLogic filter conditions for conditionally skipping the step execution. Supports complex logical operations with AND, OR, and comparison operators. See https://jsonlogic.com/ for full typing reference. */ skip?: { [k: string]: any; } | undefined; /** * Type of the delay. Currently only 'regular' is supported by the schema. */ type: DelayStepResponseDtoType; /** * Amount of time to delay. */ amount?: number | undefined; /** * Unit of time for the delay amount. */ unit?: DelayStepResponseDtoUnit | undefined; /** * Cron expression for the delay. Min length 1. */ cron?: string | undefined; additionalProperties?: { [k: string]: any; } | undefined; }; export type DelayStepResponseDto = { /** * Controls metadata for the delay step */ controls: DelayControlsMetadataResponseDto; /** * Control values for the delay step */ controlValues?: DelayStepResponseDtoControlValues | undefined; /** * JSON Schema for variables, follows the JSON Schema standard */ variables: { [k: string]: any; }; /** * Unique identifier of the step */ stepId: string; /** * Database identifier of the step */ id: string; /** * Name of the step */ name: string; /** * Slug of the step */ slug: string; /** * Type of the step */ type: "delay"; /** * Origin of the layout */ origin: ResourceOriginEnum; /** * Workflow identifier */ workflowId: string; /** * Workflow database identifier */ workflowDatabaseId: string; /** * Issues associated with the step */ issues?: StepIssuesDto | undefined; /** * Hash identifying the deployed Cloudflare Worker for this step */ stepResolverHash?: string | undefined; }; /** @internal */ export declare const DelayStepResponseDtoType$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const DelayStepResponseDtoUnit$inboundSchema: z.ZodNativeEnum; /** @internal */ export declare const DelayStepResponseDtoControlValues$inboundSchema: z.ZodType; export declare function delayStepResponseDtoControlValuesFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const DelayStepResponseDto$inboundSchema: z.ZodType; export declare function delayStepResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=delaystepresponsedto.d.ts.map