import * as z from "zod/v4-mini"; import { Result as SafeParseResult } from "../../types/fp.js"; import { BillingCycleInfo } from "./billing-cycle-info.js"; import { InvoicePreview } from "./invoice-preview.js"; import { PlanSummary } from "./plan-summary.js"; import { ProrationDetails } from "./proration-details.js"; import { SDKValidationError } from "./sdk-validation-error.js"; import { SubscriptionChangeType } from "./subscription-change-type.js"; /** * Response showing the financial impact of a subscription plan change */ export type SubscriptionChangePreviewResponse = { changeType?: SubscriptionChangeType | undefined; currentPlan?: PlanSummary | undefined; /** * effective_date is when the change would take effect */ effectiveDate?: Date | undefined; /** * metadata from the request */ metadata?: { [k: string]: string; } | undefined; newBillingCycle?: BillingCycleInfo | undefined; nextInvoicePreview?: InvoicePreview | undefined; prorationDetails?: ProrationDetails | undefined; /** * subscription_id is the ID of the subscription being changed */ subscriptionId?: string | undefined; targetPlan?: PlanSummary | undefined; /** * warnings contains any warnings about the change */ warnings?: Array | undefined; }; /** @internal */ export declare const SubscriptionChangePreviewResponse$inboundSchema: z.ZodMiniType; export declare function subscriptionChangePreviewResponseFromJSON(jsonString: string): SafeParseResult; //# sourceMappingURL=subscription-change-preview-response.d.ts.map