Skip to content

Variable: ApprovalOutcome ​

ts
const ApprovalOutcome: ZodObject<{
  approval: ZodObject<{
     comment: ZodOptional<ZodNullable<ZodString>>;
     decidedAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     decidedBy: ZodOptional<ZodNullable<ZodString>>;
     decision: ZodOptional<ZodNullable<ZodEnum<{
        approved: "approved";
        rejected: "rejected";
        withdrawn: "withdrawn";
     }>>>;
     decisionComment: ZodOptional<ZodNullable<ZodString>>;
     id: ZodGUID;
     key: ZodString;
     kind: ZodEnum<{
        collection_flow: "collection_flow";
        rule: "rule";
        rule_set: "rule_set";
        workflow: "workflow";
     }>;
     requestedAt: ZodCoercedDate<unknown>;
     requestedBy: ZodString;
     tenantId: ZodGUID;
     version: ZodNumber;
  }, $strip>;
  definition: ZodUnknown;
}, $strip>;

Response of POST .../approve, .../reject and .../withdraw: the approval and the definition.

Released under the Apache-2.0 License.