Appearance
Variable: AuditExportSchedule
ts
const AuditExportSchedule: z.ZodObject<{
createdAt: z.ZodCoercedDate<unknown>;
createdBy: z.ZodString;
cron: z.ZodString;
enabled: z.ZodBoolean;
filter: z.ZodObject<{
action: z.ZodOptional<z.ZodString>;
actorId: z.ZodOptional<z.ZodString>;
actorType: z.ZodOptional<z.ZodEnum<{
app: "app";
applicant: "applicant";
service: "service";
system: "system";
user: "user";
workflow: "workflow";
}>>;
resourceId: z.ZodOptional<z.ZodString>;
resourceType: z.ZodOptional<z.ZodString>;
}, z.core.$strip>;
format: z.ZodEnum<{
csv: "csv";
jsonl: "jsonl";
}>;
id: z.ZodGUID;
lastRun: z.ZodNullable<z.ZodObject<{
bytes: z.ZodNullable<z.ZodNumber>;
error: z.ZodNullable<z.ZodString>;
fileName: z.ZodNullable<z.ZodString>;
finishedAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
id: z.ZodGUID;
rows: z.ZodNullable<z.ZodNumber>;
scheduleId: z.ZodGUID;
sha256: z.ZodNullable<z.ZodString>;
startedAt: z.ZodCoercedDate<unknown>;
status: z.ZodEnum<{
failed: "failed";
ok: "ok";
running: "running";
}>;
windowFrom: z.ZodCoercedDate<unknown>;
windowTo: z.ZodCoercedDate<unknown>;
}, z.core.$strip>>;
name: z.ZodString;
nextRunAt: z.ZodNullable<z.ZodCoercedDate<unknown>>;
updatedAt: z.ZodCoercedDate<unknown>;
}, z.core.$strip>;An export that runs on a schedule and stores its file in the deployment's object storage.