stigg-api-client-v2 2.486.0__py3-none-any.whl → 2.487.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.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/async_client.py +7 -0
- stigg/generated/client.py +7 -0
- stigg/generated/fragments.py +370 -368
- {stigg_api_client_v2-2.486.0.dist-info → stigg_api_client_v2-2.487.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.486.0.dist-info → stigg_api_client_v2-2.487.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.486.0.dist-info → stigg_api_client_v2-2.487.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.486.0.dist-info → stigg_api_client_v2-2.487.0.dist-info}/WHEEL +0 -0
stigg/generated/async_client.py
CHANGED
|
@@ -859,6 +859,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
859
859
|
hiddenFromWidgets
|
|
860
860
|
isCustom
|
|
861
861
|
displayNameOverride
|
|
862
|
+
enumValues
|
|
862
863
|
feature {
|
|
863
864
|
featureType
|
|
864
865
|
meterType
|
|
@@ -2989,6 +2990,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2989
2990
|
hiddenFromWidgets
|
|
2990
2991
|
isCustom
|
|
2991
2992
|
displayNameOverride
|
|
2993
|
+
enumValues
|
|
2992
2994
|
feature {
|
|
2993
2995
|
featureType
|
|
2994
2996
|
meterType
|
|
@@ -3444,6 +3446,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3444
3446
|
hiddenFromWidgets
|
|
3445
3447
|
isCustom
|
|
3446
3448
|
displayNameOverride
|
|
3449
|
+
enumValues
|
|
3447
3450
|
feature {
|
|
3448
3451
|
featureType
|
|
3449
3452
|
meterType
|
|
@@ -3979,6 +3982,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3979
3982
|
hiddenFromWidgets
|
|
3980
3983
|
isCustom
|
|
3981
3984
|
displayNameOverride
|
|
3985
|
+
enumValues
|
|
3982
3986
|
feature {
|
|
3983
3987
|
featureType
|
|
3984
3988
|
meterType
|
|
@@ -4494,6 +4498,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4494
4498
|
hiddenFromWidgets
|
|
4495
4499
|
isCustom
|
|
4496
4500
|
displayNameOverride
|
|
4501
|
+
enumValues
|
|
4497
4502
|
feature {
|
|
4498
4503
|
featureType
|
|
4499
4504
|
meterType
|
|
@@ -5614,6 +5619,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5614
5619
|
hiddenFromWidgets
|
|
5615
5620
|
isCustom
|
|
5616
5621
|
displayNameOverride
|
|
5622
|
+
enumValues
|
|
5617
5623
|
feature {
|
|
5618
5624
|
featureType
|
|
5619
5625
|
meterType
|
|
@@ -6041,6 +6047,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6041
6047
|
resetPeriod
|
|
6042
6048
|
hiddenFromWidgets
|
|
6043
6049
|
displayNameOverride
|
|
6050
|
+
enumValues
|
|
6044
6051
|
feature {
|
|
6045
6052
|
featureType
|
|
6046
6053
|
meterType
|
stigg/generated/client.py
CHANGED
|
@@ -859,6 +859,7 @@ class Client(BaseClient):
|
|
|
859
859
|
hiddenFromWidgets
|
|
860
860
|
isCustom
|
|
861
861
|
displayNameOverride
|
|
862
|
+
enumValues
|
|
862
863
|
feature {
|
|
863
864
|
featureType
|
|
864
865
|
meterType
|
|
@@ -2987,6 +2988,7 @@ class Client(BaseClient):
|
|
|
2987
2988
|
hiddenFromWidgets
|
|
2988
2989
|
isCustom
|
|
2989
2990
|
displayNameOverride
|
|
2991
|
+
enumValues
|
|
2990
2992
|
feature {
|
|
2991
2993
|
featureType
|
|
2992
2994
|
meterType
|
|
@@ -3442,6 +3444,7 @@ class Client(BaseClient):
|
|
|
3442
3444
|
hiddenFromWidgets
|
|
3443
3445
|
isCustom
|
|
3444
3446
|
displayNameOverride
|
|
3447
|
+
enumValues
|
|
3445
3448
|
feature {
|
|
3446
3449
|
featureType
|
|
3447
3450
|
meterType
|
|
@@ -3977,6 +3980,7 @@ class Client(BaseClient):
|
|
|
3977
3980
|
hiddenFromWidgets
|
|
3978
3981
|
isCustom
|
|
3979
3982
|
displayNameOverride
|
|
3983
|
+
enumValues
|
|
3980
3984
|
feature {
|
|
3981
3985
|
featureType
|
|
3982
3986
|
meterType
|
|
@@ -4492,6 +4496,7 @@ class Client(BaseClient):
|
|
|
4492
4496
|
hiddenFromWidgets
|
|
4493
4497
|
isCustom
|
|
4494
4498
|
displayNameOverride
|
|
4499
|
+
enumValues
|
|
4495
4500
|
feature {
|
|
4496
4501
|
featureType
|
|
4497
4502
|
meterType
|
|
@@ -5612,6 +5617,7 @@ class Client(BaseClient):
|
|
|
5612
5617
|
hiddenFromWidgets
|
|
5613
5618
|
isCustom
|
|
5614
5619
|
displayNameOverride
|
|
5620
|
+
enumValues
|
|
5615
5621
|
feature {
|
|
5616
5622
|
featureType
|
|
5617
5623
|
meterType
|
|
@@ -6037,6 +6043,7 @@ class Client(BaseClient):
|
|
|
6037
6043
|
resetPeriod
|
|
6038
6044
|
hiddenFromWidgets
|
|
6039
6045
|
displayNameOverride
|
|
6046
|
+
enumValues
|
|
6040
6047
|
feature {
|
|
6041
6048
|
featureType
|
|
6042
6049
|
meterType
|
stigg/generated/fragments.py
CHANGED
|
@@ -80,33 +80,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
80
|
currency: Currency
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class OveragePriceFragment(BaseModel):
|
|
84
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
87
86
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
89
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
90
87
|
billing_country_code: Optional[str] = Field(
|
|
91
88
|
alias="billingCountryCode", default=None
|
|
92
89
|
)
|
|
93
|
-
price: Optional["
|
|
90
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
94
91
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
95
|
-
tiers: Optional[List["
|
|
96
|
-
feature: Optional["
|
|
97
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
92
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
98
94
|
|
|
99
95
|
|
|
100
|
-
class
|
|
96
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
101
97
|
amount: float
|
|
102
98
|
currency: Currency
|
|
103
99
|
|
|
104
100
|
|
|
105
|
-
class
|
|
101
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
106
102
|
pass
|
|
107
103
|
|
|
108
104
|
|
|
109
|
-
class
|
|
105
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
110
106
|
ref_id: str = Field(alias="refId")
|
|
111
107
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
112
108
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -131,6 +127,7 @@ class PackageEntitlementFragment(BaseModel):
|
|
|
131
127
|
display_name_override: Optional[str] = Field(
|
|
132
128
|
alias="displayNameOverride", default=None
|
|
133
129
|
)
|
|
130
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
134
131
|
feature: "PackageEntitlementFragmentFeature"
|
|
135
132
|
|
|
136
133
|
|
|
@@ -149,29 +146,33 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
146
|
)
|
|
150
147
|
|
|
151
148
|
|
|
152
|
-
class
|
|
149
|
+
class PriceFragment(BaseModel):
|
|
153
150
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
151
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
152
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
153
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
154
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
155
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
156
156
|
billing_country_code: Optional[str] = Field(
|
|
157
157
|
alias="billingCountryCode", default=None
|
|
158
158
|
)
|
|
159
|
-
price: Optional["
|
|
159
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
160
160
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
161
|
-
tiers: Optional[List["
|
|
162
|
-
feature: Optional["
|
|
161
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
162
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
163
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
163
164
|
|
|
164
165
|
|
|
165
|
-
class
|
|
166
|
+
class PriceFragmentPrice(BaseModel):
|
|
166
167
|
amount: float
|
|
167
168
|
currency: Currency
|
|
168
169
|
|
|
169
170
|
|
|
170
|
-
class
|
|
171
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
171
172
|
pass
|
|
172
173
|
|
|
173
174
|
|
|
174
|
-
class
|
|
175
|
+
class PriceFragmentFeature(BaseModel):
|
|
175
176
|
ref_id: str = Field(alias="refId")
|
|
176
177
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
178
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -304,227 +305,6 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
304
305
|
pass
|
|
305
306
|
|
|
306
307
|
|
|
307
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
308
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
class SlimCustomerFragment(BaseModel):
|
|
312
|
-
id: Any
|
|
313
|
-
name: Optional[str] = Field(default=None)
|
|
314
|
-
email: Optional[str] = Field(default=None)
|
|
315
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
316
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
317
|
-
ref_id: str = Field(alias="refId")
|
|
318
|
-
customer_id: str = Field(alias="customerId")
|
|
319
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
320
|
-
additional_meta_data: Optional[Any] = Field(
|
|
321
|
-
alias="additionalMetaData", default=None
|
|
322
|
-
)
|
|
323
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
324
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
325
|
-
)
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
329
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
330
|
-
alias="subscriptionScheduleType"
|
|
331
|
-
)
|
|
332
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
333
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
334
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
335
|
-
alias="targetPackage", default=None
|
|
336
|
-
)
|
|
337
|
-
schedule_variables: Optional[
|
|
338
|
-
Annotated[
|
|
339
|
-
Union[
|
|
340
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
341
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
342
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
343
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
344
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
345
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
346
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
347
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
348
|
-
],
|
|
349
|
-
Field(discriminator="typename__"),
|
|
350
|
-
]
|
|
351
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
355
|
-
id: Any
|
|
356
|
-
ref_id: str = Field(alias="refId")
|
|
357
|
-
display_name: str = Field(alias="displayName")
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
361
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
362
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
363
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
367
|
-
BaseModel
|
|
368
|
-
):
|
|
369
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
370
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
371
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
375
|
-
BaseModel
|
|
376
|
-
):
|
|
377
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
378
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
382
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
386
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
387
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
388
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
389
|
-
billable_features: Optional[
|
|
390
|
-
List[
|
|
391
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
392
|
-
]
|
|
393
|
-
] = Field(alias="billableFeatures", default=None)
|
|
394
|
-
addons: Optional[
|
|
395
|
-
List[
|
|
396
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
397
|
-
]
|
|
398
|
-
] = Field(default=None)
|
|
399
|
-
price_overrides: Optional[
|
|
400
|
-
List[
|
|
401
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
402
|
-
]
|
|
403
|
-
] = Field(alias="priceOverrides", default=None)
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
407
|
-
BaseModel
|
|
408
|
-
):
|
|
409
|
-
feature_id: str = Field(alias="featureId")
|
|
410
|
-
quantity: float
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
414
|
-
BaseModel
|
|
415
|
-
):
|
|
416
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
417
|
-
quantity: float
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
421
|
-
BaseModel
|
|
422
|
-
):
|
|
423
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
424
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
425
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
429
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
430
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
431
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
432
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
433
|
-
billable_features: Optional[
|
|
434
|
-
List[
|
|
435
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
436
|
-
]
|
|
437
|
-
] = Field(alias="billableFeatures", default=None)
|
|
438
|
-
addons: Optional[
|
|
439
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
440
|
-
] = Field(default=None)
|
|
441
|
-
price_overrides: Optional[
|
|
442
|
-
List[
|
|
443
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
444
|
-
]
|
|
445
|
-
] = Field(alias="priceOverrides", default=None)
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
449
|
-
BaseModel
|
|
450
|
-
):
|
|
451
|
-
feature_id: str = Field(alias="featureId")
|
|
452
|
-
quantity: float
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
456
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
457
|
-
quantity: float
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
461
|
-
BaseModel
|
|
462
|
-
):
|
|
463
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
464
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
465
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
469
|
-
BaseModel
|
|
470
|
-
):
|
|
471
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
472
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
473
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
477
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
478
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
479
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
class TotalPriceFragment(BaseModel):
|
|
483
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
484
|
-
total: "TotalPriceFragmentTotal"
|
|
485
|
-
|
|
486
|
-
|
|
487
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
488
|
-
amount: float
|
|
489
|
-
currency: Currency
|
|
490
|
-
|
|
491
|
-
|
|
492
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
493
|
-
amount: float
|
|
494
|
-
currency: Currency
|
|
495
|
-
|
|
496
|
-
|
|
497
|
-
class CustomerResourceFragment(BaseModel):
|
|
498
|
-
resource_id: str = Field(alias="resourceId")
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
502
|
-
billing_id: str = Field(alias="billingId")
|
|
503
|
-
status: SubscriptionInvoiceStatus
|
|
504
|
-
created_at: Any = Field(alias="createdAt")
|
|
505
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
506
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
507
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
508
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
509
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
510
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
511
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
512
|
-
alias="billingReason", default=None
|
|
513
|
-
)
|
|
514
|
-
currency: Optional[str] = Field(default=None)
|
|
515
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
516
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
517
|
-
alias="subTotalExcludingTax", default=None
|
|
518
|
-
)
|
|
519
|
-
total: Optional[float] = Field(default=None)
|
|
520
|
-
total_excluding_tax: Optional[float] = Field(
|
|
521
|
-
alias="totalExcludingTax", default=None
|
|
522
|
-
)
|
|
523
|
-
tax: Optional[float] = Field(default=None)
|
|
524
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
525
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
526
|
-
|
|
527
|
-
|
|
528
308
|
class ProductFragment(BaseModel):
|
|
529
309
|
ref_id: str = Field(alias="refId")
|
|
530
310
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -645,6 +425,54 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
645
425
|
limit: float
|
|
646
426
|
|
|
647
427
|
|
|
428
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
429
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
class SlimCustomerFragment(BaseModel):
|
|
433
|
+
id: Any
|
|
434
|
+
name: Optional[str] = Field(default=None)
|
|
435
|
+
email: Optional[str] = Field(default=None)
|
|
436
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
437
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
438
|
+
ref_id: str = Field(alias="refId")
|
|
439
|
+
customer_id: str = Field(alias="customerId")
|
|
440
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
441
|
+
additional_meta_data: Optional[Any] = Field(
|
|
442
|
+
alias="additionalMetaData", default=None
|
|
443
|
+
)
|
|
444
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
445
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
446
|
+
)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
450
|
+
billing_id: str = Field(alias="billingId")
|
|
451
|
+
status: SubscriptionInvoiceStatus
|
|
452
|
+
created_at: Any = Field(alias="createdAt")
|
|
453
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
454
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
455
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
456
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
457
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
458
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
459
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
460
|
+
alias="billingReason", default=None
|
|
461
|
+
)
|
|
462
|
+
currency: Optional[str] = Field(default=None)
|
|
463
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
464
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
465
|
+
alias="subTotalExcludingTax", default=None
|
|
466
|
+
)
|
|
467
|
+
total: Optional[float] = Field(default=None)
|
|
468
|
+
total_excluding_tax: Optional[float] = Field(
|
|
469
|
+
alias="totalExcludingTax", default=None
|
|
470
|
+
)
|
|
471
|
+
tax: Optional[float] = Field(default=None)
|
|
472
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
473
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
474
|
+
|
|
475
|
+
|
|
648
476
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
649
477
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
650
478
|
alias="subscriptionScheduleType"
|
|
@@ -791,20 +619,193 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
791
619
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
792
620
|
|
|
793
621
|
|
|
794
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
795
|
-
BaseModel
|
|
796
|
-
):
|
|
797
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
798
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
799
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
622
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
623
|
+
BaseModel
|
|
624
|
+
):
|
|
625
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
626
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
627
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
631
|
+
BaseModel
|
|
632
|
+
):
|
|
633
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
634
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
635
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
639
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
640
|
+
alias="subscriptionScheduleType"
|
|
641
|
+
)
|
|
642
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
643
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
644
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
645
|
+
alias="targetPackage", default=None
|
|
646
|
+
)
|
|
647
|
+
schedule_variables: Optional[
|
|
648
|
+
Annotated[
|
|
649
|
+
Union[
|
|
650
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
651
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
652
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
653
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
654
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
655
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
656
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
657
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
658
|
+
],
|
|
659
|
+
Field(discriminator="typename__"),
|
|
660
|
+
]
|
|
661
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
662
|
+
|
|
663
|
+
|
|
664
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
665
|
+
id: Any
|
|
666
|
+
ref_id: str = Field(alias="refId")
|
|
667
|
+
display_name: str = Field(alias="displayName")
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
671
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
672
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
673
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
677
|
+
BaseModel
|
|
678
|
+
):
|
|
679
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
680
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
681
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
682
|
+
|
|
683
|
+
|
|
684
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
685
|
+
BaseModel
|
|
686
|
+
):
|
|
687
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
688
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
692
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
696
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
697
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
698
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
699
|
+
billable_features: Optional[
|
|
700
|
+
List[
|
|
701
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
702
|
+
]
|
|
703
|
+
] = Field(alias="billableFeatures", default=None)
|
|
704
|
+
addons: Optional[
|
|
705
|
+
List[
|
|
706
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
707
|
+
]
|
|
708
|
+
] = Field(default=None)
|
|
709
|
+
price_overrides: Optional[
|
|
710
|
+
List[
|
|
711
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
712
|
+
]
|
|
713
|
+
] = Field(alias="priceOverrides", default=None)
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
717
|
+
BaseModel
|
|
718
|
+
):
|
|
719
|
+
feature_id: str = Field(alias="featureId")
|
|
720
|
+
quantity: float
|
|
721
|
+
|
|
722
|
+
|
|
723
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
724
|
+
BaseModel
|
|
725
|
+
):
|
|
726
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
727
|
+
quantity: float
|
|
728
|
+
|
|
729
|
+
|
|
730
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
731
|
+
BaseModel
|
|
732
|
+
):
|
|
733
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
734
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
735
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
739
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
740
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
741
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
742
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
743
|
+
billable_features: Optional[
|
|
744
|
+
List[
|
|
745
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
746
|
+
]
|
|
747
|
+
] = Field(alias="billableFeatures", default=None)
|
|
748
|
+
addons: Optional[
|
|
749
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
750
|
+
] = Field(default=None)
|
|
751
|
+
price_overrides: Optional[
|
|
752
|
+
List[
|
|
753
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
754
|
+
]
|
|
755
|
+
] = Field(alias="priceOverrides", default=None)
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
759
|
+
BaseModel
|
|
760
|
+
):
|
|
761
|
+
feature_id: str = Field(alias="featureId")
|
|
762
|
+
quantity: float
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
766
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
767
|
+
quantity: float
|
|
768
|
+
|
|
769
|
+
|
|
770
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
771
|
+
BaseModel
|
|
772
|
+
):
|
|
773
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
774
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
775
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
779
|
+
BaseModel
|
|
780
|
+
):
|
|
781
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
782
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
783
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
784
|
+
|
|
785
|
+
|
|
786
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
787
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
788
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
789
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
class TotalPriceFragment(BaseModel):
|
|
793
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
794
|
+
total: "TotalPriceFragmentTotal"
|
|
795
|
+
|
|
796
|
+
|
|
797
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
798
|
+
amount: float
|
|
799
|
+
currency: Currency
|
|
800
|
+
|
|
800
801
|
|
|
802
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
803
|
+
amount: float
|
|
804
|
+
currency: Currency
|
|
801
805
|
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
)
|
|
805
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
806
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
807
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
806
|
+
|
|
807
|
+
class CustomerResourceFragment(BaseModel):
|
|
808
|
+
resource_id: str = Field(alias="resourceId")
|
|
808
809
|
|
|
809
810
|
|
|
810
811
|
class SubscriptionFragment(BaseModel):
|
|
@@ -993,6 +994,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
993
994
|
)
|
|
994
995
|
|
|
995
996
|
|
|
997
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
998
|
+
status: PromotionalEntitlementStatus
|
|
999
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1000
|
+
feature_id: Any = Field(alias="featureId")
|
|
1001
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1002
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1003
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1004
|
+
alias="resetPeriod", default=None
|
|
1005
|
+
)
|
|
1006
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1007
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1008
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1012
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1013
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1014
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1015
|
+
feature_units_plural: Optional[str] = Field(
|
|
1016
|
+
alias="featureUnitsPlural", default=None
|
|
1017
|
+
)
|
|
1018
|
+
display_name: str = Field(alias="displayName")
|
|
1019
|
+
description: Optional[str] = Field(default=None)
|
|
1020
|
+
ref_id: str = Field(alias="refId")
|
|
1021
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1022
|
+
alias="additionalMetaData", default=None
|
|
1023
|
+
)
|
|
1024
|
+
|
|
1025
|
+
|
|
996
1026
|
class CouponFragment(BaseModel):
|
|
997
1027
|
id: Any
|
|
998
1028
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1027,35 +1057,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1027
1057
|
status: SyncStatus
|
|
1028
1058
|
|
|
1029
1059
|
|
|
1030
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1031
|
-
status: PromotionalEntitlementStatus
|
|
1032
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1033
|
-
feature_id: Any = Field(alias="featureId")
|
|
1034
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1035
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1036
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1037
|
-
alias="resetPeriod", default=None
|
|
1038
|
-
)
|
|
1039
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1040
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1041
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1042
|
-
|
|
1043
|
-
|
|
1044
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1045
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1046
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1047
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1048
|
-
feature_units_plural: Optional[str] = Field(
|
|
1049
|
-
alias="featureUnitsPlural", default=None
|
|
1050
|
-
)
|
|
1051
|
-
display_name: str = Field(alias="displayName")
|
|
1052
|
-
description: Optional[str] = Field(default=None)
|
|
1053
|
-
ref_id: str = Field(alias="refId")
|
|
1054
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1055
|
-
alias="additionalMetaData", default=None
|
|
1056
|
-
)
|
|
1057
|
-
|
|
1058
|
-
|
|
1059
1060
|
class CustomerFragment(SlimCustomerFragment):
|
|
1060
1061
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1061
1062
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1262,50 +1263,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1262
1263
|
pass
|
|
1263
1264
|
|
|
1264
1265
|
|
|
1265
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1266
|
-
display_name: str = Field(alias="displayName")
|
|
1267
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1268
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1269
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1270
|
-
period: PromotionalEntitlementPeriod
|
|
1271
|
-
start_date: Any = Field(alias="startDate")
|
|
1272
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1273
|
-
|
|
1274
|
-
|
|
1275
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1276
|
-
addon_id: str = Field(alias="addonId")
|
|
1277
|
-
description: Optional[str] = Field(default=None)
|
|
1278
|
-
display_name: str = Field(alias="displayName")
|
|
1279
|
-
quantity: int
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1283
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1284
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1285
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1286
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1287
|
-
default=None
|
|
1288
|
-
)
|
|
1289
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1290
|
-
default=None
|
|
1291
|
-
)
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1295
|
-
amount: float
|
|
1296
|
-
currency: Currency
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1300
|
-
id: Any
|
|
1301
|
-
ref_id: str = Field(alias="refId")
|
|
1302
|
-
display_name: str = Field(alias="displayName")
|
|
1303
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1304
|
-
feature_units_plural: Optional[str] = Field(
|
|
1305
|
-
alias="featureUnitsPlural", default=None
|
|
1306
|
-
)
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
1266
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1310
1267
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1311
1268
|
alias="subscriptionScheduleType"
|
|
@@ -1475,6 +1432,40 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1475
1432
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1476
1433
|
|
|
1477
1434
|
|
|
1435
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1436
|
+
addon_id: str = Field(alias="addonId")
|
|
1437
|
+
description: Optional[str] = Field(default=None)
|
|
1438
|
+
display_name: str = Field(alias="displayName")
|
|
1439
|
+
quantity: int
|
|
1440
|
+
|
|
1441
|
+
|
|
1442
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1443
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1444
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1445
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1446
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1447
|
+
default=None
|
|
1448
|
+
)
|
|
1449
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1450
|
+
default=None
|
|
1451
|
+
)
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1455
|
+
amount: float
|
|
1456
|
+
currency: Currency
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1460
|
+
id: Any
|
|
1461
|
+
ref_id: str = Field(alias="refId")
|
|
1462
|
+
display_name: str = Field(alias="displayName")
|
|
1463
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1464
|
+
feature_units_plural: Optional[str] = Field(
|
|
1465
|
+
alias="featureUnitsPlural", default=None
|
|
1466
|
+
)
|
|
1467
|
+
|
|
1468
|
+
|
|
1478
1469
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1479
1470
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1480
1471
|
plan_id: str = Field(alias="planId")
|
|
@@ -1571,6 +1562,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1571
1562
|
pass
|
|
1572
1563
|
|
|
1573
1564
|
|
|
1565
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1566
|
+
display_name: str = Field(alias="displayName")
|
|
1567
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1568
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1569
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1570
|
+
period: PromotionalEntitlementPeriod
|
|
1571
|
+
start_date: Any = Field(alias="startDate")
|
|
1572
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1573
|
+
|
|
1574
|
+
|
|
1574
1575
|
class CustomerPortalFragment(BaseModel):
|
|
1575
1576
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1576
1577
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1798,39 +1799,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1798
1799
|
description: Optional[str] = Field(default=None)
|
|
1799
1800
|
|
|
1800
1801
|
|
|
1801
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1802
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1803
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1804
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1805
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1806
|
-
alias="resetPeriod", default=None
|
|
1807
|
-
)
|
|
1808
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1809
|
-
alias="hiddenFromWidgets", default=None
|
|
1810
|
-
)
|
|
1811
|
-
display_name_override: Optional[str] = Field(
|
|
1812
|
-
alias="displayNameOverride", default=None
|
|
1813
|
-
)
|
|
1814
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1815
|
-
default=None
|
|
1816
|
-
)
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1820
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1821
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1822
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1823
|
-
feature_units_plural: Optional[str] = Field(
|
|
1824
|
-
alias="featureUnitsPlural", default=None
|
|
1825
|
-
)
|
|
1826
|
-
display_name: str = Field(alias="displayName")
|
|
1827
|
-
description: Optional[str] = Field(default=None)
|
|
1828
|
-
ref_id: str = Field(alias="refId")
|
|
1829
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1830
|
-
alias="additionalMetaData", default=None
|
|
1831
|
-
)
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
1802
|
class MockPaywallPriceFragment(BaseModel):
|
|
1835
1803
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1836
1804
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1865,6 +1833,40 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1865
1833
|
display_name: str = Field(alias="displayName")
|
|
1866
1834
|
|
|
1867
1835
|
|
|
1836
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1837
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1838
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1839
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1840
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1841
|
+
alias="resetPeriod", default=None
|
|
1842
|
+
)
|
|
1843
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1844
|
+
alias="hiddenFromWidgets", default=None
|
|
1845
|
+
)
|
|
1846
|
+
display_name_override: Optional[str] = Field(
|
|
1847
|
+
alias="displayNameOverride", default=None
|
|
1848
|
+
)
|
|
1849
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1850
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1851
|
+
default=None
|
|
1852
|
+
)
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1856
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1857
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1858
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1859
|
+
feature_units_plural: Optional[str] = Field(
|
|
1860
|
+
alias="featureUnitsPlural", default=None
|
|
1861
|
+
)
|
|
1862
|
+
display_name: str = Field(alias="displayName")
|
|
1863
|
+
description: Optional[str] = Field(default=None)
|
|
1864
|
+
ref_id: str = Field(alias="refId")
|
|
1865
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1866
|
+
alias="additionalMetaData", default=None
|
|
1867
|
+
)
|
|
1868
|
+
|
|
1869
|
+
|
|
1868
1870
|
class MockPaywallAddonFragment(BaseModel):
|
|
1869
1871
|
ref_id: str = Field(alias="refId")
|
|
1870
1872
|
display_name: str = Field(alias="displayName")
|
|
@@ -2839,39 +2841,39 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2839
2841
|
|
|
2840
2842
|
AddonDependencyFragment.model_rebuild()
|
|
2841
2843
|
PriceTierFragment.model_rebuild()
|
|
2842
|
-
PriceFragment.model_rebuild()
|
|
2843
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2844
2844
|
OveragePriceFragment.model_rebuild()
|
|
2845
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2846
|
+
PriceFragment.model_rebuild()
|
|
2845
2847
|
AddonFragment.model_rebuild()
|
|
2846
2848
|
FeatureFragment.model_rebuild()
|
|
2847
2849
|
EntitlementFragment.model_rebuild()
|
|
2850
|
+
ProductFragment.model_rebuild()
|
|
2851
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2852
|
+
PlanFragment.model_rebuild()
|
|
2848
2853
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2849
2854
|
SlimCustomerFragment.model_rebuild()
|
|
2855
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2856
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2850
2857
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2851
2858
|
TotalPriceFragment.model_rebuild()
|
|
2852
2859
|
CustomerResourceFragment.model_rebuild()
|
|
2853
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2854
|
-
ProductFragment.model_rebuild()
|
|
2855
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2856
|
-
PlanFragment.model_rebuild()
|
|
2857
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2858
2860
|
SubscriptionFragment.model_rebuild()
|
|
2859
2861
|
ApplySubscriptionFragment.model_rebuild()
|
|
2860
2862
|
FontVariantFragment.model_rebuild()
|
|
2861
2863
|
TypographyConfigurationFragment.model_rebuild()
|
|
2862
2864
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2863
|
-
CouponFragment.model_rebuild()
|
|
2864
2865
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2866
|
+
CouponFragment.model_rebuild()
|
|
2865
2867
|
CustomerFragment.model_rebuild()
|
|
2866
2868
|
CheckoutStateFragment.model_rebuild()
|
|
2867
2869
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2868
2870
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2869
2871
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2870
|
-
|
|
2872
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2871
2873
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2872
2874
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2873
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2874
2875
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2876
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2875
2877
|
CustomerPortalFragment.model_rebuild()
|
|
2876
2878
|
CustomerStatisticsFragment.model_rebuild()
|
|
2877
2879
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2881,8 +2883,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2881
2883
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2882
2884
|
LayoutConfigurationFragment.model_rebuild()
|
|
2883
2885
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2884
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2885
2886
|
MockPaywallPriceFragment.model_rebuild()
|
|
2887
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2886
2888
|
MockPaywallAddonFragment.model_rebuild()
|
|
2887
2889
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2888
2890
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -110,12 +110,12 @@ stigg/generated/__init__.py,sha256=8fT6fyA-MhIGPz6SLGukCkVZlCOedfvWLqu1FiEKewg,7
|
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=rfldCLtIqR4oQunbiTuRjXLdbYjzAn4D08dh5pEQl9s,173739
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=tGqbCewOFV2YP6igue7hQZghW3XraHyV0OXcoKfsssE,173150
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=UPo_2u9GdUtupXMrqY5cBtlP-lgUyKOU5GF1_jPr7g4,3668
|
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=08DChD71thAqq8bBq9SsymtGrcETXTQUeHH8j9uN7hQ,103850
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.487.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.487.0.dist-info/METADATA,sha256=euRCEa3_t_gMuOXedlaBqADnSZi7uvKOW8oA7pSU41s,2258
|
|
166
|
+
stigg_api_client_v2-2.487.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.487.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|