@stigg/js-client-sdk 0.33.1 → 0.34.2

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/models.d.ts CHANGED
@@ -87,6 +87,7 @@ export declare type Price = {
87
87
  feature?: {
88
88
  units?: string | null | undefined;
89
89
  unitsPlural?: string | null | undefined;
90
+ unitQuantity?: number | null;
90
91
  displayName: string;
91
92
  } | null;
92
93
  };
@@ -180,8 +181,12 @@ export declare type Subscription = {
180
181
  billingId?: string;
181
182
  crmId?: string;
182
183
  startDate: Date;
183
- endDate?: Date;
184
184
  currentBillingPeriodEnd?: Date;
185
+ /**
186
+ * The calculated end date after which the subscription will be canceled, which takes trial expiration and scheduled cancellations into consideration
187
+ */
188
+ effectiveEndDate?: Date;
189
+ endDate?: Date;
185
190
  trialEndDate?: Date;
186
191
  cancellationDate?: Date;
187
192
  };
@@ -20,6 +20,7 @@ export declare class ModelMapper {
20
20
  private mapPackageEntitlement;
21
21
  private mapPromotionalEntitlement;
22
22
  private mapSubscription;
23
+ private mapDate;
23
24
  private mapAddon;
24
25
  private sortPlans;
25
26
  private mapAccessDeniedReason;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/js-client-sdk",
3
- "version": "0.33.1",
3
+ "version": "0.34.2",
4
4
  "description": "Stigg client-side SDK for Browser",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",