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

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

export type SubscriptionsGetRequest = {
  /**
   * The subscription ID.
   */
  id: string;
};

/** @internal */
export type SubscriptionsGetRequest$Outbound = {
  id: string;
};

/** @internal */
export const SubscriptionsGetRequest$outboundSchema: z.ZodMiniType<
  SubscriptionsGetRequest$Outbound,
  SubscriptionsGetRequest
> = z.object({
  id: z.string(),
});

export function subscriptionsGetRequestToJSON(
  subscriptionsGetRequest: SubscriptionsGetRequest,
): string {
  return JSON.stringify(
    SubscriptionsGetRequest$outboundSchema.parse(subscriptionsGetRequest),
  );
}
