@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/api/generated/types.d.ts +27 -0
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +4 -5
- package/package.json +1 -1
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
|
|
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?:
|
|
239
|
+
scheduledUpdates?: CustomerPortalSubscriptionScheduledUpdateDataFragment[];
|
|
241
240
|
};
|
|
242
241
|
export declare type CustomerPortalBillingInformation = Omit<CustomerPortalBillingInformationFragment, '__typename'>;
|
|
243
242
|
export declare type CustomerPortalSubscriptionAddon = Omit<CustomerPortalSubscriptionAddonFragment, '__typename'>;
|