Skip to content

Variable: WorkflowCreateValidateRequestSchema ​

ts
const WorkflowCreateValidateRequestSchema: ZodObject<{
  payload: ZodObject<{
     scope: ZodOptional<ZodObject<{
        project: ZodOptional<ZodObject<{
           id: ZodString;
        }, ApiObjectConfig<undefined>>>;
        type: ZodOptional<ZodCustom<... & ... | "PROJECT" | "GLOBAL", ... & ... | "PROJECT" | "GLOBAL">>;
     }, ApiObjectConfig<undefined>>>;
     statuses: ZodOptional<ZodArray<ZodObject<{
        description: ZodOptional<ZodString>;
        id: ZodOptional<ZodString>;
        name: ZodString;
        statusCategory: ZodCustom<... & ... | "TODO" | "IN_PROGRESS" | "DONE", ... & ... | "TODO" | "IN_PROGRESS" | "DONE">;
        statusReference: ZodString;
     }, ApiObjectConfig<undefined>>>>;
     workflows: ZodOptional<ZodArray<ZodObject<{
        description: ZodOptional<ZodString>;
        loopedTransitionContainerLayout: ZodOptional<ZodObject<{
           x: ...;
           y: ...;
        }, ApiObjectConfig<...>>>;
        name: ZodString;
        startPointLayout: ZodOptional<ZodObject<{
           x: ...;
           y: ...;
        }, ApiObjectConfig<...>>>;
        statuses: ZodArray<ZodObject<{
           approvalConfiguration: ...;
           layout: ...;
           properties: ...;
           statusReference: ...;
        }, ApiObjectConfig<...>>>;
        transitions: ZodArray<ZodObject<{
           actions: ...;
           conditions: ...;
           customIssueEventId: ...;
           description: ...;
           id: ...;
           links: ...;
           name: ...;
           properties: ...;
           toStatusReference: ...;
           transitionScreen: ...;
           triggers: ...;
           type: ...;
           validators: ...;
        }, ApiObjectConfig<...>>>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>;
  validationOptions: ZodOptional<ZodObject<{
     levels: ZodOptional<ZodArray<ZodCustom<string & object | "WARNING" | "ERROR", string & object | "WARNING" | "ERROR">>>;
  }, ApiObjectConfig<undefined>>>;
}, ApiObjectConfig<undefined>>;

Defined in: src/cloud/models/workflowCreateValidateRequest.ts:6