2
0

Introducing Radar, fraud detection

This commit is contained in:
Baptiste Arnaud
2023-12-08 18:16:07 +00:00
parent 0b93c2b239
commit 4fdc1bfe5c
18 changed files with 221 additions and 7 deletions

View File

@@ -55,6 +55,7 @@ export const typebotV5Schema = z.preprocess(
isArchived: z.boolean(),
isClosed: z.boolean(),
whatsAppCredentialsId: z.string().nullable(),
riskLevel: z.number().nullable(),
}) satisfies z.ZodType<TypebotPrisma, z.ZodTypeDef, unknown>
)
export type TypebotV5 = z.infer<typeof typebotV5Schema>