@stigg/node-server-sdk 3.9.0 → 3.11.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 +2 -1
- package/dist/models.js +13 -26
- package/package.json +1 -1
package/dist/models.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PackageEntitlementFragment, PaymentCollection, PaywallConfigurationFragment, PaywallCurrencyFragment, SubscriptionCancellationAction, SubscriptionFutureUpdateDataFragment, SubscriptionInvoiceFragment, SubscriptionMigrationTime, SubscriptionScheduleStatus, BillingPeriod, SubscriptionCancellationTime, PromotionalEntitlementStatus, SubscriptionStatus, TrialPeriodUnits, BillingModel, PricingType, SubscriptionDecisionStrategy, ExperimentGroupType, Currency, DiscountType, DiscountDurationType, UsageUpdateBehavior, EntitlementResetPeriod, AccessDeniedReason, FeatureType, MeterType, ProvisionSubscriptionStatus, TiersMode, PriceTierFragment, TotalPriceFragment, BillingAddress, MonthlyAccordingTo, WeeklyAccordingTo, CustomerStatisticsFragment, TrialOverrideConfigurationInput, ScheduleStrategy, BillingCadence } from '@stigg/api-client-js/src/generated/sdk';
|
|
2
|
-
export
|
|
2
|
+
export * from '@stigg/api-client-js/src/generated/sdk';
|
|
3
3
|
export interface Metadata {
|
|
4
4
|
[key: string]: string;
|
|
5
5
|
}
|
|
@@ -375,6 +375,7 @@ export declare type SubscriptionBillingInfo = {
|
|
|
375
375
|
chargeOnBehalfOfAccount?: string;
|
|
376
376
|
couponId?: string;
|
|
377
377
|
isInvoicePaid?: boolean;
|
|
378
|
+
isBackdated?: boolean;
|
|
378
379
|
};
|
|
379
380
|
export declare type CancelSubscription = {
|
|
380
381
|
subscriptionId: string;
|
package/dist/models.js
CHANGED
|
@@ -1,31 +1,18 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
|
|
5
|
+
}) : (function(o, m, k, k2) {
|
|
6
|
+
if (k2 === undefined) k2 = k;
|
|
7
|
+
o[k2] = m[k];
|
|
8
|
+
}));
|
|
9
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
10
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
11
|
+
};
|
|
2
12
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.CustomerModel = exports.METERED_DEFAULT_FALLBACK_ENTITLEMENT = exports.NUMERIC_DEFAULT_FALLBACK_ENTITLEMENT = exports.BOOLEAN_DEFAULT_FALLBACK_ENTITLEMENT =
|
|
13
|
+
exports.CustomerModel = exports.METERED_DEFAULT_FALLBACK_ENTITLEMENT = exports.NUMERIC_DEFAULT_FALLBACK_ENTITLEMENT = exports.BOOLEAN_DEFAULT_FALLBACK_ENTITLEMENT = void 0;
|
|
4
14
|
const sdk_1 = require("@stigg/api-client-js/src/generated/sdk");
|
|
5
|
-
|
|
6
|
-
Object.defineProperty(exports, "TiersMode", { enumerable: true, get: function () { return sdk_2.TiersMode; } });
|
|
7
|
-
Object.defineProperty(exports, "PricingType", { enumerable: true, get: function () { return sdk_2.PricingType; } });
|
|
8
|
-
Object.defineProperty(exports, "ErrorCode", { enumerable: true, get: function () { return sdk_2.ErrorCode; } });
|
|
9
|
-
Object.defineProperty(exports, "BillingPeriod", { enumerable: true, get: function () { return sdk_2.BillingPeriod; } });
|
|
10
|
-
Object.defineProperty(exports, "SubscriptionCancellationTime", { enumerable: true, get: function () { return sdk_2.SubscriptionCancellationTime; } });
|
|
11
|
-
Object.defineProperty(exports, "SubscriptionCancellationAction", { enumerable: true, get: function () { return sdk_2.SubscriptionCancellationAction; } });
|
|
12
|
-
Object.defineProperty(exports, "ExperimentGroupType", { enumerable: true, get: function () { return sdk_2.ExperimentGroupType; } });
|
|
13
|
-
Object.defineProperty(exports, "PromotionalEntitlementStatus", { enumerable: true, get: function () { return sdk_2.PromotionalEntitlementStatus; } });
|
|
14
|
-
Object.defineProperty(exports, "SubscriptionStatus", { enumerable: true, get: function () { return sdk_2.SubscriptionStatus; } });
|
|
15
|
-
Object.defineProperty(exports, "TrialPeriodUnits", { enumerable: true, get: function () { return sdk_2.TrialPeriodUnits; } });
|
|
16
|
-
Object.defineProperty(exports, "BillingModel", { enumerable: true, get: function () { return sdk_2.BillingModel; } });
|
|
17
|
-
Object.defineProperty(exports, "SubscriptionDecisionStrategy", { enumerable: true, get: function () { return sdk_2.SubscriptionDecisionStrategy; } });
|
|
18
|
-
Object.defineProperty(exports, "Currency", { enumerable: true, get: function () { return sdk_2.Currency; } });
|
|
19
|
-
Object.defineProperty(exports, "DiscountType", { enumerable: true, get: function () { return sdk_2.DiscountType; } });
|
|
20
|
-
Object.defineProperty(exports, "DiscountDurationType", { enumerable: true, get: function () { return sdk_2.DiscountDurationType; } });
|
|
21
|
-
Object.defineProperty(exports, "WidgetType", { enumerable: true, get: function () { return sdk_2.WidgetType; } });
|
|
22
|
-
Object.defineProperty(exports, "UsageUpdateBehavior", { enumerable: true, get: function () { return sdk_2.UsageUpdateBehavior; } });
|
|
23
|
-
Object.defineProperty(exports, "SubscriptionMigrationTime", { enumerable: true, get: function () { return sdk_2.SubscriptionMigrationTime; } });
|
|
24
|
-
Object.defineProperty(exports, "EntitlementResetPeriod", { enumerable: true, get: function () { return sdk_2.EntitlementResetPeriod; } });
|
|
25
|
-
Object.defineProperty(exports, "AccessDeniedReason", { enumerable: true, get: function () { return sdk_2.AccessDeniedReason; } });
|
|
26
|
-
Object.defineProperty(exports, "FeatureType", { enumerable: true, get: function () { return sdk_2.FeatureType; } });
|
|
27
|
-
Object.defineProperty(exports, "MeterType", { enumerable: true, get: function () { return sdk_2.MeterType; } });
|
|
28
|
-
Object.defineProperty(exports, "ProvisionSubscriptionStatus", { enumerable: true, get: function () { return sdk_2.ProvisionSubscriptionStatus; } });
|
|
15
|
+
__exportStar(require("@stigg/api-client-js/src/generated/sdk"), exports);
|
|
29
16
|
/** @internal */
|
|
30
17
|
exports.BOOLEAN_DEFAULT_FALLBACK_ENTITLEMENT = {
|
|
31
18
|
isFallback: true,
|
|
@@ -65,4 +52,4 @@ class CustomerModel {
|
|
|
65
52
|
}
|
|
66
53
|
}
|
|
67
54
|
exports.CustomerModel = CustomerModel;
|
|
68
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
55
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibW9kZWxzLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vc3JjL21vZGVscy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7Ozs7Ozs7Ozs7O0FBQUEsZ0VBc0NnRDtBQUVoRCx5RUFBdUQ7QUF1RHZELGdCQUFnQjtBQUNILFFBQUEsb0NBQW9DLEdBQXVCO0lBQ3RFLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLFNBQVMsRUFBRSxLQUFLO0lBQ2hCLGtCQUFrQixFQUFFLHdCQUFrQixDQUFDLE9BQU87Q0FDL0MsQ0FBQztBQUVGLGdCQUFnQjtBQUNILFFBQUEsb0NBQW9DLEdBQXVCO0lBQ3RFLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLFNBQVMsRUFBRSxLQUFLO0lBQ2hCLFdBQVcsRUFBRSxLQUFLO0lBQ2xCLGtCQUFrQixFQUFFLHdCQUFrQixDQUFDLE9BQU87Q0FDL0MsQ0FBQztBQUVGLGdCQUFnQjtBQUNILFFBQUEsb0NBQW9DLEdBQXVCO0lBQ3RFLFVBQVUsRUFBRSxJQUFJO0lBQ2hCLFNBQVMsRUFBRSxLQUFLO0lBQ2hCLFdBQVcsRUFBRSxLQUFLO0lBQ2xCLFlBQVksRUFBRSxLQUFLO0lBQ25CLFlBQVksRUFBRSxDQUFDO0l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