stigg-api-client-v2 0.579.8__py3-none-any.whl → 5.9.0__py3-none-any.whl
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.
- stigg/_edge_utils.py +58 -0
- stigg/client.py +97 -21
- stigg/generated/__init__.py +777 -44
- stigg/generated/apply_subscription.py +4 -12
- stigg/generated/archive_customer.py +2 -3
- stigg/generated/async_base_client.py +187 -29
- stigg/generated/async_client.py +3701 -587
- stigg/generated/base_client.py +144 -23
- stigg/generated/base_model.py +16 -47
- stigg/generated/cancel_subscription.py +2 -3
- stigg/generated/cancel_subscription_updates.py +1 -4
- stigg/generated/client.py +3703 -585
- stigg/generated/create_payment_session.py +20 -0
- stigg/generated/create_subscription.py +2 -3
- stigg/generated/delegate_subscription_to_customer.py +22 -0
- stigg/generated/detach_customer_payment_method.py +20 -0
- stigg/generated/enums.py +449 -7
- stigg/generated/estimate_subscription.py +2 -3
- stigg/generated/estimate_subscription_update.py +2 -3
- stigg/generated/exceptions.py +9 -5
- stigg/generated/fragments.py +1983 -788
- stigg/generated/get_active_subscriptions.py +2 -3
- stigg/generated/get_active_subscriptions_list.py +22 -0
- stigg/generated/get_checkout_state.py +2 -3
- stigg/generated/get_coupons.py +4 -5
- stigg/generated/get_credit_balance.py +20 -0
- stigg/generated/get_credit_grants.py +36 -0
- stigg/generated/get_credit_ledger.py +25 -0
- stigg/generated/get_credit_usage.py +18 -0
- stigg/generated/get_customer_by_id.py +2 -3
- stigg/generated/get_customer_portal_by_ref_id.py +2 -3
- stigg/generated/get_customer_statistics.py +22 -0
- stigg/generated/get_entitlement.py +2 -3
- stigg/generated/get_entitlements.py +2 -3
- stigg/generated/get_entitlements_state.py +31 -0
- stigg/generated/get_mock_paywall.py +3 -5
- stigg/generated/get_paywall.py +2 -3
- stigg/generated/get_products.py +4 -5
- stigg/generated/get_sdk_configuration.py +3 -3
- stigg/generated/get_subscription.py +18 -0
- stigg/generated/get_subscriptions.py +35 -0
- stigg/generated/get_usage_history.py +2 -3
- stigg/generated/get_usage_history_v_2.py +18 -0
- stigg/generated/grant_credits.py +20 -0
- stigg/generated/grant_promotional_entitlements.py +2 -3
- stigg/generated/grant_promotional_entitlements_group.py +24 -0
- stigg/generated/import_customer.py +2 -3
- stigg/generated/import_customer_bulk.py +1 -4
- stigg/generated/import_subscriptions_bulk.py +1 -4
- stigg/generated/input_types.py +3950 -1825
- stigg/generated/migrate_subscription_to_latest.py +2 -3
- stigg/generated/preview_next_invoice.py +20 -0
- stigg/generated/preview_subscription.py +2 -3
- stigg/generated/provision_customer.py +4 -22
- stigg/generated/provision_subscription.py +4 -15
- stigg/generated/report_entitlement_check_requested.py +1 -4
- stigg/generated/report_event.py +1 -4
- stigg/generated/report_usage.py +6 -13
- stigg/generated/report_usage_bulk.py +22 -0
- stigg/generated/revoke_promotional_entitlement.py +5 -4
- stigg/generated/revoke_promotional_entitlements_group.py +24 -0
- stigg/generated/transfer_subscription.py +2 -3
- stigg/generated/transfer_subscription_to_resource.py +22 -0
- stigg/generated/unarchive_customer.py +20 -0
- stigg/generated/unlink_promotional_entitlements_group.py +24 -0
- stigg/generated/update_customer.py +2 -3
- stigg/generated/update_subscription.py +2 -3
- stigg/generated/void_credit_grant.py +18 -0
- stigg_api_client_v2-5.9.0.dist-info/LICENSE +14 -0
- {stigg_api_client_v2-0.579.8.dist-info → stigg_api_client_v2-5.9.0.dist-info}/METADATA +5 -2
- stigg_api_client_v2-5.9.0.dist-info/RECORD +73 -0
- stigg/edge_utils.py +0 -28
- stigg/generated/scalars.py +0 -6
- stigg_api_client_v2-0.579.8.dist-info/RECORD +0 -51
- {stigg_api_client_v2-0.579.8.dist-info → stigg_api_client_v2-5.9.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -1,20 +1,36 @@
|
|
|
1
|
-
# Generated by ariadne-codegen
|
|
1
|
+
# Generated by ariadne-codegen
|
|
2
2
|
# Source: ../api-client-schema/src/generated/schema.graphql
|
|
3
3
|
|
|
4
4
|
from enum import Enum
|
|
5
5
|
|
|
6
6
|
|
|
7
7
|
class AccessDeniedReason(str, Enum):
|
|
8
|
+
BudgetExceeded = "BudgetExceeded"
|
|
8
9
|
CustomerIsArchived = "CustomerIsArchived"
|
|
9
10
|
CustomerNotFound = "CustomerNotFound"
|
|
10
11
|
CustomerResourceNotFound = "CustomerResourceNotFound"
|
|
11
12
|
FeatureNotFound = "FeatureNotFound"
|
|
13
|
+
FeatureTypeMismatch = "FeatureTypeMismatch"
|
|
14
|
+
InsufficientCredits = "InsufficientCredits"
|
|
12
15
|
NoActiveSubscription = "NoActiveSubscription"
|
|
13
16
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
14
17
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit"
|
|
18
|
+
RequestedValuesMismatch = "RequestedValuesMismatch"
|
|
19
|
+
Revoked = "Revoked"
|
|
15
20
|
Unknown = "Unknown"
|
|
16
21
|
|
|
17
22
|
|
|
23
|
+
class AccountAccessMethod(str, Enum):
|
|
24
|
+
AUTHORIZED_DOMAIN = "AUTHORIZED_DOMAIN"
|
|
25
|
+
INVITE_ONLY = "INVITE_ONLY"
|
|
26
|
+
SSO = "SSO"
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
class AccountAccessRole(str, Enum):
|
|
30
|
+
MEMBER = "MEMBER"
|
|
31
|
+
OWNER = "OWNER"
|
|
32
|
+
|
|
33
|
+
|
|
18
34
|
class AccountStatus(str, Enum):
|
|
19
35
|
ACTIVE = "ACTIVE"
|
|
20
36
|
BLOCKED = "BLOCKED"
|
|
@@ -57,16 +73,32 @@ class ApiKeySortFields(str, Enum):
|
|
|
57
73
|
|
|
58
74
|
class ApiKeyType(str, Enum):
|
|
59
75
|
CLIENT = "CLIENT"
|
|
76
|
+
SALESFORCE = "SALESFORCE"
|
|
60
77
|
SERVER = "SERVER"
|
|
78
|
+
WORKFLOW = "WORKFLOW"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class Auth0ApplicationType(str, Enum):
|
|
82
|
+
BOTH = "BOTH"
|
|
83
|
+
INDIVIDUAL = "INDIVIDUAL"
|
|
84
|
+
ORGANIZATION = "ORGANIZATION"
|
|
61
85
|
|
|
62
86
|
|
|
63
87
|
class BillingAnchor(str, Enum):
|
|
64
88
|
START_OF_THE_MONTH = "START_OF_THE_MONTH"
|
|
89
|
+
SUBSCRIPTIONS_CONSOLIDATE_BILLING = "SUBSCRIPTIONS_CONSOLIDATE_BILLING"
|
|
65
90
|
SUBSCRIPTION_START = "SUBSCRIPTION_START"
|
|
66
91
|
|
|
67
92
|
|
|
93
|
+
class BillingCadence(str, Enum):
|
|
94
|
+
ONE_OFF = "ONE_OFF"
|
|
95
|
+
RECURRING = "RECURRING"
|
|
96
|
+
|
|
97
|
+
|
|
68
98
|
class BillingModel(str, Enum):
|
|
99
|
+
CREDIT_BASED = "CREDIT_BASED"
|
|
69
100
|
FLAT_FEE = "FLAT_FEE"
|
|
101
|
+
MINIMUM_SPEND = "MINIMUM_SPEND"
|
|
70
102
|
PER_UNIT = "PER_UNIT"
|
|
71
103
|
USAGE_BASED = "USAGE_BASED"
|
|
72
104
|
|
|
@@ -78,6 +110,7 @@ class BillingPeriod(str, Enum):
|
|
|
78
110
|
|
|
79
111
|
class BillingVendorIdentifier(str, Enum):
|
|
80
112
|
STRIPE = "STRIPE"
|
|
113
|
+
ZUORA = "ZUORA"
|
|
81
114
|
|
|
82
115
|
|
|
83
116
|
class ChangeType(str, Enum):
|
|
@@ -106,11 +139,18 @@ class CouponSortFields(str, Enum):
|
|
|
106
139
|
id = "id"
|
|
107
140
|
name = "name"
|
|
108
141
|
refId = "refId"
|
|
142
|
+
source = "source"
|
|
109
143
|
status = "status"
|
|
110
144
|
type = "type"
|
|
111
145
|
updatedAt = "updatedAt"
|
|
112
146
|
|
|
113
147
|
|
|
148
|
+
class CouponSource(str, Enum):
|
|
149
|
+
STIGG = "STIGG"
|
|
150
|
+
STIGG_ADHOC = "STIGG_ADHOC"
|
|
151
|
+
STRIPE = "STRIPE"
|
|
152
|
+
|
|
153
|
+
|
|
114
154
|
class CouponStatus(str, Enum):
|
|
115
155
|
ACTIVE = "ACTIVE"
|
|
116
156
|
ARCHIVED = "ARCHIVED"
|
|
@@ -121,6 +161,25 @@ class CouponType(str, Enum):
|
|
|
121
161
|
PERCENTAGE = "PERCENTAGE"
|
|
122
162
|
|
|
123
163
|
|
|
164
|
+
class CreditGrantType(str, Enum):
|
|
165
|
+
PAID = "PAID"
|
|
166
|
+
PROMOTIONAL = "PROMOTIONAL"
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class CreditLedgerEventType(str, Enum):
|
|
170
|
+
CREDITS_CONSUMED = "CREDITS_CONSUMED"
|
|
171
|
+
CREDITS_EXPIRED = "CREDITS_EXPIRED"
|
|
172
|
+
CREDITS_GRANTED = "CREDITS_GRANTED"
|
|
173
|
+
CREDITS_VOIDED = "CREDITS_VOIDED"
|
|
174
|
+
|
|
175
|
+
|
|
176
|
+
class CreditUsageTimeRange(str, Enum):
|
|
177
|
+
LAST_DAY = "LAST_DAY"
|
|
178
|
+
LAST_MONTH = "LAST_MONTH"
|
|
179
|
+
LAST_WEEK = "LAST_WEEK"
|
|
180
|
+
LAST_YEAR = "LAST_YEAR"
|
|
181
|
+
|
|
182
|
+
|
|
124
183
|
class Currency(str, Enum):
|
|
125
184
|
AED = "AED"
|
|
126
185
|
ALL = "ALL"
|
|
@@ -136,6 +195,7 @@ class Currency(str, Enum):
|
|
|
136
195
|
BIF = "BIF"
|
|
137
196
|
BMD = "BMD"
|
|
138
197
|
BND = "BND"
|
|
198
|
+
BRL = "BRL"
|
|
139
199
|
BSD = "BSD"
|
|
140
200
|
BWP = "BWP"
|
|
141
201
|
BYN = "BYN"
|
|
@@ -246,6 +306,7 @@ class CustomerResourceSortFields(str, Enum):
|
|
|
246
306
|
|
|
247
307
|
|
|
248
308
|
class CustomerSortFields(str, Enum):
|
|
309
|
+
awsMarketplaceCustomerId = "awsMarketplaceCustomerId"
|
|
249
310
|
billingId = "billingId"
|
|
250
311
|
createdAt = "createdAt"
|
|
251
312
|
crmHubspotCompanyId = "crmHubspotCompanyId"
|
|
@@ -258,26 +319,33 @@ class CustomerSortFields(str, Enum):
|
|
|
258
319
|
id = "id"
|
|
259
320
|
name = "name"
|
|
260
321
|
refId = "refId"
|
|
322
|
+
salesforceId = "salesforceId"
|
|
261
323
|
searchQuery = "searchQuery"
|
|
262
324
|
updatedAt = "updatedAt"
|
|
263
325
|
|
|
264
326
|
|
|
265
327
|
class CustomerSubscriptionSortFields(str, Enum):
|
|
328
|
+
billingCycleAnchor = "billingCycleAnchor"
|
|
266
329
|
billingId = "billingId"
|
|
267
330
|
cancelReason = "cancelReason"
|
|
268
331
|
cancellationDate = "cancellationDate"
|
|
269
332
|
createdAt = "createdAt"
|
|
270
333
|
crmId = "crmId"
|
|
271
334
|
crmLinkUrl = "crmLinkUrl"
|
|
335
|
+
currentBillingPeriodEnd = "currentBillingPeriodEnd"
|
|
336
|
+
currentBillingPeriodStart = "currentBillingPeriodStart"
|
|
337
|
+
customerId = "customerId"
|
|
272
338
|
effectiveEndDate = "effectiveEndDate"
|
|
273
339
|
endDate = "endDate"
|
|
274
340
|
environmentId = "environmentId"
|
|
275
341
|
id = "id"
|
|
276
342
|
oldBillingId = "oldBillingId"
|
|
343
|
+
payingCustomerId = "payingCustomerId"
|
|
277
344
|
paymentCollection = "paymentCollection"
|
|
278
345
|
pricingType = "pricingType"
|
|
279
346
|
refId = "refId"
|
|
280
347
|
resourceId = "resourceId"
|
|
348
|
+
salesforceId = "salesforceId"
|
|
281
349
|
startDate = "startDate"
|
|
282
350
|
status = "status"
|
|
283
351
|
subscriptionId = "subscriptionId"
|
|
@@ -305,11 +373,22 @@ class DiscountType(str, Enum):
|
|
|
305
373
|
PERCENTAGE = "PERCENTAGE"
|
|
306
374
|
|
|
307
375
|
|
|
376
|
+
class EntitlementBehavior(str, Enum):
|
|
377
|
+
Increment = "Increment"
|
|
378
|
+
Override = "Override"
|
|
379
|
+
|
|
380
|
+
|
|
308
381
|
class EntitlementResetPeriod(str, Enum):
|
|
309
382
|
DAY = "DAY"
|
|
310
383
|
HOUR = "HOUR"
|
|
311
384
|
MONTH = "MONTH"
|
|
312
385
|
WEEK = "WEEK"
|
|
386
|
+
YEAR = "YEAR"
|
|
387
|
+
|
|
388
|
+
|
|
389
|
+
class EntitlementsStateAccessDeniedReason(str, Enum):
|
|
390
|
+
CustomerNotFound = "CustomerNotFound"
|
|
391
|
+
NoActiveSubscription = "NoActiveSubscription"
|
|
313
392
|
|
|
314
393
|
|
|
315
394
|
class EntitySelectionMode(str, Enum):
|
|
@@ -317,6 +396,13 @@ class EntitySelectionMode(str, Enum):
|
|
|
317
396
|
WHITE_LIST = "WHITE_LIST"
|
|
318
397
|
|
|
319
398
|
|
|
399
|
+
class EnvironmentAccessRole(str, Enum):
|
|
400
|
+
ADMIN = "ADMIN"
|
|
401
|
+
NONE = "NONE"
|
|
402
|
+
SUPPORT = "SUPPORT"
|
|
403
|
+
VIEWER = "VIEWER"
|
|
404
|
+
|
|
405
|
+
|
|
320
406
|
class EnvironmentProvisionStatus(str, Enum):
|
|
321
407
|
DONE = "DONE"
|
|
322
408
|
FAILED = "FAILED"
|
|
@@ -328,39 +414,87 @@ class EnvironmentSortFields(str, Enum):
|
|
|
328
414
|
createdAt = "createdAt"
|
|
329
415
|
displayName = "displayName"
|
|
330
416
|
id = "id"
|
|
417
|
+
permanentDeletionDate = "permanentDeletionDate"
|
|
331
418
|
slug = "slug"
|
|
332
419
|
|
|
333
420
|
|
|
421
|
+
class EnvironmentType(str, Enum):
|
|
422
|
+
DEVELOPMENT = "DEVELOPMENT"
|
|
423
|
+
PRODUCTION = "PRODUCTION"
|
|
424
|
+
SANDBOX = "SANDBOX"
|
|
425
|
+
|
|
426
|
+
|
|
334
427
|
class ErrorCode(str, Enum):
|
|
428
|
+
AccessDeniedError = "AccessDeniedError"
|
|
335
429
|
AccountNotFoundError = "AccountNotFoundError"
|
|
430
|
+
AddonDependencyMissingError = "AddonDependencyMissingError"
|
|
336
431
|
AddonHasToHavePriceError = "AddonHasToHavePriceError"
|
|
432
|
+
AddonIsCompatibleWithGroup = "AddonIsCompatibleWithGroup"
|
|
433
|
+
AddonIsCompatibleWithPlan = "AddonIsCompatibleWithPlan"
|
|
337
434
|
AddonNotFound = "AddonNotFound"
|
|
435
|
+
AddonQuantityExceedsLimitError = "AddonQuantityExceedsLimitError"
|
|
338
436
|
AddonWithDraftCannotBeDeletedError = "AddonWithDraftCannotBeDeletedError"
|
|
437
|
+
AddonsNotFound = "AddonsNotFound"
|
|
438
|
+
AmountTooLarge = "AmountTooLarge"
|
|
339
439
|
ArchivedCouponCantBeApplied = "ArchivedCouponCantBeApplied"
|
|
340
440
|
AuthCustomerMismatch = "AuthCustomerMismatch"
|
|
441
|
+
AuthCustomerReadonly = "AuthCustomerReadonly"
|
|
442
|
+
AwsMarketplaceIntegrationError = "AwsMarketplaceIntegrationError"
|
|
443
|
+
AwsMarketplaceIntegrationValidationError = (
|
|
444
|
+
"AwsMarketplaceIntegrationValidationError"
|
|
445
|
+
)
|
|
341
446
|
BadUserInput = "BadUserInput"
|
|
447
|
+
BillingIntegrationAlreadyExistsError = "BillingIntegrationAlreadyExistsError"
|
|
448
|
+
BillingIntegrationMissing = "BillingIntegrationMissing"
|
|
342
449
|
BillingPeriodMissingError = "BillingPeriodMissingError"
|
|
450
|
+
CanNotUpdateEntitlementsFeatureGroup = "CanNotUpdateEntitlementsFeatureGroup"
|
|
451
|
+
CannotAddOverrideEntitlementToPlan = "CannotAddOverrideEntitlementToPlan"
|
|
452
|
+
CannotArchiveFeatureError = "CannotArchiveFeatureError"
|
|
453
|
+
CannotArchiveFeatureGroupError = "CannotArchiveFeatureGroupError"
|
|
454
|
+
CannotChangeBillingIntegration = "CannotChangeBillingIntegration"
|
|
343
455
|
CannotDeleteCustomerError = "CannotDeleteCustomerError"
|
|
456
|
+
CannotDeleteDefaultIntegration = "CannotDeleteDefaultIntegration"
|
|
344
457
|
CannotDeleteFeatureError = "CannotDeleteFeatureError"
|
|
345
458
|
CannotDeleteProductError = "CannotDeleteProductError"
|
|
346
459
|
CannotEditPackageInNonDraftMode = "CannotEditPackageInNonDraftMode"
|
|
460
|
+
CannotRemovePaymentMethodFromCustomerError = (
|
|
461
|
+
"CannotRemovePaymentMethodFromCustomerError"
|
|
462
|
+
)
|
|
347
463
|
CannotReportUsageForEntitlementWithMeterError = (
|
|
348
464
|
"CannotReportUsageForEntitlementWithMeterError"
|
|
349
465
|
)
|
|
466
|
+
CannotUpdateExpireAtForExpiredCreditGrantError = (
|
|
467
|
+
"CannotUpdateExpireAtForExpiredCreditGrantError"
|
|
468
|
+
)
|
|
469
|
+
CannotUpdateUnitTransformationError = "CannotUpdateUnitTransformationError"
|
|
350
470
|
CannotUpsertToPackageThatHasDraft = "CannotUpsertToPackageThatHasDraft"
|
|
471
|
+
ChangingPayingCustomerIsNotSupportedError = (
|
|
472
|
+
"ChangingPayingCustomerIsNotSupportedError"
|
|
473
|
+
)
|
|
351
474
|
CheckoutIsNotSupported = "CheckoutIsNotSupported"
|
|
352
|
-
CheckoutOptionsMissing = "CheckoutOptionsMissing"
|
|
353
475
|
CouponNotFound = "CouponNotFound"
|
|
476
|
+
CreditGrantAlreadyVoided = "CreditGrantAlreadyVoided"
|
|
477
|
+
CreditGrantNotFound = "CreditGrantNotFound"
|
|
478
|
+
CustomCurrencyNotFound = "CustomCurrencyNotFound"
|
|
354
479
|
CustomerAlreadyHaveCustomerCoupon = "CustomerAlreadyHaveCustomerCoupon"
|
|
355
480
|
CustomerAlreadyUsesCoupon = "CustomerAlreadyUsesCoupon"
|
|
356
|
-
|
|
481
|
+
CustomerHasNoEmailAddress = "CustomerHasNoEmailAddress"
|
|
357
482
|
CustomerNoBillingId = "CustomerNoBillingId"
|
|
358
483
|
CustomerNotFound = "CustomerNotFound"
|
|
359
484
|
CustomerResourceNotFound = "CustomerResourceNotFound"
|
|
485
|
+
DeprecatedEstimateSubscriptionError = "DeprecatedEstimateSubscriptionError"
|
|
360
486
|
DowngradeBillingPeriodNotSupportedError = "DowngradeBillingPeriodNotSupportedError"
|
|
487
|
+
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
488
|
+
DraftAlreadyExists = "DraftAlreadyExists"
|
|
361
489
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
|
490
|
+
DuplicateAddonProvisionedError = "DuplicateAddonProvisionedError"
|
|
491
|
+
DuplicateIntegrationNotAllowed = "DuplicateIntegrationNotAllowed"
|
|
492
|
+
DuplicateProductValidationError = "DuplicateProductValidationError"
|
|
362
493
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed"
|
|
363
494
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError"
|
|
495
|
+
EntitlementBelongsToFeatureGroupError = "EntitlementBelongsToFeatureGroupError"
|
|
496
|
+
EntitlementLimitExceededError = "EntitlementLimitExceededError"
|
|
497
|
+
EntitlementUsageOutOfRangeError = "EntitlementUsageOutOfRangeError"
|
|
364
498
|
EntitlementsMustBelongToSamePackage = "EntitlementsMustBelongToSamePackage"
|
|
365
499
|
EntityIdDifferentFromRefIdError = "EntityIdDifferentFromRefIdError"
|
|
366
500
|
EntityIsArchivedError = "EntityIsArchivedError"
|
|
@@ -368,19 +502,36 @@ class ErrorCode(str, Enum):
|
|
|
368
502
|
ExperimentAlreadyRunning = "ExperimentAlreadyRunning"
|
|
369
503
|
ExperimentNotFoundError = "ExperimentNotFoundError"
|
|
370
504
|
ExperimentStatusError = "ExperimentStatusError"
|
|
505
|
+
ExpireAtMustBeLaterThanEffectiveAtError = "ExpireAtMustBeLaterThanEffectiveAtError"
|
|
371
506
|
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError"
|
|
372
507
|
FailedToImportCustomer = "FailedToImportCustomer"
|
|
508
|
+
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
509
|
+
FailedToResolveBillingIntegration = "FailedToResolveBillingIntegration"
|
|
510
|
+
FeatureConfigurationExceededLimitError = "FeatureConfigurationExceededLimitError"
|
|
511
|
+
FeatureGroupMissingFeaturesError = "FeatureGroupMissingFeaturesError"
|
|
512
|
+
FeatureGroupNotFoundError = "FeatureGroupNotFoundError"
|
|
513
|
+
FeatureNotBelongToFeatureGroupError = "FeatureNotBelongToFeatureGroupError"
|
|
373
514
|
FeatureNotFound = "FeatureNotFound"
|
|
374
515
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
516
|
+
FreePlanCantHaveCompatiblePackageGroupError = (
|
|
517
|
+
"FreePlanCantHaveCompatiblePackageGroupError"
|
|
518
|
+
)
|
|
519
|
+
GraphQLAliasesLimitExceeded = "GraphQLAliasesLimitExceeded"
|
|
520
|
+
GraphQLBatchedOperationsLimitExceeded = "GraphQLBatchedOperationsLimitExceeded"
|
|
521
|
+
GraphQLUnsupportedDirective = "GraphQLUnsupportedDirective"
|
|
522
|
+
HubspotIntegrationError = "HubspotIntegrationError"
|
|
375
523
|
IdentityForbidden = "IdentityForbidden"
|
|
376
524
|
ImportAlreadyInProgress = "ImportAlreadyInProgress"
|
|
377
525
|
ImportSubscriptionsBulkError = "ImportSubscriptionsBulkError"
|
|
526
|
+
IncompatibleSubscriptionAddon = "IncompatibleSubscriptionAddon"
|
|
378
527
|
InitStripePaymentMethodError = "InitStripePaymentMethodError"
|
|
379
528
|
IntegrationNotFound = "IntegrationNotFound"
|
|
529
|
+
IntegrationValidationError = "IntegrationValidationError"
|
|
380
530
|
IntegrityViolation = "IntegrityViolation"
|
|
381
531
|
InvalidAddressError = "InvalidAddressError"
|
|
382
532
|
InvalidArgumentError = "InvalidArgumentError"
|
|
383
533
|
InvalidCancellationDate = "InvalidCancellationDate"
|
|
534
|
+
InvalidDoggoSignatureError = "InvalidDoggoSignatureError"
|
|
384
535
|
InvalidEntitlementResetPeriod = "InvalidEntitlementResetPeriod"
|
|
385
536
|
InvalidMemberDelete = "InvalidMemberDelete"
|
|
386
537
|
InvalidMetadataError = "InvalidMetadataError"
|
|
@@ -389,25 +540,41 @@ class ErrorCode(str, Enum):
|
|
|
389
540
|
InvalidUpdatePriceUnitAmountError = "InvalidUpdatePriceUnitAmountError"
|
|
390
541
|
MemberInvitationError = "MemberInvitationError"
|
|
391
542
|
MemberNotFound = "MemberNotFound"
|
|
543
|
+
MergeEnvironmentValidationError = "MergeEnvironmentValidationError"
|
|
392
544
|
MeterMustBeAssociatedToMeteredFeature = "MeterMustBeAssociatedToMeteredFeature"
|
|
393
545
|
MeteringNotAvailableForFeatureType = "MeteringNotAvailableForFeatureType"
|
|
394
546
|
MissingEntityIdError = "MissingEntityIdError"
|
|
547
|
+
MissingSubscriptionInvoiceError = "MissingSubscriptionInvoiceError"
|
|
548
|
+
MultiSubscriptionCantBeAutoCancellationSourceError = (
|
|
549
|
+
"MultiSubscriptionCantBeAutoCancellationSourceError"
|
|
550
|
+
)
|
|
551
|
+
NoActiveSubscriptionForCustomer = "NoActiveSubscriptionForCustomer"
|
|
552
|
+
NoDraftOfferFound = "NoDraftOfferFound"
|
|
553
|
+
NoFeatureEntitlementError = "NoFeatureEntitlementError"
|
|
395
554
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
396
555
|
NoProductsAvailable = "NoProductsAvailable"
|
|
556
|
+
OfferAlreadyExists = "OfferAlreadyExists"
|
|
557
|
+
OfferNotFound = "OfferNotFound"
|
|
397
558
|
OperationNotAllowedDuringInProgressExperiment = (
|
|
398
559
|
"OperationNotAllowedDuringInProgressExperiment"
|
|
399
560
|
)
|
|
400
561
|
PackageAlreadyPublished = "PackageAlreadyPublished"
|
|
562
|
+
PackageGroupMinItemsError = "PackageGroupMinItemsError"
|
|
563
|
+
PackageGroupNotFound = "PackageGroupNotFound"
|
|
401
564
|
PackagePricingTypeNotSet = "PackagePricingTypeNotSet"
|
|
402
565
|
PaymentMethodNotFoundError = "PaymentMethodNotFoundError"
|
|
403
|
-
PlanAlreadyExtended = "PlanAlreadyExtended"
|
|
404
566
|
PlanCannotBePublishWhenBasePlanIsDraft = "PlanCannotBePublishWhenBasePlanIsDraft"
|
|
567
|
+
PlanCannotBePublishWhenCompatibleAddonIsDraft = (
|
|
568
|
+
"PlanCannotBePublishWhenCompatibleAddonIsDraft"
|
|
569
|
+
)
|
|
405
570
|
PlanIsUsedAsDefaultStartPlan = "PlanIsUsedAsDefaultStartPlan"
|
|
406
571
|
PlanIsUsedAsDowngradePlan = "PlanIsUsedAsDowngradePlan"
|
|
407
572
|
PlanNotFound = "PlanNotFound"
|
|
408
573
|
PlanWithChildCantBeDeleted = "PlanWithChildCantBeDeleted"
|
|
409
574
|
PlansCircularDependencyError = "PlansCircularDependencyError"
|
|
575
|
+
PreparePaymentMethodFormError = "PreparePaymentMethodFormError"
|
|
410
576
|
PriceNotFound = "PriceNotFound"
|
|
577
|
+
ProductNotFoundError = "ProductNotFoundError"
|
|
411
578
|
PromotionCodeCustomerNotFirstPurchase = "PromotionCodeCustomerNotFirstPurchase"
|
|
412
579
|
PromotionCodeMaxRedemptionsReached = "PromotionCodeMaxRedemptionsReached"
|
|
413
580
|
PromotionCodeMinimumAmountNotReached = "PromotionCodeMinimumAmountNotReached"
|
|
@@ -417,27 +584,81 @@ class ErrorCode(str, Enum):
|
|
|
417
584
|
PromotionalEntitlementNotFoundError = "PromotionalEntitlementNotFoundError"
|
|
418
585
|
RateLimitExceeded = "RateLimitExceeded"
|
|
419
586
|
RecalculateEntitlementsError = "RecalculateEntitlementsError"
|
|
587
|
+
RequiredSsoAuthenticationError = "RequiredSsoAuthenticationError"
|
|
420
588
|
ResyncAlreadyInProgress = "ResyncAlreadyInProgress"
|
|
421
589
|
ScheduledMigrationAlreadyExistsError = "ScheduledMigrationAlreadyExistsError"
|
|
422
590
|
SelectedBillingModelDoesntMatchImportedItemError = (
|
|
423
591
|
"SelectedBillingModelDoesntMatchImportedItemError"
|
|
424
592
|
)
|
|
593
|
+
SingleSubscriptionCantBeAutoCancellationTargetError = (
|
|
594
|
+
"SingleSubscriptionCantBeAutoCancellationTargetError"
|
|
595
|
+
)
|
|
425
596
|
StripeCustomerIsDeleted = "StripeCustomerIsDeleted"
|
|
426
597
|
StripeError = "StripeError"
|
|
427
598
|
SubscriptionAlreadyCanceledOrExpired = "SubscriptionAlreadyCanceledOrExpired"
|
|
428
599
|
SubscriptionAlreadyOnLatestPlanError = "SubscriptionAlreadyOnLatestPlanError"
|
|
600
|
+
SubscriptionDoesNotHaveBillingPeriod = "SubscriptionDoesNotHaveBillingPeriod"
|
|
601
|
+
SubscriptionInvoiceStatusError = "SubscriptionInvoiceStatusError"
|
|
429
602
|
SubscriptionMustHaveSinglePlanError = "SubscriptionMustHaveSinglePlanError"
|
|
603
|
+
SubscriptionNoBillingId = "SubscriptionNoBillingId"
|
|
430
604
|
SubscriptionNotFound = "SubscriptionNotFound"
|
|
605
|
+
TooManyCustomCurrencies = "TooManyCustomCurrencies"
|
|
431
606
|
TooManySubscriptionsPerCustomer = "TooManySubscriptionsPerCustomer"
|
|
432
|
-
TrialMinDateError = "TrialMinDateError"
|
|
433
607
|
TrialMustBeCancelledImmediately = "TrialMustBeCancelledImmediately"
|
|
434
608
|
UnPublishedPackage = "UnPublishedPackage"
|
|
435
609
|
Unauthenticated = "Unauthenticated"
|
|
436
|
-
UncompatibleSubscriptionAddon = "UncompatibleSubscriptionAddon"
|
|
437
610
|
UnexpectedError = "UnexpectedError"
|
|
438
611
|
UnsupportedFeatureType = "UnsupportedFeatureType"
|
|
612
|
+
UnsupportedParameter = "UnsupportedParameter"
|
|
439
613
|
UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType"
|
|
440
614
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
615
|
+
UsageMeasurementDiffOutOfRangeError = "UsageMeasurementDiffOutOfRangeError"
|
|
616
|
+
VersionExceedsMaxValueError = "VersionExceedsMaxValueError"
|
|
617
|
+
WorkflowTriggerNotFound = "WorkflowTriggerNotFound"
|
|
618
|
+
|
|
619
|
+
|
|
620
|
+
class EventActor(str, Enum):
|
|
621
|
+
APP_CUSTOMER = "APP_CUSTOMER"
|
|
622
|
+
APP_PUBLIC = "APP_PUBLIC"
|
|
623
|
+
APP_SERVER = "APP_SERVER"
|
|
624
|
+
AWS = "AWS"
|
|
625
|
+
IMPORT = "IMPORT"
|
|
626
|
+
MIGRATION = "MIGRATION"
|
|
627
|
+
SALESFORCE = "SALESFORCE"
|
|
628
|
+
SCHEDULER = "SCHEDULER"
|
|
629
|
+
SERVICE = "SERVICE"
|
|
630
|
+
STRIPE = "STRIPE"
|
|
631
|
+
SUPPORT = "SUPPORT"
|
|
632
|
+
SYSTEM = "SYSTEM"
|
|
633
|
+
USER = "USER"
|
|
634
|
+
WORKFLOW = "WORKFLOW"
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class EventEntityType(str, Enum):
|
|
638
|
+
ADDON = "ADDON"
|
|
639
|
+
COUPON = "COUPON"
|
|
640
|
+
CREDIT = "CREDIT"
|
|
641
|
+
CUSTOMER = "CUSTOMER"
|
|
642
|
+
ENTITLEMENT = "ENTITLEMENT"
|
|
643
|
+
FEATURE = "FEATURE"
|
|
644
|
+
FEATURE_GROUP = "FEATURE_GROUP"
|
|
645
|
+
IMPORT = "IMPORT"
|
|
646
|
+
MEASUREMENT = "MEASUREMENT"
|
|
647
|
+
PACKAGE = "PACKAGE"
|
|
648
|
+
PACKAGE_GROUP = "PACKAGE_GROUP"
|
|
649
|
+
PLAN = "PLAN"
|
|
650
|
+
PRODUCT = "PRODUCT"
|
|
651
|
+
PROMOTIONAL_ENTITLEMENT = "PROMOTIONAL_ENTITLEMENT"
|
|
652
|
+
SUBSCRIPTION = "SUBSCRIPTION"
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
class EventLogSortFields(str, Enum):
|
|
656
|
+
createdAt = "createdAt"
|
|
657
|
+
entityId = "entityId"
|
|
658
|
+
environmentId = "environmentId"
|
|
659
|
+
eventLogType = "eventLogType"
|
|
660
|
+
id = "id"
|
|
661
|
+
parentEntityId = "parentEntityId"
|
|
441
662
|
|
|
442
663
|
|
|
443
664
|
class EventLogType(str, Enum):
|
|
@@ -448,6 +669,21 @@ class EventLogType(str, Enum):
|
|
|
448
669
|
COUPON_CREATED = "COUPON_CREATED"
|
|
449
670
|
COUPON_UPDATED = "COUPON_UPDATED"
|
|
450
671
|
CREATE_SUBSCRIPTION_FAILED = "CREATE_SUBSCRIPTION_FAILED"
|
|
672
|
+
CREDITS_BALANCE_DEPLETED_OLD = "CREDITS_BALANCE_DEPLETED_OLD"
|
|
673
|
+
CREDITS_BALANCE_LOW_OLD = "CREDITS_BALANCE_LOW_OLD"
|
|
674
|
+
CREDITS_GRANT_BALANCE_LOW_OLD = "CREDITS_GRANT_BALANCE_LOW_OLD"
|
|
675
|
+
CREDITS_GRANT_DEPLETED_OLD = "CREDITS_GRANT_DEPLETED_OLD"
|
|
676
|
+
CREDITS_GRANT_EXPIRED_OLD = "CREDITS_GRANT_EXPIRED_OLD"
|
|
677
|
+
CREDITS_GRANT_GRANTED_OLD = "CREDITS_GRANT_GRANTED_OLD"
|
|
678
|
+
CREDITS_GRANT_UPDATED_OLD = "CREDITS_GRANT_UPDATED_OLD"
|
|
679
|
+
CREDIT_BALANCE_DEPLETED = "CREDIT_BALANCE_DEPLETED"
|
|
680
|
+
CREDIT_BALANCE_LOW = "CREDIT_BALANCE_LOW"
|
|
681
|
+
CREDIT_GRANT_BALANCE_LOW = "CREDIT_GRANT_BALANCE_LOW"
|
|
682
|
+
CREDIT_GRANT_CREATED = "CREDIT_GRANT_CREATED"
|
|
683
|
+
CREDIT_GRANT_DEPLETED = "CREDIT_GRANT_DEPLETED"
|
|
684
|
+
CREDIT_GRANT_EXPIRED = "CREDIT_GRANT_EXPIRED"
|
|
685
|
+
CREDIT_GRANT_UPDATED = "CREDIT_GRANT_UPDATED"
|
|
686
|
+
CREDIT_GRANT_VOIDED = "CREDIT_GRANT_VOIDED"
|
|
451
687
|
CUSTOMER_CREATED = "CUSTOMER_CREATED"
|
|
452
688
|
CUSTOMER_DELETED = "CUSTOMER_DELETED"
|
|
453
689
|
CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED = (
|
|
@@ -458,19 +694,36 @@ class EventLogType(str, Enum):
|
|
|
458
694
|
"CUSTOMER_RESOURCE_ENTITLEMENT_CALCULATION_TRIGGERED"
|
|
459
695
|
)
|
|
460
696
|
CUSTOMER_UPDATED = "CUSTOMER_UPDATED"
|
|
697
|
+
EDGE_API_CLIENT_CONFIGURATION_DATA_RESYNC = (
|
|
698
|
+
"EDGE_API_CLIENT_CONFIGURATION_DATA_RESYNC"
|
|
699
|
+
)
|
|
700
|
+
EDGE_API_CUSTOMER_DATA_RESYNC = "EDGE_API_CUSTOMER_DATA_RESYNC"
|
|
461
701
|
EDGE_API_DATA_RESYNC = "EDGE_API_DATA_RESYNC"
|
|
702
|
+
EDGE_API_DOGGO_RESYNC = "EDGE_API_DOGGO_RESYNC"
|
|
703
|
+
EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC = (
|
|
704
|
+
"EDGE_API_PACKAGE_ENTITLEMENTS_DATA_RESYNC"
|
|
705
|
+
)
|
|
706
|
+
EDGE_API_SUBSCRIPTIONS_DATA_RESYNC = "EDGE_API_SUBSCRIPTIONS_DATA_RESYNC"
|
|
462
707
|
ENTITLEMENTS_UPDATED = "ENTITLEMENTS_UPDATED"
|
|
463
708
|
ENTITLEMENT_DENIED = "ENTITLEMENT_DENIED"
|
|
464
709
|
ENTITLEMENT_GRANTED = "ENTITLEMENT_GRANTED"
|
|
465
710
|
ENTITLEMENT_REQUESTED = "ENTITLEMENT_REQUESTED"
|
|
711
|
+
ENTITLEMENT_USAGE_EXCEEDED = "ENTITLEMENT_USAGE_EXCEEDED"
|
|
466
712
|
ENVIRONMENT_DELETED = "ENVIRONMENT_DELETED"
|
|
713
|
+
FEATURE_ARCHIVED = "FEATURE_ARCHIVED"
|
|
467
714
|
FEATURE_CREATED = "FEATURE_CREATED"
|
|
468
715
|
FEATURE_DELETED = "FEATURE_DELETED"
|
|
716
|
+
FEATURE_GROUP_ARCHIVED = "FEATURE_GROUP_ARCHIVED"
|
|
717
|
+
FEATURE_GROUP_CREATED = "FEATURE_GROUP_CREATED"
|
|
718
|
+
FEATURE_GROUP_UN_ARCHIVED = "FEATURE_GROUP_UN_ARCHIVED"
|
|
719
|
+
FEATURE_GROUP_UPDATED = "FEATURE_GROUP_UPDATED"
|
|
469
720
|
FEATURE_UPDATED = "FEATURE_UPDATED"
|
|
470
721
|
IMPORT_INTEGRATION_CATALOG_TRIGGERED = "IMPORT_INTEGRATION_CATALOG_TRIGGERED"
|
|
471
722
|
IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED = "IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED"
|
|
472
723
|
IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED = "IMPORT_SUBSCRIPTIONS_BULK_TRIGGERED"
|
|
473
724
|
MEASUREMENT_REPORTED = "MEASUREMENT_REPORTED"
|
|
725
|
+
PACKAGE_GROUP_CREATED = "PACKAGE_GROUP_CREATED"
|
|
726
|
+
PACKAGE_GROUP_UPDATED = "PACKAGE_GROUP_UPDATED"
|
|
474
727
|
PACKAGE_PUBLISHED = "PACKAGE_PUBLISHED"
|
|
475
728
|
PLAN_CREATED = "PLAN_CREATED"
|
|
476
729
|
PLAN_DELETED = "PLAN_DELETED"
|
|
@@ -478,20 +731,26 @@ class EventLogType(str, Enum):
|
|
|
478
731
|
PRODUCT_CREATED = "PRODUCT_CREATED"
|
|
479
732
|
PRODUCT_DELETED = "PRODUCT_DELETED"
|
|
480
733
|
PRODUCT_UPDATED = "PRODUCT_UPDATED"
|
|
734
|
+
PROMOTIONAL_ENTITLEMENT_ENDS_SOON = "PROMOTIONAL_ENTITLEMENT_ENDS_SOON"
|
|
481
735
|
PROMOTIONAL_ENTITLEMENT_EXPIRED = "PROMOTIONAL_ENTITLEMENT_EXPIRED"
|
|
482
736
|
PROMOTIONAL_ENTITLEMENT_GRANTED = "PROMOTIONAL_ENTITLEMENT_GRANTED"
|
|
483
737
|
PROMOTIONAL_ENTITLEMENT_REVOKED = "PROMOTIONAL_ENTITLEMENT_REVOKED"
|
|
484
738
|
PROMOTIONAL_ENTITLEMENT_UPDATED = "PROMOTIONAL_ENTITLEMENT_UPDATED"
|
|
485
739
|
RECALCULATE_ENTITLEMENTS_TRIGGERED = "RECALCULATE_ENTITLEMENTS_TRIGGERED"
|
|
486
740
|
RESYNC_INTEGRATION_TRIGGERED = "RESYNC_INTEGRATION_TRIGGERED"
|
|
741
|
+
SUBSCRIPTIONS_MIGRATED = "SUBSCRIPTIONS_MIGRATED"
|
|
742
|
+
SUBSCRIPTIONS_MIGRATION_TRIGGERED = "SUBSCRIPTIONS_MIGRATION_TRIGGERED"
|
|
743
|
+
SUBSCRIPTION_BILLING_MONTH_ENDS_SOON = "SUBSCRIPTION_BILLING_MONTH_ENDS_SOON"
|
|
487
744
|
SUBSCRIPTION_CANCELED = "SUBSCRIPTION_CANCELED"
|
|
488
745
|
SUBSCRIPTION_CREATED = "SUBSCRIPTION_CREATED"
|
|
489
746
|
SUBSCRIPTION_EXPIRED = "SUBSCRIPTION_EXPIRED"
|
|
747
|
+
SUBSCRIPTION_SPENT_LIMIT_EXCEEDED = "SUBSCRIPTION_SPENT_LIMIT_EXCEEDED"
|
|
490
748
|
SUBSCRIPTION_TRIAL_CONVERTED = "SUBSCRIPTION_TRIAL_CONVERTED"
|
|
491
749
|
SUBSCRIPTION_TRIAL_ENDS_SOON = "SUBSCRIPTION_TRIAL_ENDS_SOON"
|
|
492
750
|
SUBSCRIPTION_TRIAL_EXPIRED = "SUBSCRIPTION_TRIAL_EXPIRED"
|
|
493
751
|
SUBSCRIPTION_TRIAL_STARTED = "SUBSCRIPTION_TRIAL_STARTED"
|
|
494
752
|
SUBSCRIPTION_UPDATED = "SUBSCRIPTION_UPDATED"
|
|
753
|
+
SUBSCRIPTION_USAGE_CHARGE_TRIGGERED = "SUBSCRIPTION_USAGE_CHARGE_TRIGGERED"
|
|
495
754
|
SUBSCRIPTION_USAGE_UPDATED = "SUBSCRIPTION_USAGE_UPDATED"
|
|
496
755
|
SYNC_FAILED = "SYNC_FAILED"
|
|
497
756
|
WIDGET_CONFIGURATION_UPDATED = "WIDGET_CONFIGURATION_UPDATED"
|
|
@@ -513,6 +772,23 @@ class ExperimentStatus(str, Enum):
|
|
|
513
772
|
IN_PROGRESS = "IN_PROGRESS"
|
|
514
773
|
|
|
515
774
|
|
|
775
|
+
class FeatureGroupSortFields(str, Enum):
|
|
776
|
+
createdAt = "createdAt"
|
|
777
|
+
displayName = "displayName"
|
|
778
|
+
environmentId = "environmentId"
|
|
779
|
+
featureGroupId = "featureGroupId"
|
|
780
|
+
id = "id"
|
|
781
|
+
isLatest = "isLatest"
|
|
782
|
+
status = "status"
|
|
783
|
+
updatedAt = "updatedAt"
|
|
784
|
+
versionNumber = "versionNumber"
|
|
785
|
+
|
|
786
|
+
|
|
787
|
+
class FeatureGroupStatus(str, Enum):
|
|
788
|
+
ARCHIVED = "ARCHIVED"
|
|
789
|
+
PUBLISHED = "PUBLISHED"
|
|
790
|
+
|
|
791
|
+
|
|
516
792
|
class FeatureSortFields(str, Enum):
|
|
517
793
|
createdAt = "createdAt"
|
|
518
794
|
description = "description"
|
|
@@ -534,6 +810,7 @@ class FeatureStatus(str, Enum):
|
|
|
534
810
|
|
|
535
811
|
class FeatureType(str, Enum):
|
|
536
812
|
BOOLEAN = "BOOLEAN"
|
|
813
|
+
ENUM = "ENUM"
|
|
537
814
|
NUMBER = "NUMBER"
|
|
538
815
|
|
|
539
816
|
|
|
@@ -568,10 +845,25 @@ class IntegrationSortFields(str, Enum):
|
|
|
568
845
|
environmentId = "environmentId"
|
|
569
846
|
id = "id"
|
|
570
847
|
vendorIdentifier = "vendorIdentifier"
|
|
848
|
+
vendorType = "vendorType"
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class InvoiceLineItemType(str, Enum):
|
|
852
|
+
AddonCharge = "AddonCharge"
|
|
853
|
+
BaseCharge = "BaseCharge"
|
|
854
|
+
InAdvanceCommitmentCharge = "InAdvanceCommitmentCharge"
|
|
855
|
+
MinimumSpendAdjustmentCharge = "MinimumSpendAdjustmentCharge"
|
|
856
|
+
MinimumSpendCharge = "MinimumSpendCharge"
|
|
857
|
+
Other = "Other"
|
|
858
|
+
OverageCharge = "OverageCharge"
|
|
859
|
+
PayAsYouGoCharge = "PayAsYouGoCharge"
|
|
860
|
+
TierCharge = "TierCharge"
|
|
861
|
+
ZeroAmountBaseCharge = "ZeroAmountBaseCharge"
|
|
571
862
|
|
|
572
863
|
|
|
573
864
|
class MemberSortFields(str, Enum):
|
|
574
865
|
createdAt = "createdAt"
|
|
866
|
+
email = "email"
|
|
575
867
|
id = "id"
|
|
576
868
|
|
|
577
869
|
|
|
@@ -583,7 +875,7 @@ class MemberStatus(str, Enum):
|
|
|
583
875
|
class MeterType(str, Enum):
|
|
584
876
|
FLUCTUATING = "Fluctuating"
|
|
585
877
|
INCREMENTAL = "Incremental"
|
|
586
|
-
|
|
878
|
+
None_ = "None"
|
|
587
879
|
|
|
588
880
|
|
|
589
881
|
class MonthlyAccordingTo(str, Enum):
|
|
@@ -591,6 +883,28 @@ class MonthlyAccordingTo(str, Enum):
|
|
|
591
883
|
SubscriptionStart = "SubscriptionStart"
|
|
592
884
|
|
|
593
885
|
|
|
886
|
+
class OfferSortFields(str, Enum):
|
|
887
|
+
createdAt = "createdAt"
|
|
888
|
+
environmentId = "environmentId"
|
|
889
|
+
id = "id"
|
|
890
|
+
isDefault = "isDefault"
|
|
891
|
+
isLatest = "isLatest"
|
|
892
|
+
offerId = "offerId"
|
|
893
|
+
status = "status"
|
|
894
|
+
version = "version"
|
|
895
|
+
|
|
896
|
+
|
|
897
|
+
class OfferStatus(str, Enum):
|
|
898
|
+
ARCHIVED = "ARCHIVED"
|
|
899
|
+
DRAFT = "DRAFT"
|
|
900
|
+
PUBLISHED = "PUBLISHED"
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
class OverageBillingPeriod(str, Enum):
|
|
904
|
+
MONTHLY = "MONTHLY"
|
|
905
|
+
ON_SUBSCRIPTION_RENEWAL = "ON_SUBSCRIPTION_RENEWAL"
|
|
906
|
+
|
|
907
|
+
|
|
594
908
|
class PackageDTOSortFields(str, Enum):
|
|
595
909
|
billingId = "billingId"
|
|
596
910
|
createdAt = "createdAt"
|
|
@@ -615,6 +929,24 @@ class PackageEntitlementSortFields(str, Enum):
|
|
|
615
929
|
updatedAt = "updatedAt"
|
|
616
930
|
|
|
617
931
|
|
|
932
|
+
class PackageGroupSortFields(str, Enum):
|
|
933
|
+
createdAt = "createdAt"
|
|
934
|
+
displayName = "displayName"
|
|
935
|
+
environmentId = "environmentId"
|
|
936
|
+
isLatest = "isLatest"
|
|
937
|
+
packageGroupId = "packageGroupId"
|
|
938
|
+
productId = "productId"
|
|
939
|
+
status = "status"
|
|
940
|
+
updatedAt = "updatedAt"
|
|
941
|
+
versionNumber = "versionNumber"
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
class PackageGroupStatus(str, Enum):
|
|
945
|
+
ARCHIVED = "ARCHIVED"
|
|
946
|
+
DRAFT = "DRAFT"
|
|
947
|
+
PUBLISHED = "PUBLISHED"
|
|
948
|
+
|
|
949
|
+
|
|
618
950
|
class PackageStatus(str, Enum):
|
|
619
951
|
ARCHIVED = "ARCHIVED"
|
|
620
952
|
DRAFT = "DRAFT"
|
|
@@ -628,9 +960,22 @@ class PaymentCollection(str, Enum):
|
|
|
628
960
|
PROCESSING = "PROCESSING"
|
|
629
961
|
|
|
630
962
|
|
|
963
|
+
class PaymentCollectionMethod(str, Enum):
|
|
964
|
+
CHARGE = "CHARGE"
|
|
965
|
+
INVOICE = "INVOICE"
|
|
966
|
+
NONE = "NONE"
|
|
967
|
+
|
|
968
|
+
|
|
631
969
|
class PaymentMethodType(str, Enum):
|
|
632
970
|
BANK = "BANK"
|
|
633
971
|
CARD = "CARD"
|
|
972
|
+
CASH_APP = "CASH_APP"
|
|
973
|
+
|
|
974
|
+
|
|
975
|
+
class PlanChangeType(str, Enum):
|
|
976
|
+
DOWNGRADE = "DOWNGRADE"
|
|
977
|
+
NONE = "NONE"
|
|
978
|
+
UPGRADE = "UPGRADE"
|
|
634
979
|
|
|
635
980
|
|
|
636
981
|
class PlanSortFields(str, Enum):
|
|
@@ -650,6 +995,7 @@ class PlanSortFields(str, Enum):
|
|
|
650
995
|
|
|
651
996
|
|
|
652
997
|
class PriceSortFields(str, Enum):
|
|
998
|
+
billingCadence = "billingCadence"
|
|
653
999
|
billingId = "billingId"
|
|
654
1000
|
billingModel = "billingModel"
|
|
655
1001
|
billingPeriod = "billingPeriod"
|
|
@@ -665,12 +1011,15 @@ class PricingType(str, Enum):
|
|
|
665
1011
|
|
|
666
1012
|
|
|
667
1013
|
class ProductSortFields(str, Enum):
|
|
1014
|
+
awsMarketplaceProductCode = "awsMarketplaceProductCode"
|
|
1015
|
+
awsMarketplaceProductId = "awsMarketplaceProductId"
|
|
668
1016
|
createdAt = "createdAt"
|
|
669
1017
|
description = "description"
|
|
670
1018
|
displayName = "displayName"
|
|
671
1019
|
environmentId = "environmentId"
|
|
672
1020
|
id = "id"
|
|
673
1021
|
isDefaultProduct = "isDefaultProduct"
|
|
1022
|
+
multipleSubscriptions = "multipleSubscriptions"
|
|
674
1023
|
refId = "refId"
|
|
675
1024
|
updatedAt = "updatedAt"
|
|
676
1025
|
|
|
@@ -713,6 +1062,12 @@ class PublishMigrationType(str, Enum):
|
|
|
713
1062
|
NEW_CUSTOMERS = "NEW_CUSTOMERS"
|
|
714
1063
|
|
|
715
1064
|
|
|
1065
|
+
class ScheduleStrategy(str, Enum):
|
|
1066
|
+
END_OF_BILLING_MONTH = "END_OF_BILLING_MONTH"
|
|
1067
|
+
END_OF_BILLING_PERIOD = "END_OF_BILLING_PERIOD"
|
|
1068
|
+
IMMEDIATE = "IMMEDIATE"
|
|
1069
|
+
|
|
1070
|
+
|
|
716
1071
|
class SortDirection(str, Enum):
|
|
717
1072
|
ASC = "ASC"
|
|
718
1073
|
DESC = "DESC"
|
|
@@ -737,6 +1092,7 @@ class SubscriptionAddonSortFields(str, Enum):
|
|
|
737
1092
|
|
|
738
1093
|
|
|
739
1094
|
class SubscriptionCancelReason(str, Enum):
|
|
1095
|
+
AutoCancellationRule = "AutoCancellationRule"
|
|
740
1096
|
CancelledByBilling = "CancelledByBilling"
|
|
741
1097
|
CustomerArchived = "CustomerArchived"
|
|
742
1098
|
DetachBilling = "DetachBilling"
|
|
@@ -760,6 +1116,12 @@ class SubscriptionCancellationTime(str, Enum):
|
|
|
760
1116
|
SPECIFIC_DATE = "SPECIFIC_DATE"
|
|
761
1117
|
|
|
762
1118
|
|
|
1119
|
+
class SubscriptionCouponStatus(str, Enum):
|
|
1120
|
+
ACTIVE = "ACTIVE"
|
|
1121
|
+
EXPIRED = "EXPIRED"
|
|
1122
|
+
REMOVED = "REMOVED"
|
|
1123
|
+
|
|
1124
|
+
|
|
763
1125
|
class SubscriptionDecisionStrategy(str, Enum):
|
|
764
1126
|
PREDEFINED_FREE_PLAN = "PREDEFINED_FREE_PLAN"
|
|
765
1127
|
PREDEFINED_TRIAL_PLAN = "PREDEFINED_TRIAL_PLAN"
|
|
@@ -780,6 +1142,15 @@ class SubscriptionEntitlementSortFields(str, Enum):
|
|
|
780
1142
|
updatedAt = "updatedAt"
|
|
781
1143
|
|
|
782
1144
|
|
|
1145
|
+
class SubscriptionInvoiceBillingReason(str, Enum):
|
|
1146
|
+
BILLING_CYCLE = "BILLING_CYCLE"
|
|
1147
|
+
MANUAL = "MANUAL"
|
|
1148
|
+
MINIMUM_INVOICE_AMOUNT_EXCEEDED = "MINIMUM_INVOICE_AMOUNT_EXCEEDED"
|
|
1149
|
+
OTHER = "OTHER"
|
|
1150
|
+
SUBSCRIPTION_CREATION = "SUBSCRIPTION_CREATION"
|
|
1151
|
+
SUBSCRIPTION_UPDATE = "SUBSCRIPTION_UPDATE"
|
|
1152
|
+
|
|
1153
|
+
|
|
783
1154
|
class SubscriptionInvoiceStatus(str, Enum):
|
|
784
1155
|
CANCELED = "CANCELED"
|
|
785
1156
|
OPEN = "OPEN"
|
|
@@ -803,11 +1174,35 @@ class SubscriptionPriceSortFields(str, Enum):
|
|
|
803
1174
|
billingModel = "billingModel"
|
|
804
1175
|
createdAt = "createdAt"
|
|
805
1176
|
featureId = "featureId"
|
|
1177
|
+
hasSoftLimit = "hasSoftLimit"
|
|
806
1178
|
id = "id"
|
|
807
1179
|
updatedAt = "updatedAt"
|
|
808
1180
|
usageLimit = "usageLimit"
|
|
809
1181
|
|
|
810
1182
|
|
|
1183
|
+
class SubscriptionProrationBehavior(str, Enum):
|
|
1184
|
+
CREATE_PRORATIONS = "CREATE_PRORATIONS"
|
|
1185
|
+
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
1186
|
+
NONE = "NONE"
|
|
1187
|
+
|
|
1188
|
+
|
|
1189
|
+
class SubscriptionQuerySortFields(str, Enum):
|
|
1190
|
+
billingId = "billingId"
|
|
1191
|
+
cancellationDate = "cancellationDate"
|
|
1192
|
+
createdAt = "createdAt"
|
|
1193
|
+
customerId = "customerId"
|
|
1194
|
+
endDate = "endDate"
|
|
1195
|
+
environmentId = "environmentId"
|
|
1196
|
+
paymentCollection = "paymentCollection"
|
|
1197
|
+
pricingType = "pricingType"
|
|
1198
|
+
productId = "productId"
|
|
1199
|
+
resourceId = "resourceId"
|
|
1200
|
+
salesforceId = "salesforceId"
|
|
1201
|
+
startDate = "startDate"
|
|
1202
|
+
status = "status"
|
|
1203
|
+
subscriptionId = "subscriptionId"
|
|
1204
|
+
|
|
1205
|
+
|
|
811
1206
|
class SubscriptionScheduleStatus(str, Enum):
|
|
812
1207
|
Canceled = "Canceled"
|
|
813
1208
|
Done = "Done"
|
|
@@ -817,10 +1212,15 @@ class SubscriptionScheduleStatus(str, Enum):
|
|
|
817
1212
|
|
|
818
1213
|
|
|
819
1214
|
class SubscriptionScheduleType(str, Enum):
|
|
1215
|
+
AdditionalMetaData = "AdditionalMetaData"
|
|
820
1216
|
Addon = "Addon"
|
|
1217
|
+
BillingInfoMetadata = "BillingInfoMetadata"
|
|
821
1218
|
BillingPeriod = "BillingPeriod"
|
|
1219
|
+
Coupon = "Coupon"
|
|
822
1220
|
Downgrade = "Downgrade"
|
|
823
1221
|
MigrateToLatest = "MigrateToLatest"
|
|
1222
|
+
Plan = "Plan"
|
|
1223
|
+
PriceOverride = "PriceOverride"
|
|
824
1224
|
UnitAmount = "UnitAmount"
|
|
825
1225
|
|
|
826
1226
|
|
|
@@ -839,6 +1239,12 @@ class SubscriptionStatus(str, Enum):
|
|
|
839
1239
|
PAYMENT_PENDING = "PAYMENT_PENDING"
|
|
840
1240
|
|
|
841
1241
|
|
|
1242
|
+
class SubscriptionUpdateUsageCutoffBehavior(str, Enum):
|
|
1243
|
+
ALWAYS_RESET = "ALWAYS_RESET"
|
|
1244
|
+
BILLING_PERIOD_CHANGE = "BILLING_PERIOD_CHANGE"
|
|
1245
|
+
NEVER_RESET = "NEVER_RESET"
|
|
1246
|
+
|
|
1247
|
+
|
|
842
1248
|
class SyncStatus(str, Enum):
|
|
843
1249
|
ERROR = "ERROR"
|
|
844
1250
|
NO_SYNC_REQUIRED = "NO_SYNC_REQUIRED"
|
|
@@ -847,6 +1253,7 @@ class SyncStatus(str, Enum):
|
|
|
847
1253
|
|
|
848
1254
|
|
|
849
1255
|
class TaskStatus(str, Enum):
|
|
1256
|
+
CANCELED = "CANCELED"
|
|
850
1257
|
COMPLETED = "COMPLETED"
|
|
851
1258
|
FAILED = "FAILED"
|
|
852
1259
|
IN_PROGRESS = "IN_PROGRESS"
|
|
@@ -858,9 +1265,11 @@ class TaskType(str, Enum):
|
|
|
858
1265
|
IMPORT_INTEGRATION_CATALOG = "IMPORT_INTEGRATION_CATALOG"
|
|
859
1266
|
IMPORT_INTEGRATION_CUSTOMERS = "IMPORT_INTEGRATION_CUSTOMERS"
|
|
860
1267
|
IMPORT_SUBSCRIPTIONS_BULK = "IMPORT_SUBSCRIPTIONS_BULK"
|
|
1268
|
+
RECALCULATE_BATCH_ENTITLEMENTS = "RECALCULATE_BATCH_ENTITLEMENTS"
|
|
861
1269
|
RECALCULATE_ENTITLEMENTS = "RECALCULATE_ENTITLEMENTS"
|
|
862
1270
|
RESYNC_INTEGRATION = "RESYNC_INTEGRATION"
|
|
863
1271
|
SUBSCRIPTION_MIGRATION = "SUBSCRIPTION_MIGRATION"
|
|
1272
|
+
SUBSCRIPTION_MIGRATION_V2 = "SUBSCRIPTION_MIGRATION_V2"
|
|
864
1273
|
|
|
865
1274
|
|
|
866
1275
|
class TiersMode(str, Enum):
|
|
@@ -868,11 +1277,26 @@ class TiersMode(str, Enum):
|
|
|
868
1277
|
VOLUME = "VOLUME"
|
|
869
1278
|
|
|
870
1279
|
|
|
1280
|
+
class TrialEndBehavior(str, Enum):
|
|
1281
|
+
CANCEL_SUBSCRIPTION = "CANCEL_SUBSCRIPTION"
|
|
1282
|
+
CONVERT_TO_PAID = "CONVERT_TO_PAID"
|
|
1283
|
+
|
|
1284
|
+
|
|
871
1285
|
class TrialPeriodUnits(str, Enum):
|
|
872
1286
|
DAY = "DAY"
|
|
873
1287
|
MONTH = "MONTH"
|
|
874
1288
|
|
|
875
1289
|
|
|
1290
|
+
class UnitTransformationRound(str, Enum):
|
|
1291
|
+
DOWN = "DOWN"
|
|
1292
|
+
UP = "UP"
|
|
1293
|
+
|
|
1294
|
+
|
|
1295
|
+
class UsageMarkerType(str, Enum):
|
|
1296
|
+
PERIODIC_RESET = "PERIODIC_RESET"
|
|
1297
|
+
SUBSCRIPTION_CHANGE_RESET = "SUBSCRIPTION_CHANGE_RESET"
|
|
1298
|
+
|
|
1299
|
+
|
|
876
1300
|
class UsageMeasurementSortFields(str, Enum):
|
|
877
1301
|
createdAt = "createdAt"
|
|
878
1302
|
environmentId = "environmentId"
|
|
@@ -885,11 +1309,25 @@ class UsageUpdateBehavior(str, Enum):
|
|
|
885
1309
|
|
|
886
1310
|
|
|
887
1311
|
class VendorIdentifier(str, Enum):
|
|
1312
|
+
AUTH0 = "AUTH0"
|
|
1313
|
+
AWS_MARKETPLACE = "AWS_MARKETPLACE"
|
|
1314
|
+
BIG_QUERY = "BIG_QUERY"
|
|
888
1315
|
HUBSPOT = "HUBSPOT"
|
|
1316
|
+
OPEN_FGA = "OPEN_FGA"
|
|
1317
|
+
SALESFORCE = "SALESFORCE"
|
|
1318
|
+
SNOWFLAKE = "SNOWFLAKE"
|
|
889
1319
|
STRIPE = "STRIPE"
|
|
890
1320
|
ZUORA = "ZUORA"
|
|
891
1321
|
|
|
892
1322
|
|
|
1323
|
+
class VendorType(str, Enum):
|
|
1324
|
+
AUTH = "AUTH"
|
|
1325
|
+
BILLING = "BILLING"
|
|
1326
|
+
CRM = "CRM"
|
|
1327
|
+
DATA_EXPORT = "DATA_EXPORT"
|
|
1328
|
+
MARKETPLACE = "MARKETPLACE"
|
|
1329
|
+
|
|
1330
|
+
|
|
893
1331
|
class WeeklyAccordingTo(str, Enum):
|
|
894
1332
|
EveryFriday = "EveryFriday"
|
|
895
1333
|
EveryMonday = "EveryMonday"
|
|
@@ -907,6 +1345,10 @@ class WidgetType(str, Enum):
|
|
|
907
1345
|
PAYWALL = "PAYWALL"
|
|
908
1346
|
|
|
909
1347
|
|
|
1348
|
+
class YearlyAccordingTo(str, Enum):
|
|
1349
|
+
SubscriptionStart = "SubscriptionStart"
|
|
1350
|
+
|
|
1351
|
+
|
|
910
1352
|
class experimentGroupType(str, Enum):
|
|
911
1353
|
CONTROL = "CONTROL"
|
|
912
1354
|
VARIANT = "VARIANT"
|