@stigg/js-client-sdk 2.4.2 → 2.6.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/models.d.ts CHANGED
@@ -340,6 +340,7 @@ export declare type EstimateSubscription = {
340
340
  billingPeriod?: BillingPeriod;
341
341
  billingCountryCode?: string;
342
342
  unitQuantity?: number;
343
+ billableFeatures?: BillableFeature[];
343
344
  billingInformation?: SubscriptionBillingInfo;
344
345
  promotionCode?: string;
345
346
  skipTrial?: boolean;
@@ -347,6 +348,7 @@ export declare type EstimateSubscription = {
347
348
  export declare type EstimateSubscriptionUpdate = {
348
349
  subscriptionId: string;
349
350
  unitQuantity?: number;
351
+ billableFeatures?: BillableFeature[];
350
352
  addons?: SubscriptionEstimationAddon[];
351
353
  promotionCode?: string;
352
354
  };
@@ -362,6 +364,10 @@ export declare type UsageHistoryPoint = {
362
364
  value: number;
363
365
  isResetPoint: boolean;
364
366
  };
367
+ export declare type BillableFeature = {
368
+ featureId: string;
369
+ quantity: number;
370
+ };
365
371
  /** @hidden */
366
372
  export declare class CustomerModel implements Customer {
367
373
  id: string;
@@ -340,6 +340,7 @@ export declare type EstimateSubscription = {
340
340
  billingPeriod?: BillingPeriod;
341
341
  billingCountryCode?: string;
342
342
  unitQuantity?: number;
343
+ billableFeatures?: BillableFeature[];
343
344
  billingInformation?: SubscriptionBillingInfo;
344
345
  promotionCode?: string;
345
346
  skipTrial?: boolean;
@@ -347,6 +348,7 @@ export declare type EstimateSubscription = {
347
348
  export declare type EstimateSubscriptionUpdate = {
348
349
  subscriptionId: string;
349
350
  unitQuantity?: number;
351
+ billableFeatures?: BillableFeature[];
350
352
  addons?: SubscriptionEstimationAddon[];
351
353
  promotionCode?: string;
352
354
  };
@@ -362,6 +364,10 @@ export declare type UsageHistoryPoint = {
362
364
  value: number;
363
365
  isResetPoint: boolean;
364
366
  };
367
+ export declare type BillableFeature = {
368
+ featureId: string;
369
+ quantity: number;
370
+ };
365
371
  /** @hidden */
366
372
  export declare class CustomerModel implements Customer {
367
373
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/js-client-sdk",
3
- "version": "2.4.2",
3
+ "version": "2.6.0",
4
4
  "description": "Stigg client-side SDK for Browser",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",
@@ -28,7 +28,7 @@
28
28
  "dependencies": {
29
29
  "@apollo/client": "^3.4.17",
30
30
  "@sentry/browser": "^7.11.1",
31
- "@stigg/api-client-js": "0.466.0",
31
+ "@stigg/api-client-js": "0.474.0",
32
32
  "cross-fetch": "^3.1.6",
33
33
  "fetch-retry": "^5.0.6",
34
34
  "husky": "^7.0.4",