stigg-api-client-v2 2.306.0__py3-none-any.whl → 2.307.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 +14 -0
- stigg/generated/client.py +14 -0
- stigg/generated/fragments.py +373 -372
- {stigg_api_client_v2-2.306.0.dist-info → stigg_api_client_v2-2.307.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.306.0.dist-info → stigg_api_client_v2-2.307.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.306.0.dist-info → stigg_api_client_v2-2.307.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.306.0.dist-info → stigg_api_client_v2-2.307.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -59,6 +59,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class PackageEntitlementFragment(BaseModel):
|
|
63
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
+
feature_id: str = Field(alias="featureId")
|
|
67
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
+
alias="resetPeriod", default=None
|
|
69
|
+
)
|
|
70
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
+
alias="hiddenFromWidgets", default=None
|
|
72
|
+
)
|
|
73
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
+
display_name_override: Optional[str] = Field(
|
|
75
|
+
alias="displayNameOverride", default=None
|
|
76
|
+
)
|
|
77
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
+
feature_units_plural: Optional[str] = Field(
|
|
85
|
+
alias="featureUnitsPlural", default=None
|
|
86
|
+
)
|
|
87
|
+
display_name: str = Field(alias="displayName")
|
|
88
|
+
description: Optional[str] = Field(default=None)
|
|
89
|
+
ref_id: str = Field(alias="refId")
|
|
90
|
+
additional_meta_data: Optional[Any] = Field(
|
|
91
|
+
alias="additionalMetaData", default=None
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
|
|
62
95
|
class PriceTierFragment(BaseModel):
|
|
63
96
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
64
97
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -79,29 +112,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
112
|
currency: Currency
|
|
80
113
|
|
|
81
114
|
|
|
82
|
-
class
|
|
115
|
+
class PriceFragment(BaseModel):
|
|
83
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
118
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
85
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)
|
|
86
122
|
billing_country_code: Optional[str] = Field(
|
|
87
123
|
alias="billingCountryCode", default=None
|
|
88
124
|
)
|
|
89
|
-
price: Optional["
|
|
125
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
90
126
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
91
|
-
tiers: Optional[List["
|
|
92
|
-
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)
|
|
93
130
|
|
|
94
131
|
|
|
95
|
-
class
|
|
132
|
+
class PriceFragmentPrice(BaseModel):
|
|
96
133
|
amount: float
|
|
97
134
|
currency: Currency
|
|
98
135
|
|
|
99
136
|
|
|
100
|
-
class
|
|
137
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
101
138
|
pass
|
|
102
139
|
|
|
103
140
|
|
|
104
|
-
class
|
|
141
|
+
class PriceFragmentFeature(BaseModel):
|
|
105
142
|
ref_id: str = Field(alias="refId")
|
|
106
143
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
107
144
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -111,66 +148,29 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
111
148
|
description: Optional[str] = Field(default=None)
|
|
112
149
|
|
|
113
150
|
|
|
114
|
-
class
|
|
115
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
116
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
117
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
118
|
-
feature_id: str = Field(alias="featureId")
|
|
119
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
120
|
-
alias="resetPeriod", default=None
|
|
121
|
-
)
|
|
122
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
123
|
-
alias="hiddenFromWidgets", default=None
|
|
124
|
-
)
|
|
125
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
126
|
-
display_name_override: Optional[str] = Field(
|
|
127
|
-
alias="displayNameOverride", default=None
|
|
128
|
-
)
|
|
129
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
133
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
134
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
135
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
136
|
-
feature_units_plural: Optional[str] = Field(
|
|
137
|
-
alias="featureUnitsPlural", default=None
|
|
138
|
-
)
|
|
139
|
-
display_name: str = Field(alias="displayName")
|
|
140
|
-
description: Optional[str] = Field(default=None)
|
|
141
|
-
ref_id: str = Field(alias="refId")
|
|
142
|
-
additional_meta_data: Optional[Any] = Field(
|
|
143
|
-
alias="additionalMetaData", default=None
|
|
144
|
-
)
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
class PriceFragment(BaseModel):
|
|
151
|
+
class OveragePriceFragment(BaseModel):
|
|
148
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
149
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
151
154
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
154
155
|
billing_country_code: Optional[str] = Field(
|
|
155
156
|
alias="billingCountryCode", default=None
|
|
156
157
|
)
|
|
157
|
-
price: Optional["
|
|
158
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
158
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
159
|
-
tiers: Optional[List["
|
|
160
|
-
feature: Optional["
|
|
161
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
160
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
165
165
|
amount: float
|
|
166
166
|
currency: Currency
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
class
|
|
169
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
170
|
pass
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
class
|
|
173
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
174
174
|
ref_id: str = Field(alias="refId")
|
|
175
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -298,45 +298,217 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
298
298
|
pass
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
class
|
|
301
|
+
class ProductFragment(BaseModel):
|
|
302
|
+
ref_id: str = Field(alias="refId")
|
|
303
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
304
|
+
description: Optional[str] = Field(default=None)
|
|
305
|
+
additional_meta_data: Optional[Any] = Field(
|
|
306
|
+
alias="additionalMetaData", default=None
|
|
307
|
+
)
|
|
308
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
312
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
313
|
+
alias="downgradePlan", default=None
|
|
314
|
+
)
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
318
|
+
ref_id: str = Field(alias="refId")
|
|
319
|
+
display_name: str = Field(alias="displayName")
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
323
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
324
|
+
display_name: str = Field(alias="displayName")
|
|
325
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
326
|
+
default=None
|
|
327
|
+
)
|
|
328
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
329
|
+
|
|
330
|
+
|
|
331
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
332
|
+
pass
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
336
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
337
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
class PlanFragment(BaseModel):
|
|
341
|
+
id: str
|
|
342
|
+
ref_id: str = Field(alias="refId")
|
|
343
|
+
display_name: str = Field(alias="displayName")
|
|
344
|
+
description: Optional[str] = Field(default=None)
|
|
345
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
346
|
+
version_number: int = Field(alias="versionNumber")
|
|
347
|
+
additional_meta_data: Optional[Any] = Field(
|
|
348
|
+
alias="additionalMetaData", default=None
|
|
349
|
+
)
|
|
350
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
351
|
+
alias="hiddenFromWidgets", default=None
|
|
352
|
+
)
|
|
353
|
+
product: "PlanFragmentProduct"
|
|
354
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
355
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
356
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
357
|
+
alias="inheritedEntitlements", default=None
|
|
358
|
+
)
|
|
359
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
360
|
+
alias="compatibleAddons", default=None
|
|
361
|
+
)
|
|
362
|
+
compatible_package_groups: Optional[
|
|
363
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
364
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
365
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
366
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
367
|
+
alias="overagePrices", default=None
|
|
368
|
+
)
|
|
369
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
370
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
371
|
+
alias="defaultTrialConfig", default=None
|
|
372
|
+
)
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
class PlanFragmentProduct(ProductFragment):
|
|
376
|
+
pass
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
380
|
+
ref_id: str = Field(alias="refId")
|
|
381
|
+
display_name: str = Field(alias="displayName")
|
|
382
|
+
|
|
383
|
+
|
|
384
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
385
|
+
pass
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
389
|
+
pass
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
393
|
+
pass
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
397
|
+
pass
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
class PlanFragmentPrices(PriceFragment):
|
|
401
|
+
pass
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
405
|
+
pass
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
409
|
+
duration: float
|
|
410
|
+
units: TrialPeriodUnits
|
|
411
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
412
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
413
|
+
alias="trialEndBehavior", default=None
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
418
|
+
limit: float
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class SlimCustomerFragment(BaseModel):
|
|
422
|
+
id: str
|
|
423
|
+
name: Optional[str] = Field(default=None)
|
|
424
|
+
email: Optional[str] = Field(default=None)
|
|
425
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
426
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
427
|
+
ref_id: str = Field(alias="refId")
|
|
428
|
+
customer_id: str = Field(alias="customerId")
|
|
429
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
430
|
+
additional_meta_data: Optional[Any] = Field(
|
|
431
|
+
alias="additionalMetaData", default=None
|
|
432
|
+
)
|
|
433
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
434
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
435
|
+
)
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
439
|
+
billing_id: str = Field(alias="billingId")
|
|
440
|
+
status: SubscriptionInvoiceStatus
|
|
441
|
+
created_at: Any = Field(alias="createdAt")
|
|
442
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
443
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
444
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
445
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
446
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
447
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
448
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
449
|
+
alias="billingReason", default=None
|
|
450
|
+
)
|
|
451
|
+
currency: Optional[str] = Field(default=None)
|
|
452
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
453
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
454
|
+
alias="subTotalExcludingTax", default=None
|
|
455
|
+
)
|
|
456
|
+
total: Optional[float] = Field(default=None)
|
|
457
|
+
total_excluding_tax: Optional[float] = Field(
|
|
458
|
+
alias="totalExcludingTax", default=None
|
|
459
|
+
)
|
|
460
|
+
tax: Optional[float] = Field(default=None)
|
|
461
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
462
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
class CustomerResourceFragment(BaseModel):
|
|
466
|
+
resource_id: str = Field(alias="resourceId")
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
470
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
302
474
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
303
475
|
alias="subscriptionScheduleType"
|
|
304
476
|
)
|
|
305
477
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
306
478
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
307
|
-
target_package: Optional["
|
|
479
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
308
480
|
alias="targetPackage", default=None
|
|
309
481
|
)
|
|
310
482
|
schedule_variables: Optional[
|
|
311
483
|
Annotated[
|
|
312
484
|
Union[
|
|
313
|
-
"
|
|
314
|
-
"
|
|
315
|
-
"
|
|
316
|
-
"
|
|
317
|
-
"
|
|
318
|
-
"
|
|
319
|
-
"
|
|
320
|
-
"
|
|
485
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
486
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
487
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
488
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
489
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
490
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
491
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
492
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
321
493
|
],
|
|
322
494
|
Field(discriminator="typename__"),
|
|
323
495
|
]
|
|
324
496
|
] = Field(alias="scheduleVariables", default=None)
|
|
325
497
|
|
|
326
498
|
|
|
327
|
-
class
|
|
499
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
328
500
|
id: str
|
|
329
501
|
ref_id: str = Field(alias="refId")
|
|
330
502
|
display_name: str = Field(alias="displayName")
|
|
331
503
|
|
|
332
504
|
|
|
333
|
-
class
|
|
505
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
334
506
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
335
507
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
336
508
|
new_quantity: float = Field(alias="newQuantity")
|
|
337
509
|
|
|
338
510
|
|
|
339
|
-
class
|
|
511
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
340
512
|
BaseModel
|
|
341
513
|
):
|
|
342
514
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -344,53 +516,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
344
516
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
345
517
|
|
|
346
518
|
|
|
347
|
-
class
|
|
519
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
348
520
|
BaseModel
|
|
349
521
|
):
|
|
350
522
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
351
523
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
352
524
|
|
|
353
525
|
|
|
354
|
-
class
|
|
526
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
355
527
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
356
528
|
|
|
357
529
|
|
|
358
|
-
class
|
|
530
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
531
|
+
BaseModel
|
|
532
|
+
):
|
|
359
533
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
360
534
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
361
535
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
362
536
|
billable_features: Optional[
|
|
363
537
|
List[
|
|
364
|
-
"
|
|
538
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
365
539
|
]
|
|
366
540
|
] = Field(alias="billableFeatures", default=None)
|
|
367
541
|
addons: Optional[
|
|
368
542
|
List[
|
|
369
|
-
"
|
|
543
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
370
544
|
]
|
|
371
545
|
] = Field(default=None)
|
|
372
546
|
price_overrides: Optional[
|
|
373
547
|
List[
|
|
374
|
-
"
|
|
548
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
375
549
|
]
|
|
376
550
|
] = Field(alias="priceOverrides", default=None)
|
|
377
551
|
|
|
378
552
|
|
|
379
|
-
class
|
|
553
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
380
554
|
BaseModel
|
|
381
555
|
):
|
|
382
556
|
feature_id: str = Field(alias="featureId")
|
|
383
557
|
quantity: float
|
|
384
558
|
|
|
385
559
|
|
|
386
|
-
class
|
|
560
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
387
561
|
BaseModel
|
|
388
562
|
):
|
|
389
563
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
390
564
|
quantity: float
|
|
391
565
|
|
|
392
566
|
|
|
393
|
-
class
|
|
567
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
394
568
|
BaseModel
|
|
395
569
|
):
|
|
396
570
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -398,39 +572,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
398
572
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
399
573
|
|
|
400
574
|
|
|
401
|
-
class
|
|
575
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
402
576
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
403
577
|
plan_ref_id: str = Field(alias="planRefId")
|
|
404
578
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
405
579
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
406
580
|
billable_features: Optional[
|
|
407
581
|
List[
|
|
408
|
-
"
|
|
582
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
409
583
|
]
|
|
410
584
|
] = Field(alias="billableFeatures", default=None)
|
|
411
585
|
addons: Optional[
|
|
412
|
-
List[
|
|
586
|
+
List[
|
|
587
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
588
|
+
]
|
|
413
589
|
] = Field(default=None)
|
|
414
590
|
price_overrides: Optional[
|
|
415
591
|
List[
|
|
416
|
-
"
|
|
592
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
417
593
|
]
|
|
418
594
|
] = Field(alias="priceOverrides", default=None)
|
|
419
595
|
|
|
420
596
|
|
|
421
|
-
class
|
|
597
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
422
598
|
BaseModel
|
|
423
599
|
):
|
|
424
600
|
feature_id: str = Field(alias="featureId")
|
|
425
601
|
quantity: float
|
|
426
602
|
|
|
427
603
|
|
|
428
|
-
class
|
|
604
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
605
|
+
BaseModel
|
|
606
|
+
):
|
|
429
607
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
430
608
|
quantity: float
|
|
431
609
|
|
|
432
610
|
|
|
433
|
-
class
|
|
611
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
434
612
|
BaseModel
|
|
435
613
|
):
|
|
436
614
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -438,7 +616,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
438
616
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
439
617
|
|
|
440
618
|
|
|
441
|
-
class
|
|
619
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
442
620
|
BaseModel
|
|
443
621
|
):
|
|
444
622
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -446,211 +624,68 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
446
624
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
447
625
|
|
|
448
626
|
|
|
449
|
-
class
|
|
627
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
628
|
+
BaseModel
|
|
629
|
+
):
|
|
450
630
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
451
631
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
452
632
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
453
633
|
|
|
454
634
|
|
|
455
|
-
class
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
class SlimCustomerFragment(BaseModel):
|
|
460
|
-
id: str
|
|
461
|
-
name: Optional[str] = Field(default=None)
|
|
462
|
-
email: Optional[str] = Field(default=None)
|
|
463
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
464
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
465
|
-
ref_id: str = Field(alias="refId")
|
|
466
|
-
customer_id: str = Field(alias="customerId")
|
|
467
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
468
|
-
additional_meta_data: Optional[Any] = Field(
|
|
469
|
-
alias="additionalMetaData", default=None
|
|
470
|
-
)
|
|
471
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
472
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
473
|
-
)
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
class CustomerResourceFragment(BaseModel):
|
|
477
|
-
resource_id: str = Field(alias="resourceId")
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
class TotalPriceFragment(BaseModel):
|
|
481
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
482
|
-
total: "TotalPriceFragmentTotal"
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
486
|
-
amount: float
|
|
487
|
-
currency: Currency
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
491
|
-
amount: float
|
|
492
|
-
currency: Currency
|
|
493
|
-
|
|
494
|
-
|
|
495
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
496
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
497
|
-
display_name: str = Field(alias="displayName")
|
|
498
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
499
|
-
default=None
|
|
500
|
-
)
|
|
501
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
505
|
-
pass
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
509
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
510
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
511
|
-
|
|
512
|
-
|
|
513
|
-
class ProductFragment(BaseModel):
|
|
514
|
-
ref_id: str = Field(alias="refId")
|
|
515
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
516
|
-
description: Optional[str] = Field(default=None)
|
|
517
|
-
additional_meta_data: Optional[Any] = Field(
|
|
518
|
-
alias="additionalMetaData", default=None
|
|
519
|
-
)
|
|
520
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
524
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
525
|
-
alias="downgradePlan", default=None
|
|
526
|
-
)
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
530
|
-
ref_id: str = Field(alias="refId")
|
|
531
|
-
display_name: str = Field(alias="displayName")
|
|
532
|
-
|
|
533
|
-
|
|
534
|
-
class PlanFragment(BaseModel):
|
|
535
|
-
id: str
|
|
536
|
-
ref_id: str = Field(alias="refId")
|
|
537
|
-
display_name: str = Field(alias="displayName")
|
|
538
|
-
description: Optional[str] = Field(default=None)
|
|
539
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
540
|
-
version_number: int = Field(alias="versionNumber")
|
|
541
|
-
additional_meta_data: Optional[Any] = Field(
|
|
542
|
-
alias="additionalMetaData", default=None
|
|
543
|
-
)
|
|
544
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
545
|
-
alias="hiddenFromWidgets", default=None
|
|
546
|
-
)
|
|
547
|
-
product: "PlanFragmentProduct"
|
|
548
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
549
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
550
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
551
|
-
alias="inheritedEntitlements", default=None
|
|
552
|
-
)
|
|
553
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
554
|
-
alias="compatibleAddons", default=None
|
|
555
|
-
)
|
|
556
|
-
compatible_package_groups: Optional[
|
|
557
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
558
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
559
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
560
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
561
|
-
alias="overagePrices", default=None
|
|
562
|
-
)
|
|
563
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
564
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
565
|
-
alias="defaultTrialConfig", default=None
|
|
566
|
-
)
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
class PlanFragmentProduct(ProductFragment):
|
|
570
|
-
pass
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
574
|
-
ref_id: str = Field(alias="refId")
|
|
575
|
-
display_name: str = Field(alias="displayName")
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
579
|
-
pass
|
|
580
|
-
|
|
581
|
-
|
|
582
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
583
|
-
pass
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
587
|
-
pass
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
591
|
-
pass
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
class PlanFragmentPrices(PriceFragment):
|
|
595
|
-
pass
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
599
|
-
pass
|
|
635
|
+
class TotalPriceFragment(BaseModel):
|
|
636
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
637
|
+
total: "TotalPriceFragmentTotal"
|
|
600
638
|
|
|
601
639
|
|
|
602
|
-
class
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
606
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
607
|
-
alias="trialEndBehavior", default=None
|
|
608
|
-
)
|
|
640
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
641
|
+
amount: float
|
|
642
|
+
currency: Currency
|
|
609
643
|
|
|
610
644
|
|
|
611
|
-
class
|
|
612
|
-
|
|
645
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
646
|
+
amount: float
|
|
647
|
+
currency: Currency
|
|
613
648
|
|
|
614
649
|
|
|
615
|
-
class
|
|
650
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
616
651
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
617
652
|
alias="subscriptionScheduleType"
|
|
618
653
|
)
|
|
619
654
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
620
655
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
621
|
-
target_package: Optional["
|
|
656
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
622
657
|
alias="targetPackage", default=None
|
|
623
658
|
)
|
|
624
659
|
schedule_variables: Optional[
|
|
625
660
|
Annotated[
|
|
626
661
|
Union[
|
|
627
|
-
"
|
|
628
|
-
"
|
|
629
|
-
"
|
|
630
|
-
"
|
|
631
|
-
"
|
|
632
|
-
"
|
|
633
|
-
"
|
|
634
|
-
"
|
|
662
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
663
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
664
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
665
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
666
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
667
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
668
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
635
670
|
],
|
|
636
671
|
Field(discriminator="typename__"),
|
|
637
672
|
]
|
|
638
673
|
] = Field(alias="scheduleVariables", default=None)
|
|
639
674
|
|
|
640
675
|
|
|
641
|
-
class
|
|
676
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
642
677
|
id: str
|
|
643
678
|
ref_id: str = Field(alias="refId")
|
|
644
679
|
display_name: str = Field(alias="displayName")
|
|
645
680
|
|
|
646
681
|
|
|
647
|
-
class
|
|
682
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
648
683
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
649
684
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
650
685
|
new_quantity: float = Field(alias="newQuantity")
|
|
651
686
|
|
|
652
687
|
|
|
653
|
-
class
|
|
688
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
654
689
|
BaseModel
|
|
655
690
|
):
|
|
656
691
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -658,55 +693,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
658
693
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
659
694
|
|
|
660
695
|
|
|
661
|
-
class
|
|
696
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
662
697
|
BaseModel
|
|
663
698
|
):
|
|
664
699
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
665
700
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
666
701
|
|
|
667
702
|
|
|
668
|
-
class
|
|
703
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
669
704
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
670
705
|
|
|
671
706
|
|
|
672
|
-
class
|
|
673
|
-
BaseModel
|
|
674
|
-
):
|
|
707
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
675
708
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
676
709
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
677
710
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
678
711
|
billable_features: Optional[
|
|
679
712
|
List[
|
|
680
|
-
"
|
|
713
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
681
714
|
]
|
|
682
715
|
] = Field(alias="billableFeatures", default=None)
|
|
683
716
|
addons: Optional[
|
|
684
717
|
List[
|
|
685
|
-
"
|
|
718
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
686
719
|
]
|
|
687
720
|
] = Field(default=None)
|
|
688
721
|
price_overrides: Optional[
|
|
689
722
|
List[
|
|
690
|
-
"
|
|
723
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
691
724
|
]
|
|
692
725
|
] = Field(alias="priceOverrides", default=None)
|
|
693
726
|
|
|
694
727
|
|
|
695
|
-
class
|
|
728
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
696
729
|
BaseModel
|
|
697
730
|
):
|
|
698
731
|
feature_id: str = Field(alias="featureId")
|
|
699
732
|
quantity: float
|
|
700
733
|
|
|
701
734
|
|
|
702
|
-
class
|
|
735
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
703
736
|
BaseModel
|
|
704
737
|
):
|
|
705
738
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
706
739
|
quantity: float
|
|
707
740
|
|
|
708
741
|
|
|
709
|
-
class
|
|
742
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
710
743
|
BaseModel
|
|
711
744
|
):
|
|
712
745
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -714,43 +747,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
714
747
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
715
748
|
|
|
716
749
|
|
|
717
|
-
class
|
|
750
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
718
751
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
719
752
|
plan_ref_id: str = Field(alias="planRefId")
|
|
720
753
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
721
754
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
722
755
|
billable_features: Optional[
|
|
723
756
|
List[
|
|
724
|
-
"
|
|
757
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
725
758
|
]
|
|
726
759
|
] = Field(alias="billableFeatures", default=None)
|
|
727
760
|
addons: Optional[
|
|
728
|
-
List[
|
|
729
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
730
|
-
]
|
|
761
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
731
762
|
] = Field(default=None)
|
|
732
763
|
price_overrides: Optional[
|
|
733
764
|
List[
|
|
734
|
-
"
|
|
765
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
735
766
|
]
|
|
736
767
|
] = Field(alias="priceOverrides", default=None)
|
|
737
768
|
|
|
738
769
|
|
|
739
|
-
class
|
|
770
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
740
771
|
BaseModel
|
|
741
772
|
):
|
|
742
773
|
feature_id: str = Field(alias="featureId")
|
|
743
774
|
quantity: float
|
|
744
775
|
|
|
745
776
|
|
|
746
|
-
class
|
|
747
|
-
BaseModel
|
|
748
|
-
):
|
|
777
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
749
778
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
750
779
|
quantity: float
|
|
751
780
|
|
|
752
781
|
|
|
753
|
-
class
|
|
782
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
754
783
|
BaseModel
|
|
755
784
|
):
|
|
756
785
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -758,7 +787,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
758
787
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
759
788
|
|
|
760
789
|
|
|
761
|
-
class
|
|
790
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
762
791
|
BaseModel
|
|
763
792
|
):
|
|
764
793
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -766,40 +795,12 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
766
795
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
767
796
|
|
|
768
797
|
|
|
769
|
-
class
|
|
770
|
-
BaseModel
|
|
771
|
-
):
|
|
798
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
772
799
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
773
800
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
774
801
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
775
802
|
|
|
776
803
|
|
|
777
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
778
|
-
billing_id: str = Field(alias="billingId")
|
|
779
|
-
status: SubscriptionInvoiceStatus
|
|
780
|
-
created_at: Any = Field(alias="createdAt")
|
|
781
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
782
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
783
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
784
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
785
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
786
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
787
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
788
|
-
alias="billingReason", default=None
|
|
789
|
-
)
|
|
790
|
-
currency: Optional[str] = Field(default=None)
|
|
791
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
792
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
793
|
-
alias="subTotalExcludingTax", default=None
|
|
794
|
-
)
|
|
795
|
-
total: Optional[float] = Field(default=None)
|
|
796
|
-
total_excluding_tax: Optional[float] = Field(
|
|
797
|
-
alias="totalExcludingTax", default=None
|
|
798
|
-
)
|
|
799
|
-
tax: Optional[float] = Field(default=None)
|
|
800
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
801
|
-
|
|
802
|
-
|
|
803
804
|
class SubscriptionFragment(BaseModel):
|
|
804
805
|
id: str
|
|
805
806
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1259,6 +1260,33 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1259
1260
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1260
1261
|
|
|
1261
1262
|
|
|
1263
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1264
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1265
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1266
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1267
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1268
|
+
default=None
|
|
1269
|
+
)
|
|
1270
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1271
|
+
default=None
|
|
1272
|
+
)
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1276
|
+
amount: float
|
|
1277
|
+
currency: Currency
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1281
|
+
id: str
|
|
1282
|
+
ref_id: str = Field(alias="refId")
|
|
1283
|
+
display_name: str = Field(alias="displayName")
|
|
1284
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1285
|
+
feature_units_plural: Optional[str] = Field(
|
|
1286
|
+
alias="featureUnitsPlural", default=None
|
|
1287
|
+
)
|
|
1288
|
+
|
|
1289
|
+
|
|
1262
1290
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1263
1291
|
addon_id: str = Field(alias="addonId")
|
|
1264
1292
|
description: Optional[str] = Field(default=None)
|
|
@@ -1435,33 +1463,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1435
1463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1436
1464
|
|
|
1437
1465
|
|
|
1438
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1439
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1440
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1441
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1442
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1443
|
-
default=None
|
|
1444
|
-
)
|
|
1445
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1446
|
-
default=None
|
|
1447
|
-
)
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1451
|
-
amount: float
|
|
1452
|
-
currency: Currency
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1456
|
-
id: str
|
|
1457
|
-
ref_id: str = Field(alias="refId")
|
|
1458
|
-
display_name: str = Field(alias="displayName")
|
|
1459
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1460
|
-
feature_units_plural: Optional[str] = Field(
|
|
1461
|
-
alias="featureUnitsPlural", default=None
|
|
1462
|
-
)
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1466
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1467
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1785,39 +1786,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1785
1786
|
description: Optional[str] = Field(default=None)
|
|
1786
1787
|
|
|
1787
1788
|
|
|
1788
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1789
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1790
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1791
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1792
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1793
|
-
alias="resetPeriod", default=None
|
|
1794
|
-
)
|
|
1795
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1796
|
-
alias="hiddenFromWidgets", default=None
|
|
1797
|
-
)
|
|
1798
|
-
display_name_override: Optional[str] = Field(
|
|
1799
|
-
alias="displayNameOverride", default=None
|
|
1800
|
-
)
|
|
1801
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1802
|
-
default=None
|
|
1803
|
-
)
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1807
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1808
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1809
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1810
|
-
feature_units_plural: Optional[str] = Field(
|
|
1811
|
-
alias="featureUnitsPlural", default=None
|
|
1812
|
-
)
|
|
1813
|
-
display_name: str = Field(alias="displayName")
|
|
1814
|
-
description: Optional[str] = Field(default=None)
|
|
1815
|
-
ref_id: str = Field(alias="refId")
|
|
1816
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1817
|
-
alias="additionalMetaData", default=None
|
|
1818
|
-
)
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
1789
|
class MockPaywallPriceFragment(BaseModel):
|
|
1822
1790
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1823
1791
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1852,6 +1820,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1852
1820
|
display_name: str = Field(alias="displayName")
|
|
1853
1821
|
|
|
1854
1822
|
|
|
1823
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
+
alias="resetPeriod", default=None
|
|
1829
|
+
)
|
|
1830
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
+
alias="hiddenFromWidgets", default=None
|
|
1832
|
+
)
|
|
1833
|
+
display_name_override: Optional[str] = Field(
|
|
1834
|
+
alias="displayNameOverride", default=None
|
|
1835
|
+
)
|
|
1836
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
+
default=None
|
|
1838
|
+
)
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
+
feature_units_plural: Optional[str] = Field(
|
|
1846
|
+
alias="featureUnitsPlural", default=None
|
|
1847
|
+
)
|
|
1848
|
+
display_name: str = Field(alias="displayName")
|
|
1849
|
+
description: Optional[str] = Field(default=None)
|
|
1850
|
+
ref_id: str = Field(alias="refId")
|
|
1851
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
+
alias="additionalMetaData", default=None
|
|
1853
|
+
)
|
|
1854
|
+
|
|
1855
|
+
|
|
1855
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1856
1857
|
ref_id: str = Field(alias="refId")
|
|
1857
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2762,23 +2763,23 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2762
2763
|
|
|
2763
2764
|
|
|
2764
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2765
|
-
PriceTierFragment.model_rebuild()
|
|
2766
|
-
OveragePriceFragment.model_rebuild()
|
|
2767
2766
|
PackageEntitlementFragment.model_rebuild()
|
|
2767
|
+
PriceTierFragment.model_rebuild()
|
|
2768
2768
|
PriceFragment.model_rebuild()
|
|
2769
|
+
OveragePriceFragment.model_rebuild()
|
|
2769
2770
|
AddonFragment.model_rebuild()
|
|
2770
2771
|
FeatureFragment.model_rebuild()
|
|
2771
2772
|
EntitlementFragment.model_rebuild()
|
|
2772
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2773
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2774
|
-
SlimCustomerFragment.model_rebuild()
|
|
2775
|
-
CustomerResourceFragment.model_rebuild()
|
|
2776
|
-
TotalPriceFragment.model_rebuild()
|
|
2777
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2778
2773
|
ProductFragment.model_rebuild()
|
|
2774
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2779
2775
|
PlanFragment.model_rebuild()
|
|
2780
|
-
|
|
2776
|
+
SlimCustomerFragment.model_rebuild()
|
|
2781
2777
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
|
+
CustomerResourceFragment.model_rebuild()
|
|
2779
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2780
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2781
|
+
TotalPriceFragment.model_rebuild()
|
|
2782
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2782
2783
|
SubscriptionFragment.model_rebuild()
|
|
2783
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2785
|
FontVariantFragment.model_rebuild()
|
|
@@ -2792,9 +2793,9 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2792
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
2795
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2795
2797
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2796
2798
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2797
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -2805,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2805
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2806
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2807
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2808
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2809
2809
|
MockPaywallPriceFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2811
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2812
2813
|
MockPaywallPlanFragment.model_rebuild()
|