/** * The state of a subscription, as returned by the API. */ export enum SubscriptionStatus { /** The subscription was just created and has not yet started billing. */ New = 'NEW', /** The customer is currently enjoying a free-trial period. */ Trial = 'TRIAL', /** The subscription is incomplete. */ Incomplete = 'INCOMPLETE', /** The subscription is in good standing. */ Active = 'ACTIVE', /** Payment is overdue. */ PastDue = 'PAST_DUE', /** Subscription is waiting to be canceled. */ PendingCancellation = 'PENDING_CANCELLATION', /** Subscription was cancelled. */ Cancelled = 'CANCELLED', /** Subscription reached its natural end. */ Ended = 'ENDED', /** Subscription was terminated. */ Terminated = 'TERMINATED', /** Subscription is paused. */ Paused = 'PAUSED', }