Skip to content

Variable: RequestInfoResult ​

ts
const RequestInfoResult: ZodObject<{
  case: ZodObject<{
     assigneeId: ZodOptional<ZodNullable<ZodString>>;
     closedAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     closedReason: ZodOptional<ZodNullable<ZodString>>;
     context: ZodRecord<ZodString, ZodUnknown>;
     createdAt: ZodCoercedDate<unknown>;
     decidedAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     decisionId: ZodOptional<ZodNullable<ZodGUID>>;
     dueAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     firstResponseAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     id: ZodGUID;
     infoRequestedAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     priority: ZodEnum<{
        critical: "critical";
        high: "high";
        low: "low";
        medium: "medium";
     }>;
     queue: ZodOptional<ZodNullable<ZodString>>;
     slaBreachedAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     slaState: ZodEnum<{
        breached: "breached";
        due_soon: "due_soon";
        none: "none";
        ok: "ok";
     }>;
     slaWarnPct: ZodOptional<ZodNullable<ZodNumber>>;
     status: ZodEnum<{
        closed: "closed";
        decided: "decided";
        in_review: "in_review";
        open: "open";
     }>;
     subjectId: ZodGUID;
     tenantId: ZodGUID;
     type: ZodString;
     updatedAt: ZodCoercedDate<unknown>;
     workflowRunId: ZodOptional<ZodNullable<ZodGUID>>;
  }, $strip>;
  expiresAt: ZodCoercedDate<unknown>;
  link: ZodString;
  submission: ZodObject<{
     caseId: ZodOptional<ZodNullable<ZodGUID>>;
     createdAt: ZodCoercedDate<unknown>;
     currentStepId: ZodOptional<ZodNullable<ZodString>>;
     data: ZodRecord<ZodString, ZodUnknown>;
     expiresAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     flowDefinitionId: ZodGUID;
     flowKey: ZodString;
     flowVersion: ZodNumber;
     id: ZodGUID;
     requestMessage: ZodOptional<ZodNullable<ZodString>>;
     status: ZodEnum<{
        expired: "expired";
        in_progress: "in_progress";
        submitted: "submitted";
        withdrawn: "withdrawn";
     }>;
     subjectId: ZodGUID;
     submittedAt: ZodOptional<ZodNullable<ZodCoercedDate<unknown>>>;
     tenantId: ZodGUID;
     updatedAt: ZodCoercedDate<unknown>;
     workflowRunId: ZodOptional<ZodNullable<ZodGUID>>;
  }, $strip>;
}, $strip>;

Response of POST /cases/:id/request-info: the paused case, the follow-up and the applicant's link to it, returned only here (never log it).

Released under the Apache-2.0 License.