getV1WebhookSubscriptionSchema.ts•708 B
/**
* Generated by Kubb (https://kubb.dev/).
* Do not edit manually.
*/
import { z } from 'zod'
export const getV1WebhookSubscriptionHeaderParamsSchema = z.object({
'api-key': z.string().uuid().describe('Your API key'),
})
/**
* @description The current webhook subscription
*/
export const getV1WebhookSubscription200Schema = z.object({
url: z.string().describe('The webhook URL').optional(),
auth_token: z.string().describe('The auth token for the webhook').optional(),
})
/**
* @description No webhook subscription found
*/
export const getV1WebhookSubscription404Schema = z.any()
export const getV1WebhookSubscriptionQueryResponseSchema = z.lazy(() => getV1WebhookSubscription200Schema)