@stigg/js-client-sdk 1.3.0 → 1.4.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/api/generated/types.d.ts +75 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/models.d.ts +5 -0
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -254,6 +254,7 @@ export declare type Customer = {
|
|
|
254
254
|
paymentMethodDetails?: PaymentMethodDetails;
|
|
255
255
|
metadata?: Metadata | null;
|
|
256
256
|
trialedPlans?: TrialedPlan[] | null;
|
|
257
|
+
eligibleForTrial?: EligibleForTrial[] | null;
|
|
257
258
|
experimentInfo?: ExperimentInfo | null;
|
|
258
259
|
getActiveSubscriptions(): Subscription[];
|
|
259
260
|
getActivePromotionalEntitlements(): PromotionalEntitlement[];
|
|
@@ -264,6 +265,10 @@ export declare type TrialedPlan = {
|
|
|
264
265
|
productId?: string | null;
|
|
265
266
|
planId?: string | null;
|
|
266
267
|
};
|
|
268
|
+
export declare type EligibleForTrial = {
|
|
269
|
+
productId?: string | null;
|
|
270
|
+
eligible: boolean;
|
|
271
|
+
};
|
|
267
272
|
export declare type WaitForCheckoutCompleted = {
|
|
268
273
|
timeoutMs?: number;
|
|
269
274
|
refreshOnComplete?: boolean;
|