stigg-api-client-v2 3.100.0__py3-none-any.whl → 3.105.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/__init__.py +14 -4
- stigg/generated/async_client.py +67 -15
- stigg/generated/client.py +67 -15
- stigg/generated/enums.py +14 -7
- stigg/generated/fragments.py +310 -270
- stigg/generated/input_types.py +2 -1
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.105.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.105.0.dist-info}/RECORD +10 -10
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.105.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.100.0.dist-info → stigg_api_client_v2-3.105.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -62,6 +62,41 @@ class AddonDependencyFragment(BaseModel):
|
|
|
62
62
|
description: Optional[str] = Field(default=None)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
class PackageEntitlementFragment(BaseModel):
|
|
66
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
67
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
68
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
69
|
+
feature_id: str = Field(alias="featureId")
|
|
70
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
71
|
+
alias="resetPeriod", default=None
|
|
72
|
+
)
|
|
73
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
74
|
+
alias="hiddenFromWidgets", default=None
|
|
75
|
+
)
|
|
76
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
77
|
+
display_name_override: Optional[str] = Field(
|
|
78
|
+
alias="displayNameOverride", default=None
|
|
79
|
+
)
|
|
80
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
81
|
+
is_granted: bool = Field(alias="isGranted")
|
|
82
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
86
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
87
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
88
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
89
|
+
feature_units_plural: Optional[str] = Field(
|
|
90
|
+
alias="featureUnitsPlural", default=None
|
|
91
|
+
)
|
|
92
|
+
display_name: str = Field(alias="displayName")
|
|
93
|
+
description: Optional[str] = Field(default=None)
|
|
94
|
+
ref_id: str = Field(alias="refId")
|
|
95
|
+
additional_meta_data: Optional[Any] = Field(
|
|
96
|
+
alias="additionalMetaData", default=None
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
|
|
65
100
|
class PriceTierFragment(BaseModel):
|
|
66
101
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
67
102
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -109,7 +144,8 @@ class PriceFragmentPrice(BaseModel):
|
|
|
109
144
|
|
|
110
145
|
class PriceFragmentCreditRate(BaseModel):
|
|
111
146
|
amount: float
|
|
112
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
147
|
+
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
148
|
+
currency_id: str = Field(alias="currencyId")
|
|
113
149
|
|
|
114
150
|
|
|
115
151
|
class PriceFragmentTiers(PriceTierFragment):
|
|
@@ -158,41 +194,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
158
194
|
description: Optional[str] = Field(default=None)
|
|
159
195
|
|
|
160
196
|
|
|
161
|
-
class PackageEntitlementFragment(BaseModel):
|
|
162
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
163
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
164
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
165
|
-
feature_id: str = Field(alias="featureId")
|
|
166
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
167
|
-
alias="resetPeriod", default=None
|
|
168
|
-
)
|
|
169
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
170
|
-
alias="hiddenFromWidgets", default=None
|
|
171
|
-
)
|
|
172
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
173
|
-
display_name_override: Optional[str] = Field(
|
|
174
|
-
alias="displayNameOverride", default=None
|
|
175
|
-
)
|
|
176
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
177
|
-
is_granted: bool = Field(alias="isGranted")
|
|
178
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
182
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
183
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
184
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
185
|
-
feature_units_plural: Optional[str] = Field(
|
|
186
|
-
alias="featureUnitsPlural", default=None
|
|
187
|
-
)
|
|
188
|
-
display_name: str = Field(alias="displayName")
|
|
189
|
-
description: Optional[str] = Field(default=None)
|
|
190
|
-
ref_id: str = Field(alias="refId")
|
|
191
|
-
additional_meta_data: Optional[Any] = Field(
|
|
192
|
-
alias="additionalMetaData", default=None
|
|
193
|
-
)
|
|
194
|
-
|
|
195
|
-
|
|
196
197
|
class AddonFragment(BaseModel):
|
|
197
198
|
id: Any
|
|
198
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -231,89 +232,25 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
231
232
|
pass
|
|
232
233
|
|
|
233
234
|
|
|
234
|
-
class
|
|
235
|
-
typename__: str = Field(alias="__typename")
|
|
236
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
237
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
238
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
239
|
-
feature_units_plural: Optional[str] = Field(
|
|
240
|
-
alias="featureUnitsPlural", default=None
|
|
241
|
-
)
|
|
242
|
-
description: Optional[str] = Field(default=None)
|
|
243
|
-
display_name: str = Field(alias="displayName")
|
|
235
|
+
class ProductFragment(BaseModel):
|
|
244
236
|
ref_id: str = Field(alias="refId")
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
251
|
-
divide: float
|
|
252
|
-
round: UnitTransformationRound
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
class EntitlementFragment(BaseModel):
|
|
256
|
-
typename__: str = Field(alias="__typename")
|
|
257
|
-
is_granted: bool = Field(alias="isGranted")
|
|
258
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
259
|
-
alias="accessDeniedReason", default=None
|
|
260
|
-
)
|
|
261
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
262
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
263
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
264
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
265
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
266
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
267
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
268
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
269
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
270
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
271
|
-
alias="entitlementUpdatedAt", default=None
|
|
272
|
-
)
|
|
273
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
274
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
275
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
276
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
277
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
278
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
279
|
-
alias="resetPeriod", default=None
|
|
280
|
-
)
|
|
281
|
-
reset_period_configuration: Optional[
|
|
282
|
-
Annotated[
|
|
283
|
-
Union[
|
|
284
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
285
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
286
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
287
|
-
],
|
|
288
|
-
Field(discriminator="typename__"),
|
|
289
|
-
]
|
|
290
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
291
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
295
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
296
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
297
|
-
alias="monthlyAccordingTo", default=None
|
|
298
|
-
)
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
302
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
303
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
304
|
-
alias="weeklyAccordingTo", default=None
|
|
237
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
238
|
+
description: Optional[str] = Field(default=None)
|
|
239
|
+
additional_meta_data: Optional[Any] = Field(
|
|
240
|
+
alias="additionalMetaData", default=None
|
|
305
241
|
)
|
|
242
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
306
243
|
|
|
307
244
|
|
|
308
|
-
class
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
alias="yearlyAccordingTo", default=None
|
|
245
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
246
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
247
|
+
alias="downgradePlan", default=None
|
|
312
248
|
)
|
|
313
249
|
|
|
314
250
|
|
|
315
|
-
class
|
|
316
|
-
|
|
251
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
252
|
+
ref_id: str = Field(alias="refId")
|
|
253
|
+
display_name: str = Field(alias="displayName")
|
|
317
254
|
|
|
318
255
|
|
|
319
256
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -334,27 +271,6 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
334
271
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
335
272
|
|
|
336
273
|
|
|
337
|
-
class ProductFragment(BaseModel):
|
|
338
|
-
ref_id: str = Field(alias="refId")
|
|
339
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
340
|
-
description: Optional[str] = Field(default=None)
|
|
341
|
-
additional_meta_data: Optional[Any] = Field(
|
|
342
|
-
alias="additionalMetaData", default=None
|
|
343
|
-
)
|
|
344
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
348
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
349
|
-
alias="downgradePlan", default=None
|
|
350
|
-
)
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
354
|
-
ref_id: str = Field(alias="refId")
|
|
355
|
-
display_name: str = Field(alias="displayName")
|
|
356
|
-
|
|
357
|
-
|
|
358
274
|
class PlanFragment(BaseModel):
|
|
359
275
|
id: Any
|
|
360
276
|
ref_id: str = Field(alias="refId")
|
|
@@ -436,49 +352,45 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
436
352
|
limit: float
|
|
437
353
|
|
|
438
354
|
|
|
439
|
-
class
|
|
440
|
-
resource_id: str = Field(alias="resourceId")
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
355
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
444
356
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
445
357
|
alias="subscriptionScheduleType"
|
|
446
358
|
)
|
|
447
359
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
448
360
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
449
|
-
target_package: Optional["
|
|
361
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
450
362
|
alias="targetPackage", default=None
|
|
451
363
|
)
|
|
452
364
|
schedule_variables: Optional[
|
|
453
365
|
Annotated[
|
|
454
366
|
Union[
|
|
455
|
-
"
|
|
456
|
-
"
|
|
457
|
-
"
|
|
458
|
-
"
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
367
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
368
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
369
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
370
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
371
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
372
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
373
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
374
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
463
375
|
],
|
|
464
376
|
Field(discriminator="typename__"),
|
|
465
377
|
]
|
|
466
378
|
] = Field(alias="scheduleVariables", default=None)
|
|
467
379
|
|
|
468
380
|
|
|
469
|
-
class
|
|
381
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
470
382
|
id: Any
|
|
471
383
|
ref_id: str = Field(alias="refId")
|
|
472
384
|
display_name: str = Field(alias="displayName")
|
|
473
385
|
|
|
474
386
|
|
|
475
|
-
class
|
|
387
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
476
388
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
477
389
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
478
390
|
new_quantity: float = Field(alias="newQuantity")
|
|
479
391
|
|
|
480
392
|
|
|
481
|
-
class
|
|
393
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
482
394
|
BaseModel
|
|
483
395
|
):
|
|
484
396
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -486,55 +398,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
486
398
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
487
399
|
|
|
488
400
|
|
|
489
|
-
class
|
|
401
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
490
402
|
BaseModel
|
|
491
403
|
):
|
|
492
404
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
493
405
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
494
406
|
|
|
495
407
|
|
|
496
|
-
class
|
|
408
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
497
409
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
498
410
|
|
|
499
411
|
|
|
500
|
-
class
|
|
501
|
-
BaseModel
|
|
502
|
-
):
|
|
412
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
503
413
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
504
414
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
505
415
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
506
416
|
billable_features: Optional[
|
|
507
417
|
List[
|
|
508
|
-
"
|
|
418
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
509
419
|
]
|
|
510
420
|
] = Field(alias="billableFeatures", default=None)
|
|
511
421
|
addons: Optional[
|
|
512
422
|
List[
|
|
513
|
-
"
|
|
423
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
514
424
|
]
|
|
515
425
|
] = Field(default=None)
|
|
516
426
|
price_overrides: Optional[
|
|
517
427
|
List[
|
|
518
|
-
"
|
|
428
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
519
429
|
]
|
|
520
430
|
] = Field(alias="priceOverrides", default=None)
|
|
521
431
|
|
|
522
432
|
|
|
523
|
-
class
|
|
433
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
524
434
|
BaseModel
|
|
525
435
|
):
|
|
526
436
|
feature_id: str = Field(alias="featureId")
|
|
527
437
|
quantity: float
|
|
528
438
|
|
|
529
439
|
|
|
530
|
-
class
|
|
440
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
531
441
|
BaseModel
|
|
532
442
|
):
|
|
533
443
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
534
444
|
quantity: float
|
|
535
445
|
|
|
536
446
|
|
|
537
|
-
class
|
|
447
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
538
448
|
BaseModel
|
|
539
449
|
):
|
|
540
450
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -542,43 +452,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
542
452
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
543
453
|
|
|
544
454
|
|
|
545
|
-
class
|
|
455
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
546
456
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
547
457
|
plan_ref_id: str = Field(alias="planRefId")
|
|
548
458
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
549
459
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
550
460
|
billable_features: Optional[
|
|
551
461
|
List[
|
|
552
|
-
"
|
|
462
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
553
463
|
]
|
|
554
464
|
] = Field(alias="billableFeatures", default=None)
|
|
555
465
|
addons: Optional[
|
|
556
|
-
List[
|
|
557
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
558
|
-
]
|
|
466
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
559
467
|
] = Field(default=None)
|
|
560
468
|
price_overrides: Optional[
|
|
561
469
|
List[
|
|
562
|
-
"
|
|
470
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
563
471
|
]
|
|
564
472
|
] = Field(alias="priceOverrides", default=None)
|
|
565
473
|
|
|
566
474
|
|
|
567
|
-
class
|
|
475
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
568
476
|
BaseModel
|
|
569
477
|
):
|
|
570
478
|
feature_id: str = Field(alias="featureId")
|
|
571
479
|
quantity: float
|
|
572
480
|
|
|
573
481
|
|
|
574
|
-
class
|
|
575
|
-
BaseModel
|
|
576
|
-
):
|
|
482
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
577
483
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
578
484
|
quantity: float
|
|
579
485
|
|
|
580
486
|
|
|
581
|
-
class
|
|
487
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
582
488
|
BaseModel
|
|
583
489
|
):
|
|
584
490
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -586,7 +492,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
586
492
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
587
493
|
|
|
588
494
|
|
|
589
|
-
class
|
|
495
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
590
496
|
BaseModel
|
|
591
497
|
):
|
|
592
498
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -594,9 +500,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
594
500
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
595
501
|
|
|
596
502
|
|
|
597
|
-
class
|
|
598
|
-
BaseModel
|
|
599
|
-
):
|
|
503
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
600
504
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
601
505
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
602
506
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
@@ -621,6 +525,23 @@ class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
|
621
525
|
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
622
526
|
|
|
623
527
|
|
|
528
|
+
class SlimCustomerFragment(BaseModel):
|
|
529
|
+
id: Any
|
|
530
|
+
name: Optional[str] = Field(default=None)
|
|
531
|
+
email: Optional[str] = Field(default=None)
|
|
532
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
533
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
534
|
+
ref_id: str = Field(alias="refId")
|
|
535
|
+
customer_id: str = Field(alias="customerId")
|
|
536
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
537
|
+
additional_meta_data: Optional[Any] = Field(
|
|
538
|
+
alias="additionalMetaData", default=None
|
|
539
|
+
)
|
|
540
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
541
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
542
|
+
)
|
|
543
|
+
|
|
544
|
+
|
|
624
545
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
625
546
|
billing_id: str = Field(alias="billingId")
|
|
626
547
|
status: SubscriptionInvoiceStatus
|
|
@@ -649,45 +570,49 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
649
570
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
650
571
|
|
|
651
572
|
|
|
652
|
-
class
|
|
573
|
+
class CustomerResourceFragment(BaseModel):
|
|
574
|
+
resource_id: str = Field(alias="resourceId")
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
653
578
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
654
579
|
alias="subscriptionScheduleType"
|
|
655
580
|
)
|
|
656
581
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
657
582
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
658
|
-
target_package: Optional["
|
|
583
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
659
584
|
alias="targetPackage", default=None
|
|
660
585
|
)
|
|
661
586
|
schedule_variables: Optional[
|
|
662
587
|
Annotated[
|
|
663
588
|
Union[
|
|
664
|
-
"
|
|
665
|
-
"
|
|
666
|
-
"
|
|
667
|
-
"
|
|
668
|
-
"
|
|
669
|
-
"
|
|
670
|
-
"
|
|
671
|
-
"
|
|
589
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
590
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
591
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
592
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
593
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
594
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
595
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
596
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
672
597
|
],
|
|
673
598
|
Field(discriminator="typename__"),
|
|
674
599
|
]
|
|
675
600
|
] = Field(alias="scheduleVariables", default=None)
|
|
676
601
|
|
|
677
602
|
|
|
678
|
-
class
|
|
603
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
679
604
|
id: Any
|
|
680
605
|
ref_id: str = Field(alias="refId")
|
|
681
606
|
display_name: str = Field(alias="displayName")
|
|
682
607
|
|
|
683
608
|
|
|
684
|
-
class
|
|
609
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
685
610
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
686
611
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
687
612
|
new_quantity: float = Field(alias="newQuantity")
|
|
688
613
|
|
|
689
614
|
|
|
690
|
-
class
|
|
615
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
691
616
|
BaseModel
|
|
692
617
|
):
|
|
693
618
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -695,53 +620,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
695
620
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
696
621
|
|
|
697
622
|
|
|
698
|
-
class
|
|
623
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
699
624
|
BaseModel
|
|
700
625
|
):
|
|
701
626
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
702
627
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
703
628
|
|
|
704
629
|
|
|
705
|
-
class
|
|
630
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
706
631
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
707
632
|
|
|
708
633
|
|
|
709
|
-
class
|
|
634
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
635
|
+
BaseModel
|
|
636
|
+
):
|
|
710
637
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
711
638
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
712
639
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
713
640
|
billable_features: Optional[
|
|
714
641
|
List[
|
|
715
|
-
"
|
|
642
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
716
643
|
]
|
|
717
644
|
] = Field(alias="billableFeatures", default=None)
|
|
718
645
|
addons: Optional[
|
|
719
646
|
List[
|
|
720
|
-
"
|
|
647
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
721
648
|
]
|
|
722
649
|
] = Field(default=None)
|
|
723
650
|
price_overrides: Optional[
|
|
724
651
|
List[
|
|
725
|
-
"
|
|
652
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
726
653
|
]
|
|
727
654
|
] = Field(alias="priceOverrides", default=None)
|
|
728
655
|
|
|
729
656
|
|
|
730
|
-
class
|
|
657
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
731
658
|
BaseModel
|
|
732
659
|
):
|
|
733
660
|
feature_id: str = Field(alias="featureId")
|
|
734
661
|
quantity: float
|
|
735
662
|
|
|
736
663
|
|
|
737
|
-
class
|
|
664
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
738
665
|
BaseModel
|
|
739
666
|
):
|
|
740
667
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
741
668
|
quantity: float
|
|
742
669
|
|
|
743
670
|
|
|
744
|
-
class
|
|
671
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
745
672
|
BaseModel
|
|
746
673
|
):
|
|
747
674
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -749,39 +676,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
749
676
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
750
677
|
|
|
751
678
|
|
|
752
|
-
class
|
|
679
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
753
680
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
754
681
|
plan_ref_id: str = Field(alias="planRefId")
|
|
755
682
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
756
683
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
757
684
|
billable_features: Optional[
|
|
758
685
|
List[
|
|
759
|
-
"
|
|
686
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
760
687
|
]
|
|
761
688
|
] = Field(alias="billableFeatures", default=None)
|
|
762
689
|
addons: Optional[
|
|
763
|
-
List[
|
|
690
|
+
List[
|
|
691
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
692
|
+
]
|
|
764
693
|
] = Field(default=None)
|
|
765
694
|
price_overrides: Optional[
|
|
766
695
|
List[
|
|
767
|
-
"
|
|
696
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
768
697
|
]
|
|
769
698
|
] = Field(alias="priceOverrides", default=None)
|
|
770
699
|
|
|
771
700
|
|
|
772
|
-
class
|
|
701
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
773
702
|
BaseModel
|
|
774
703
|
):
|
|
775
704
|
feature_id: str = Field(alias="featureId")
|
|
776
705
|
quantity: float
|
|
777
706
|
|
|
778
707
|
|
|
779
|
-
class
|
|
708
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
709
|
+
BaseModel
|
|
710
|
+
):
|
|
780
711
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
781
712
|
quantity: float
|
|
782
713
|
|
|
783
714
|
|
|
784
|
-
class
|
|
715
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
785
716
|
BaseModel
|
|
786
717
|
):
|
|
787
718
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -789,7 +720,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
789
720
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
790
721
|
|
|
791
722
|
|
|
792
|
-
class
|
|
723
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
793
724
|
BaseModel
|
|
794
725
|
):
|
|
795
726
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -797,29 +728,14 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
797
728
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
798
729
|
|
|
799
730
|
|
|
800
|
-
class
|
|
731
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
732
|
+
BaseModel
|
|
733
|
+
):
|
|
801
734
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
802
735
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
803
736
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
804
737
|
|
|
805
738
|
|
|
806
|
-
class SlimCustomerFragment(BaseModel):
|
|
807
|
-
id: Any
|
|
808
|
-
name: Optional[str] = Field(default=None)
|
|
809
|
-
email: Optional[str] = Field(default=None)
|
|
810
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
811
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
812
|
-
ref_id: str = Field(alias="refId")
|
|
813
|
-
customer_id: str = Field(alias="customerId")
|
|
814
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
815
|
-
additional_meta_data: Optional[Any] = Field(
|
|
816
|
-
alias="additionalMetaData", default=None
|
|
817
|
-
)
|
|
818
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
819
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
820
|
-
)
|
|
821
|
-
|
|
822
|
-
|
|
823
739
|
class SubscriptionFragment(BaseModel):
|
|
824
740
|
id: Any
|
|
825
741
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -929,6 +845,100 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
929
845
|
pass
|
|
930
846
|
|
|
931
847
|
|
|
848
|
+
class FeatureFragment(BaseModel):
|
|
849
|
+
typename__: str = Field(alias="__typename")
|
|
850
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
851
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
852
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
853
|
+
feature_units_plural: Optional[str] = Field(
|
|
854
|
+
alias="featureUnitsPlural", default=None
|
|
855
|
+
)
|
|
856
|
+
description: Optional[str] = Field(default=None)
|
|
857
|
+
display_name: str = Field(alias="displayName")
|
|
858
|
+
ref_id: str = Field(alias="refId")
|
|
859
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
860
|
+
alias="unitTransformation", default=None
|
|
861
|
+
)
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
865
|
+
divide: float
|
|
866
|
+
round: UnitTransformationRound
|
|
867
|
+
|
|
868
|
+
|
|
869
|
+
class EntitlementFragment(BaseModel):
|
|
870
|
+
typename__: str = Field(alias="__typename")
|
|
871
|
+
is_granted: bool = Field(alias="isGranted")
|
|
872
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
873
|
+
alias="accessDeniedReason", default=None
|
|
874
|
+
)
|
|
875
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
876
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
877
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
878
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
879
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
880
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
881
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
882
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
883
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
884
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
885
|
+
alias="entitlementUpdatedAt", default=None
|
|
886
|
+
)
|
|
887
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
888
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
889
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
890
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
891
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
892
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
893
|
+
alias="resetPeriod", default=None
|
|
894
|
+
)
|
|
895
|
+
reset_period_configuration: Optional[
|
|
896
|
+
Annotated[
|
|
897
|
+
Union[
|
|
898
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
899
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
900
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
901
|
+
],
|
|
902
|
+
Field(discriminator="typename__"),
|
|
903
|
+
]
|
|
904
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
905
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
906
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
907
|
+
alias="creditRate", default=None
|
|
908
|
+
)
|
|
909
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
910
|
+
|
|
911
|
+
|
|
912
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
913
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
915
|
+
alias="monthlyAccordingTo", default=None
|
|
916
|
+
)
|
|
917
|
+
|
|
918
|
+
|
|
919
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
920
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
922
|
+
alias="weeklyAccordingTo", default=None
|
|
923
|
+
)
|
|
924
|
+
|
|
925
|
+
|
|
926
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
927
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
928
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
929
|
+
alias="yearlyAccordingTo", default=None
|
|
930
|
+
)
|
|
931
|
+
|
|
932
|
+
|
|
933
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
934
|
+
pass
|
|
935
|
+
|
|
936
|
+
|
|
937
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
938
|
+
amount: float
|
|
939
|
+
currency_id: str = Field(alias="currencyId")
|
|
940
|
+
|
|
941
|
+
|
|
932
942
|
class ApplySubscriptionFragment(BaseModel):
|
|
933
943
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
934
944
|
default=None
|
|
@@ -1006,6 +1016,10 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1006
1016
|
)
|
|
1007
1017
|
|
|
1008
1018
|
|
|
1019
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1021
|
+
|
|
1022
|
+
|
|
1009
1023
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1010
1024
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1011
1025
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1133,10 +1147,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1133
1147
|
pass
|
|
1134
1148
|
|
|
1135
1149
|
|
|
1136
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1137
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1138
|
-
|
|
1139
|
-
|
|
1140
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1141
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1142
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1197,6 +1207,51 @@ class CheckoutStateFragmentBillingIntegrationCredentials(BaseModel):
|
|
|
1197
1207
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1198
1208
|
|
|
1199
1209
|
|
|
1210
|
+
class CreditBalanceFragment(BaseModel):
|
|
1211
|
+
customer_id: str = Field(alias="customerId")
|
|
1212
|
+
currency: "CreditBalanceFragmentCurrency"
|
|
1213
|
+
current_balance: float = Field(alias="currentBalance")
|
|
1214
|
+
total_consumed: float = Field(alias="totalConsumed")
|
|
1215
|
+
total_granted: float = Field(alias="totalGranted")
|
|
1216
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
1217
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
class CreditBalanceFragmentCurrency(BaseModel):
|
|
1221
|
+
currency_id: str = Field(alias="currencyId")
|
|
1222
|
+
display_name: str = Field(alias="displayName")
|
|
1223
|
+
symbol: Optional[str] = Field(default=None)
|
|
1224
|
+
units: Optional["CreditBalanceFragmentCurrencyUnits"] = Field(default=None)
|
|
1225
|
+
|
|
1226
|
+
|
|
1227
|
+
class CreditBalanceFragmentCurrencyUnits(BaseModel):
|
|
1228
|
+
singular: str
|
|
1229
|
+
plural: str
|
|
1230
|
+
|
|
1231
|
+
|
|
1232
|
+
class CreditBalanceUpdatedPayload(BaseModel):
|
|
1233
|
+
currency: "CreditBalanceUpdatedPayloadCurrency"
|
|
1234
|
+
currency_id: str = Field(alias="currencyId")
|
|
1235
|
+
current_balance: float = Field(alias="currentBalance")
|
|
1236
|
+
customer_id: str = Field(alias="customerId")
|
|
1237
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
1238
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
1239
|
+
total_consumed: float = Field(alias="totalConsumed")
|
|
1240
|
+
total_granted: float = Field(alias="totalGranted")
|
|
1241
|
+
|
|
1242
|
+
|
|
1243
|
+
class CreditBalanceUpdatedPayloadCurrency(BaseModel):
|
|
1244
|
+
currency_id: str = Field(alias="currencyId")
|
|
1245
|
+
display_name: str = Field(alias="displayName")
|
|
1246
|
+
symbol: Optional[str] = Field(default=None)
|
|
1247
|
+
units: Optional["CreditBalanceUpdatedPayloadCurrencyUnits"] = Field(default=None)
|
|
1248
|
+
|
|
1249
|
+
|
|
1250
|
+
class CreditBalanceUpdatedPayloadCurrencyUnits(BaseModel):
|
|
1251
|
+
singular: str
|
|
1252
|
+
plural: str
|
|
1253
|
+
|
|
1254
|
+
|
|
1200
1255
|
class CreditGrantFragment(BaseModel):
|
|
1201
1256
|
grant_id: str = Field(alias="grantId")
|
|
1202
1257
|
amount: float
|
|
@@ -1272,25 +1327,8 @@ class CreditsBalanceSummaryFragment(BaseModel):
|
|
|
1272
1327
|
balances: List["CreditsBalanceSummaryFragmentBalances"]
|
|
1273
1328
|
|
|
1274
1329
|
|
|
1275
|
-
class CreditsBalanceSummaryFragmentBalances(
|
|
1276
|
-
|
|
1277
|
-
current_balance: float = Field(alias="currentBalance")
|
|
1278
|
-
total_consumed: float = Field(alias="totalConsumed")
|
|
1279
|
-
total_granted: float = Field(alias="totalGranted")
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
class CreditsBalanceSummaryFragmentBalancesCurrency(BaseModel):
|
|
1283
|
-
currency_id: str = Field(alias="currencyId")
|
|
1284
|
-
display_name: str = Field(alias="displayName")
|
|
1285
|
-
symbol: Optional[str] = Field(default=None)
|
|
1286
|
-
units: Optional["CreditsBalanceSummaryFragmentBalancesCurrencyUnits"] = Field(
|
|
1287
|
-
default=None
|
|
1288
|
-
)
|
|
1289
|
-
|
|
1290
|
-
|
|
1291
|
-
class CreditsBalanceSummaryFragmentBalancesCurrencyUnits(BaseModel):
|
|
1292
|
-
singular: str
|
|
1293
|
-
plural: str
|
|
1330
|
+
class CreditsBalanceSummaryFragmentBalances(CreditBalanceFragment):
|
|
1331
|
+
pass
|
|
1294
1332
|
|
|
1295
1333
|
|
|
1296
1334
|
class CustomerPortalBillingInformationFragment(BaseModel):
|
|
@@ -1397,6 +1435,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1397
1435
|
pass
|
|
1398
1436
|
|
|
1399
1437
|
|
|
1438
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
+
display_name: str = Field(alias="displayName")
|
|
1440
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
+
period: PromotionalEntitlementPeriod
|
|
1444
|
+
start_date: Any = Field(alias="startDate")
|
|
1445
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
+
|
|
1447
|
+
|
|
1400
1448
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1401
1449
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1402
1450
|
alias="subscriptionScheduleType"
|
|
@@ -1595,7 +1643,7 @@ class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
|
1595
1643
|
|
|
1596
1644
|
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1597
1645
|
amount: float
|
|
1598
|
-
|
|
1646
|
+
currency_id: str = Field(alias="currencyId")
|
|
1599
1647
|
|
|
1600
1648
|
|
|
1601
1649
|
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
@@ -1661,7 +1709,7 @@ class CustomerPortalSubscriptionFragmentPricingPrice(BaseModel):
|
|
|
1661
1709
|
|
|
1662
1710
|
class CustomerPortalSubscriptionFragmentPricingCreditRate(BaseModel):
|
|
1663
1711
|
amount: float
|
|
1664
|
-
|
|
1712
|
+
currency_id: str = Field(alias="currencyId")
|
|
1665
1713
|
|
|
1666
1714
|
|
|
1667
1715
|
class CustomerPortalSubscriptionFragmentPricingFeature(BaseModel):
|
|
@@ -1712,16 +1760,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1712
1760
|
pass
|
|
1713
1761
|
|
|
1714
1762
|
|
|
1715
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1716
|
-
display_name: str = Field(alias="displayName")
|
|
1717
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1718
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1719
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1720
|
-
period: PromotionalEntitlementPeriod
|
|
1721
|
-
start_date: Any = Field(alias="startDate")
|
|
1722
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1723
|
-
|
|
1724
|
-
|
|
1725
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1726
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1727
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1975,7 +2013,7 @@ class MockPaywallPriceFragmentPrice(BaseModel):
|
|
|
1975
2013
|
|
|
1976
2014
|
class MockPaywallPriceFragmentCreditRate(BaseModel):
|
|
1977
2015
|
amount: float
|
|
1978
|
-
|
|
2016
|
+
currency_id: str = Field(alias="currencyId")
|
|
1979
2017
|
|
|
1980
2018
|
|
|
1981
2019
|
class MockPaywallPriceFragmentTiers(PriceTierFragment):
|
|
@@ -3003,34 +3041,36 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3003
3041
|
|
|
3004
3042
|
|
|
3005
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
|
+
PackageEntitlementFragment.model_rebuild()
|
|
3006
3045
|
PriceTierFragment.model_rebuild()
|
|
3007
3046
|
PriceFragment.model_rebuild()
|
|
3008
3047
|
OveragePriceFragment.model_rebuild()
|
|
3009
|
-
PackageEntitlementFragment.model_rebuild()
|
|
3010
3048
|
AddonFragment.model_rebuild()
|
|
3011
|
-
FeatureFragment.model_rebuild()
|
|
3012
|
-
EntitlementFragment.model_rebuild()
|
|
3013
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3014
3049
|
ProductFragment.model_rebuild()
|
|
3050
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3015
3051
|
PlanFragment.model_rebuild()
|
|
3016
|
-
|
|
3017
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3052
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3018
3053
|
TotalPriceFragment.model_rebuild()
|
|
3019
3054
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3020
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3021
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
3022
3055
|
SlimCustomerFragment.model_rebuild()
|
|
3056
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3057
|
+
CustomerResourceFragment.model_rebuild()
|
|
3058
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3023
3059
|
SubscriptionFragment.model_rebuild()
|
|
3060
|
+
FeatureFragment.model_rebuild()
|
|
3061
|
+
EntitlementFragment.model_rebuild()
|
|
3024
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3025
3063
|
FontVariantFragment.model_rebuild()
|
|
3026
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3027
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3028
3067
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3029
3068
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3030
3069
|
CouponFragment.model_rebuild()
|
|
3031
3070
|
CustomerFragment.model_rebuild()
|
|
3032
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3033
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
|
+
CreditBalanceFragment.model_rebuild()
|
|
3073
|
+
CreditBalanceUpdatedPayload.model_rebuild()
|
|
3034
3074
|
CreditGrantFragment.model_rebuild()
|
|
3035
3075
|
CreditLedgerFragment.model_rebuild()
|
|
3036
3076
|
SlimCustomCurrencyFragment.model_rebuild()
|
|
@@ -3039,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3039
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3040
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3041
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3042
3083
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3043
3084
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3044
3085
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3045
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3046
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3047
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3048
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3049
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|