@stigg/js-client-sdk 0.32.0 → 0.34.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/api/generated/types.d.ts +111 -17
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +5 -2
- package/dist/utils/ModelMapper.d.ts +1 -0
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { BillingModel, BillingPeriod, Currency, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits } from './api/generated/types';
|
|
2
|
-
export { SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, } from './api/generated/types';
|
|
1
|
+
import { BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits } from './api/generated/types';
|
|
2
|
+
export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, } from './api/generated/types';
|
|
3
3
|
export declare enum AccessDeniedReason {
|
|
4
4
|
InvalidFeatureType = "InvalidFeatureType",
|
|
5
5
|
CustomerNotFound = "CustomerNotFound",
|
|
@@ -103,6 +103,7 @@ export declare type Plan = {
|
|
|
103
103
|
entitlements: PackageEntitlement[];
|
|
104
104
|
inheritedEntitlements: PackageEntitlement[];
|
|
105
105
|
pricePoints: Price[];
|
|
106
|
+
pricingType?: PricingType | null;
|
|
106
107
|
defaultTrialConfig?: DefaultTrialConfig | null;
|
|
107
108
|
compatibleAddons: Addon[];
|
|
108
109
|
product: Product;
|
|
@@ -163,6 +164,7 @@ export declare type Addon = {
|
|
|
163
164
|
description: string;
|
|
164
165
|
entitlements: PackageEntitlement[];
|
|
165
166
|
pricePoints: Price[];
|
|
167
|
+
pricingType?: PricingType | null;
|
|
166
168
|
};
|
|
167
169
|
export declare type SubscriptionAddon = {
|
|
168
170
|
quantity: number;
|
|
@@ -173,6 +175,7 @@ export declare type Subscription = {
|
|
|
173
175
|
status: SubscriptionStatus;
|
|
174
176
|
plan: Plan;
|
|
175
177
|
price: Price | null;
|
|
178
|
+
pricingType: PricingType;
|
|
176
179
|
addons: SubscriptionAddon[];
|
|
177
180
|
billingId?: string;
|
|
178
181
|
crmId?: string;
|