stigg-api-client-v2 2.457.0__py3-none-any.whl → 2.462.2__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/__init__.py +2 -0
- stigg/generated/fragments.py +312 -312
- stigg/generated/input_types.py +66 -49
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.462.2.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -60,39 +60,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
class PackageEntitlementFragment(BaseModel):
|
|
64
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
-
feature_id: str = Field(alias="featureId")
|
|
68
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
-
alias="resetPeriod", default=None
|
|
70
|
-
)
|
|
71
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
-
alias="hiddenFromWidgets", default=None
|
|
73
|
-
)
|
|
74
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
-
display_name_override: Optional[str] = Field(
|
|
76
|
-
alias="displayNameOverride", default=None
|
|
77
|
-
)
|
|
78
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
-
feature_units_plural: Optional[str] = Field(
|
|
86
|
-
alias="featureUnitsPlural", default=None
|
|
87
|
-
)
|
|
88
|
-
display_name: str = Field(alias="displayName")
|
|
89
|
-
description: Optional[str] = Field(default=None)
|
|
90
|
-
ref_id: str = Field(alias="refId")
|
|
91
|
-
additional_meta_data: Optional[Any] = Field(
|
|
92
|
-
alias="additionalMetaData", default=None
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
|
|
96
63
|
class PriceTierFragment(BaseModel):
|
|
97
64
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
98
65
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -113,33 +80,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
113
80
|
currency: Currency
|
|
114
81
|
|
|
115
82
|
|
|
116
|
-
class
|
|
83
|
+
class OveragePriceFragment(BaseModel):
|
|
117
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
118
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
119
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
120
86
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
121
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
122
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
123
87
|
billing_country_code: Optional[str] = Field(
|
|
124
88
|
alias="billingCountryCode", default=None
|
|
125
89
|
)
|
|
126
|
-
price: Optional["
|
|
90
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
91
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["
|
|
129
|
-
feature: Optional["
|
|
130
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
92
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
131
94
|
|
|
132
95
|
|
|
133
|
-
class
|
|
96
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
134
97
|
amount: float
|
|
135
98
|
currency: Currency
|
|
136
99
|
|
|
137
100
|
|
|
138
|
-
class
|
|
101
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
139
102
|
pass
|
|
140
103
|
|
|
141
104
|
|
|
142
|
-
class
|
|
105
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
143
106
|
ref_id: str = Field(alias="refId")
|
|
144
107
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
145
108
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -149,29 +112,66 @@ class PriceFragmentFeature(BaseModel):
|
|
|
149
112
|
description: Optional[str] = Field(default=None)
|
|
150
113
|
|
|
151
114
|
|
|
152
|
-
class
|
|
115
|
+
class PackageEntitlementFragment(BaseModel):
|
|
116
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
+
feature_id: str = Field(alias="featureId")
|
|
120
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
+
alias="resetPeriod", default=None
|
|
122
|
+
)
|
|
123
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
+
alias="hiddenFromWidgets", default=None
|
|
125
|
+
)
|
|
126
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
+
display_name_override: Optional[str] = Field(
|
|
128
|
+
alias="displayNameOverride", default=None
|
|
129
|
+
)
|
|
130
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
131
|
+
|
|
132
|
+
|
|
133
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
134
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
135
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
136
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
137
|
+
feature_units_plural: Optional[str] = Field(
|
|
138
|
+
alias="featureUnitsPlural", default=None
|
|
139
|
+
)
|
|
140
|
+
display_name: str = Field(alias="displayName")
|
|
141
|
+
description: Optional[str] = Field(default=None)
|
|
142
|
+
ref_id: str = Field(alias="refId")
|
|
143
|
+
additional_meta_data: Optional[Any] = Field(
|
|
144
|
+
alias="additionalMetaData", default=None
|
|
145
|
+
)
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class PriceFragment(BaseModel):
|
|
153
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
152
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
156
155
|
billing_country_code: Optional[str] = Field(
|
|
157
156
|
alias="billingCountryCode", default=None
|
|
158
157
|
)
|
|
159
|
-
price: Optional["
|
|
158
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
160
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
161
|
-
tiers: Optional[List["
|
|
162
|
-
feature: Optional["
|
|
160
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
162
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class PriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class PriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -219,6 +219,14 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
223
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
class CustomerResourceFragment(BaseModel):
|
|
227
|
+
resource_id: str = Field(alias="resourceId")
|
|
228
|
+
|
|
229
|
+
|
|
222
230
|
class TotalPriceFragment(BaseModel):
|
|
223
231
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
224
232
|
total: "TotalPriceFragmentTotal"
|
|
@@ -234,23 +242,6 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
234
242
|
currency: Currency
|
|
235
243
|
|
|
236
244
|
|
|
237
|
-
class SlimCustomerFragment(BaseModel):
|
|
238
|
-
id: str
|
|
239
|
-
name: Optional[str] = Field(default=None)
|
|
240
|
-
email: Optional[str] = Field(default=None)
|
|
241
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
242
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
243
|
-
ref_id: str = Field(alias="refId")
|
|
244
|
-
customer_id: str = Field(alias="customerId")
|
|
245
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
246
|
-
additional_meta_data: Optional[Any] = Field(
|
|
247
|
-
alias="additionalMetaData", default=None
|
|
248
|
-
)
|
|
249
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
250
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
251
|
-
)
|
|
252
|
-
|
|
253
|
-
|
|
254
245
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
255
246
|
billing_id: str = Field(alias="billingId")
|
|
256
247
|
status: SubscriptionInvoiceStatus
|
|
@@ -278,45 +269,165 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
278
269
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
279
270
|
|
|
280
271
|
|
|
281
|
-
class
|
|
272
|
+
class ProductFragment(BaseModel):
|
|
273
|
+
ref_id: str = Field(alias="refId")
|
|
274
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
275
|
+
description: Optional[str] = Field(default=None)
|
|
276
|
+
additional_meta_data: Optional[Any] = Field(
|
|
277
|
+
alias="additionalMetaData", default=None
|
|
278
|
+
)
|
|
279
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
283
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
284
|
+
alias="downgradePlan", default=None
|
|
285
|
+
)
|
|
286
|
+
|
|
287
|
+
|
|
288
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
289
|
+
ref_id: str = Field(alias="refId")
|
|
290
|
+
display_name: str = Field(alias="displayName")
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
294
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
295
|
+
display_name: str = Field(alias="displayName")
|
|
296
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
297
|
+
default=None
|
|
298
|
+
)
|
|
299
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
303
|
+
pass
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
307
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
308
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
class PlanFragment(BaseModel):
|
|
312
|
+
id: str
|
|
313
|
+
ref_id: str = Field(alias="refId")
|
|
314
|
+
display_name: str = Field(alias="displayName")
|
|
315
|
+
description: Optional[str] = Field(default=None)
|
|
316
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
317
|
+
version_number: int = Field(alias="versionNumber")
|
|
318
|
+
additional_meta_data: Optional[Any] = Field(
|
|
319
|
+
alias="additionalMetaData", default=None
|
|
320
|
+
)
|
|
321
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
322
|
+
alias="hiddenFromWidgets", default=None
|
|
323
|
+
)
|
|
324
|
+
product: "PlanFragmentProduct"
|
|
325
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
326
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
327
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
328
|
+
alias="inheritedEntitlements", default=None
|
|
329
|
+
)
|
|
330
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
331
|
+
alias="compatibleAddons", default=None
|
|
332
|
+
)
|
|
333
|
+
compatible_package_groups: Optional[
|
|
334
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
335
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
336
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
337
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
338
|
+
alias="overagePrices", default=None
|
|
339
|
+
)
|
|
340
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
341
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
342
|
+
alias="defaultTrialConfig", default=None
|
|
343
|
+
)
|
|
344
|
+
|
|
345
|
+
|
|
346
|
+
class PlanFragmentProduct(ProductFragment):
|
|
347
|
+
pass
|
|
348
|
+
|
|
349
|
+
|
|
350
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
351
|
+
ref_id: str = Field(alias="refId")
|
|
352
|
+
display_name: str = Field(alias="displayName")
|
|
353
|
+
|
|
354
|
+
|
|
355
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
356
|
+
pass
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
360
|
+
pass
|
|
361
|
+
|
|
362
|
+
|
|
363
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
364
|
+
pass
|
|
365
|
+
|
|
366
|
+
|
|
367
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
368
|
+
pass
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class PlanFragmentPrices(PriceFragment):
|
|
372
|
+
pass
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
376
|
+
pass
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
380
|
+
duration: float
|
|
381
|
+
units: TrialPeriodUnits
|
|
382
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
383
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
384
|
+
alias="trialEndBehavior", default=None
|
|
385
|
+
)
|
|
386
|
+
|
|
387
|
+
|
|
388
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
389
|
+
limit: float
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
282
393
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
283
394
|
alias="subscriptionScheduleType"
|
|
284
395
|
)
|
|
285
396
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
286
397
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
287
|
-
target_package: Optional["
|
|
398
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
288
399
|
alias="targetPackage", default=None
|
|
289
400
|
)
|
|
290
401
|
schedule_variables: Optional[
|
|
291
402
|
Annotated[
|
|
292
403
|
Union[
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
404
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
405
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
406
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
407
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
408
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
409
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
410
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
411
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
301
412
|
],
|
|
302
413
|
Field(discriminator="typename__"),
|
|
303
414
|
]
|
|
304
415
|
] = Field(alias="scheduleVariables", default=None)
|
|
305
416
|
|
|
306
417
|
|
|
307
|
-
class
|
|
418
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
308
419
|
id: str
|
|
309
420
|
ref_id: str = Field(alias="refId")
|
|
310
421
|
display_name: str = Field(alias="displayName")
|
|
311
422
|
|
|
312
423
|
|
|
313
|
-
class
|
|
424
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
314
425
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
315
426
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
316
427
|
new_quantity: float = Field(alias="newQuantity")
|
|
317
428
|
|
|
318
429
|
|
|
319
|
-
class
|
|
430
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
320
431
|
BaseModel
|
|
321
432
|
):
|
|
322
433
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -324,53 +435,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
324
435
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
325
436
|
|
|
326
437
|
|
|
327
|
-
class
|
|
438
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
328
439
|
BaseModel
|
|
329
440
|
):
|
|
330
441
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
331
442
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
332
443
|
|
|
333
444
|
|
|
334
|
-
class
|
|
445
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
335
446
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
336
447
|
|
|
337
448
|
|
|
338
|
-
class
|
|
449
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
450
|
+
BaseModel
|
|
451
|
+
):
|
|
339
452
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
340
453
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
341
454
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
342
455
|
billable_features: Optional[
|
|
343
456
|
List[
|
|
344
|
-
"
|
|
457
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
345
458
|
]
|
|
346
459
|
] = Field(alias="billableFeatures", default=None)
|
|
347
460
|
addons: Optional[
|
|
348
461
|
List[
|
|
349
|
-
"
|
|
462
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
350
463
|
]
|
|
351
464
|
] = Field(default=None)
|
|
352
465
|
price_overrides: Optional[
|
|
353
466
|
List[
|
|
354
|
-
"
|
|
467
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
355
468
|
]
|
|
356
469
|
] = Field(alias="priceOverrides", default=None)
|
|
357
470
|
|
|
358
471
|
|
|
359
|
-
class
|
|
472
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
360
473
|
BaseModel
|
|
361
474
|
):
|
|
362
475
|
feature_id: str = Field(alias="featureId")
|
|
363
476
|
quantity: float
|
|
364
477
|
|
|
365
478
|
|
|
366
|
-
class
|
|
479
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
367
480
|
BaseModel
|
|
368
481
|
):
|
|
369
482
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
370
483
|
quantity: float
|
|
371
484
|
|
|
372
485
|
|
|
373
|
-
class
|
|
486
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
374
487
|
BaseModel
|
|
375
488
|
):
|
|
376
489
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -378,39 +491,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
378
491
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
379
492
|
|
|
380
493
|
|
|
381
|
-
class
|
|
494
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
382
495
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
383
496
|
plan_ref_id: str = Field(alias="planRefId")
|
|
384
497
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
385
498
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
386
499
|
billable_features: Optional[
|
|
387
500
|
List[
|
|
388
|
-
"
|
|
501
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
389
502
|
]
|
|
390
503
|
] = Field(alias="billableFeatures", default=None)
|
|
391
504
|
addons: Optional[
|
|
392
|
-
List[
|
|
505
|
+
List[
|
|
506
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
507
|
+
]
|
|
393
508
|
] = Field(default=None)
|
|
394
509
|
price_overrides: Optional[
|
|
395
510
|
List[
|
|
396
|
-
"
|
|
511
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
397
512
|
]
|
|
398
513
|
] = Field(alias="priceOverrides", default=None)
|
|
399
514
|
|
|
400
515
|
|
|
401
|
-
class
|
|
516
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
402
517
|
BaseModel
|
|
403
518
|
):
|
|
404
519
|
feature_id: str = Field(alias="featureId")
|
|
405
520
|
quantity: float
|
|
406
521
|
|
|
407
522
|
|
|
408
|
-
class
|
|
523
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
524
|
+
BaseModel
|
|
525
|
+
):
|
|
409
526
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
410
527
|
quantity: float
|
|
411
528
|
|
|
412
529
|
|
|
413
|
-
class
|
|
530
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
414
531
|
BaseModel
|
|
415
532
|
):
|
|
416
533
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -418,7 +535,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
418
535
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
419
536
|
|
|
420
537
|
|
|
421
|
-
class
|
|
538
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
422
539
|
BaseModel
|
|
423
540
|
):
|
|
424
541
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -426,51 +543,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
426
543
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
427
544
|
|
|
428
545
|
|
|
429
|
-
class
|
|
546
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
547
|
+
BaseModel
|
|
548
|
+
):
|
|
430
549
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
431
550
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
432
551
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
433
552
|
|
|
434
553
|
|
|
435
|
-
class
|
|
554
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
436
555
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
437
556
|
alias="subscriptionScheduleType"
|
|
438
557
|
)
|
|
439
558
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
440
559
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
441
|
-
target_package: Optional["
|
|
560
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
442
561
|
alias="targetPackage", default=None
|
|
443
562
|
)
|
|
444
563
|
schedule_variables: Optional[
|
|
445
564
|
Annotated[
|
|
446
565
|
Union[
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
"
|
|
566
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
567
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
568
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
569
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
570
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
571
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
572
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
573
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
455
574
|
],
|
|
456
575
|
Field(discriminator="typename__"),
|
|
457
576
|
]
|
|
458
577
|
] = Field(alias="scheduleVariables", default=None)
|
|
459
578
|
|
|
460
579
|
|
|
461
|
-
class
|
|
580
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
462
581
|
id: str
|
|
463
582
|
ref_id: str = Field(alias="refId")
|
|
464
583
|
display_name: str = Field(alias="displayName")
|
|
465
584
|
|
|
466
585
|
|
|
467
|
-
class
|
|
586
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
468
587
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
469
588
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
470
589
|
new_quantity: float = Field(alias="newQuantity")
|
|
471
590
|
|
|
472
591
|
|
|
473
|
-
class
|
|
592
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
474
593
|
BaseModel
|
|
475
594
|
):
|
|
476
595
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -478,55 +597,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
478
597
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
479
598
|
|
|
480
599
|
|
|
481
|
-
class
|
|
600
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
482
601
|
BaseModel
|
|
483
602
|
):
|
|
484
603
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
485
604
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
486
605
|
|
|
487
606
|
|
|
488
|
-
class
|
|
607
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
489
608
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
490
609
|
|
|
491
610
|
|
|
492
|
-
class
|
|
493
|
-
BaseModel
|
|
494
|
-
):
|
|
611
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
495
612
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
496
613
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
497
614
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
498
615
|
billable_features: Optional[
|
|
499
616
|
List[
|
|
500
|
-
"
|
|
617
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
501
618
|
]
|
|
502
619
|
] = Field(alias="billableFeatures", default=None)
|
|
503
620
|
addons: Optional[
|
|
504
621
|
List[
|
|
505
|
-
"
|
|
622
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
506
623
|
]
|
|
507
624
|
] = Field(default=None)
|
|
508
625
|
price_overrides: Optional[
|
|
509
626
|
List[
|
|
510
|
-
"
|
|
627
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
511
628
|
]
|
|
512
629
|
] = Field(alias="priceOverrides", default=None)
|
|
513
630
|
|
|
514
631
|
|
|
515
|
-
class
|
|
632
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
516
633
|
BaseModel
|
|
517
634
|
):
|
|
518
635
|
feature_id: str = Field(alias="featureId")
|
|
519
636
|
quantity: float
|
|
520
637
|
|
|
521
638
|
|
|
522
|
-
class
|
|
639
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
523
640
|
BaseModel
|
|
524
641
|
):
|
|
525
642
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
526
643
|
quantity: float
|
|
527
644
|
|
|
528
645
|
|
|
529
|
-
class
|
|
646
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
530
647
|
BaseModel
|
|
531
648
|
):
|
|
532
649
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -534,43 +651,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
534
651
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
535
652
|
|
|
536
653
|
|
|
537
|
-
class
|
|
654
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
538
655
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
539
656
|
plan_ref_id: str = Field(alias="planRefId")
|
|
540
657
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
541
658
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
542
659
|
billable_features: Optional[
|
|
543
660
|
List[
|
|
544
|
-
"
|
|
661
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
545
662
|
]
|
|
546
663
|
] = Field(alias="billableFeatures", default=None)
|
|
547
664
|
addons: Optional[
|
|
548
|
-
List[
|
|
549
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
550
|
-
]
|
|
665
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
551
666
|
] = Field(default=None)
|
|
552
667
|
price_overrides: Optional[
|
|
553
668
|
List[
|
|
554
|
-
"
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
555
670
|
]
|
|
556
671
|
] = Field(alias="priceOverrides", default=None)
|
|
557
672
|
|
|
558
673
|
|
|
559
|
-
class
|
|
674
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
560
675
|
BaseModel
|
|
561
676
|
):
|
|
562
677
|
feature_id: str = Field(alias="featureId")
|
|
563
678
|
quantity: float
|
|
564
679
|
|
|
565
680
|
|
|
566
|
-
class
|
|
567
|
-
BaseModel
|
|
568
|
-
):
|
|
681
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
569
682
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
570
683
|
quantity: float
|
|
571
684
|
|
|
572
685
|
|
|
573
|
-
class
|
|
686
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
574
687
|
BaseModel
|
|
575
688
|
):
|
|
576
689
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -578,7 +691,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
578
691
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
579
692
|
|
|
580
693
|
|
|
581
|
-
class
|
|
694
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
582
695
|
BaseModel
|
|
583
696
|
):
|
|
584
697
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -586,144 +699,31 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
586
699
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
587
700
|
|
|
588
701
|
|
|
589
|
-
class
|
|
590
|
-
BaseModel
|
|
591
|
-
):
|
|
702
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
592
703
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
593
704
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
594
705
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
595
706
|
|
|
596
707
|
|
|
597
|
-
class
|
|
598
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
599
|
-
display_name: str = Field(alias="displayName")
|
|
600
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
601
|
-
default=None
|
|
602
|
-
)
|
|
603
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
607
|
-
pass
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
611
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
612
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class ProductFragment(BaseModel):
|
|
616
|
-
ref_id: str = Field(alias="refId")
|
|
617
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
618
|
-
description: Optional[str] = Field(default=None)
|
|
619
|
-
additional_meta_data: Optional[Any] = Field(
|
|
620
|
-
alias="additionalMetaData", default=None
|
|
621
|
-
)
|
|
622
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
626
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
627
|
-
alias="downgradePlan", default=None
|
|
628
|
-
)
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
632
|
-
ref_id: str = Field(alias="refId")
|
|
633
|
-
display_name: str = Field(alias="displayName")
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
class PlanFragment(BaseModel):
|
|
708
|
+
class SlimCustomerFragment(BaseModel):
|
|
637
709
|
id: str
|
|
710
|
+
name: Optional[str] = Field(default=None)
|
|
711
|
+
email: Optional[str] = Field(default=None)
|
|
712
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
713
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
638
714
|
ref_id: str = Field(alias="refId")
|
|
639
|
-
|
|
640
|
-
description: Optional[str] = Field(default=None)
|
|
715
|
+
customer_id: str = Field(alias="customerId")
|
|
641
716
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
642
|
-
version_number: int = Field(alias="versionNumber")
|
|
643
717
|
additional_meta_data: Optional[Any] = Field(
|
|
644
718
|
alias="additionalMetaData", default=None
|
|
645
719
|
)
|
|
646
|
-
|
|
647
|
-
alias="
|
|
648
|
-
)
|
|
649
|
-
product: "PlanFragmentProduct"
|
|
650
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
651
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
652
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
653
|
-
alias="inheritedEntitlements", default=None
|
|
654
|
-
)
|
|
655
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
656
|
-
alias="compatibleAddons", default=None
|
|
657
|
-
)
|
|
658
|
-
compatible_package_groups: Optional[
|
|
659
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
660
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
661
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
662
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
663
|
-
alias="overagePrices", default=None
|
|
664
|
-
)
|
|
665
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
666
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
667
|
-
alias="defaultTrialConfig", default=None
|
|
668
|
-
)
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class PlanFragmentProduct(ProductFragment):
|
|
672
|
-
pass
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
676
|
-
ref_id: str = Field(alias="refId")
|
|
677
|
-
display_name: str = Field(alias="displayName")
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
681
|
-
pass
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
685
|
-
pass
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
689
|
-
pass
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
693
|
-
pass
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
class PlanFragmentPrices(PriceFragment):
|
|
697
|
-
pass
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
701
|
-
pass
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
705
|
-
duration: float
|
|
706
|
-
units: TrialPeriodUnits
|
|
707
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
708
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
709
|
-
alias="trialEndBehavior", default=None
|
|
720
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
721
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
710
722
|
)
|
|
711
723
|
|
|
712
724
|
|
|
713
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
714
|
-
limit: float
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
class CustomerResourceFragment(BaseModel):
|
|
718
|
-
resource_id: str = Field(alias="resourceId")
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
722
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
723
|
-
|
|
724
|
-
|
|
725
725
|
class SubscriptionFragment(BaseModel):
|
|
726
|
-
id:
|
|
726
|
+
id: Any
|
|
727
727
|
subscription_id: str = Field(alias="subscriptionId")
|
|
728
728
|
paying_customer: Optional["SubscriptionFragmentPayingCustomer"] = Field(
|
|
729
729
|
alias="payingCustomer", default=None
|
|
@@ -1260,16 +1260,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1260
1260
|
pass
|
|
1261
1261
|
|
|
1262
1262
|
|
|
1263
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1264
|
-
display_name: str = Field(alias="displayName")
|
|
1265
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1266
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1267
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1268
|
-
period: PromotionalEntitlementPeriod
|
|
1269
|
-
start_date: Any = Field(alias="startDate")
|
|
1270
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1271
|
-
|
|
1272
|
-
|
|
1273
1263
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1274
1264
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1275
1265
|
alias="subscriptionScheduleType"
|
|
@@ -1569,6 +1559,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1569
1559
|
pass
|
|
1570
1560
|
|
|
1571
1561
|
|
|
1562
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1563
|
+
display_name: str = Field(alias="displayName")
|
|
1564
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1565
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1566
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1567
|
+
period: PromotionalEntitlementPeriod
|
|
1568
|
+
start_date: Any = Field(alias="startDate")
|
|
1569
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1570
|
+
|
|
1571
|
+
|
|
1572
1572
|
class CustomerPortalFragment(BaseModel):
|
|
1573
1573
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1574
1574
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1796,6 +1796,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1796
1796
|
description: Optional[str] = Field(default=None)
|
|
1797
1797
|
|
|
1798
1798
|
|
|
1799
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1800
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1801
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1802
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1803
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1804
|
+
alias="resetPeriod", default=None
|
|
1805
|
+
)
|
|
1806
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1807
|
+
alias="hiddenFromWidgets", default=None
|
|
1808
|
+
)
|
|
1809
|
+
display_name_override: Optional[str] = Field(
|
|
1810
|
+
alias="displayNameOverride", default=None
|
|
1811
|
+
)
|
|
1812
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1813
|
+
default=None
|
|
1814
|
+
)
|
|
1815
|
+
|
|
1816
|
+
|
|
1817
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1818
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1819
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1820
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1821
|
+
feature_units_plural: Optional[str] = Field(
|
|
1822
|
+
alias="featureUnitsPlural", default=None
|
|
1823
|
+
)
|
|
1824
|
+
display_name: str = Field(alias="displayName")
|
|
1825
|
+
description: Optional[str] = Field(default=None)
|
|
1826
|
+
ref_id: str = Field(alias="refId")
|
|
1827
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1828
|
+
alias="additionalMetaData", default=None
|
|
1829
|
+
)
|
|
1830
|
+
|
|
1831
|
+
|
|
1799
1832
|
class MockPaywallPriceFragment(BaseModel):
|
|
1800
1833
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1801
1834
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1830,39 +1863,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1830
1863
|
display_name: str = Field(alias="displayName")
|
|
1831
1864
|
|
|
1832
1865
|
|
|
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
1866
|
class MockPaywallAddonFragment(BaseModel):
|
|
1867
1867
|
ref_id: str = Field(alias="refId")
|
|
1868
1868
|
display_name: str = Field(alias="displayName")
|
|
@@ -2113,7 +2113,7 @@ class PaywallFragmentPaywallCalculatedPricePoints(PaywallCalculatedPricePointsFr
|
|
|
2113
2113
|
|
|
2114
2114
|
|
|
2115
2115
|
class SlimSubscriptionFragment(BaseModel):
|
|
2116
|
-
id:
|
|
2116
|
+
id: Any
|
|
2117
2117
|
subscription_id: str = Field(alias="subscriptionId")
|
|
2118
2118
|
ref_id: str = Field(alias="refId")
|
|
2119
2119
|
status: SubscriptionStatus
|
|
@@ -2834,21 +2834,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2834
2834
|
|
|
2835
2835
|
|
|
2836
2836
|
AddonDependencyFragment.model_rebuild()
|
|
2837
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2838
2837
|
PriceTierFragment.model_rebuild()
|
|
2839
|
-
PriceFragment.model_rebuild()
|
|
2840
2838
|
OveragePriceFragment.model_rebuild()
|
|
2839
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2840
|
+
PriceFragment.model_rebuild()
|
|
2841
2841
|
AddonFragment.model_rebuild()
|
|
2842
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2843
|
+
CustomerResourceFragment.model_rebuild()
|
|
2842
2844
|
TotalPriceFragment.model_rebuild()
|
|
2843
|
-
SlimCustomerFragment.model_rebuild()
|
|
2844
2845
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2845
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2846
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2847
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2848
2846
|
ProductFragment.model_rebuild()
|
|
2847
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2849
2848
|
PlanFragment.model_rebuild()
|
|
2850
|
-
|
|
2851
|
-
|
|
2849
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2850
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2851
|
+
SlimCustomerFragment.model_rebuild()
|
|
2852
2852
|
SubscriptionFragment.model_rebuild()
|
|
2853
2853
|
FeatureFragment.model_rebuild()
|
|
2854
2854
|
EntitlementFragment.model_rebuild()
|
|
@@ -2863,11 +2863,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2863
2863
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2866
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2867
2866
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2868
2867
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2869
2868
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2870
2869
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2870
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalFragment.model_rebuild()
|
|
2872
2872
|
CustomerStatisticsFragment.model_rebuild()
|
|
2873
2873
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2877,8 +2877,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2877
2877
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2878
2878
|
LayoutConfigurationFragment.model_rebuild()
|
|
2879
2879
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2880
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2881
2880
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2881
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2882
2882
|
MockPaywallAddonFragment.model_rebuild()
|
|
2883
2883
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2884
2884
|
MockPaywallPlanFragment.model_rebuild()
|