UNPKG

@paritydeals/node-sdk

Version:

Node.js SDK for interacting with the ParityDeals API.

23 lines 822 B
import { ChargePeriod, CancellationType, ProbationBehaviour } from '../constants'; import { BaseResponse, FeatureListItem } from './common'; export interface CancelSubscriptionPayload { cancellationType: CancellationType; cancellationDate?: string | null; } export interface CancelSubscriptionResponse extends BaseResponse { message: string; } export interface UpdateSubscriptionPayload { planIdentifier: string; chargePeriod: ChargePeriod; probationBehaviour?: ProbationBehaviour | null; offeringId?: string | null; pricingTableId?: string | null; ruleId?: string | null; features?: FeatureListItem[] | null; ipAddress?: string | null; } export interface UpdateSubscriptionResponse extends BaseResponse { subscriptionId: string; } //# sourceMappingURL=subscription.d.ts.map