@stigg/js-client-sdk 1.0.1 → 1.1.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/PaywallApi.d.ts +1 -0
- package/dist/api/generated/types.d.ts +90 -22
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +3 -3
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { BillingModel, BillingPeriod, Currency, PricingType, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits, ExperimentGroupType, CustomerPortalEntitlementFragment, CustomerPortalPromotionalEntitlementFragment, CustomerPortalSubscriptionFragment, CustomerPortalSubscriptionAddonFragment, CustomerPortalBillingInformationFragment, PackageEntitlementFragment, PaywallConfigurationFragment, CustomerPortalConfigurationFragment } from './api/generated/types';
|
|
2
|
-
export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, ExperimentGroupType, WidgetType, } from './api/generated/types';
|
|
2
|
+
export { PricingType, SubscriptionStatus, PromotionalEntitlementStatus, Currency, BillingPeriod, BillingModel, TrialPeriodUnits, ExperimentGroupType, WidgetType, FontWeight, Alignment, } from './api/generated/types';
|
|
3
3
|
interface Metadata {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
}
|
|
@@ -232,12 +232,12 @@ export declare type CustomerPortal = {
|
|
|
232
232
|
showWatermark: boolean;
|
|
233
233
|
canUpgradeSubscription: boolean;
|
|
234
234
|
billingPortalUrl?: string | null;
|
|
235
|
-
configuration?: CustomerPortalConfiguration;
|
|
235
|
+
configuration?: CustomerPortalConfiguration | null;
|
|
236
236
|
};
|
|
237
237
|
export declare type PaywallConfiguration = Omit<PaywallConfigurationFragment, '__typename'>;
|
|
238
238
|
export declare type Paywall = {
|
|
239
239
|
plans: Plan[];
|
|
240
|
-
configuration
|
|
240
|
+
configuration?: PaywallConfiguration | null;
|
|
241
241
|
};
|
|
242
242
|
export declare type Customer = {
|
|
243
243
|
id: string;
|