Appearance
Variable: PolicyPack
ts
const PolicyPack: z.ZodObject<{
definitions: z.ZodObject<{
collectionFlows: z.ZodDefault<z.ZodArray<z.ZodObject<{
definition: z.ZodObject<{
entryStepId: z.ZodString;
linkTtlSeconds: z.ZodOptional<...>;
outcome: z.ZodOptional<...>;
presentation: z.ZodOptional<...>;
steps: z.ZodArray<...>;
translations: z.ZodOptional<...>;
}, z.core.$strip>;
description: z.ZodOptional<z.ZodString>;
key: z.ZodString;
name: z.ZodString;
}, z.core.$strip>>>;
lists: z.ZodDefault<z.ZodArray<z.ZodObject<{
caseInsensitive: z.ZodDefault<z.ZodBoolean>;
description: z.ZodOptional<z.ZodString>;
key: z.ZodString;
kind: z.ZodEnum<{
country: "country";
email: "email";
ip_cidr: "ip_cidr";
number: "number";
string: "string";
}>;
name: z.ZodString;
rows: z.ZodDefault<z.ZodArray<z.ZodObject<..., ...>>>;
}, z.core.$strip>>>;
rules: z.ZodDefault<z.ZodArray<z.ZodObject<{
config: z.ZodUnknown;
description: z.ZodOptional<z.ZodString>;
enabled: z.ZodDefault<z.ZodBoolean>;
key: z.ZodString;
name: z.ZodString;
severity: z.ZodDefault<z.ZodEnum<{
block: ...;
info: ...;
warn: ...;
}>>;
tags: z.ZodDefault<z.ZodArray<z.ZodString>>;
type: z.ZodEnum<{
app: "app";
comparison: "comparison";
expression: "expression";
list_lookup: "list_lookup";
score_threshold: "score_threshold";
velocity: "velocity";
}>;
weight: z.ZodOptional<z.ZodNumber>;
}, z.core.$strip>>>;
ruleSets: z.ZodDefault<z.ZodArray<z.ZodObject<{
definition: z.ZodObject<{
policy: z.ZodDiscriminatedUnion<..., ...>;
rules: z.ZodArray<...>;
}, z.core.$strip>;
description: z.ZodOptional<z.ZodString>;
key: z.ZodString;
name: z.ZodString;
useCase: z.ZodDefault<z.ZodEnum<{
custom: ...;
monitoring: ...;
onboarding: ...;
underwriting: ...;
}>>;
}, z.core.$strip>>>;
workflows: z.ZodDefault<z.ZodArray<z.ZodObject<{
definition: z.ZodObject<{
entryStepId: z.ZodString;
steps: z.ZodArray<...>;
ui: z.ZodOptional<...>;
}, z.core.$strip>;
description: z.ZodOptional<z.ZodString>;
key: z.ZodString;
name: z.ZodString;
trigger: z.ZodDefault<z.ZodEnum<{
event: ...;
manual: ...;
subject.created: ...;
}>>;
}, z.core.$strip>>>;
}, z.core.$strip>;
description: z.ZodOptional<z.ZodString>;
name: z.ZodString;
version: z.ZodString;
}, z.core.$strip>;