import type * as Square from "../../../../index"; /** * @example * { * subscriptionId: "subscription_id", * newPlanVariationId: "FQ7CDXXWSLUJRPM3GFJSJGZ7", * phases: [{ * ordinal: BigInt("0"), * orderTemplateId: "uhhnjH9osVv3shUADwaC0b3hNxQZY" * }] * } */ export interface SwapPlanRequest { /** The ID of the subscription to swap the subscription plan for. */ subscriptionId: string; /** * The ID of the new subscription plan variation. * * This field is required. */ newPlanVariationId?: string | null; /** A list of PhaseInputs, to pass phase-specific information used in the swap. */ phases?: Square.PhaseInput[] | null; }