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