stigg-api-client-v2 2.470.0__py3-none-any.whl → 2.475.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 +10 -0
- stigg/generated/client.py +10 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +336 -334
- stigg/generated/input_types.py +192 -188
- stigg/generated/revoke_promotional_entitlement.py +3 -1
- {stigg_api_client_v2-2.470.0.dist-info → stigg_api_client_v2-2.475.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.470.0.dist-info → stigg_api_client_v2-2.475.0.dist-info}/RECORD +10 -10
- {stigg_api_client_v2-2.470.0.dist-info → stigg_api_client_v2-2.475.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.470.0.dist-info → stigg_api_client_v2-2.475.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -54,7 +54,7 @@ from .enums import (
|
|
|
54
54
|
|
|
55
55
|
|
|
56
56
|
class AddonDependencyFragment(BaseModel):
|
|
57
|
-
id:
|
|
57
|
+
id: Any
|
|
58
58
|
ref_id: str = Field(alias="refId")
|
|
59
59
|
display_name: str = Field(alias="displayName")
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
@@ -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(
|
|
@@ -116,29 +112,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
116
112
|
description: Optional[str] = Field(default=None)
|
|
117
113
|
|
|
118
114
|
|
|
119
|
-
class
|
|
115
|
+
class PriceFragment(BaseModel):
|
|
120
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
118
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
122
119
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
120
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
121
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
123
122
|
billing_country_code: Optional[str] = Field(
|
|
124
123
|
alias="billingCountryCode", default=None
|
|
125
124
|
)
|
|
126
|
-
price: Optional["
|
|
125
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
127
126
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["
|
|
129
|
-
feature: Optional["
|
|
127
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
128
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
129
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class PriceFragmentPrice(BaseModel):
|
|
133
133
|
amount: float
|
|
134
134
|
currency: Currency
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
class
|
|
137
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
138
138
|
pass
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class PriceFragmentFeature(BaseModel):
|
|
142
142
|
ref_id: str = Field(alias="refId")
|
|
143
143
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
144
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -182,7 +182,7 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
182
182
|
|
|
183
183
|
|
|
184
184
|
class AddonFragment(BaseModel):
|
|
185
|
-
id:
|
|
185
|
+
id: Any
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
187
187
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
188
188
|
display_name: str = Field(alias="displayName")
|
|
@@ -219,170 +219,25 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
222
|
+
class SlimCustomerFragment(BaseModel):
|
|
223
|
+
id: Any
|
|
224
|
+
name: Optional[str] = Field(default=None)
|
|
225
|
+
email: Optional[str] = Field(default=None)
|
|
226
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
227
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
customer_id: str = Field(alias="customerId")
|
|
230
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
231
|
+
additional_meta_data: Optional[Any] = Field(
|
|
232
|
+
alias="additionalMetaData", default=None
|
|
229
233
|
)
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
233
|
-
alias="targetPackage", default=None
|
|
234
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
235
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
234
236
|
)
|
|
235
|
-
schedule_variables: Optional[
|
|
236
|
-
Annotated[
|
|
237
|
-
Union[
|
|
238
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
239
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
240
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
241
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
242
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
243
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
244
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
245
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
246
|
-
],
|
|
247
|
-
Field(discriminator="typename__"),
|
|
248
|
-
]
|
|
249
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
253
|
-
id: str
|
|
254
|
-
ref_id: str = Field(alias="refId")
|
|
255
|
-
display_name: str = Field(alias="displayName")
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
259
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
260
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
261
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
265
|
-
BaseModel
|
|
266
|
-
):
|
|
267
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
268
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
269
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
273
|
-
BaseModel
|
|
274
|
-
):
|
|
275
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
276
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
280
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
284
|
-
BaseModel
|
|
285
|
-
):
|
|
286
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
287
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
288
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
289
|
-
billable_features: Optional[
|
|
290
|
-
List[
|
|
291
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
292
|
-
]
|
|
293
|
-
] = Field(alias="billableFeatures", default=None)
|
|
294
|
-
addons: Optional[
|
|
295
|
-
List[
|
|
296
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
297
|
-
]
|
|
298
|
-
] = Field(default=None)
|
|
299
|
-
price_overrides: Optional[
|
|
300
|
-
List[
|
|
301
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
302
|
-
]
|
|
303
|
-
] = Field(alias="priceOverrides", default=None)
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
307
|
-
BaseModel
|
|
308
|
-
):
|
|
309
|
-
feature_id: str = Field(alias="featureId")
|
|
310
|
-
quantity: float
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
314
|
-
BaseModel
|
|
315
|
-
):
|
|
316
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
317
|
-
quantity: float
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
321
|
-
BaseModel
|
|
322
|
-
):
|
|
323
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
324
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
325
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
326
237
|
|
|
327
238
|
|
|
328
|
-
class
|
|
329
|
-
|
|
330
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
331
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
332
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
333
|
-
billable_features: Optional[
|
|
334
|
-
List[
|
|
335
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
336
|
-
]
|
|
337
|
-
] = Field(alias="billableFeatures", default=None)
|
|
338
|
-
addons: Optional[
|
|
339
|
-
List[
|
|
340
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
341
|
-
]
|
|
342
|
-
] = Field(default=None)
|
|
343
|
-
price_overrides: Optional[
|
|
344
|
-
List[
|
|
345
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
346
|
-
]
|
|
347
|
-
] = Field(alias="priceOverrides", default=None)
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
351
|
-
BaseModel
|
|
352
|
-
):
|
|
353
|
-
feature_id: str = Field(alias="featureId")
|
|
354
|
-
quantity: float
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
358
|
-
BaseModel
|
|
359
|
-
):
|
|
360
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
361
|
-
quantity: float
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
365
|
-
BaseModel
|
|
366
|
-
):
|
|
367
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
368
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
369
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
373
|
-
BaseModel
|
|
374
|
-
):
|
|
375
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
376
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
377
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
381
|
-
BaseModel
|
|
382
|
-
):
|
|
383
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
384
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
385
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
239
|
+
class CustomerResourceFragment(BaseModel):
|
|
240
|
+
resource_id: str = Field(alias="resourceId")
|
|
386
241
|
|
|
387
242
|
|
|
388
243
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -412,7 +267,7 @@ class SubscriptionFutureUpdateData(BaseModel):
|
|
|
412
267
|
|
|
413
268
|
|
|
414
269
|
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
415
|
-
id:
|
|
270
|
+
id: Any
|
|
416
271
|
ref_id: str = Field(alias="refId")
|
|
417
272
|
display_name: str = Field(alias="displayName")
|
|
418
273
|
|
|
@@ -539,40 +394,143 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
539
394
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
540
395
|
|
|
541
396
|
|
|
542
|
-
class
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
397
|
+
class TotalPriceFragment(BaseModel):
|
|
398
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
399
|
+
total: "TotalPriceFragmentTotal"
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
403
|
+
amount: float
|
|
404
|
+
currency: Currency
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
408
|
+
amount: float
|
|
409
|
+
currency: Currency
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
413
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class ProductFragment(BaseModel):
|
|
548
417
|
ref_id: str = Field(alias="refId")
|
|
549
|
-
|
|
418
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
419
|
+
description: Optional[str] = Field(default=None)
|
|
420
|
+
additional_meta_data: Optional[Any] = Field(
|
|
421
|
+
alias="additionalMetaData", default=None
|
|
422
|
+
)
|
|
423
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
427
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
428
|
+
alias="downgradePlan", default=None
|
|
429
|
+
)
|
|
430
|
+
|
|
431
|
+
|
|
432
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
433
|
+
ref_id: str = Field(alias="refId")
|
|
434
|
+
display_name: str = Field(alias="displayName")
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
438
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
439
|
+
display_name: str = Field(alias="displayName")
|
|
440
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
441
|
+
default=None
|
|
442
|
+
)
|
|
443
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
447
|
+
pass
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
451
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
452
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class PlanFragment(BaseModel):
|
|
456
|
+
id: Any
|
|
457
|
+
ref_id: str = Field(alias="refId")
|
|
458
|
+
display_name: str = Field(alias="displayName")
|
|
459
|
+
description: Optional[str] = Field(default=None)
|
|
550
460
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
461
|
+
version_number: int = Field(alias="versionNumber")
|
|
551
462
|
additional_meta_data: Optional[Any] = Field(
|
|
552
463
|
alias="additionalMetaData", default=None
|
|
553
464
|
)
|
|
554
|
-
|
|
555
|
-
alias="
|
|
465
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
466
|
+
alias="hiddenFromWidgets", default=None
|
|
467
|
+
)
|
|
468
|
+
product: "PlanFragmentProduct"
|
|
469
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
470
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
471
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
472
|
+
alias="inheritedEntitlements", default=None
|
|
473
|
+
)
|
|
474
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
475
|
+
alias="compatibleAddons", default=None
|
|
476
|
+
)
|
|
477
|
+
compatible_package_groups: Optional[
|
|
478
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
479
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
480
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
481
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
482
|
+
alias="overagePrices", default=None
|
|
483
|
+
)
|
|
484
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
485
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
486
|
+
alias="defaultTrialConfig", default=None
|
|
556
487
|
)
|
|
557
488
|
|
|
558
489
|
|
|
559
|
-
class
|
|
560
|
-
|
|
490
|
+
class PlanFragmentProduct(ProductFragment):
|
|
491
|
+
pass
|
|
561
492
|
|
|
562
493
|
|
|
563
|
-
class
|
|
564
|
-
|
|
565
|
-
|
|
494
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
495
|
+
ref_id: str = Field(alias="refId")
|
|
496
|
+
display_name: str = Field(alias="displayName")
|
|
566
497
|
|
|
567
498
|
|
|
568
|
-
class
|
|
569
|
-
|
|
570
|
-
currency: Currency
|
|
499
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
500
|
+
pass
|
|
571
501
|
|
|
572
502
|
|
|
573
|
-
class
|
|
574
|
-
|
|
575
|
-
|
|
503
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
504
|
+
pass
|
|
505
|
+
|
|
506
|
+
|
|
507
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
508
|
+
pass
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
512
|
+
pass
|
|
513
|
+
|
|
514
|
+
|
|
515
|
+
class PlanFragmentPrices(PriceFragment):
|
|
516
|
+
pass
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
520
|
+
pass
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
524
|
+
duration: float
|
|
525
|
+
units: TrialPeriodUnits
|
|
526
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
527
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
528
|
+
alias="trialEndBehavior", default=None
|
|
529
|
+
)
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
533
|
+
limit: float
|
|
576
534
|
|
|
577
535
|
|
|
578
536
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
@@ -602,124 +560,166 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
602
560
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
603
561
|
|
|
604
562
|
|
|
605
|
-
class
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
description: Optional[str] = Field(default=None)
|
|
609
|
-
additional_meta_data: Optional[Any] = Field(
|
|
610
|
-
alias="additionalMetaData", default=None
|
|
563
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
564
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
565
|
+
alias="subscriptionScheduleType"
|
|
611
566
|
)
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
617
|
-
alias="downgradePlan", default=None
|
|
567
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
568
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
569
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
570
|
+
alias="targetPackage", default=None
|
|
618
571
|
)
|
|
572
|
+
schedule_variables: Optional[
|
|
573
|
+
Annotated[
|
|
574
|
+
Union[
|
|
575
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
576
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
577
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
578
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
579
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
580
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
581
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
582
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
583
|
+
],
|
|
584
|
+
Field(discriminator="typename__"),
|
|
585
|
+
]
|
|
586
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
619
587
|
|
|
620
588
|
|
|
621
|
-
class
|
|
589
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
590
|
+
id: Any
|
|
622
591
|
ref_id: str = Field(alias="refId")
|
|
623
592
|
display_name: str = Field(alias="displayName")
|
|
624
593
|
|
|
625
594
|
|
|
626
|
-
class
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
default=None
|
|
631
|
-
)
|
|
632
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
633
|
-
|
|
595
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
596
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
597
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
598
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
634
599
|
|
|
635
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
636
|
-
pass
|
|
637
600
|
|
|
601
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
602
|
+
BaseModel
|
|
603
|
+
):
|
|
604
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
605
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
606
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
638
607
|
|
|
639
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
640
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
641
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
642
608
|
|
|
609
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
610
|
+
BaseModel
|
|
611
|
+
):
|
|
612
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
613
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
643
614
|
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
display_name: str = Field(alias="displayName")
|
|
648
|
-
description: Optional[str] = Field(default=None)
|
|
649
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
650
|
-
version_number: int = Field(alias="versionNumber")
|
|
651
|
-
additional_meta_data: Optional[Any] = Field(
|
|
652
|
-
alias="additionalMetaData", default=None
|
|
653
|
-
)
|
|
654
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
655
|
-
alias="hiddenFromWidgets", default=None
|
|
656
|
-
)
|
|
657
|
-
product: "PlanFragmentProduct"
|
|
658
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
659
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
660
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
661
|
-
alias="inheritedEntitlements", default=None
|
|
662
|
-
)
|
|
663
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
664
|
-
alias="compatibleAddons", default=None
|
|
665
|
-
)
|
|
666
|
-
compatible_package_groups: Optional[
|
|
667
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
668
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
669
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
670
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
671
|
-
alias="overagePrices", default=None
|
|
672
|
-
)
|
|
673
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
674
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
675
|
-
alias="defaultTrialConfig", default=None
|
|
676
|
-
)
|
|
615
|
+
|
|
616
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
617
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
677
618
|
|
|
678
619
|
|
|
679
|
-
class
|
|
680
|
-
|
|
620
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
621
|
+
BaseModel
|
|
622
|
+
):
|
|
623
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
624
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
625
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
626
|
+
billable_features: Optional[
|
|
627
|
+
List[
|
|
628
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
629
|
+
]
|
|
630
|
+
] = Field(alias="billableFeatures", default=None)
|
|
631
|
+
addons: Optional[
|
|
632
|
+
List[
|
|
633
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
634
|
+
]
|
|
635
|
+
] = Field(default=None)
|
|
636
|
+
price_overrides: Optional[
|
|
637
|
+
List[
|
|
638
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
639
|
+
]
|
|
640
|
+
] = Field(alias="priceOverrides", default=None)
|
|
681
641
|
|
|
682
642
|
|
|
683
|
-
class
|
|
684
|
-
|
|
685
|
-
|
|
643
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
644
|
+
BaseModel
|
|
645
|
+
):
|
|
646
|
+
feature_id: str = Field(alias="featureId")
|
|
647
|
+
quantity: float
|
|
686
648
|
|
|
687
649
|
|
|
688
|
-
class
|
|
689
|
-
|
|
650
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
651
|
+
BaseModel
|
|
652
|
+
):
|
|
653
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
654
|
+
quantity: float
|
|
690
655
|
|
|
691
656
|
|
|
692
|
-
class
|
|
693
|
-
|
|
657
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
658
|
+
BaseModel
|
|
659
|
+
):
|
|
660
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
661
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
662
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
694
663
|
|
|
695
664
|
|
|
696
|
-
class
|
|
697
|
-
|
|
665
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
666
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
667
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
668
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
669
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
670
|
+
billable_features: Optional[
|
|
671
|
+
List[
|
|
672
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
673
|
+
]
|
|
674
|
+
] = Field(alias="billableFeatures", default=None)
|
|
675
|
+
addons: Optional[
|
|
676
|
+
List[
|
|
677
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
678
|
+
]
|
|
679
|
+
] = Field(default=None)
|
|
680
|
+
price_overrides: Optional[
|
|
681
|
+
List[
|
|
682
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
683
|
+
]
|
|
684
|
+
] = Field(alias="priceOverrides", default=None)
|
|
698
685
|
|
|
699
686
|
|
|
700
|
-
class
|
|
701
|
-
|
|
687
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
688
|
+
BaseModel
|
|
689
|
+
):
|
|
690
|
+
feature_id: str = Field(alias="featureId")
|
|
691
|
+
quantity: float
|
|
702
692
|
|
|
703
693
|
|
|
704
|
-
class
|
|
705
|
-
|
|
694
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
695
|
+
BaseModel
|
|
696
|
+
):
|
|
697
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
698
|
+
quantity: float
|
|
706
699
|
|
|
707
700
|
|
|
708
|
-
class
|
|
709
|
-
|
|
701
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
702
|
+
BaseModel
|
|
703
|
+
):
|
|
704
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
705
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
706
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
710
707
|
|
|
711
708
|
|
|
712
|
-
class
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
)
|
|
709
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
710
|
+
BaseModel
|
|
711
|
+
):
|
|
712
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
713
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
714
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
719
715
|
|
|
720
716
|
|
|
721
|
-
class
|
|
722
|
-
|
|
717
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
718
|
+
BaseModel
|
|
719
|
+
):
|
|
720
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
721
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
722
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
723
723
|
|
|
724
724
|
|
|
725
725
|
class SubscriptionFragment(BaseModel):
|
|
@@ -810,7 +810,7 @@ class SubscriptionFragmentPlan(PlanFragment):
|
|
|
810
810
|
|
|
811
811
|
|
|
812
812
|
class SubscriptionFragmentAddons(BaseModel):
|
|
813
|
-
id:
|
|
813
|
+
id: Any
|
|
814
814
|
quantity: float
|
|
815
815
|
addon: "SubscriptionFragmentAddonsAddon"
|
|
816
816
|
|
|
@@ -865,6 +865,8 @@ class EntitlementFragment(BaseModel):
|
|
|
865
865
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
866
|
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
867
|
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
869
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
868
870
|
entitlement_updated_at: Optional[Any] = Field(
|
|
869
871
|
alias="entitlementUpdatedAt", default=None
|
|
870
872
|
)
|
|
@@ -992,7 +994,7 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
992
994
|
|
|
993
995
|
|
|
994
996
|
class CouponFragment(BaseModel):
|
|
995
|
-
id:
|
|
997
|
+
id: Any
|
|
996
998
|
discount_value: float = Field(alias="discountValue")
|
|
997
999
|
percent_off: Optional[float] = Field(alias="percentOff", default=None)
|
|
998
1000
|
amounts_off: Optional[List["CouponFragmentAmountsOff"]] = Field(
|
|
@@ -1028,7 +1030,7 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1028
1030
|
class PromotionalEntitlementFragment(BaseModel):
|
|
1029
1031
|
status: PromotionalEntitlementStatus
|
|
1030
1032
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1031
|
-
feature_id:
|
|
1033
|
+
feature_id: Any = Field(alias="featureId")
|
|
1032
1034
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1033
1035
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1034
1036
|
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
@@ -1287,7 +1289,7 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
|
1287
1289
|
|
|
1288
1290
|
|
|
1289
1291
|
class CustomerPortalSubscriptionScheduledUpdateDataFragmentTargetPackage(BaseModel):
|
|
1290
|
-
id:
|
|
1292
|
+
id: Any
|
|
1291
1293
|
ref_id: str = Field(alias="refId")
|
|
1292
1294
|
display_name: str = Field(alias="displayName")
|
|
1293
1295
|
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
@@ -1447,7 +1449,7 @@ class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
|
1447
1449
|
|
|
1448
1450
|
|
|
1449
1451
|
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1450
|
-
id:
|
|
1452
|
+
id: Any
|
|
1451
1453
|
ref_id: str = Field(alias="refId")
|
|
1452
1454
|
display_name: str = Field(alias="displayName")
|
|
1453
1455
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
@@ -1796,6 +1798,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1796
1798
|
description: Optional[str] = Field(default=None)
|
|
1797
1799
|
|
|
1798
1800
|
|
|
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
|
+
|
|
1799
1834
|
class MockPaywallPriceFragment(BaseModel):
|
|
1800
1835
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1801
1836
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1830,39 +1865,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1830
1865
|
display_name: str = Field(alias="displayName")
|
|
1831
1866
|
|
|
1832
1867
|
|
|
1833
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1834
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1835
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1836
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1837
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1838
|
-
alias="resetPeriod", default=None
|
|
1839
|
-
)
|
|
1840
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1841
|
-
alias="hiddenFromWidgets", default=None
|
|
1842
|
-
)
|
|
1843
|
-
display_name_override: Optional[str] = Field(
|
|
1844
|
-
alias="displayNameOverride", default=None
|
|
1845
|
-
)
|
|
1846
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1847
|
-
default=None
|
|
1848
|
-
)
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1852
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1853
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1854
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1855
|
-
feature_units_plural: Optional[str] = Field(
|
|
1856
|
-
alias="featureUnitsPlural", default=None
|
|
1857
|
-
)
|
|
1858
|
-
display_name: str = Field(alias="displayName")
|
|
1859
|
-
description: Optional[str] = Field(default=None)
|
|
1860
|
-
ref_id: str = Field(alias="refId")
|
|
1861
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1862
|
-
alias="additionalMetaData", default=None
|
|
1863
|
-
)
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
1868
|
class MockPaywallAddonFragment(BaseModel):
|
|
1867
1869
|
ref_id: str = Field(alias="refId")
|
|
1868
1870
|
display_name: str = Field(alias="displayName")
|
|
@@ -2174,7 +2176,7 @@ class SlimSubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
|
2174
2176
|
|
|
2175
2177
|
|
|
2176
2178
|
class SlimSubscriptionFragmentPlan(BaseModel):
|
|
2177
|
-
id:
|
|
2179
|
+
id: Any
|
|
2178
2180
|
ref_id: str = Field(alias="refId")
|
|
2179
2181
|
|
|
2180
2182
|
|
|
@@ -2184,12 +2186,12 @@ class SlimSubscriptionFragmentAddons(BaseModel):
|
|
|
2184
2186
|
|
|
2185
2187
|
|
|
2186
2188
|
class SlimSubscriptionFragmentAddonsAddon(BaseModel):
|
|
2187
|
-
id:
|
|
2189
|
+
id: Any
|
|
2188
2190
|
ref_id: str = Field(alias="refId")
|
|
2189
2191
|
|
|
2190
2192
|
|
|
2191
2193
|
class SlimSubscriptionFragmentCustomer(BaseModel):
|
|
2192
|
-
id:
|
|
2194
|
+
id: Any
|
|
2193
2195
|
ref_id: str = Field(alias="refId")
|
|
2194
2196
|
|
|
2195
2197
|
|
|
@@ -2239,7 +2241,7 @@ class ProvisionSubscriptionFragmentEntitlements(EntitlementFragment):
|
|
|
2239
2241
|
|
|
2240
2242
|
|
|
2241
2243
|
class ReportUsageFragment(BaseModel):
|
|
2242
|
-
id:
|
|
2244
|
+
id: Any
|
|
2243
2245
|
feature_id: str = Field(alias="featureId")
|
|
2244
2246
|
customer_id: str = Field(alias="customerId")
|
|
2245
2247
|
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
@@ -2835,20 +2837,20 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2835
2837
|
|
|
2836
2838
|
AddonDependencyFragment.model_rebuild()
|
|
2837
2839
|
PriceTierFragment.model_rebuild()
|
|
2838
|
-
PriceFragment.model_rebuild()
|
|
2839
2840
|
OveragePriceFragment.model_rebuild()
|
|
2841
|
+
PriceFragment.model_rebuild()
|
|
2840
2842
|
PackageEntitlementFragment.model_rebuild()
|
|
2841
2843
|
AddonFragment.model_rebuild()
|
|
2844
|
+
SlimCustomerFragment.model_rebuild()
|
|
2842
2845
|
CustomerResourceFragment.model_rebuild()
|
|
2843
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2844
2846
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2845
|
-
SlimCustomerFragment.model_rebuild()
|
|
2846
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
2847
|
TotalPriceFragment.model_rebuild()
|
|
2848
|
-
|
|
2848
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2849
2849
|
ProductFragment.model_rebuild()
|
|
2850
2850
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2851
2851
|
PlanFragment.model_rebuild()
|
|
2852
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2853
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2852
2854
|
SubscriptionFragment.model_rebuild()
|
|
2853
2855
|
FeatureFragment.model_rebuild()
|
|
2854
2856
|
EntitlementFragment.model_rebuild()
|
|
@@ -2877,8 +2879,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2877
2879
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2878
2880
|
LayoutConfigurationFragment.model_rebuild()
|
|
2879
2881
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2880
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2881
2882
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2883
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2882
2884
|
MockPaywallAddonFragment.model_rebuild()
|
|
2883
2885
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2884
2886
|
MockPaywallPlanFragment.model_rebuild()
|