import * as z from "zod/v4-mini"; import { BillingCadence } from "./billing-cadence.js"; import { BillingCycle } from "./billing-cycle.js"; import { BillingPeriod } from "./billing-period.js"; import { ProrationBehavior } from "./proration-behavior.js"; import { ScheduleType } from "./schedule-type.js"; /** * Request object for changing a subscription plan (upgrade/downgrade) */ export type SubscriptionChangeRequest = { billingCadence: BillingCadence; billingCycle: BillingCycle; billingPeriod: BillingPeriod; /** * billing_period_count is the billing period count for the new subscription */ billingPeriodCount?: number | undefined; changeAt?: ScheduleType | undefined; /** * metadata contains additional key-value pairs for storing extra information */ metadata?: { [k: string]: string; } | undefined; prorationBehavior: ProrationBehavior; /** * target_plan_id is the ID of the new plan to change to (required) */ targetPlanId: string; }; /** @internal */ export type SubscriptionChangeRequest$Outbound = { billing_cadence: string; billing_cycle: string; billing_period: string; billing_period_count?: number | undefined; change_at?: string | undefined; metadata?: { [k: string]: string; } | undefined; proration_behavior: string; target_plan_id: string; }; /** @internal */ export declare const SubscriptionChangeRequest$outboundSchema: z.ZodMiniType; export declare function subscriptionChangeRequestToJSON(subscriptionChangeRequest: SubscriptionChangeRequest): string; //# sourceMappingURL=subscription-change-request.d.ts.map