More debug
parent
fbe3d2fd10
commit
014a682d64
|
@ -21,11 +21,11 @@ const schemaWebhookBaseBodyParams = Webhook.pick({
|
|||
export const schemaWebhookCreateParams = z
|
||||
.object({
|
||||
subscriberUrl: z.string().url(),
|
||||
eventTriggers: z.string().array(),
|
||||
eventTriggers: z.any(),
|
||||
active: z.boolean(),
|
||||
payloadTemplate: z.string().optional().nullable(),
|
||||
eventTypeId: z.number().optional(),
|
||||
appId: z.string().optional().nullable(),
|
||||
// payloadTemplate: z.string().optional().nullable(),
|
||||
// eventTypeId: z.number().optional(),
|
||||
// appId: z.string().optional().nullable(),
|
||||
})
|
||||
.strict();
|
||||
|
||||
|
|
Loading…
Reference in New Issue