import * as z from "zod/v3"; import { Result as SafeParseResult } from "../../types/fp.js"; import { SDKValidationError } from "../errors/sdkvalidationerror.js"; import { ResourceOriginEnum } from "./resourceoriginenum.js"; import { StepListResponseDto } from "./steplistresponsedto.js"; import { WorkflowStatusEnum } from "./workflowstatusenum.js"; /** * User who last updated the workflow */ export type WorkflowListResponseDtoUpdatedBy = { /** * User ID */ id: string; /** * User first name */ firstName?: string | null | undefined; /** * User last name */ lastName?: string | null | undefined; /** * User external ID */ externalId?: string | null | undefined; }; /** * User who last published the workflow */ export type WorkflowListResponseDtoLastPublishedBy = { /** * User ID */ id: string; /** * User first name */ firstName?: string | null | undefined; /** * User last name */ lastName?: string | null | undefined; /** * User external ID */ externalId?: string | null | undefined; }; export type WorkflowListResponseDto = { /** * Name of the workflow */ name: string; /** * Tags associated with the workflow */ tags?: Array | undefined; /** * Last updated timestamp */ updatedAt: string; /** * Creation timestamp */ createdAt: string; /** * User who last updated the workflow */ updatedBy?: WorkflowListResponseDtoUpdatedBy | null | undefined; /** * Timestamp of the last workflow publication */ lastPublishedAt?: string | null | undefined; /** * User who last published the workflow */ lastPublishedBy?: WorkflowListResponseDtoLastPublishedBy | null | undefined; /** * Unique database identifier */ id: string; /** * Workflow identifier */ workflowId: string; /** * Workflow slug */ slug: string; /** * Status of the workflow */ status: WorkflowStatusEnum; /** * Origin of the layout */ origin: ResourceOriginEnum; /** * Timestamp of the last workflow trigger */ lastTriggeredAt?: string | null | undefined; /** * Overview of step types in the workflow */ stepTypeOverviews: Array; /** * Is translation enabled for the workflow */ isTranslationEnabled?: boolean | undefined; /** * Steps of the workflow */ steps: Array; }; /** @internal */ export declare const WorkflowListResponseDtoUpdatedBy$inboundSchema: z.ZodType; export declare function workflowListResponseDtoUpdatedByFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WorkflowListResponseDtoLastPublishedBy$inboundSchema: z.ZodType; export declare function workflowListResponseDtoLastPublishedByFromJSON(jsonString: string): SafeParseResult; /** @internal */ export declare const WorkflowListResponseDto$inboundSchema: z.ZodType; export declare function workflowListResponseDtoFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=workflowlistresponsedto.d.ts.map