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

import * as z from "zod/v3";

export type GetSupportedTldsRequest = {
  teamId?: string | undefined;
};

/** @internal */
export type GetSupportedTldsRequest$Outbound = {
  teamId?: string | undefined;
};

/** @internal */
export const GetSupportedTldsRequest$outboundSchema: z.ZodType<
  GetSupportedTldsRequest$Outbound,
  z.ZodTypeDef,
  GetSupportedTldsRequest
> = z.object({
  teamId: z.string().optional(),
});

export function getSupportedTldsRequestToJSON(
  getSupportedTldsRequest: GetSupportedTldsRequest,
): string {
  return JSON.stringify(
    GetSupportedTldsRequest$outboundSchema.parse(getSupportedTldsRequest),
  );
}
