Skip to content

Variable: WorkflowReferenceStatusSchema

ts
const WorkflowReferenceStatusSchema: ZodObject<{
  approvalConfiguration: ZodOptional<ZodObject<{
     active: ZodCustom<"false" | "true" | string & object, "false" | "true" | string & object>;
     conditionType: ZodCustom<"number" | "percent" | string & object | "numberPerPrincipal", "number" | "percent" | string & object | "numberPerPrincipal">;
     conditionValue: ZodString;
     exclude: ZodOptional<ZodNullable<ZodArray<ZodNullable<ZodCustom<... | ... | ..., ... | ... | ...>>>>>;
     fieldId: ZodString;
     prePopulatedFieldId: ZodOptional<ZodNullable<ZodString>>;
     transitionApproved: ZodString;
     transitionRejected: ZodString;
  }, $loose>>;
  deprecated: ZodOptional<ZodBoolean>;
  layout: ZodOptional<ZodObject<{
     x: ZodOptional<ZodNullable<ZodNumber>>;
     y: ZodOptional<ZodNullable<ZodNumber>>;
  }, $loose>>;
  properties: ZodOptional<ZodRecord<ZodString, ZodAny>>;
  statusReference: ZodOptional<ZodString>;
}, $loose>;

Defined in: src/cloud/models/workflowReferenceStatus.ts:7

The statuses referenced in the workflow.