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

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

export type CustomerSubscriptionUpdateSeats = {
  /**
   * Update the number of seats for this subscription.
   */
  seats: number;
};

/** @internal */
export type CustomerSubscriptionUpdateSeats$Outbound = {
  seats: number;
};

/** @internal */
export const CustomerSubscriptionUpdateSeats$outboundSchema: z.ZodMiniType<
  CustomerSubscriptionUpdateSeats$Outbound,
  CustomerSubscriptionUpdateSeats
> = z.object({
  seats: z.int(),
});

export function customerSubscriptionUpdateSeatsToJSON(
  customerSubscriptionUpdateSeats: CustomerSubscriptionUpdateSeats,
): string {
  return JSON.stringify(
    CustomerSubscriptionUpdateSeats$outboundSchema.parse(
      customerSubscriptionUpdateSeats,
    ),
  );
}
