Appearance
Variable: CaseQueuePreview
ts
const CaseQueuePreview: ZodObject<{
items: ZodArray<ZodObject<{
assignee: ZodOptional<ZodNullable<ZodObject<{
email: ZodOptional<ZodNullable<...>>;
id: ZodString;
name: ZodNullable<ZodString>;
}, $strip>>>;
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";
}>;
subject: ZodOptional<ZodObject<{
country: ZodOptional<ZodString>;
displayName: ZodString;
externalId: ZodOptional<ZodNullable<ZodString>>;
id: ZodGUID;
kind: ZodEnum<{
merchant: "merchant";
seller: "seller";
user: "user";
}>;
}, $strip>>;
subjectId: ZodGUID;
tenantId: ZodGUID;
type: ZodString;
updatedAt: ZodCoercedDate<unknown>;
workflowRunId: ZodOptional<ZodNullable<ZodGUID>>;
}, $strip>>;
total: ZodNumber;
}, $strip>;POST /case-queues/preview: the count and the first cases a filter selects.