@impler/shared
Version:
Reusable types and classes to shared between apps and libraries
32 lines • 741 B
TypeScript
export interface ISubscriptionData {
plan: {
code: string;
name: string;
charges: {
billableMetric: {
code: string;
name: string;
};
chargeModal: 'FIXED' | 'VOLUME_BASED';
properties: Record<string, string | number>;
}[];
charge: number;
canceledOn?: Date;
};
isActive: boolean;
usage: {
IMPORTED_ROWS: number;
};
expiryDate: string;
meta: {
IMPORTED_ROWS: number;
};
}
export interface ICardData {
paymentMethodId: string;
brand: string;
last4Digits: string;
expMonth: number;
expYear: number;
}
//# sourceMappingURL=subscription.types.d.ts.map