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

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

export type EventsGetRequest = {
  /**
   * The event ID.
   */
  id: string;
};

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

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

export function eventsGetRequestToJSON(
  eventsGetRequest: EventsGetRequest,
): string {
  return JSON.stringify(
    EventsGetRequest$outboundSchema.parse(eventsGetRequest),
  );
}
