UNPKG

fathom-typescript

Version:

Fathom's official TypeScript SDK.

35 lines (29 loc) 684 B
/* * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT. */ import * as z from "zod/v3"; export type DeleteWebhookRequest = { /** * The ID of the webhook to delete. */ id: string; }; /** @internal */ export type DeleteWebhookRequest$Outbound = { id: string; }; /** @internal */ export const DeleteWebhookRequest$outboundSchema: z.ZodType< DeleteWebhookRequest$Outbound, z.ZodTypeDef, DeleteWebhookRequest > = z.object({ id: z.string(), }); export function deleteWebhookRequestToJSON( deleteWebhookRequest: DeleteWebhookRequest, ): string { return JSON.stringify( DeleteWebhookRequest$outboundSchema.parse(deleteWebhookRequest), ); }