@stigg/api-client-js 5.287.1 → 6.3.3
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/package.json +17 -4
- package/src/entitlementTypeGuards.js +4 -11
- package/src/entitlementTypeGuards.js.map +1 -1
- package/src/generated/sdk.d.ts +684 -684
- package/src/generated/sdk.js +143 -140
- package/src/generated/sdk.js.map +1 -1
- package/src/index.d.ts +1 -0
- package/src/index.js +17 -3
- package/src/index.js.map +1 -1
- package/src/lib/client.d.ts +2 -2
- package/src/lib/client.js +34 -1
- package/src/lib/client.js.map +1 -1
package/src/generated/sdk.js
CHANGED
|
@@ -1,12 +1,16 @@
|
|
|
1
1
|
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
2
5
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
6
|
exports.ErrorCode = exports.EnvironmentType = exports.EnvironmentSortFields = exports.EnvironmentProvisionStatus = exports.EnvironmentAccessRole = exports.EntitySelectionMode = exports.EntitlementsStateAccessDeniedReason = exports.EntitlementType = exports.EntitlementResetPeriod = exports.EntitlementBehavior = exports.DiscountType = exports.DiscountDurationType = exports.Department = exports.CustomerSubscriptionSortFields = exports.CustomerSortFields = exports.CustomerResourceSortFields = exports.Currency = exports.CreditUsageTimeRange = exports.CreditLedgerEventType = exports.CreditGrantType = exports.CreditGrantStatus = exports.CreditGrantSourceType = exports.CreditGrantInvoiceStatus = exports.CreditGrantInvoiceBillingReason = exports.CreditGrantCadence = exports.CreditCadence = exports.CouponType = exports.CouponStatus = exports.CouponSource = exports.CouponSortFields = exports.ConditionOperation = exports.ChargeType = exports.ChangeType = exports.BillingVendorIdentifier = exports.BillingPeriod = exports.BillingModel = exports.BillingCadence = exports.BillingAnchor = exports.Auth0ApplicationType = exports.ApiKeyType = exports.ApiKeySortFields = exports.ApiKeyScopeResource = exports.ApiKeyScopeAction = exports.Alignment = exports.AggregationFunction = exports.AddonSortFields = exports.AccountStatus = exports.AccountAccessRole = exports.AccountAccessMethod = exports.AccessDeniedReason = void 0;
|
|
4
7
|
exports.SubscriptionAddonSortFields = exports.SourceType = exports.SortNulls = exports.SortDirection = exports.ScheduleStrategy = exports.PublishMigrationType = exports.ProvisionSubscriptionStatus = exports.ProrationBehavior = exports.PromotionalEntitlementStatus = exports.PromotionalEntitlementSortFields = exports.PromotionalEntitlementPeriod = exports.ProductStatus = exports.ProductSortFields = exports.PricingType = exports.PriceSortFields = exports.PlanSortFields = exports.PlanChangeType = exports.PaymentMethodType = exports.PaymentCollectionMethod = exports.PaymentCollection = exports.PackageStatus = exports.PackageGroupStatus = exports.PackageGroupSortFields = exports.PackageEntitlementSortFields = exports.PackageDtoSortFields = exports.OverageBillingPeriod = exports.OfferStatus = exports.OfferSortFields = exports.MonthlyAccordingTo = exports.MeterType = exports.MemberStatus = exports.MemberSortFields = exports.InvoiceLineItemType = exports.IntegrationSortFields = exports.ImportIntegrationTaskSortFields = exports.HookStatus = exports.HookSortFields = exports.GrantExpirationPeriod = exports.FontWeight = exports.FeatureType = exports.FeatureStatus = exports.FeatureSortFields = exports.FeatureGroupStatus = exports.FeatureGroupSortFields = exports.ExperimentStatus = exports.ExperimentSortFields = exports.EventLogType = exports.EventLogSortFields = exports.EventEntityType = exports.EventActor = void 0;
|
|
5
8
|
exports.ProductFragmentDoc = exports.TotalPriceFragmentDoc = exports.PriceFragmentDoc = exports.PriceTierFragmentDoc = exports.CustomerResourceFragmentDoc = exports.SubscriptionInvoiceFragmentDoc = exports.CustomerFragmentDoc = exports.PromotionalEntitlementFragmentDoc = exports.CouponFragmentDoc = exports.SlimCustomerFragmentDoc = exports.SlimSubscriptionFragmentV2FragmentDoc = exports.SubscriptionQueryFragmentDoc = exports.PageInfoFragmentDoc = exports.ExperimentGroupType = exports.YearlyAccordingTo = exports.WidgetType = exports.WeeklyAccordingTo = exports.VendorType = exports.VendorIdentifier = exports.UsageUpdateBehavior = exports.UsageMeasurementSortFields = exports.UsageMarkerType = exports.UnitTransformationRound = exports.TrialPeriodUnits = exports.TrialEndBehavior = exports.TiersMode = exports.ThresholdType = exports.TaskType = exports.TaskStatus = exports.SyncStatus = exports.SubscriptionUpdateUsageCutoffBehavior = exports.SubscriptionStatus = exports.SubscriptionStartSetup = exports.SubscriptionScheduleType = exports.SubscriptionScheduleStatus = exports.SubscriptionQuerySortFields = exports.SubscriptionProrationBehavior = exports.SubscriptionPriceSortFields = exports.SubscriptionMigrationTime = exports.SubscriptionMigrationTaskSortFields = exports.SubscriptionInvoiceStatus = exports.SubscriptionInvoiceBillingReason = exports.SubscriptionEntitlementSortFields = exports.SubscriptionEndSetup = exports.SubscriptionDecisionStrategy = exports.SubscriptionCouponStatus = exports.SubscriptionCancellationTime = exports.SubscriptionCancellationAction = exports.SubscriptionCancelReason = exports.SubscriptionBillingCycleAnchor = void 0;
|
|
6
9
|
exports.MockPaywallAddonDependencyFragmentDoc = exports.MockPaywallPriceFragmentDoc = exports.MockPaywallPackageEntitlementFragmentDoc = exports.CheckoutStateFragmentDoc = exports.ZuoraCheckoutCredentialsFragmentDoc = exports.StripeCheckoutCredentialsFragmentDoc = exports.CheckoutConfigurationFragmentDoc = exports.CustomerPortalFragmentDoc = exports.CustomerPortalConfigurationFragmentDoc = exports.TypographyConfigurationFragmentDoc = exports.FontVariantFragmentDoc = exports.CustomerPortalBillingInformationFragmentDoc = exports.CustomerPortalPromotionalEntitlementFragmentDoc = exports.EntitlementUnionFragmentDoc = exports.CreditEntitlementFragmentDoc = exports.FeatureEntitlementFragmentDoc = exports.CustomerPortalEntitlementFragmentDoc = exports.CustomerPortalSubscriptionFragmentDoc = exports.CustomerPortalSubscriptionScheduledUpdateDataFragmentDoc = exports.CustomerPortalSubscriptionAddonFragmentDoc = exports.CustomerPortalSubscriptionPriceFragmentDoc = exports.CreditBalanceUpdatedPayloadFragmentDoc = exports.PackagePublishedPayloadFragmentDoc = exports.EntitlementUsageUpdatedFragmentDoc = exports.UsageUpdatedFragmentDoc = exports.EntitlementsUpdatedPayloadFragmentDoc = exports.EntitlementFragmentDoc = exports.FeatureFragmentDoc = exports.ResetPeriodConfigurationFragmentDoc = exports.SubscriptionInvoicePreviewFragmentDoc = exports.SubscriptionPreviewV2FragmentDoc = exports.SubscriptionPreviewInvoiceFragmentDoc = exports.ImmediateSubscriptionPreviewInvoiceFragmentDoc = exports.SubscriptionPreviewFragmentDoc = exports.CustomerStatisticsFragmentDoc = exports.CustomerWithSubscriptionsFragmentDoc = exports.SubscriptionFragmentDoc = exports.SubscriptionTrialConfigurationFragmentDoc = exports.SubscriptionFutureUpdateDataFragmentDoc = exports.SubscriptionScheduledUpdateDataFragmentDoc = exports.ScheduleVariablesFragmentDoc = exports.PlanFragmentDoc = exports.PlanCompatiblePackageGroupsFragmentDoc = exports.AddonFragmentDoc = exports.AddonDependencyFragmentDoc = exports.OveragePriceFragmentDoc = exports.PackageEntitlementUnionFragmentDoc = exports.PackageCreditEntitlementFragmentDoc = exports.PackageFeatureEntitlementFragmentDoc = exports.PackageEntitlementFragmentDoc = void 0;
|
|
7
10
|
exports.CreateSubscriptionDocument = exports.ReportEntitlementCheckRequestedDocument = exports.ReportEventDocument = exports.ReportUsageBulkDocument = exports.ReportUsageDocument = exports.CancelSubscriptionUpdatesDocument = exports.PreviewNextInvoiceDocument = exports.PreviewSubscriptionDocument = exports.EstimateSubscriptionUpdateDocument = exports.EstimateSubscriptionDocument = exports.CancelSubscriptionDocument = exports.UpdateSubscriptionDocument = exports.ImportSubscriptionsBulkDocument = exports.ApplySubscriptionDocument = exports.ProvisionSubscriptionDocument = exports.RevokePromotionalEntitlementDocument = exports.GrantPromotionalEntitlementsDocument = exports.DetachCustomerPaymentMethodDocument = exports.UpdateCustomerDocument = exports.ImportCustomerDocument = exports.ImportCustomerBulkDocument = exports.ProvisionCustomerDocument = exports.UsageUpdatedV2PayloadFragmentDoc = exports.UsageV2FragmentDoc = exports.EntitlementReferenceFragmentDoc = exports.EntitlementsUpdatedV2PayloadFragmentDoc = exports.AutoRechargeSettingsFragmentDoc = exports.CreditUsageFragmentDoc = exports.SlimCustomCurrencyFragmentDoc = exports.PaymentSessionFragmentDoc = exports.CreditsBalanceSummaryFragmentDoc = exports.CreditBalanceFragmentDoc = exports.CreditLedgerFragmentDoc = exports.CreditGrantFragmentDoc = exports.CreditGrantInvoiceFragmentDoc = exports.ReportUsageFragmentDoc = exports.ProvisionSubscriptionFragmentDoc = exports.ApplySubscriptionFragmentDoc = exports.ProvisionCustomerFragmentDoc = exports.SlimSubscriptionFragmentDoc = exports.UsageHistoryV2FragmentDoc = exports.UsageHistoryFragmentDoc = exports.PaywallFragmentDoc = exports.PaywallCalculatedPricePointsFragmentDoc = exports.PaywallConfigurationFragmentDoc = exports.LayoutConfigurationFragmentDoc = exports.PaywallCurrencyFragmentDoc = exports.MockPaywallPlanFragmentDoc = exports.MockPaywallPlanCompatiblePackageGroupsFragmentDoc = exports.MockPaywallAddonFragmentDoc = void 0;
|
|
8
|
-
exports.
|
|
9
|
-
|
|
11
|
+
exports.OnCreditBalanceUpdatedDocument = exports.OnPackagePublishedDocument = exports.OnUsageUpdatedV2Document = exports.OnUsageUpdatedDocument = exports.OnEntitlementsUpdatedV2Document = exports.OnEntitlementsUpdatedDocument = exports.GetAutomaticRechargeConfigurationDocument = exports.GetCreditUsageDocument = exports.GetCreditLedgerDocument = exports.GetCreditGrantsDocument = exports.GetCreditBalanceDocument = exports.GetUsageHistoryV2Document = exports.GetUsageHistoryDocument = exports.GetMockPaywallDocument = exports.GetCheckoutStateDocument = exports.GetCustomerPortalByRefIdDocument = exports.GetSdkConfigurationDocument = exports.GetProductsDocument = exports.GetEntitlementV2Document = exports.GetEntitlementDocument = exports.GetEntitlementsStateDocument = exports.GetEntitlementsDocument = exports.GetPaywallDocument = exports.GetCouponsDocument = exports.GetSubscriptionDocument = exports.GetSubscriptionsDocument = exports.GetActiveSubscriptionsListDocument = exports.GetActiveSubscriptionsDocument = exports.GetCustomerStatisticsDocument = exports.GetCustomerByIdDocument = exports.SaveAutomaticRechargeConfigurationDocument = exports.CreateCouponDocument = exports.VoidCreditGrantDocument = exports.CreatePaymentSessionDocument = exports.UnlinkPromotionalEntitlementsGroupDocument = exports.RevokePromotionalEntitlementsGroupDocument = exports.GrantPromotionalEntitlementsGroupDocument = exports.GrantCreditsDocument = exports.TransferSubscriptionToResourceDocument = exports.DelegateSubscriptionToCustomerDocument = exports.TransferSubscriptionDocument = exports.UnarchiveCustomerDocument = exports.ArchiveCustomerDocument = exports.MigrateSubscriptionToLatestDocument = void 0;
|
|
12
|
+
exports.getSdk = getSdk;
|
|
13
|
+
const graphql_tag_1 = __importDefault(require("graphql-tag"));
|
|
10
14
|
/** DenyReason of get access policy */
|
|
11
15
|
var AccessDeniedReason;
|
|
12
16
|
(function (AccessDeniedReason) {
|
|
@@ -38,7 +42,7 @@ var AccessDeniedReason;
|
|
|
38
42
|
AccessDeniedReason["Revoked"] = "Revoked";
|
|
39
43
|
/** The access denial occurred for an unknown or unexpected reason. */
|
|
40
44
|
AccessDeniedReason["Unknown"] = "Unknown";
|
|
41
|
-
})(AccessDeniedReason
|
|
45
|
+
})(AccessDeniedReason || (exports.AccessDeniedReason = AccessDeniedReason = {}));
|
|
42
46
|
/** different methods to control how new users can join an account */
|
|
43
47
|
var AccountAccessMethod;
|
|
44
48
|
(function (AccountAccessMethod) {
|
|
@@ -48,7 +52,7 @@ var AccountAccessMethod;
|
|
|
48
52
|
AccountAccessMethod["InviteOnly"] = "INVITE_ONLY";
|
|
49
53
|
/** an identity provider will be used to provide new users access to this account (an accountEmailDomain need to be configured) */
|
|
50
54
|
AccountAccessMethod["Sso"] = "SSO";
|
|
51
|
-
})(AccountAccessMethod
|
|
55
|
+
})(AccountAccessMethod || (exports.AccountAccessMethod = AccountAccessMethod = {}));
|
|
52
56
|
/** Account access role of the user */
|
|
53
57
|
var AccountAccessRole;
|
|
54
58
|
(function (AccountAccessRole) {
|
|
@@ -56,7 +60,7 @@ var AccountAccessRole;
|
|
|
56
60
|
AccountAccessRole["Member"] = "MEMBER";
|
|
57
61
|
/** User has full ownership and control over the account */
|
|
58
62
|
AccountAccessRole["Owner"] = "OWNER";
|
|
59
|
-
})(AccountAccessRole
|
|
63
|
+
})(AccountAccessRole || (exports.AccountAccessRole = AccountAccessRole = {}));
|
|
60
64
|
/** Account status */
|
|
61
65
|
var AccountStatus;
|
|
62
66
|
(function (AccountStatus) {
|
|
@@ -64,7 +68,7 @@ var AccountStatus;
|
|
|
64
68
|
AccountStatus["Active"] = "ACTIVE";
|
|
65
69
|
/** The account is blocked and cannot be used */
|
|
66
70
|
AccountStatus["Blocked"] = "BLOCKED";
|
|
67
|
-
})(AccountStatus
|
|
71
|
+
})(AccountStatus || (exports.AccountStatus = AccountStatus = {}));
|
|
68
72
|
var AddonSortFields;
|
|
69
73
|
(function (AddonSortFields) {
|
|
70
74
|
AddonSortFields["BillingId"] = "billingId";
|
|
@@ -80,7 +84,7 @@ var AddonSortFields;
|
|
|
80
84
|
AddonSortFields["Status"] = "status";
|
|
81
85
|
AddonSortFields["UpdatedAt"] = "updatedAt";
|
|
82
86
|
AddonSortFields["VersionNumber"] = "versionNumber";
|
|
83
|
-
})(AddonSortFields
|
|
87
|
+
})(AddonSortFields || (exports.AddonSortFields = AddonSortFields = {}));
|
|
84
88
|
/** Aggregation function */
|
|
85
89
|
var AggregationFunction;
|
|
86
90
|
(function (AggregationFunction) {
|
|
@@ -96,7 +100,7 @@ var AggregationFunction;
|
|
|
96
100
|
AggregationFunction["Sum"] = "SUM";
|
|
97
101
|
/** Unique values */
|
|
98
102
|
AggregationFunction["Unique"] = "UNIQUE";
|
|
99
|
-
})(AggregationFunction
|
|
103
|
+
})(AggregationFunction || (exports.AggregationFunction = AggregationFunction = {}));
|
|
100
104
|
/** Alignment */
|
|
101
105
|
var Alignment;
|
|
102
106
|
(function (Alignment) {
|
|
@@ -106,7 +110,7 @@ var Alignment;
|
|
|
106
110
|
Alignment["Left"] = "LEFT";
|
|
107
111
|
/** Align content to the right edge of the container. */
|
|
108
112
|
Alignment["Right"] = "RIGHT";
|
|
109
|
-
})(Alignment
|
|
113
|
+
})(Alignment || (exports.Alignment = Alignment = {}));
|
|
110
114
|
/** The action type for API key scope permissions */
|
|
111
115
|
var ApiKeyScopeAction;
|
|
112
116
|
(function (ApiKeyScopeAction) {
|
|
@@ -114,7 +118,7 @@ var ApiKeyScopeAction;
|
|
|
114
118
|
ApiKeyScopeAction["Read"] = "READ";
|
|
115
119
|
/** Write access */
|
|
116
120
|
ApiKeyScopeAction["Write"] = "WRITE";
|
|
117
|
-
})(ApiKeyScopeAction
|
|
121
|
+
})(ApiKeyScopeAction || (exports.ApiKeyScopeAction = ApiKeyScopeAction = {}));
|
|
118
122
|
/** The resource type for API key scope permissions */
|
|
119
123
|
var ApiKeyScopeResource;
|
|
120
124
|
(function (ApiKeyScopeResource) {
|
|
@@ -128,11 +132,11 @@ var ApiKeyScopeResource;
|
|
|
128
132
|
ApiKeyScopeResource["Environment"] = "ENVIRONMENT";
|
|
129
133
|
/** Subscription resources, only write is allowed */
|
|
130
134
|
ApiKeyScopeResource["Subscription"] = "SUBSCRIPTION";
|
|
131
|
-
})(ApiKeyScopeResource
|
|
135
|
+
})(ApiKeyScopeResource || (exports.ApiKeyScopeResource = ApiKeyScopeResource = {}));
|
|
132
136
|
var ApiKeySortFields;
|
|
133
137
|
(function (ApiKeySortFields) {
|
|
134
138
|
ApiKeySortFields["Id"] = "id";
|
|
135
|
-
})(ApiKeySortFields
|
|
139
|
+
})(ApiKeySortFields || (exports.ApiKeySortFields = ApiKeySortFields = {}));
|
|
136
140
|
/** The type of API key */
|
|
137
141
|
var ApiKeyType;
|
|
138
142
|
(function (ApiKeyType) {
|
|
@@ -146,7 +150,7 @@ var ApiKeyType;
|
|
|
146
150
|
ApiKeyType["Server"] = "SERVER";
|
|
147
151
|
/** Workflow API key */
|
|
148
152
|
ApiKeyType["Workflow"] = "WORKFLOW";
|
|
149
|
-
})(ApiKeyType
|
|
153
|
+
})(ApiKeyType || (exports.ApiKeyType = ApiKeyType = {}));
|
|
150
154
|
/** Auth0 application type */
|
|
151
155
|
var Auth0ApplicationType;
|
|
152
156
|
(function (Auth0ApplicationType) {
|
|
@@ -156,7 +160,7 @@ var Auth0ApplicationType;
|
|
|
156
160
|
Auth0ApplicationType["Individual"] = "INDIVIDUAL";
|
|
157
161
|
/** Organization Auth0 application type */
|
|
158
162
|
Auth0ApplicationType["Organization"] = "ORGANIZATION";
|
|
159
|
-
})(Auth0ApplicationType
|
|
163
|
+
})(Auth0ApplicationType || (exports.Auth0ApplicationType = Auth0ApplicationType = {}));
|
|
160
164
|
/** Billing anchor for subscription billing */
|
|
161
165
|
var BillingAnchor;
|
|
162
166
|
(function (BillingAnchor) {
|
|
@@ -166,7 +170,7 @@ var BillingAnchor;
|
|
|
166
170
|
BillingAnchor["SubscriptionsConsolidateBilling"] = "SUBSCRIPTIONS_CONSOLIDATE_BILLING";
|
|
167
171
|
/** Billing will be anchored to the start of the subscription */
|
|
168
172
|
BillingAnchor["SubscriptionStart"] = "SUBSCRIPTION_START";
|
|
169
|
-
})(BillingAnchor
|
|
173
|
+
})(BillingAnchor || (exports.BillingAnchor = BillingAnchor = {}));
|
|
170
174
|
/** Billing Cadence */
|
|
171
175
|
var BillingCadence;
|
|
172
176
|
(function (BillingCadence) {
|
|
@@ -174,7 +178,7 @@ var BillingCadence;
|
|
|
174
178
|
BillingCadence["OneOff"] = "ONE_OFF";
|
|
175
179
|
/** Recurring */
|
|
176
180
|
BillingCadence["Recurring"] = "RECURRING";
|
|
177
|
-
})(BillingCadence
|
|
181
|
+
})(BillingCadence || (exports.BillingCadence = BillingCadence = {}));
|
|
178
182
|
/** Billing model */
|
|
179
183
|
var BillingModel;
|
|
180
184
|
(function (BillingModel) {
|
|
@@ -188,7 +192,7 @@ var BillingModel;
|
|
|
188
192
|
BillingModel["PerUnit"] = "PER_UNIT";
|
|
189
193
|
/** Usage based */
|
|
190
194
|
BillingModel["UsageBased"] = "USAGE_BASED";
|
|
191
|
-
})(BillingModel
|
|
195
|
+
})(BillingModel || (exports.BillingModel = BillingModel = {}));
|
|
192
196
|
/** Billing period */
|
|
193
197
|
var BillingPeriod;
|
|
194
198
|
(function (BillingPeriod) {
|
|
@@ -196,7 +200,7 @@ var BillingPeriod;
|
|
|
196
200
|
BillingPeriod["Annually"] = "ANNUALLY";
|
|
197
201
|
/** Monthly */
|
|
198
202
|
BillingPeriod["Monthly"] = "MONTHLY";
|
|
199
|
-
})(BillingPeriod
|
|
203
|
+
})(BillingPeriod || (exports.BillingPeriod = BillingPeriod = {}));
|
|
200
204
|
/** Billing vendor identifiers */
|
|
201
205
|
var BillingVendorIdentifier;
|
|
202
206
|
(function (BillingVendorIdentifier) {
|
|
@@ -204,7 +208,7 @@ var BillingVendorIdentifier;
|
|
|
204
208
|
BillingVendorIdentifier["Stripe"] = "STRIPE";
|
|
205
209
|
/** Zuora */
|
|
206
210
|
BillingVendorIdentifier["Zuora"] = "ZUORA";
|
|
207
|
-
})(BillingVendorIdentifier
|
|
211
|
+
})(BillingVendorIdentifier || (exports.BillingVendorIdentifier = BillingVendorIdentifier = {}));
|
|
208
212
|
/** Change type enum */
|
|
209
213
|
var ChangeType;
|
|
210
214
|
(function (ChangeType) {
|
|
@@ -216,7 +220,7 @@ var ChangeType;
|
|
|
216
220
|
ChangeType["Modified"] = "MODIFIED";
|
|
217
221
|
/** Reordered */
|
|
218
222
|
ChangeType["Reordered"] = "REORDERED";
|
|
219
|
-
})(ChangeType
|
|
223
|
+
})(ChangeType || (exports.ChangeType = ChangeType = {}));
|
|
220
224
|
/** Charge type */
|
|
221
225
|
var ChargeType;
|
|
222
226
|
(function (ChargeType) {
|
|
@@ -224,7 +228,7 @@ var ChargeType;
|
|
|
224
228
|
ChargeType["Credit"] = "CREDIT";
|
|
225
229
|
/** Feature */
|
|
226
230
|
ChargeType["Feature"] = "FEATURE";
|
|
227
|
-
})(ChargeType
|
|
231
|
+
})(ChargeType || (exports.ChargeType = ChargeType = {}));
|
|
228
232
|
/** Condition operation */
|
|
229
233
|
var ConditionOperation;
|
|
230
234
|
(function (ConditionOperation) {
|
|
@@ -252,7 +256,7 @@ var ConditionOperation;
|
|
|
252
256
|
ConditionOperation["NotEquals"] = "NOT_EQUALS";
|
|
253
257
|
/** Starts with operation */
|
|
254
258
|
ConditionOperation["StartsWith"] = "STARTS_WITH";
|
|
255
|
-
})(ConditionOperation
|
|
259
|
+
})(ConditionOperation || (exports.ConditionOperation = ConditionOperation = {}));
|
|
256
260
|
var CouponSortFields;
|
|
257
261
|
(function (CouponSortFields) {
|
|
258
262
|
CouponSortFields["BillingId"] = "billingId";
|
|
@@ -266,7 +270,7 @@ var CouponSortFields;
|
|
|
266
270
|
CouponSortFields["Status"] = "status";
|
|
267
271
|
CouponSortFields["Type"] = "type";
|
|
268
272
|
CouponSortFields["UpdatedAt"] = "updatedAt";
|
|
269
|
-
})(CouponSortFields
|
|
273
|
+
})(CouponSortFields || (exports.CouponSortFields = CouponSortFields = {}));
|
|
270
274
|
/** The source of the coupon */
|
|
271
275
|
var CouponSource;
|
|
272
276
|
(function (CouponSource) {
|
|
@@ -276,7 +280,7 @@ var CouponSource;
|
|
|
276
280
|
CouponSource["StiggAdhoc"] = "STIGG_ADHOC";
|
|
277
281
|
/** Stripe */
|
|
278
282
|
CouponSource["Stripe"] = "STRIPE";
|
|
279
|
-
})(CouponSource
|
|
283
|
+
})(CouponSource || (exports.CouponSource = CouponSource = {}));
|
|
280
284
|
/** The status of the coupon */
|
|
281
285
|
var CouponStatus;
|
|
282
286
|
(function (CouponStatus) {
|
|
@@ -284,7 +288,7 @@ var CouponStatus;
|
|
|
284
288
|
CouponStatus["Active"] = "ACTIVE";
|
|
285
289
|
/** Archived */
|
|
286
290
|
CouponStatus["Archived"] = "ARCHIVED";
|
|
287
|
-
})(CouponStatus
|
|
291
|
+
})(CouponStatus || (exports.CouponStatus = CouponStatus = {}));
|
|
288
292
|
/** The type of the coupon */
|
|
289
293
|
var CouponType;
|
|
290
294
|
(function (CouponType) {
|
|
@@ -292,7 +296,7 @@ var CouponType;
|
|
|
292
296
|
CouponType["Fixed"] = "FIXED";
|
|
293
297
|
/** Percentage */
|
|
294
298
|
CouponType["Percentage"] = "PERCENTAGE";
|
|
295
|
-
})(CouponType
|
|
299
|
+
})(CouponType || (exports.CouponType = CouponType = {}));
|
|
296
300
|
/** Credit entitlement cadence */
|
|
297
301
|
var CreditCadence;
|
|
298
302
|
(function (CreditCadence) {
|
|
@@ -300,7 +304,7 @@ var CreditCadence;
|
|
|
300
304
|
CreditCadence["Month"] = "MONTH";
|
|
301
305
|
/** Yearly */
|
|
302
306
|
CreditCadence["Year"] = "YEAR";
|
|
303
|
-
})(CreditCadence
|
|
307
|
+
})(CreditCadence || (exports.CreditCadence = CreditCadence = {}));
|
|
304
308
|
/** Credit grant cadence */
|
|
305
309
|
var CreditGrantCadence;
|
|
306
310
|
(function (CreditGrantCadence) {
|
|
@@ -308,7 +312,7 @@ var CreditGrantCadence;
|
|
|
308
312
|
CreditGrantCadence["BeginningOfBillingPeriod"] = "BEGINNING_OF_BILLING_PERIOD";
|
|
309
313
|
/** Monthly */
|
|
310
314
|
CreditGrantCadence["Monthly"] = "MONTHLY";
|
|
311
|
-
})(CreditGrantCadence
|
|
315
|
+
})(CreditGrantCadence || (exports.CreditGrantCadence = CreditGrantCadence = {}));
|
|
312
316
|
/** The billing reason of a credit grant invoice */
|
|
313
317
|
var CreditGrantInvoiceBillingReason;
|
|
314
318
|
(function (CreditGrantInvoiceBillingReason) {
|
|
@@ -316,7 +320,7 @@ var CreditGrantInvoiceBillingReason;
|
|
|
316
320
|
CreditGrantInvoiceBillingReason["Manual"] = "MANUAL";
|
|
317
321
|
/** An invoice was created for another reason. */
|
|
318
322
|
CreditGrantInvoiceBillingReason["Other"] = "OTHER";
|
|
319
|
-
})(CreditGrantInvoiceBillingReason
|
|
323
|
+
})(CreditGrantInvoiceBillingReason || (exports.CreditGrantInvoiceBillingReason = CreditGrantInvoiceBillingReason = {}));
|
|
320
324
|
/** The status of a credit grant invoice */
|
|
321
325
|
var CreditGrantInvoiceStatus;
|
|
322
326
|
(function (CreditGrantInvoiceStatus) {
|
|
@@ -326,7 +330,7 @@ var CreditGrantInvoiceStatus;
|
|
|
326
330
|
CreditGrantInvoiceStatus["Open"] = "OPEN";
|
|
327
331
|
/** Invoice is paid */
|
|
328
332
|
CreditGrantInvoiceStatus["Paid"] = "PAID";
|
|
329
|
-
})(CreditGrantInvoiceStatus
|
|
333
|
+
})(CreditGrantInvoiceStatus || (exports.CreditGrantInvoiceStatus = CreditGrantInvoiceStatus = {}));
|
|
330
334
|
/** The source type of a credit grant */
|
|
331
335
|
var CreditGrantSourceType;
|
|
332
336
|
(function (CreditGrantSourceType) {
|
|
@@ -336,7 +340,7 @@ var CreditGrantSourceType;
|
|
|
336
340
|
CreditGrantSourceType["PlanEntitlement"] = "PLAN_ENTITLEMENT";
|
|
337
341
|
/** Credit grant from a recurring price */
|
|
338
342
|
CreditGrantSourceType["Price"] = "PRICE";
|
|
339
|
-
})(CreditGrantSourceType
|
|
343
|
+
})(CreditGrantSourceType || (exports.CreditGrantSourceType = CreditGrantSourceType = {}));
|
|
340
344
|
/** The status of a credit grant */
|
|
341
345
|
var CreditGrantStatus;
|
|
342
346
|
(function (CreditGrantStatus) {
|
|
@@ -350,7 +354,7 @@ var CreditGrantStatus;
|
|
|
350
354
|
CreditGrantStatus["Scheduled"] = "SCHEDULED";
|
|
351
355
|
/** Credit grant is voided */
|
|
352
356
|
CreditGrantStatus["Voided"] = "VOIDED";
|
|
353
|
-
})(CreditGrantStatus
|
|
357
|
+
})(CreditGrantStatus || (exports.CreditGrantStatus = CreditGrantStatus = {}));
|
|
354
358
|
/** The type of credit grant */
|
|
355
359
|
var CreditGrantType;
|
|
356
360
|
(function (CreditGrantType) {
|
|
@@ -360,7 +364,7 @@ var CreditGrantType;
|
|
|
360
364
|
CreditGrantType["Promotional"] = "PROMOTIONAL";
|
|
361
365
|
/** Recurring credit grant */
|
|
362
366
|
CreditGrantType["Recurring"] = "RECURRING";
|
|
363
|
-
})(CreditGrantType
|
|
367
|
+
})(CreditGrantType || (exports.CreditGrantType = CreditGrantType = {}));
|
|
364
368
|
/** The type of the ledger event */
|
|
365
369
|
var CreditLedgerEventType;
|
|
366
370
|
(function (CreditLedgerEventType) {
|
|
@@ -374,7 +378,7 @@ var CreditLedgerEventType;
|
|
|
374
378
|
CreditLedgerEventType["CreditsUpdated"] = "CREDITS_UPDATED";
|
|
375
379
|
/** Credits voided */
|
|
376
380
|
CreditLedgerEventType["CreditsVoided"] = "CREDITS_VOIDED";
|
|
377
|
-
})(CreditLedgerEventType
|
|
381
|
+
})(CreditLedgerEventType || (exports.CreditLedgerEventType = CreditLedgerEventType = {}));
|
|
378
382
|
/** Time range options for credit usage data */
|
|
379
383
|
var CreditUsageTimeRange;
|
|
380
384
|
(function (CreditUsageTimeRange) {
|
|
@@ -386,7 +390,7 @@ var CreditUsageTimeRange;
|
|
|
386
390
|
CreditUsageTimeRange["LastWeek"] = "LAST_WEEK";
|
|
387
391
|
/** Last 12 months with monthly granularity */
|
|
388
392
|
CreditUsageTimeRange["LastYear"] = "LAST_YEAR";
|
|
389
|
-
})(CreditUsageTimeRange
|
|
393
|
+
})(CreditUsageTimeRange || (exports.CreditUsageTimeRange = CreditUsageTimeRange = {}));
|
|
390
394
|
/** Currency */
|
|
391
395
|
var Currency;
|
|
392
396
|
(function (Currency) {
|
|
@@ -622,13 +626,13 @@ var Currency;
|
|
|
622
626
|
Currency["Zar"] = "ZAR";
|
|
623
627
|
/** Zambian Kwacha */
|
|
624
628
|
Currency["Zmw"] = "ZMW";
|
|
625
|
-
})(Currency
|
|
629
|
+
})(Currency || (exports.Currency = Currency = {}));
|
|
626
630
|
var CustomerResourceSortFields;
|
|
627
631
|
(function (CustomerResourceSortFields) {
|
|
628
632
|
CustomerResourceSortFields["CreatedAt"] = "createdAt";
|
|
629
633
|
CustomerResourceSortFields["EnvironmentId"] = "environmentId";
|
|
630
634
|
CustomerResourceSortFields["ResourceId"] = "resourceId";
|
|
631
|
-
})(CustomerResourceSortFields
|
|
635
|
+
})(CustomerResourceSortFields || (exports.CustomerResourceSortFields = CustomerResourceSortFields = {}));
|
|
632
636
|
var CustomerSortFields;
|
|
633
637
|
(function (CustomerSortFields) {
|
|
634
638
|
CustomerSortFields["AwsMarketplaceCustomerId"] = "awsMarketplaceCustomerId";
|
|
@@ -647,7 +651,7 @@ var CustomerSortFields;
|
|
|
647
651
|
CustomerSortFields["SalesforceId"] = "salesforceId";
|
|
648
652
|
CustomerSortFields["SearchQuery"] = "searchQuery";
|
|
649
653
|
CustomerSortFields["UpdatedAt"] = "updatedAt";
|
|
650
|
-
})(CustomerSortFields
|
|
654
|
+
})(CustomerSortFields || (exports.CustomerSortFields = CustomerSortFields = {}));
|
|
651
655
|
var CustomerSubscriptionSortFields;
|
|
652
656
|
(function (CustomerSubscriptionSortFields) {
|
|
653
657
|
CustomerSubscriptionSortFields["BillingCycleAnchor"] = "billingCycleAnchor";
|
|
@@ -675,7 +679,7 @@ var CustomerSubscriptionSortFields;
|
|
|
675
679
|
CustomerSubscriptionSortFields["Status"] = "status";
|
|
676
680
|
CustomerSubscriptionSortFields["SubscriptionId"] = "subscriptionId";
|
|
677
681
|
CustomerSubscriptionSortFields["TrialEndDate"] = "trialEndDate";
|
|
678
|
-
})(CustomerSubscriptionSortFields
|
|
682
|
+
})(CustomerSubscriptionSortFields || (exports.CustomerSubscriptionSortFields = CustomerSubscriptionSortFields = {}));
|
|
679
683
|
/** The department the user belongs to */
|
|
680
684
|
var Department;
|
|
681
685
|
(function (Department) {
|
|
@@ -693,20 +697,20 @@ var Department;
|
|
|
693
697
|
Department["Other"] = "OTHER";
|
|
694
698
|
/** Product */
|
|
695
699
|
Department["Product"] = "PRODUCT";
|
|
696
|
-
})(Department
|
|
700
|
+
})(Department || (exports.Department = Department = {}));
|
|
697
701
|
/** The type of the discount duration */
|
|
698
702
|
var DiscountDurationType;
|
|
699
703
|
(function (DiscountDurationType) {
|
|
700
704
|
DiscountDurationType["Forever"] = "FOREVER";
|
|
701
705
|
DiscountDurationType["Once"] = "ONCE";
|
|
702
706
|
DiscountDurationType["Repeating"] = "REPEATING";
|
|
703
|
-
})(DiscountDurationType
|
|
707
|
+
})(DiscountDurationType || (exports.DiscountDurationType = DiscountDurationType = {}));
|
|
704
708
|
/** The type of the discount */
|
|
705
709
|
var DiscountType;
|
|
706
710
|
(function (DiscountType) {
|
|
707
711
|
DiscountType["Fixed"] = "FIXED";
|
|
708
712
|
DiscountType["Percentage"] = "PERCENTAGE";
|
|
709
|
-
})(DiscountType
|
|
713
|
+
})(DiscountType || (exports.DiscountType = DiscountType = {}));
|
|
710
714
|
/** The behavior of the entitlement */
|
|
711
715
|
var EntitlementBehavior;
|
|
712
716
|
(function (EntitlementBehavior) {
|
|
@@ -714,7 +718,7 @@ var EntitlementBehavior;
|
|
|
714
718
|
EntitlementBehavior["Increment"] = "Increment";
|
|
715
719
|
/** Override the value of the entitlement */
|
|
716
720
|
EntitlementBehavior["Override"] = "Override";
|
|
717
|
-
})(EntitlementBehavior
|
|
721
|
+
})(EntitlementBehavior || (exports.EntitlementBehavior = EntitlementBehavior = {}));
|
|
718
722
|
/** Entitlement reset period */
|
|
719
723
|
var EntitlementResetPeriod;
|
|
720
724
|
(function (EntitlementResetPeriod) {
|
|
@@ -728,7 +732,7 @@ var EntitlementResetPeriod;
|
|
|
728
732
|
EntitlementResetPeriod["Week"] = "WEEK";
|
|
729
733
|
/** Year */
|
|
730
734
|
EntitlementResetPeriod["Year"] = "YEAR";
|
|
731
|
-
})(EntitlementResetPeriod
|
|
735
|
+
})(EntitlementResetPeriod || (exports.EntitlementResetPeriod = EntitlementResetPeriod = {}));
|
|
732
736
|
/** The type of entitlement */
|
|
733
737
|
var EntitlementType;
|
|
734
738
|
(function (EntitlementType) {
|
|
@@ -736,7 +740,7 @@ var EntitlementType;
|
|
|
736
740
|
EntitlementType["Credit"] = "CREDIT";
|
|
737
741
|
/** A feature-based entitlement with usage limits and access control */
|
|
738
742
|
EntitlementType["Feature"] = "FEATURE";
|
|
739
|
-
})(EntitlementType
|
|
743
|
+
})(EntitlementType || (exports.EntitlementType = EntitlementType = {}));
|
|
740
744
|
/** DenyReason of get access policy */
|
|
741
745
|
var EntitlementsStateAccessDeniedReason;
|
|
742
746
|
(function (EntitlementsStateAccessDeniedReason) {
|
|
@@ -746,7 +750,7 @@ var EntitlementsStateAccessDeniedReason;
|
|
|
746
750
|
EntitlementsStateAccessDeniedReason["CustomerNotFound"] = "CustomerNotFound";
|
|
747
751
|
/** The customer does not have any active subscription linked to the feature. */
|
|
748
752
|
EntitlementsStateAccessDeniedReason["NoActiveSubscription"] = "NoActiveSubscription";
|
|
749
|
-
})(EntitlementsStateAccessDeniedReason
|
|
753
|
+
})(EntitlementsStateAccessDeniedReason || (exports.EntitlementsStateAccessDeniedReason = EntitlementsStateAccessDeniedReason = {}));
|
|
750
754
|
/** Mode for selecting which entities to import */
|
|
751
755
|
var EntitySelectionMode;
|
|
752
756
|
(function (EntitySelectionMode) {
|
|
@@ -754,7 +758,7 @@ var EntitySelectionMode;
|
|
|
754
758
|
EntitySelectionMode["BlackList"] = "BLACK_LIST";
|
|
755
759
|
/** Only import specified entities */
|
|
756
760
|
EntitySelectionMode["WhiteList"] = "WHITE_LIST";
|
|
757
|
-
})(EntitySelectionMode
|
|
761
|
+
})(EntitySelectionMode || (exports.EntitySelectionMode = EntitySelectionMode = {}));
|
|
758
762
|
/** Environment access role of the user */
|
|
759
763
|
var EnvironmentAccessRole;
|
|
760
764
|
(function (EnvironmentAccessRole) {
|
|
@@ -766,7 +770,7 @@ var EnvironmentAccessRole;
|
|
|
766
770
|
EnvironmentAccessRole["Support"] = "SUPPORT";
|
|
767
771
|
/** User has read-only access to the environment */
|
|
768
772
|
EnvironmentAccessRole["Viewer"] = "VIEWER";
|
|
769
|
-
})(EnvironmentAccessRole
|
|
773
|
+
})(EnvironmentAccessRole || (exports.EnvironmentAccessRole = EnvironmentAccessRole = {}));
|
|
770
774
|
/** Represents the provisioning status of an environment */
|
|
771
775
|
var EnvironmentProvisionStatus;
|
|
772
776
|
(function (EnvironmentProvisionStatus) {
|
|
@@ -778,7 +782,7 @@ var EnvironmentProvisionStatus;
|
|
|
778
782
|
EnvironmentProvisionStatus["InProgress"] = "IN_PROGRESS";
|
|
779
783
|
/** The environment has not yet started the provisioning process */
|
|
780
784
|
EnvironmentProvisionStatus["NotProvisioned"] = "NOT_PROVISIONED";
|
|
781
|
-
})(EnvironmentProvisionStatus
|
|
785
|
+
})(EnvironmentProvisionStatus || (exports.EnvironmentProvisionStatus = EnvironmentProvisionStatus = {}));
|
|
782
786
|
var EnvironmentSortFields;
|
|
783
787
|
(function (EnvironmentSortFields) {
|
|
784
788
|
EnvironmentSortFields["CreatedAt"] = "createdAt";
|
|
@@ -786,7 +790,7 @@ var EnvironmentSortFields;
|
|
|
786
790
|
EnvironmentSortFields["Id"] = "id";
|
|
787
791
|
EnvironmentSortFields["PermanentDeletionDate"] = "permanentDeletionDate";
|
|
788
792
|
EnvironmentSortFields["Slug"] = "slug";
|
|
789
|
-
})(EnvironmentSortFields
|
|
793
|
+
})(EnvironmentSortFields || (exports.EnvironmentSortFields = EnvironmentSortFields = {}));
|
|
790
794
|
/** EnvironmentType */
|
|
791
795
|
var EnvironmentType;
|
|
792
796
|
(function (EnvironmentType) {
|
|
@@ -796,7 +800,7 @@ var EnvironmentType;
|
|
|
796
800
|
EnvironmentType["Production"] = "PRODUCTION";
|
|
797
801
|
/** Sandbox environment, used for isolated testing and experimentation */
|
|
798
802
|
EnvironmentType["Sandbox"] = "SANDBOX";
|
|
799
|
-
})(EnvironmentType
|
|
803
|
+
})(EnvironmentType || (exports.EnvironmentType = EnvironmentType = {}));
|
|
800
804
|
/** error codes */
|
|
801
805
|
var ErrorCode;
|
|
802
806
|
(function (ErrorCode) {
|
|
@@ -1031,7 +1035,7 @@ var ErrorCode;
|
|
|
1031
1035
|
ErrorCode["VersionExceedsMaxValueError"] = "VersionExceedsMaxValueError";
|
|
1032
1036
|
/** Workflow trigger not found */
|
|
1033
1037
|
ErrorCode["WorkflowTriggerNotFound"] = "WorkflowTriggerNotFound";
|
|
1034
|
-
})(ErrorCode
|
|
1038
|
+
})(ErrorCode || (exports.ErrorCode = ErrorCode = {}));
|
|
1035
1039
|
/** Event actor type */
|
|
1036
1040
|
var EventActor;
|
|
1037
1041
|
(function (EventActor) {
|
|
@@ -1065,7 +1069,7 @@ var EventActor;
|
|
|
1065
1069
|
EventActor["User"] = "USER";
|
|
1066
1070
|
/** Workflow triggered event */
|
|
1067
1071
|
EventActor["Workflow"] = "WORKFLOW";
|
|
1068
|
-
})(EventActor
|
|
1072
|
+
})(EventActor || (exports.EventActor = EventActor = {}));
|
|
1069
1073
|
/** Event entity type */
|
|
1070
1074
|
var EventEntityType;
|
|
1071
1075
|
(function (EventEntityType) {
|
|
@@ -1099,7 +1103,7 @@ var EventEntityType;
|
|
|
1099
1103
|
EventEntityType["PromotionalEntitlement"] = "PROMOTIONAL_ENTITLEMENT";
|
|
1100
1104
|
/** Subscription entity */
|
|
1101
1105
|
EventEntityType["Subscription"] = "SUBSCRIPTION";
|
|
1102
|
-
})(EventEntityType
|
|
1106
|
+
})(EventEntityType || (exports.EventEntityType = EventEntityType = {}));
|
|
1103
1107
|
var EventLogSortFields;
|
|
1104
1108
|
(function (EventLogSortFields) {
|
|
1105
1109
|
EventLogSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1110,7 +1114,7 @@ var EventLogSortFields;
|
|
|
1110
1114
|
EventLogSortFields["Id"] = "id";
|
|
1111
1115
|
EventLogSortFields["ParentEntityId"] = "parentEntityId";
|
|
1112
1116
|
EventLogSortFields["TraceId"] = "traceId";
|
|
1113
|
-
})(EventLogSortFields
|
|
1117
|
+
})(EventLogSortFields || (exports.EventLogSortFields = EventLogSortFields = {}));
|
|
1114
1118
|
/** Event log type */
|
|
1115
1119
|
var EventLogType;
|
|
1116
1120
|
(function (EventLogType) {
|
|
@@ -1332,7 +1336,7 @@ var EventLogType;
|
|
|
1332
1336
|
EventLogType["SyncFailed"] = "SYNC_FAILED";
|
|
1333
1337
|
/** Widget configuration updated */
|
|
1334
1338
|
EventLogType["WidgetConfigurationUpdated"] = "WIDGET_CONFIGURATION_UPDATED";
|
|
1335
|
-
})(EventLogType
|
|
1339
|
+
})(EventLogType || (exports.EventLogType = EventLogType = {}));
|
|
1336
1340
|
var ExperimentSortFields;
|
|
1337
1341
|
(function (ExperimentSortFields) {
|
|
1338
1342
|
ExperimentSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1342,7 +1346,7 @@ var ExperimentSortFields;
|
|
|
1342
1346
|
ExperimentSortFields["ProductId"] = "productId";
|
|
1343
1347
|
ExperimentSortFields["RefId"] = "refId";
|
|
1344
1348
|
ExperimentSortFields["Status"] = "status";
|
|
1345
|
-
})(ExperimentSortFields
|
|
1349
|
+
})(ExperimentSortFields || (exports.ExperimentSortFields = ExperimentSortFields = {}));
|
|
1346
1350
|
/** The status of the experiment */
|
|
1347
1351
|
var ExperimentStatus;
|
|
1348
1352
|
(function (ExperimentStatus) {
|
|
@@ -1352,7 +1356,7 @@ var ExperimentStatus;
|
|
|
1352
1356
|
ExperimentStatus["Draft"] = "DRAFT";
|
|
1353
1357
|
/** Experiment is currently running */
|
|
1354
1358
|
ExperimentStatus["InProgress"] = "IN_PROGRESS";
|
|
1355
|
-
})(ExperimentStatus
|
|
1359
|
+
})(ExperimentStatus || (exports.ExperimentStatus = ExperimentStatus = {}));
|
|
1356
1360
|
var FeatureGroupSortFields;
|
|
1357
1361
|
(function (FeatureGroupSortFields) {
|
|
1358
1362
|
FeatureGroupSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1364,7 +1368,7 @@ var FeatureGroupSortFields;
|
|
|
1364
1368
|
FeatureGroupSortFields["Status"] = "status";
|
|
1365
1369
|
FeatureGroupSortFields["UpdatedAt"] = "updatedAt";
|
|
1366
1370
|
FeatureGroupSortFields["VersionNumber"] = "versionNumber";
|
|
1367
|
-
})(FeatureGroupSortFields
|
|
1371
|
+
})(FeatureGroupSortFields || (exports.FeatureGroupSortFields = FeatureGroupSortFields = {}));
|
|
1368
1372
|
/** Feature group status */
|
|
1369
1373
|
var FeatureGroupStatus;
|
|
1370
1374
|
(function (FeatureGroupStatus) {
|
|
@@ -1372,7 +1376,7 @@ var FeatureGroupStatus;
|
|
|
1372
1376
|
FeatureGroupStatus["Archived"] = "ARCHIVED";
|
|
1373
1377
|
/** The feature group is published */
|
|
1374
1378
|
FeatureGroupStatus["Published"] = "PUBLISHED";
|
|
1375
|
-
})(FeatureGroupStatus
|
|
1379
|
+
})(FeatureGroupStatus || (exports.FeatureGroupStatus = FeatureGroupStatus = {}));
|
|
1376
1380
|
var FeatureSortFields;
|
|
1377
1381
|
(function (FeatureSortFields) {
|
|
1378
1382
|
FeatureSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1385,7 +1389,7 @@ var FeatureSortFields;
|
|
|
1385
1389
|
FeatureSortFields["MeterType"] = "meterType";
|
|
1386
1390
|
FeatureSortFields["RefId"] = "refId";
|
|
1387
1391
|
FeatureSortFields["UpdatedAt"] = "updatedAt";
|
|
1388
|
-
})(FeatureSortFields
|
|
1392
|
+
})(FeatureSortFields || (exports.FeatureSortFields = FeatureSortFields = {}));
|
|
1389
1393
|
/** Feature status */
|
|
1390
1394
|
var FeatureStatus;
|
|
1391
1395
|
(function (FeatureStatus) {
|
|
@@ -1395,7 +1399,7 @@ var FeatureStatus;
|
|
|
1395
1399
|
FeatureStatus["New"] = "NEW";
|
|
1396
1400
|
/** Suspended feature */
|
|
1397
1401
|
FeatureStatus["Suspended"] = "SUSPENDED";
|
|
1398
|
-
})(FeatureStatus
|
|
1402
|
+
})(FeatureStatus || (exports.FeatureStatus = FeatureStatus = {}));
|
|
1399
1403
|
/** The type of the feature */
|
|
1400
1404
|
var FeatureType;
|
|
1401
1405
|
(function (FeatureType) {
|
|
@@ -1405,7 +1409,7 @@ var FeatureType;
|
|
|
1405
1409
|
FeatureType["Enum"] = "ENUM";
|
|
1406
1410
|
/** Numeric feature type */
|
|
1407
1411
|
FeatureType["Number"] = "NUMBER";
|
|
1408
|
-
})(FeatureType
|
|
1412
|
+
})(FeatureType || (exports.FeatureType = FeatureType = {}));
|
|
1409
1413
|
/** Font weight */
|
|
1410
1414
|
var FontWeight;
|
|
1411
1415
|
(function (FontWeight) {
|
|
@@ -1413,7 +1417,7 @@ var FontWeight;
|
|
|
1413
1417
|
FontWeight["Bold"] = "BOLD";
|
|
1414
1418
|
/** Standard font weight. */
|
|
1415
1419
|
FontWeight["Normal"] = "NORMAL";
|
|
1416
|
-
})(FontWeight
|
|
1420
|
+
})(FontWeight || (exports.FontWeight = FontWeight = {}));
|
|
1417
1421
|
/** Expiration period for granted credits */
|
|
1418
1422
|
var GrantExpirationPeriod;
|
|
1419
1423
|
(function (GrantExpirationPeriod) {
|
|
@@ -1421,7 +1425,7 @@ var GrantExpirationPeriod;
|
|
|
1421
1425
|
GrantExpirationPeriod["OneMonth"] = "OneMonth";
|
|
1422
1426
|
/** Credits expire after one year */
|
|
1423
1427
|
GrantExpirationPeriod["OneYear"] = "OneYear";
|
|
1424
|
-
})(GrantExpirationPeriod
|
|
1428
|
+
})(GrantExpirationPeriod || (exports.GrantExpirationPeriod = GrantExpirationPeriod = {}));
|
|
1425
1429
|
var HookSortFields;
|
|
1426
1430
|
(function (HookSortFields) {
|
|
1427
1431
|
HookSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1429,7 +1433,7 @@ var HookSortFields;
|
|
|
1429
1433
|
HookSortFields["EnvironmentId"] = "environmentId";
|
|
1430
1434
|
HookSortFields["Id"] = "id";
|
|
1431
1435
|
HookSortFields["Status"] = "status";
|
|
1432
|
-
})(HookSortFields
|
|
1436
|
+
})(HookSortFields || (exports.HookSortFields = HookSortFields = {}));
|
|
1433
1437
|
/** Hook status */
|
|
1434
1438
|
var HookStatus;
|
|
1435
1439
|
(function (HookStatus) {
|
|
@@ -1437,7 +1441,7 @@ var HookStatus;
|
|
|
1437
1441
|
HookStatus["Active"] = "ACTIVE";
|
|
1438
1442
|
/** Inactive */
|
|
1439
1443
|
HookStatus["Inactive"] = "INACTIVE";
|
|
1440
|
-
})(HookStatus
|
|
1444
|
+
})(HookStatus || (exports.HookStatus = HookStatus = {}));
|
|
1441
1445
|
var ImportIntegrationTaskSortFields;
|
|
1442
1446
|
(function (ImportIntegrationTaskSortFields) {
|
|
1443
1447
|
ImportIntegrationTaskSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1445,7 +1449,7 @@ var ImportIntegrationTaskSortFields;
|
|
|
1445
1449
|
ImportIntegrationTaskSortFields["Id"] = "id";
|
|
1446
1450
|
ImportIntegrationTaskSortFields["Status"] = "status";
|
|
1447
1451
|
ImportIntegrationTaskSortFields["TaskType"] = "taskType";
|
|
1448
|
-
})(ImportIntegrationTaskSortFields
|
|
1452
|
+
})(ImportIntegrationTaskSortFields || (exports.ImportIntegrationTaskSortFields = ImportIntegrationTaskSortFields = {}));
|
|
1449
1453
|
var IntegrationSortFields;
|
|
1450
1454
|
(function (IntegrationSortFields) {
|
|
1451
1455
|
IntegrationSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1453,7 +1457,7 @@ var IntegrationSortFields;
|
|
|
1453
1457
|
IntegrationSortFields["Id"] = "id";
|
|
1454
1458
|
IntegrationSortFields["VendorIdentifier"] = "vendorIdentifier";
|
|
1455
1459
|
IntegrationSortFields["VendorType"] = "vendorType";
|
|
1456
|
-
})(IntegrationSortFields
|
|
1460
|
+
})(IntegrationSortFields || (exports.IntegrationSortFields = IntegrationSortFields = {}));
|
|
1457
1461
|
/** The type of the invoice line item */
|
|
1458
1462
|
var InvoiceLineItemType;
|
|
1459
1463
|
(function (InvoiceLineItemType) {
|
|
@@ -1467,13 +1471,13 @@ var InvoiceLineItemType;
|
|
|
1467
1471
|
InvoiceLineItemType["PayAsYouGoCharge"] = "PayAsYouGoCharge";
|
|
1468
1472
|
InvoiceLineItemType["TierCharge"] = "TierCharge";
|
|
1469
1473
|
InvoiceLineItemType["ZeroAmountBaseCharge"] = "ZeroAmountBaseCharge";
|
|
1470
|
-
})(InvoiceLineItemType
|
|
1474
|
+
})(InvoiceLineItemType || (exports.InvoiceLineItemType = InvoiceLineItemType = {}));
|
|
1471
1475
|
var MemberSortFields;
|
|
1472
1476
|
(function (MemberSortFields) {
|
|
1473
1477
|
MemberSortFields["CreatedAt"] = "createdAt";
|
|
1474
1478
|
MemberSortFields["Email"] = "email";
|
|
1475
1479
|
MemberSortFields["Id"] = "id";
|
|
1476
|
-
})(MemberSortFields
|
|
1480
|
+
})(MemberSortFields || (exports.MemberSortFields = MemberSortFields = {}));
|
|
1477
1481
|
/** Member Status */
|
|
1478
1482
|
var MemberStatus;
|
|
1479
1483
|
(function (MemberStatus) {
|
|
@@ -1481,7 +1485,7 @@ var MemberStatus;
|
|
|
1481
1485
|
MemberStatus["Invited"] = "INVITED";
|
|
1482
1486
|
/** User is a member of this environment */
|
|
1483
1487
|
MemberStatus["Registered"] = "REGISTERED";
|
|
1484
|
-
})(MemberStatus
|
|
1488
|
+
})(MemberStatus || (exports.MemberStatus = MemberStatus = {}));
|
|
1485
1489
|
/** The meter type of the feature */
|
|
1486
1490
|
var MeterType;
|
|
1487
1491
|
(function (MeterType) {
|
|
@@ -1491,7 +1495,7 @@ var MeterType;
|
|
|
1491
1495
|
MeterType["Incremental"] = "Incremental";
|
|
1492
1496
|
/** None */
|
|
1493
1497
|
MeterType["None"] = "None";
|
|
1494
|
-
})(MeterType
|
|
1498
|
+
})(MeterType || (exports.MeterType = MeterType = {}));
|
|
1495
1499
|
/** Monthly reset period according to configuration */
|
|
1496
1500
|
var MonthlyAccordingTo;
|
|
1497
1501
|
(function (MonthlyAccordingTo) {
|
|
@@ -1499,7 +1503,7 @@ var MonthlyAccordingTo;
|
|
|
1499
1503
|
MonthlyAccordingTo["StartOfTheMonth"] = "StartOfTheMonth";
|
|
1500
1504
|
/** Subscription start */
|
|
1501
1505
|
MonthlyAccordingTo["SubscriptionStart"] = "SubscriptionStart";
|
|
1502
|
-
})(MonthlyAccordingTo
|
|
1506
|
+
})(MonthlyAccordingTo || (exports.MonthlyAccordingTo = MonthlyAccordingTo = {}));
|
|
1503
1507
|
var OfferSortFields;
|
|
1504
1508
|
(function (OfferSortFields) {
|
|
1505
1509
|
OfferSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1510,7 +1514,7 @@ var OfferSortFields;
|
|
|
1510
1514
|
OfferSortFields["OfferId"] = "offerId";
|
|
1511
1515
|
OfferSortFields["Status"] = "status";
|
|
1512
1516
|
OfferSortFields["Version"] = "version";
|
|
1513
|
-
})(OfferSortFields
|
|
1517
|
+
})(OfferSortFields || (exports.OfferSortFields = OfferSortFields = {}));
|
|
1514
1518
|
/** Offer status */
|
|
1515
1519
|
var OfferStatus;
|
|
1516
1520
|
(function (OfferStatus) {
|
|
@@ -1520,13 +1524,13 @@ var OfferStatus;
|
|
|
1520
1524
|
OfferStatus["Draft"] = "DRAFT";
|
|
1521
1525
|
/** Offer is published and active */
|
|
1522
1526
|
OfferStatus["Published"] = "PUBLISHED";
|
|
1523
|
-
})(OfferStatus
|
|
1527
|
+
})(OfferStatus || (exports.OfferStatus = OfferStatus = {}));
|
|
1524
1528
|
/** Configures when the overage charge is billed. */
|
|
1525
1529
|
var OverageBillingPeriod;
|
|
1526
1530
|
(function (OverageBillingPeriod) {
|
|
1527
1531
|
OverageBillingPeriod["Monthly"] = "MONTHLY";
|
|
1528
1532
|
OverageBillingPeriod["OnSubscriptionRenewal"] = "ON_SUBSCRIPTION_RENEWAL";
|
|
1529
|
-
})(OverageBillingPeriod
|
|
1533
|
+
})(OverageBillingPeriod || (exports.OverageBillingPeriod = OverageBillingPeriod = {}));
|
|
1530
1534
|
var PackageDtoSortFields;
|
|
1531
1535
|
(function (PackageDtoSortFields) {
|
|
1532
1536
|
PackageDtoSortFields["BillingId"] = "billingId";
|
|
@@ -1542,7 +1546,7 @@ var PackageDtoSortFields;
|
|
|
1542
1546
|
PackageDtoSortFields["Status"] = "status";
|
|
1543
1547
|
PackageDtoSortFields["UpdatedAt"] = "updatedAt";
|
|
1544
1548
|
PackageDtoSortFields["VersionNumber"] = "versionNumber";
|
|
1545
|
-
})(PackageDtoSortFields
|
|
1549
|
+
})(PackageDtoSortFields || (exports.PackageDtoSortFields = PackageDtoSortFields = {}));
|
|
1546
1550
|
var PackageEntitlementSortFields;
|
|
1547
1551
|
(function (PackageEntitlementSortFields) {
|
|
1548
1552
|
PackageEntitlementSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1550,7 +1554,7 @@ var PackageEntitlementSortFields;
|
|
|
1550
1554
|
PackageEntitlementSortFields["Id"] = "id";
|
|
1551
1555
|
PackageEntitlementSortFields["PackageId"] = "packageId";
|
|
1552
1556
|
PackageEntitlementSortFields["UpdatedAt"] = "updatedAt";
|
|
1553
|
-
})(PackageEntitlementSortFields
|
|
1557
|
+
})(PackageEntitlementSortFields || (exports.PackageEntitlementSortFields = PackageEntitlementSortFields = {}));
|
|
1554
1558
|
var PackageGroupSortFields;
|
|
1555
1559
|
(function (PackageGroupSortFields) {
|
|
1556
1560
|
PackageGroupSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1562,7 +1566,7 @@ var PackageGroupSortFields;
|
|
|
1562
1566
|
PackageGroupSortFields["Status"] = "status";
|
|
1563
1567
|
PackageGroupSortFields["UpdatedAt"] = "updatedAt";
|
|
1564
1568
|
PackageGroupSortFields["VersionNumber"] = "versionNumber";
|
|
1565
|
-
})(PackageGroupSortFields
|
|
1569
|
+
})(PackageGroupSortFields || (exports.PackageGroupSortFields = PackageGroupSortFields = {}));
|
|
1566
1570
|
/** Package group status */
|
|
1567
1571
|
var PackageGroupStatus;
|
|
1568
1572
|
(function (PackageGroupStatus) {
|
|
@@ -1572,14 +1576,14 @@ var PackageGroupStatus;
|
|
|
1572
1576
|
PackageGroupStatus["Draft"] = "DRAFT";
|
|
1573
1577
|
/** The package group is published */
|
|
1574
1578
|
PackageGroupStatus["Published"] = "PUBLISHED";
|
|
1575
|
-
})(PackageGroupStatus
|
|
1579
|
+
})(PackageGroupStatus || (exports.PackageGroupStatus = PackageGroupStatus = {}));
|
|
1576
1580
|
/** Package status. */
|
|
1577
1581
|
var PackageStatus;
|
|
1578
1582
|
(function (PackageStatus) {
|
|
1579
1583
|
PackageStatus["Archived"] = "ARCHIVED";
|
|
1580
1584
|
PackageStatus["Draft"] = "DRAFT";
|
|
1581
1585
|
PackageStatus["Published"] = "PUBLISHED";
|
|
1582
|
-
})(PackageStatus
|
|
1586
|
+
})(PackageStatus || (exports.PackageStatus = PackageStatus = {}));
|
|
1583
1587
|
/** Payment collection */
|
|
1584
1588
|
var PaymentCollection;
|
|
1585
1589
|
(function (PaymentCollection) {
|
|
@@ -1587,7 +1591,7 @@ var PaymentCollection;
|
|
|
1587
1591
|
PaymentCollection["Failed"] = "FAILED";
|
|
1588
1592
|
PaymentCollection["NotRequired"] = "NOT_REQUIRED";
|
|
1589
1593
|
PaymentCollection["Processing"] = "PROCESSING";
|
|
1590
|
-
})(PaymentCollection
|
|
1594
|
+
})(PaymentCollection || (exports.PaymentCollection = PaymentCollection = {}));
|
|
1591
1595
|
/** The method used to collect payments for a subscription */
|
|
1592
1596
|
var PaymentCollectionMethod;
|
|
1593
1597
|
(function (PaymentCollectionMethod) {
|
|
@@ -1597,7 +1601,7 @@ var PaymentCollectionMethod;
|
|
|
1597
1601
|
PaymentCollectionMethod["Invoice"] = "INVOICE";
|
|
1598
1602
|
/** Do not leverage Stigg to manage payments for this subscription */
|
|
1599
1603
|
PaymentCollectionMethod["None"] = "NONE";
|
|
1600
|
-
})(PaymentCollectionMethod
|
|
1604
|
+
})(PaymentCollectionMethod || (exports.PaymentCollectionMethod = PaymentCollectionMethod = {}));
|
|
1601
1605
|
/** Type of a payment method */
|
|
1602
1606
|
var PaymentMethodType;
|
|
1603
1607
|
(function (PaymentMethodType) {
|
|
@@ -1607,7 +1611,7 @@ var PaymentMethodType;
|
|
|
1607
1611
|
PaymentMethodType["Card"] = "CARD";
|
|
1608
1612
|
/** Cash App */
|
|
1609
1613
|
PaymentMethodType["CashApp"] = "CASH_APP";
|
|
1610
|
-
})(PaymentMethodType
|
|
1614
|
+
})(PaymentMethodType || (exports.PaymentMethodType = PaymentMethodType = {}));
|
|
1611
1615
|
/** Type of the change between two plans of the same subscription */
|
|
1612
1616
|
var PlanChangeType;
|
|
1613
1617
|
(function (PlanChangeType) {
|
|
@@ -1617,7 +1621,7 @@ var PlanChangeType;
|
|
|
1617
1621
|
PlanChangeType["None"] = "NONE";
|
|
1618
1622
|
/** Subscription upgrade to higher plan */
|
|
1619
1623
|
PlanChangeType["Upgrade"] = "UPGRADE";
|
|
1620
|
-
})(PlanChangeType
|
|
1624
|
+
})(PlanChangeType || (exports.PlanChangeType = PlanChangeType = {}));
|
|
1621
1625
|
var PlanSortFields;
|
|
1622
1626
|
(function (PlanSortFields) {
|
|
1623
1627
|
PlanSortFields["BillingId"] = "billingId";
|
|
@@ -1633,7 +1637,7 @@ var PlanSortFields;
|
|
|
1633
1637
|
PlanSortFields["Status"] = "status";
|
|
1634
1638
|
PlanSortFields["UpdatedAt"] = "updatedAt";
|
|
1635
1639
|
PlanSortFields["VersionNumber"] = "versionNumber";
|
|
1636
|
-
})(PlanSortFields
|
|
1640
|
+
})(PlanSortFields || (exports.PlanSortFields = PlanSortFields = {}));
|
|
1637
1641
|
var PriceSortFields;
|
|
1638
1642
|
(function (PriceSortFields) {
|
|
1639
1643
|
PriceSortFields["BillingCadence"] = "billingCadence";
|
|
@@ -1643,14 +1647,14 @@ var PriceSortFields;
|
|
|
1643
1647
|
PriceSortFields["CreatedAt"] = "createdAt";
|
|
1644
1648
|
PriceSortFields["Id"] = "id";
|
|
1645
1649
|
PriceSortFields["TiersMode"] = "tiersMode";
|
|
1646
|
-
})(PriceSortFields
|
|
1650
|
+
})(PriceSortFields || (exports.PriceSortFields = PriceSortFields = {}));
|
|
1647
1651
|
/** Pricing Type. */
|
|
1648
1652
|
var PricingType;
|
|
1649
1653
|
(function (PricingType) {
|
|
1650
1654
|
PricingType["Custom"] = "CUSTOM";
|
|
1651
1655
|
PricingType["Free"] = "FREE";
|
|
1652
1656
|
PricingType["Paid"] = "PAID";
|
|
1653
|
-
})(PricingType
|
|
1657
|
+
})(PricingType || (exports.PricingType = PricingType = {}));
|
|
1654
1658
|
var ProductSortFields;
|
|
1655
1659
|
(function (ProductSortFields) {
|
|
1656
1660
|
ProductSortFields["AwsMarketplaceProductCode"] = "awsMarketplaceProductCode";
|
|
@@ -1665,7 +1669,7 @@ var ProductSortFields;
|
|
|
1665
1669
|
ProductSortFields["RefId"] = "refId";
|
|
1666
1670
|
ProductSortFields["Status"] = "status";
|
|
1667
1671
|
ProductSortFields["UpdatedAt"] = "updatedAt";
|
|
1668
|
-
})(ProductSortFields
|
|
1672
|
+
})(ProductSortFields || (exports.ProductSortFields = ProductSortFields = {}));
|
|
1669
1673
|
/** Product status enum */
|
|
1670
1674
|
var ProductStatus;
|
|
1671
1675
|
(function (ProductStatus) {
|
|
@@ -1673,7 +1677,7 @@ var ProductStatus;
|
|
|
1673
1677
|
ProductStatus["Archived"] = "ARCHIVED";
|
|
1674
1678
|
/** Published */
|
|
1675
1679
|
ProductStatus["Published"] = "PUBLISHED";
|
|
1676
|
-
})(ProductStatus
|
|
1680
|
+
})(ProductStatus || (exports.ProductStatus = ProductStatus = {}));
|
|
1677
1681
|
/** Promotional entitlement duration */
|
|
1678
1682
|
var PromotionalEntitlementPeriod;
|
|
1679
1683
|
(function (PromotionalEntitlementPeriod) {
|
|
@@ -1688,7 +1692,7 @@ var PromotionalEntitlementPeriod;
|
|
|
1688
1692
|
PromotionalEntitlementPeriod["OneYear"] = "ONE_YEAR";
|
|
1689
1693
|
/** Six months */
|
|
1690
1694
|
PromotionalEntitlementPeriod["SixMonth"] = "SIX_MONTH";
|
|
1691
|
-
})(PromotionalEntitlementPeriod
|
|
1695
|
+
})(PromotionalEntitlementPeriod || (exports.PromotionalEntitlementPeriod = PromotionalEntitlementPeriod = {}));
|
|
1692
1696
|
var PromotionalEntitlementSortFields;
|
|
1693
1697
|
(function (PromotionalEntitlementSortFields) {
|
|
1694
1698
|
PromotionalEntitlementSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1696,7 +1700,7 @@ var PromotionalEntitlementSortFields;
|
|
|
1696
1700
|
PromotionalEntitlementSortFields["Id"] = "id";
|
|
1697
1701
|
PromotionalEntitlementSortFields["Status"] = "status";
|
|
1698
1702
|
PromotionalEntitlementSortFields["UpdatedAt"] = "updatedAt";
|
|
1699
|
-
})(PromotionalEntitlementSortFields
|
|
1703
|
+
})(PromotionalEntitlementSortFields || (exports.PromotionalEntitlementSortFields = PromotionalEntitlementSortFields = {}));
|
|
1700
1704
|
/** Promotional entitlement status */
|
|
1701
1705
|
var PromotionalEntitlementStatus;
|
|
1702
1706
|
(function (PromotionalEntitlementStatus) {
|
|
@@ -1706,7 +1710,7 @@ var PromotionalEntitlementStatus;
|
|
|
1706
1710
|
PromotionalEntitlementStatus["Expired"] = "Expired";
|
|
1707
1711
|
/** Paused */
|
|
1708
1712
|
PromotionalEntitlementStatus["Paused"] = "Paused";
|
|
1709
|
-
})(PromotionalEntitlementStatus
|
|
1713
|
+
})(PromotionalEntitlementStatus || (exports.PromotionalEntitlementStatus = PromotionalEntitlementStatus = {}));
|
|
1710
1714
|
/** Proration behavior for subscription billing */
|
|
1711
1715
|
var ProrationBehavior;
|
|
1712
1716
|
(function (ProrationBehavior) {
|
|
@@ -1714,13 +1718,13 @@ var ProrationBehavior;
|
|
|
1714
1718
|
ProrationBehavior["CreateProrations"] = "CREATE_PRORATIONS";
|
|
1715
1719
|
/** Invoice immediately for changes in the subscription without proration */
|
|
1716
1720
|
ProrationBehavior["InvoiceImmediately"] = "INVOICE_IMMEDIATELY";
|
|
1717
|
-
})(ProrationBehavior
|
|
1721
|
+
})(ProrationBehavior || (exports.ProrationBehavior = ProrationBehavior = {}));
|
|
1718
1722
|
/** Provision subscription status */
|
|
1719
1723
|
var ProvisionSubscriptionStatus;
|
|
1720
1724
|
(function (ProvisionSubscriptionStatus) {
|
|
1721
1725
|
ProvisionSubscriptionStatus["PaymentRequired"] = "PAYMENT_REQUIRED";
|
|
1722
1726
|
ProvisionSubscriptionStatus["Success"] = "SUCCESS";
|
|
1723
|
-
})(ProvisionSubscriptionStatus
|
|
1727
|
+
})(ProvisionSubscriptionStatus || (exports.ProvisionSubscriptionStatus = ProvisionSubscriptionStatus = {}));
|
|
1724
1728
|
/** The migration type, either publish the new version to new customers or all customers */
|
|
1725
1729
|
var PublishMigrationType;
|
|
1726
1730
|
(function (PublishMigrationType) {
|
|
@@ -1728,7 +1732,7 @@ var PublishMigrationType;
|
|
|
1728
1732
|
PublishMigrationType["AllCustomers"] = "ALL_CUSTOMERS";
|
|
1729
1733
|
/** Publish only to new customers */
|
|
1730
1734
|
PublishMigrationType["NewCustomers"] = "NEW_CUSTOMERS";
|
|
1731
|
-
})(PublishMigrationType
|
|
1735
|
+
})(PublishMigrationType || (exports.PublishMigrationType = PublishMigrationType = {}));
|
|
1732
1736
|
/** Options for when a change for a paid subscription should take effect */
|
|
1733
1737
|
var ScheduleStrategy;
|
|
1734
1738
|
(function (ScheduleStrategy) {
|
|
@@ -1738,32 +1742,32 @@ var ScheduleStrategy;
|
|
|
1738
1742
|
ScheduleStrategy["EndOfBillingPeriod"] = "END_OF_BILLING_PERIOD";
|
|
1739
1743
|
/** Apply the change immediately */
|
|
1740
1744
|
ScheduleStrategy["Immediate"] = "IMMEDIATE";
|
|
1741
|
-
})(ScheduleStrategy
|
|
1745
|
+
})(ScheduleStrategy || (exports.ScheduleStrategy = ScheduleStrategy = {}));
|
|
1742
1746
|
/** Sort Directions */
|
|
1743
1747
|
var SortDirection;
|
|
1744
1748
|
(function (SortDirection) {
|
|
1745
1749
|
SortDirection["Asc"] = "ASC";
|
|
1746
1750
|
SortDirection["Desc"] = "DESC";
|
|
1747
|
-
})(SortDirection
|
|
1751
|
+
})(SortDirection || (exports.SortDirection = SortDirection = {}));
|
|
1748
1752
|
/** Sort Nulls Options */
|
|
1749
1753
|
var SortNulls;
|
|
1750
1754
|
(function (SortNulls) {
|
|
1751
1755
|
SortNulls["NullsFirst"] = "NULLS_FIRST";
|
|
1752
1756
|
SortNulls["NullsLast"] = "NULLS_LAST";
|
|
1753
|
-
})(SortNulls
|
|
1757
|
+
})(SortNulls || (exports.SortNulls = SortNulls = {}));
|
|
1754
1758
|
var SourceType;
|
|
1755
1759
|
(function (SourceType) {
|
|
1756
1760
|
SourceType["JsClientSdk"] = "JS_CLIENT_SDK";
|
|
1757
1761
|
SourceType["NodeServerSdk"] = "NODE_SERVER_SDK";
|
|
1758
1762
|
SourceType["PersistentCacheService"] = "PERSISTENT_CACHE_SERVICE";
|
|
1759
|
-
})(SourceType
|
|
1763
|
+
})(SourceType || (exports.SourceType = SourceType = {}));
|
|
1760
1764
|
var SubscriptionAddonSortFields;
|
|
1761
1765
|
(function (SubscriptionAddonSortFields) {
|
|
1762
1766
|
SubscriptionAddonSortFields["CreatedAt"] = "createdAt";
|
|
1763
1767
|
SubscriptionAddonSortFields["Id"] = "id";
|
|
1764
1768
|
SubscriptionAddonSortFields["Quantity"] = "quantity";
|
|
1765
1769
|
SubscriptionAddonSortFields["UpdatedAt"] = "updatedAt";
|
|
1766
|
-
})(SubscriptionAddonSortFields
|
|
1770
|
+
})(SubscriptionAddonSortFields || (exports.SubscriptionAddonSortFields = SubscriptionAddonSortFields = {}));
|
|
1767
1771
|
/** Billing cycle anchor behavior when creating or updating a subscription */
|
|
1768
1772
|
var SubscriptionBillingCycleAnchor;
|
|
1769
1773
|
(function (SubscriptionBillingCycleAnchor) {
|
|
@@ -1771,7 +1775,7 @@ var SubscriptionBillingCycleAnchor;
|
|
|
1771
1775
|
SubscriptionBillingCycleAnchor["Now"] = "NOW";
|
|
1772
1776
|
/** Keep the existing billing cycle anchor unchanged (default) */
|
|
1773
1777
|
SubscriptionBillingCycleAnchor["Unchanged"] = "UNCHANGED";
|
|
1774
|
-
})(SubscriptionBillingCycleAnchor
|
|
1778
|
+
})(SubscriptionBillingCycleAnchor || (exports.SubscriptionBillingCycleAnchor = SubscriptionBillingCycleAnchor = {}));
|
|
1775
1779
|
/** Subscription cancellation status */
|
|
1776
1780
|
var SubscriptionCancelReason;
|
|
1777
1781
|
(function (SubscriptionCancelReason) {
|
|
@@ -1786,7 +1790,7 @@ var SubscriptionCancelReason;
|
|
|
1786
1790
|
SubscriptionCancelReason["TrialConverted"] = "TrialConverted";
|
|
1787
1791
|
SubscriptionCancelReason["TrialEnded"] = "TrialEnded";
|
|
1788
1792
|
SubscriptionCancelReason["UpgradeOrDowngrade"] = "UpgradeOrDowngrade";
|
|
1789
|
-
})(SubscriptionCancelReason
|
|
1793
|
+
})(SubscriptionCancelReason || (exports.SubscriptionCancelReason = SubscriptionCancelReason = {}));
|
|
1790
1794
|
/** Action to take when a subscription is cancelled */
|
|
1791
1795
|
var SubscriptionCancellationAction;
|
|
1792
1796
|
(function (SubscriptionCancellationAction) {
|
|
@@ -1794,7 +1798,7 @@ var SubscriptionCancellationAction;
|
|
|
1794
1798
|
SubscriptionCancellationAction["Default"] = "DEFAULT";
|
|
1795
1799
|
/** Revoke entitlements action */
|
|
1796
1800
|
SubscriptionCancellationAction["RevokeEntitlements"] = "REVOKE_ENTITLEMENTS";
|
|
1797
|
-
})(SubscriptionCancellationAction
|
|
1801
|
+
})(SubscriptionCancellationAction || (exports.SubscriptionCancellationAction = SubscriptionCancellationAction = {}));
|
|
1798
1802
|
/** When the subscription will be cancelled */
|
|
1799
1803
|
var SubscriptionCancellationTime;
|
|
1800
1804
|
(function (SubscriptionCancellationTime) {
|
|
@@ -1804,14 +1808,14 @@ var SubscriptionCancellationTime;
|
|
|
1804
1808
|
SubscriptionCancellationTime["Immediate"] = "IMMEDIATE";
|
|
1805
1809
|
/** On a specific date */
|
|
1806
1810
|
SubscriptionCancellationTime["SpecificDate"] = "SPECIFIC_DATE";
|
|
1807
|
-
})(SubscriptionCancellationTime
|
|
1811
|
+
})(SubscriptionCancellationTime || (exports.SubscriptionCancellationTime = SubscriptionCancellationTime = {}));
|
|
1808
1812
|
/** The status of the subscription coupon */
|
|
1809
1813
|
var SubscriptionCouponStatus;
|
|
1810
1814
|
(function (SubscriptionCouponStatus) {
|
|
1811
1815
|
SubscriptionCouponStatus["Active"] = "ACTIVE";
|
|
1812
1816
|
SubscriptionCouponStatus["Expired"] = "EXPIRED";
|
|
1813
1817
|
SubscriptionCouponStatus["Removed"] = "REMOVED";
|
|
1814
|
-
})(SubscriptionCouponStatus
|
|
1818
|
+
})(SubscriptionCouponStatus || (exports.SubscriptionCouponStatus = SubscriptionCouponStatus = {}));
|
|
1815
1819
|
/** Subscription decision strategy */
|
|
1816
1820
|
var SubscriptionDecisionStrategy;
|
|
1817
1821
|
(function (SubscriptionDecisionStrategy) {
|
|
@@ -1819,7 +1823,7 @@ var SubscriptionDecisionStrategy;
|
|
|
1819
1823
|
SubscriptionDecisionStrategy["PredefinedTrialPlan"] = "PREDEFINED_TRIAL_PLAN";
|
|
1820
1824
|
SubscriptionDecisionStrategy["RequestedPlan"] = "REQUESTED_PLAN";
|
|
1821
1825
|
SubscriptionDecisionStrategy["SkippedSubscriptionCreation"] = "SKIPPED_SUBSCRIPTION_CREATION";
|
|
1822
|
-
})(SubscriptionDecisionStrategy
|
|
1826
|
+
})(SubscriptionDecisionStrategy || (exports.SubscriptionDecisionStrategy = SubscriptionDecisionStrategy = {}));
|
|
1823
1827
|
/** Setup for the end of the subscription */
|
|
1824
1828
|
var SubscriptionEndSetup;
|
|
1825
1829
|
(function (SubscriptionEndSetup) {
|
|
@@ -1827,7 +1831,7 @@ var SubscriptionEndSetup;
|
|
|
1827
1831
|
SubscriptionEndSetup["CancelSubscription"] = "CANCEL_SUBSCRIPTION";
|
|
1828
1832
|
/** Downgrade to free plan */
|
|
1829
1833
|
SubscriptionEndSetup["DowngradeToFree"] = "DOWNGRADE_TO_FREE";
|
|
1830
|
-
})(SubscriptionEndSetup
|
|
1834
|
+
})(SubscriptionEndSetup || (exports.SubscriptionEndSetup = SubscriptionEndSetup = {}));
|
|
1831
1835
|
var SubscriptionEntitlementSortFields;
|
|
1832
1836
|
(function (SubscriptionEntitlementSortFields) {
|
|
1833
1837
|
SubscriptionEntitlementSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1835,7 +1839,7 @@ var SubscriptionEntitlementSortFields;
|
|
|
1835
1839
|
SubscriptionEntitlementSortFields["Id"] = "id";
|
|
1836
1840
|
SubscriptionEntitlementSortFields["SubscriptionId"] = "subscriptionId";
|
|
1837
1841
|
SubscriptionEntitlementSortFields["UpdatedAt"] = "updatedAt";
|
|
1838
|
-
})(SubscriptionEntitlementSortFields
|
|
1842
|
+
})(SubscriptionEntitlementSortFields || (exports.SubscriptionEntitlementSortFields = SubscriptionEntitlementSortFields = {}));
|
|
1839
1843
|
/** The reason the billing event was created. */
|
|
1840
1844
|
var SubscriptionInvoiceBillingReason;
|
|
1841
1845
|
(function (SubscriptionInvoiceBillingReason) {
|
|
@@ -1851,14 +1855,14 @@ var SubscriptionInvoiceBillingReason;
|
|
|
1851
1855
|
SubscriptionInvoiceBillingReason["SubscriptionCreation"] = "SUBSCRIPTION_CREATION";
|
|
1852
1856
|
/** A subscription was updated. */
|
|
1853
1857
|
SubscriptionInvoiceBillingReason["SubscriptionUpdate"] = "SUBSCRIPTION_UPDATE";
|
|
1854
|
-
})(SubscriptionInvoiceBillingReason
|
|
1858
|
+
})(SubscriptionInvoiceBillingReason || (exports.SubscriptionInvoiceBillingReason = SubscriptionInvoiceBillingReason = {}));
|
|
1855
1859
|
/** SubscriptionInvoice status */
|
|
1856
1860
|
var SubscriptionInvoiceStatus;
|
|
1857
1861
|
(function (SubscriptionInvoiceStatus) {
|
|
1858
1862
|
SubscriptionInvoiceStatus["Canceled"] = "CANCELED";
|
|
1859
1863
|
SubscriptionInvoiceStatus["Open"] = "OPEN";
|
|
1860
1864
|
SubscriptionInvoiceStatus["Paid"] = "PAID";
|
|
1861
|
-
})(SubscriptionInvoiceStatus
|
|
1865
|
+
})(SubscriptionInvoiceStatus || (exports.SubscriptionInvoiceStatus = SubscriptionInvoiceStatus = {}));
|
|
1862
1866
|
var SubscriptionMigrationTaskSortFields;
|
|
1863
1867
|
(function (SubscriptionMigrationTaskSortFields) {
|
|
1864
1868
|
SubscriptionMigrationTaskSortFields["CreatedAt"] = "createdAt";
|
|
@@ -1866,13 +1870,13 @@ var SubscriptionMigrationTaskSortFields;
|
|
|
1866
1870
|
SubscriptionMigrationTaskSortFields["Id"] = "id";
|
|
1867
1871
|
SubscriptionMigrationTaskSortFields["Status"] = "status";
|
|
1868
1872
|
SubscriptionMigrationTaskSortFields["TaskType"] = "taskType";
|
|
1869
|
-
})(SubscriptionMigrationTaskSortFields
|
|
1873
|
+
})(SubscriptionMigrationTaskSortFields || (exports.SubscriptionMigrationTaskSortFields = SubscriptionMigrationTaskSortFields = {}));
|
|
1870
1874
|
/** Set non immediate cancellation time (atm supported only for stripe integration) */
|
|
1871
1875
|
var SubscriptionMigrationTime;
|
|
1872
1876
|
(function (SubscriptionMigrationTime) {
|
|
1873
1877
|
SubscriptionMigrationTime["EndOfBillingPeriod"] = "END_OF_BILLING_PERIOD";
|
|
1874
1878
|
SubscriptionMigrationTime["Immediate"] = "IMMEDIATE";
|
|
1875
|
-
})(SubscriptionMigrationTime
|
|
1879
|
+
})(SubscriptionMigrationTime || (exports.SubscriptionMigrationTime = SubscriptionMigrationTime = {}));
|
|
1876
1880
|
var SubscriptionPriceSortFields;
|
|
1877
1881
|
(function (SubscriptionPriceSortFields) {
|
|
1878
1882
|
SubscriptionPriceSortFields["BillingModel"] = "billingModel";
|
|
@@ -1882,7 +1886,7 @@ var SubscriptionPriceSortFields;
|
|
|
1882
1886
|
SubscriptionPriceSortFields["Id"] = "id";
|
|
1883
1887
|
SubscriptionPriceSortFields["UpdatedAt"] = "updatedAt";
|
|
1884
1888
|
SubscriptionPriceSortFields["UsageLimit"] = "usageLimit";
|
|
1885
|
-
})(SubscriptionPriceSortFields
|
|
1889
|
+
})(SubscriptionPriceSortFields || (exports.SubscriptionPriceSortFields = SubscriptionPriceSortFields = {}));
|
|
1886
1890
|
/** Proration behavior for subscription billing */
|
|
1887
1891
|
var SubscriptionProrationBehavior;
|
|
1888
1892
|
(function (SubscriptionProrationBehavior) {
|
|
@@ -1892,7 +1896,7 @@ var SubscriptionProrationBehavior;
|
|
|
1892
1896
|
SubscriptionProrationBehavior["InvoiceImmediately"] = "INVOICE_IMMEDIATELY";
|
|
1893
1897
|
/** No proration and no invoice for changes in the subscription */
|
|
1894
1898
|
SubscriptionProrationBehavior["None"] = "NONE";
|
|
1895
|
-
})(SubscriptionProrationBehavior
|
|
1899
|
+
})(SubscriptionProrationBehavior || (exports.SubscriptionProrationBehavior = SubscriptionProrationBehavior = {}));
|
|
1896
1900
|
var SubscriptionQuerySortFields;
|
|
1897
1901
|
(function (SubscriptionQuerySortFields) {
|
|
1898
1902
|
SubscriptionQuerySortFields["BillingId"] = "billingId";
|
|
@@ -1909,7 +1913,7 @@ var SubscriptionQuerySortFields;
|
|
|
1909
1913
|
SubscriptionQuerySortFields["StartDate"] = "startDate";
|
|
1910
1914
|
SubscriptionQuerySortFields["Status"] = "status";
|
|
1911
1915
|
SubscriptionQuerySortFields["SubscriptionId"] = "subscriptionId";
|
|
1912
|
-
})(SubscriptionQuerySortFields
|
|
1916
|
+
})(SubscriptionQuerySortFields || (exports.SubscriptionQuerySortFields = SubscriptionQuerySortFields = {}));
|
|
1913
1917
|
/** Subscription scheduled schedule status */
|
|
1914
1918
|
var SubscriptionScheduleStatus;
|
|
1915
1919
|
(function (SubscriptionScheduleStatus) {
|
|
@@ -1918,7 +1922,7 @@ var SubscriptionScheduleStatus;
|
|
|
1918
1922
|
SubscriptionScheduleStatus["Failed"] = "Failed";
|
|
1919
1923
|
SubscriptionScheduleStatus["PendingPayment"] = "PendingPayment";
|
|
1920
1924
|
SubscriptionScheduleStatus["Scheduled"] = "Scheduled";
|
|
1921
|
-
})(SubscriptionScheduleStatus
|
|
1925
|
+
})(SubscriptionScheduleStatus || (exports.SubscriptionScheduleStatus = SubscriptionScheduleStatus = {}));
|
|
1922
1926
|
/** Subscription scheduled schedule type */
|
|
1923
1927
|
var SubscriptionScheduleType;
|
|
1924
1928
|
(function (SubscriptionScheduleType) {
|
|
@@ -1944,7 +1948,7 @@ var SubscriptionScheduleType;
|
|
|
1944
1948
|
SubscriptionScheduleType["RecurringCredits"] = "RecurringCredits";
|
|
1945
1949
|
/** Unit amount change */
|
|
1946
1950
|
SubscriptionScheduleType["UnitAmount"] = "UnitAmount";
|
|
1947
|
-
})(SubscriptionScheduleType
|
|
1951
|
+
})(SubscriptionScheduleType || (exports.SubscriptionScheduleType = SubscriptionScheduleType = {}));
|
|
1948
1952
|
/** Setup for the start of the subscription */
|
|
1949
1953
|
var SubscriptionStartSetup;
|
|
1950
1954
|
(function (SubscriptionStartSetup) {
|
|
@@ -1954,7 +1958,7 @@ var SubscriptionStartSetup;
|
|
|
1954
1958
|
SubscriptionStartSetup["PlanSelection"] = "PLAN_SELECTION";
|
|
1955
1959
|
/** Start with a trial period */
|
|
1956
1960
|
SubscriptionStartSetup["TrialPeriod"] = "TRIAL_PERIOD";
|
|
1957
|
-
})(SubscriptionStartSetup
|
|
1961
|
+
})(SubscriptionStartSetup || (exports.SubscriptionStartSetup = SubscriptionStartSetup = {}));
|
|
1958
1962
|
/** Subscription status */
|
|
1959
1963
|
var SubscriptionStatus;
|
|
1960
1964
|
(function (SubscriptionStatus) {
|
|
@@ -1964,7 +1968,7 @@ var SubscriptionStatus;
|
|
|
1964
1968
|
SubscriptionStatus["InTrial"] = "IN_TRIAL";
|
|
1965
1969
|
SubscriptionStatus["NotStarted"] = "NOT_STARTED";
|
|
1966
1970
|
SubscriptionStatus["PaymentPending"] = "PAYMENT_PENDING";
|
|
1967
|
-
})(SubscriptionStatus
|
|
1971
|
+
})(SubscriptionStatus || (exports.SubscriptionStatus = SubscriptionStatus = {}));
|
|
1968
1972
|
/** Decide whether feature usage will be reset upon creation on new subscription */
|
|
1969
1973
|
var SubscriptionUpdateUsageCutoffBehavior;
|
|
1970
1974
|
(function (SubscriptionUpdateUsageCutoffBehavior) {
|
|
@@ -1974,7 +1978,7 @@ var SubscriptionUpdateUsageCutoffBehavior;
|
|
|
1974
1978
|
SubscriptionUpdateUsageCutoffBehavior["BillingPeriodChange"] = "BILLING_PERIOD_CHANGE";
|
|
1975
1979
|
/** Never reset */
|
|
1976
1980
|
SubscriptionUpdateUsageCutoffBehavior["NeverReset"] = "NEVER_RESET";
|
|
1977
|
-
})(SubscriptionUpdateUsageCutoffBehavior
|
|
1981
|
+
})(SubscriptionUpdateUsageCutoffBehavior || (exports.SubscriptionUpdateUsageCutoffBehavior = SubscriptionUpdateUsageCutoffBehavior = {}));
|
|
1978
1982
|
/** Status of the integration sync */
|
|
1979
1983
|
var SyncStatus;
|
|
1980
1984
|
(function (SyncStatus) {
|
|
@@ -1986,7 +1990,7 @@ var SyncStatus;
|
|
|
1986
1990
|
SyncStatus["Pending"] = "PENDING";
|
|
1987
1991
|
/** Successful sync status */
|
|
1988
1992
|
SyncStatus["Success"] = "SUCCESS";
|
|
1989
|
-
})(SyncStatus
|
|
1993
|
+
})(SyncStatus || (exports.SyncStatus = SyncStatus = {}));
|
|
1990
1994
|
/** The status of the task */
|
|
1991
1995
|
var TaskStatus;
|
|
1992
1996
|
(function (TaskStatus) {
|
|
@@ -2002,7 +2006,7 @@ var TaskStatus;
|
|
|
2002
2006
|
TaskStatus["PartiallyFailed"] = "PARTIALLY_FAILED";
|
|
2003
2007
|
/** The task is pending */
|
|
2004
2008
|
TaskStatus["Pending"] = "PENDING";
|
|
2005
|
-
})(TaskStatus
|
|
2009
|
+
})(TaskStatus || (exports.TaskStatus = TaskStatus = {}));
|
|
2006
2010
|
/** The type of the task */
|
|
2007
2011
|
var TaskType;
|
|
2008
2012
|
(function (TaskType) {
|
|
@@ -2022,7 +2026,7 @@ var TaskType;
|
|
|
2022
2026
|
TaskType["SubscriptionMigration"] = "SUBSCRIPTION_MIGRATION";
|
|
2023
2027
|
/** The task is a subscription migration v2 */
|
|
2024
2028
|
TaskType["SubscriptionMigrationV2"] = "SUBSCRIPTION_MIGRATION_V2";
|
|
2025
|
-
})(TaskType
|
|
2029
|
+
})(TaskType || (exports.TaskType = TaskType = {}));
|
|
2026
2030
|
/** Type of threshold for automatic recharge */
|
|
2027
2031
|
var ThresholdType;
|
|
2028
2032
|
(function (ThresholdType) {
|
|
@@ -2030,7 +2034,7 @@ var ThresholdType;
|
|
|
2030
2034
|
ThresholdType["CreditAmount"] = "CreditAmount";
|
|
2031
2035
|
/** Threshold based on dollar amount */
|
|
2032
2036
|
ThresholdType["DollarAmount"] = "DollarAmount";
|
|
2033
|
-
})(ThresholdType
|
|
2037
|
+
})(ThresholdType || (exports.ThresholdType = ThresholdType = {}));
|
|
2034
2038
|
/** Tiers mode */
|
|
2035
2039
|
var TiersMode;
|
|
2036
2040
|
(function (TiersMode) {
|
|
@@ -2038,7 +2042,7 @@ var TiersMode;
|
|
|
2038
2042
|
TiersMode["Graduated"] = "GRADUATED";
|
|
2039
2043
|
/** Volume */
|
|
2040
2044
|
TiersMode["Volume"] = "VOLUME";
|
|
2041
|
-
})(TiersMode
|
|
2045
|
+
})(TiersMode || (exports.TiersMode = TiersMode = {}));
|
|
2042
2046
|
/** Indicates the behavior of the subscription when the trial is expired. */
|
|
2043
2047
|
var TrialEndBehavior;
|
|
2044
2048
|
(function (TrialEndBehavior) {
|
|
@@ -2046,13 +2050,13 @@ var TrialEndBehavior;
|
|
|
2046
2050
|
TrialEndBehavior["CancelSubscription"] = "CANCEL_SUBSCRIPTION";
|
|
2047
2051
|
/** convert the trial subscription to a paid subscription */
|
|
2048
2052
|
TrialEndBehavior["ConvertToPaid"] = "CONVERT_TO_PAID";
|
|
2049
|
-
})(TrialEndBehavior
|
|
2053
|
+
})(TrialEndBehavior || (exports.TrialEndBehavior = TrialEndBehavior = {}));
|
|
2050
2054
|
/** day or month. */
|
|
2051
2055
|
var TrialPeriodUnits;
|
|
2052
2056
|
(function (TrialPeriodUnits) {
|
|
2053
2057
|
TrialPeriodUnits["Day"] = "DAY";
|
|
2054
2058
|
TrialPeriodUnits["Month"] = "MONTH";
|
|
2055
|
-
})(TrialPeriodUnits
|
|
2059
|
+
})(TrialPeriodUnits || (exports.TrialPeriodUnits = TrialPeriodUnits = {}));
|
|
2056
2060
|
/** Unit transformation round type */
|
|
2057
2061
|
var UnitTransformationRound;
|
|
2058
2062
|
(function (UnitTransformationRound) {
|
|
@@ -2060,7 +2064,7 @@ var UnitTransformationRound;
|
|
|
2060
2064
|
UnitTransformationRound["Down"] = "DOWN";
|
|
2061
2065
|
/** Apply round up after transformation */
|
|
2062
2066
|
UnitTransformationRound["Up"] = "UP";
|
|
2063
|
-
})(UnitTransformationRound
|
|
2067
|
+
})(UnitTransformationRound || (exports.UnitTransformationRound = UnitTransformationRound = {}));
|
|
2064
2068
|
/** Type of marker for a usage history point */
|
|
2065
2069
|
var UsageMarkerType;
|
|
2066
2070
|
(function (UsageMarkerType) {
|
|
@@ -2068,13 +2072,13 @@ var UsageMarkerType;
|
|
|
2068
2072
|
UsageMarkerType["PeriodicReset"] = "PERIODIC_RESET";
|
|
2069
2073
|
/** Usage was reset due to a subscription change */
|
|
2070
2074
|
UsageMarkerType["SubscriptionChangeReset"] = "SUBSCRIPTION_CHANGE_RESET";
|
|
2071
|
-
})(UsageMarkerType
|
|
2075
|
+
})(UsageMarkerType || (exports.UsageMarkerType = UsageMarkerType = {}));
|
|
2072
2076
|
var UsageMeasurementSortFields;
|
|
2073
2077
|
(function (UsageMeasurementSortFields) {
|
|
2074
2078
|
UsageMeasurementSortFields["CreatedAt"] = "createdAt";
|
|
2075
2079
|
UsageMeasurementSortFields["EnvironmentId"] = "environmentId";
|
|
2076
2080
|
UsageMeasurementSortFields["Id"] = "id";
|
|
2077
|
-
})(UsageMeasurementSortFields
|
|
2081
|
+
})(UsageMeasurementSortFields || (exports.UsageMeasurementSortFields = UsageMeasurementSortFields = {}));
|
|
2078
2082
|
/** Update behavior */
|
|
2079
2083
|
var UsageUpdateBehavior;
|
|
2080
2084
|
(function (UsageUpdateBehavior) {
|
|
@@ -2082,7 +2086,7 @@ var UsageUpdateBehavior;
|
|
|
2082
2086
|
UsageUpdateBehavior["Delta"] = "DELTA";
|
|
2083
2087
|
/** Set update */
|
|
2084
2088
|
UsageUpdateBehavior["Set"] = "SET";
|
|
2085
|
-
})(UsageUpdateBehavior
|
|
2089
|
+
})(UsageUpdateBehavior || (exports.UsageUpdateBehavior = UsageUpdateBehavior = {}));
|
|
2086
2090
|
/** A vendor identifier object */
|
|
2087
2091
|
var VendorIdentifier;
|
|
2088
2092
|
(function (VendorIdentifier) {
|
|
@@ -2106,7 +2110,7 @@ var VendorIdentifier;
|
|
|
2106
2110
|
VendorIdentifier["Stripe"] = "STRIPE";
|
|
2107
2111
|
/** Zuora integration vendor identifier */
|
|
2108
2112
|
VendorIdentifier["Zuora"] = "ZUORA";
|
|
2109
|
-
})(VendorIdentifier
|
|
2113
|
+
})(VendorIdentifier || (exports.VendorIdentifier = VendorIdentifier = {}));
|
|
2110
2114
|
/** The type of integration */
|
|
2111
2115
|
var VendorType;
|
|
2112
2116
|
(function (VendorType) {
|
|
@@ -2120,7 +2124,7 @@ var VendorType;
|
|
|
2120
2124
|
VendorType["DataExport"] = "DATA_EXPORT";
|
|
2121
2125
|
/** Marketplace integration type */
|
|
2122
2126
|
VendorType["Marketplace"] = "MARKETPLACE";
|
|
2123
|
-
})(VendorType
|
|
2127
|
+
})(VendorType || (exports.VendorType = VendorType = {}));
|
|
2124
2128
|
/** Weekly reset period according to configuration */
|
|
2125
2129
|
var WeeklyAccordingTo;
|
|
2126
2130
|
(function (WeeklyAccordingTo) {
|
|
@@ -2138,20 +2142,20 @@ var WeeklyAccordingTo;
|
|
|
2138
2142
|
WeeklyAccordingTo["EveryWednesday"] = "EveryWednesday";
|
|
2139
2143
|
/** Subscription start */
|
|
2140
2144
|
WeeklyAccordingTo["SubscriptionStart"] = "SubscriptionStart";
|
|
2141
|
-
})(WeeklyAccordingTo
|
|
2145
|
+
})(WeeklyAccordingTo || (exports.WeeklyAccordingTo = WeeklyAccordingTo = {}));
|
|
2142
2146
|
/** The widget type */
|
|
2143
2147
|
var WidgetType;
|
|
2144
2148
|
(function (WidgetType) {
|
|
2145
2149
|
WidgetType["Checkout"] = "CHECKOUT";
|
|
2146
2150
|
WidgetType["CustomerPortal"] = "CUSTOMER_PORTAL";
|
|
2147
2151
|
WidgetType["Paywall"] = "PAYWALL";
|
|
2148
|
-
})(WidgetType
|
|
2152
|
+
})(WidgetType || (exports.WidgetType = WidgetType = {}));
|
|
2149
2153
|
/** Yearly reset period according to configuration */
|
|
2150
2154
|
var YearlyAccordingTo;
|
|
2151
2155
|
(function (YearlyAccordingTo) {
|
|
2152
2156
|
/** Subscription start */
|
|
2153
2157
|
YearlyAccordingTo["SubscriptionStart"] = "SubscriptionStart";
|
|
2154
|
-
})(YearlyAccordingTo
|
|
2158
|
+
})(YearlyAccordingTo || (exports.YearlyAccordingTo = YearlyAccordingTo = {}));
|
|
2155
2159
|
/** The group type of the experiment */
|
|
2156
2160
|
var ExperimentGroupType;
|
|
2157
2161
|
(function (ExperimentGroupType) {
|
|
@@ -2159,7 +2163,7 @@ var ExperimentGroupType;
|
|
|
2159
2163
|
ExperimentGroupType["Control"] = "CONTROL";
|
|
2160
2164
|
/** Variant group of the experiment */
|
|
2161
2165
|
ExperimentGroupType["Variant"] = "VARIANT";
|
|
2162
|
-
})(ExperimentGroupType
|
|
2166
|
+
})(ExperimentGroupType || (exports.ExperimentGroupType = ExperimentGroupType = {}));
|
|
2163
2167
|
exports.PageInfoFragmentDoc = (0, graphql_tag_1.default) `
|
|
2164
2168
|
fragment PageInfoFragment on PageInfo {
|
|
2165
2169
|
startCursor
|
|
@@ -5164,5 +5168,4 @@ function getSdk(client, withWrapper = defaultWrapper) {
|
|
|
5164
5168
|
}
|
|
5165
5169
|
};
|
|
5166
5170
|
}
|
|
5167
|
-
exports.getSdk = getSdk;
|
|
5168
5171
|
//# sourceMappingURL=sdk.js.map
|