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

import * as z from "zod/v4-mini";
import { remap as remap$ } from "../../lib/primitives.js";

export type CustomerSeatsResendInvitationRequest = {
  seatId: string;
};

/** @internal */
export type CustomerSeatsResendInvitationRequest$Outbound = {
  seat_id: string;
};

/** @internal */
export const CustomerSeatsResendInvitationRequest$outboundSchema: z.ZodMiniType<
  CustomerSeatsResendInvitationRequest$Outbound,
  CustomerSeatsResendInvitationRequest
> = z.pipe(
  z.object({
    seatId: z.string(),
  }),
  z.transform((v) => {
    return remap$(v, {
      seatId: "seat_id",
    });
  }),
);

export function customerSeatsResendInvitationRequestToJSON(
  customerSeatsResendInvitationRequest: CustomerSeatsResendInvitationRequest,
): string {
  return JSON.stringify(
    CustomerSeatsResendInvitationRequest$outboundSchema.parse(
      customerSeatsResendInvitationRequest,
    ),
  );
}
