/*
 * Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
 */

import * as z from "zod/v4-mini";

export type WebhooksResetWebhookEndpointSecretRequest = {
  /**
   * The webhook endpoint ID.
   */
  id: string;
};

/** @internal */
export type WebhooksResetWebhookEndpointSecretRequest$Outbound = {
  id: string;
};

/** @internal */
export const WebhooksResetWebhookEndpointSecretRequest$outboundSchema:
  z.ZodMiniType<
    WebhooksResetWebhookEndpointSecretRequest$Outbound,
    WebhooksResetWebhookEndpointSecretRequest
  > = z.object({
    id: z.string(),
  });

export function webhooksResetWebhookEndpointSecretRequestToJSON(
  webhooksResetWebhookEndpointSecretRequest:
    WebhooksResetWebhookEndpointSecretRequest,
): string {
  return JSON.stringify(
    WebhooksResetWebhookEndpointSecretRequest$outboundSchema.parse(
      webhooksResetWebhookEndpointSecretRequest,
    ),
  );
}
