Appearance
Variable: AuditEventDetail
ts
const AuditEventDetail: z.ZodObject<{
action: z.ZodString;
actorId: z.ZodString;
actorType: z.ZodEnum<{
app: "app";
applicant: "applicant";
service: "service";
system: "system";
user: "user";
workflow: "workflow";
}>;
id: z.ZodGUID;
meta: z.ZodOptional<z.ZodNullable<z.ZodObject<{
ip: z.ZodNullable<z.ZodString>;
requestId: z.ZodString;
route: z.ZodString;
userAgent: z.ZodNullable<z.ZodString>;
}, z.core.$strip>>>;
neighbors: z.ZodObject<{
newerId: z.ZodNullable<z.ZodGUID>;
olderId: z.ZodNullable<z.ZodGUID>;
}, z.core.$strip>;
occurredAt: z.ZodCoercedDate<unknown>;
payload: z.ZodUnknown;
related: z.ZodObject<{
caseId: z.ZodNullable<z.ZodGUID>;
decisionId: z.ZodNullable<z.ZodGUID>;
subjectId: z.ZodNullable<z.ZodGUID>;
workflowRunId: z.ZodNullable<z.ZodGUID>;
}, z.core.$strip>;
resourceId: z.ZodString;
resourceType: z.ZodString;
tenantId: z.ZodGUID;
}, z.core.$strip>;GET /audit-events/:id: the event, the events next to it in the list under the same filters (newest first) and the records it concerns.