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

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

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

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

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

export function subscriptionResumeToJSON(
  subscriptionResume: SubscriptionResume,
): string {
  return JSON.stringify(
    SubscriptionResume$outboundSchema.parse(subscriptionResume),
  );
}
