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

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

export type CustomerSubscriptionResume = {
  /**
   * Resume a paused subscription immediately, starting a new billing period and charging the customer.
   */
  resume: true;
};

/** @internal */
export type CustomerSubscriptionResume$Outbound = {
  resume: true;
};

/** @internal */
export const CustomerSubscriptionResume$outboundSchema: z.ZodMiniType<
  CustomerSubscriptionResume$Outbound,
  CustomerSubscriptionResume
> = z.object({
  resume: z.literal(true),
});

export function customerSubscriptionResumeToJSON(
  customerSubscriptionResume: CustomerSubscriptionResume,
): string {
  return JSON.stringify(
    CustomerSubscriptionResume$outboundSchema.parse(customerSubscriptionResume),
  );
}
