import type * as ElevenLabs from "../index"; /** * A reseller-managed paid subscription, as the reseller can act on it. * * Present only for a workspace the reseller actually sells to: untiered and * trial workspaces have no subscription to change or end, and are assigned to * instead. */ export interface ResellerWorkspaceSubscription { tierId: string; /** Price frozen at grant for the current billing cadence, not the live catalog price. */ subscriptionPriceUsd?: number; /** Cadence being billed. None only for a subscription mid-provisioning. */ billingPeriod?: ElevenLabs.ResellerWorkspaceSubscriptionBillingPeriod; /** When the current period ends, and so when a deferred change lands. */ billingPeriodEndUnix: number; /** When the subscription ends. Set means a pending unassignment the reseller can still undo. */ cancelAtUnix?: number; /** Tier this workspace drops to at the period boundary, if a downgrade is already scheduled. */ pendingDowngradeTier?: string; /** When that scheduled downgrade takes effect. */ pendingDowngradeAtUnix?: number; }