Skip to content

Variable: ValidateUpdateWorkflowsSchema ​

ts
const ValidateUpdateWorkflowsSchema: ZodObject<{
  payload: ZodObject<{
     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<{
        defaultStatusMappings: ZodOptional<ZodArray<ZodObject<..., ...>>>;
        description: ZodOptional<ZodString>;
        id: ZodString;
        loopedTransitionContainerLayout: ZodOptional<ZodObject<{
           x: ...;
           y: ...;
        }, ApiObjectConfig<...>>>;
        startPointLayout: ZodOptional<ZodObject<{
           x: ...;
           y: ...;
        }, ApiObjectConfig<...>>>;
        statuses: ZodArray<ZodObject<{
           approvalConfiguration: ...;
           layout: ...;
           properties: ...;
           statusReference: ...;
        }, ApiObjectConfig<...>>>;
        statusMappings: ZodOptional<ZodArray<ZodObject<..., ...>>>;
        transitions: ZodArray<ZodObject<{
           actions: ...;
           conditions: ...;
           customIssueEventId: ...;
           description: ...;
           id: ...;
           links: ...;
           name: ...;
           properties: ...;
           toStatusReference: ...;
           transitionScreen: ...;
           triggers: ...;
           type: ...;
           validators: ...;
        }, ApiObjectConfig<...>>>;
        version: ZodObject<{
           id: ZodOptional<...>;
           versionNumber: ZodOptional<...>;
        }, ApiObjectConfig<undefined>>;
     }, ApiObjectConfig<undefined>>>>;
  }, ApiObjectConfig<undefined>>;
  validationOptions: ZodOptional<ZodObject<{
     levels: ZodOptional<ZodArray<ZodCustom<string & object | "WARNING" | "ERROR", string & object | "WARNING" | "ERROR">>>;
  }, ApiObjectConfig<undefined>>>;
}, $strip>;

Defined in: src/cloud/parameters/validateUpdateWorkflows.ts:4