@stigg/js-client-sdk 1.13.0 → 1.13.1

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
@@ -1,7 +1,6 @@
1
- import { BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment, WidgetType } from './api/generated/types';
2
- import { PackageEntitlementFragment, SubscriptionScheduledUpdateDataFragment } from '@stigg/api-client-js/src/generated/sdk';
3
- export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, ExperimentGroupType, WidgetType, FontWeight, Alignment, SubscriptionScheduleType, } from './api/generated/types';
4
- export { SubscriptionScheduledUpdateDataFragment } from '@stigg/api-client-js/src/generated/sdk';
1
+ import { BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment, WidgetType, CustomerPortalSubscriptionScheduledUpdateDataFragment } from './api/generated/types';
2
+ import { PackageEntitlementFragment } from '@stigg/api-client-js/src/generated/sdk';
3
+ export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, ExperimentGroupType, WidgetType, FontWeight, Alignment, SubscriptionScheduleType, CustomerPortalSubscriptionScheduledUpdateDataFragment, } from './api/generated/types';
5
4
  interface Metadata {
6
5
  [key: string]: string;
7
6
  }
@@ -237,7 +236,7 @@ export declare type Subscription = {
237
236
  cancellationDate?: Date;
238
237
  metadata?: Metadata | null;
239
238
  experimentInfo?: ExperimentInfo | null;
240
- scheduledUpdates?: SubscriptionScheduledUpdateDataFragment[];
239
+ scheduledUpdates?: CustomerPortalSubscriptionScheduledUpdateDataFragment[];
241
240
  };
242
241
  export declare type CustomerPortalBillingInformation = Omit<CustomerPortalBillingInformationFragment, '__typename'>;
243
242
  export declare type CustomerPortalSubscriptionAddon = Omit<CustomerPortalSubscriptionAddonFragment, '__typename'>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stigg/js-client-sdk",
3
- "version": "1.13.0",
3
+ "version": "1.13.1",
4
4
  "description": "Stigg client-side SDK for Browser",
5
5
  "main": "dist/index.js",
6
6
  "typings": "dist/index.d.ts",