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