stigg-api-client-v2 3.68.0__py3-none-any.whl → 3.70.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 +30 -0
- stigg/generated/enums.py +21 -0
- stigg/generated/fragments.py +384 -384
- stigg/generated/input_types.py +152 -0
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.68.0.dist-info → stigg_api_client_v2-3.70.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -61,41 +61,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
class PackageEntitlementFragment(BaseModel):
|
|
65
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
67
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
68
|
-
feature_id: str = Field(alias="featureId")
|
|
69
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
70
|
-
alias="resetPeriod", default=None
|
|
71
|
-
)
|
|
72
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
73
|
-
alias="hiddenFromWidgets", default=None
|
|
74
|
-
)
|
|
75
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
76
|
-
display_name_override: Optional[str] = Field(
|
|
77
|
-
alias="displayNameOverride", default=None
|
|
78
|
-
)
|
|
79
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
80
|
-
is_granted: bool = Field(alias="isGranted")
|
|
81
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
85
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
86
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
87
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
88
|
-
feature_units_plural: Optional[str] = Field(
|
|
89
|
-
alias="featureUnitsPlural", default=None
|
|
90
|
-
)
|
|
91
|
-
display_name: str = Field(alias="displayName")
|
|
92
|
-
description: Optional[str] = Field(default=None)
|
|
93
|
-
ref_id: str = Field(alias="refId")
|
|
94
|
-
additional_meta_data: Optional[Any] = Field(
|
|
95
|
-
alias="additionalMetaData", default=None
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
|
|
99
64
|
class PriceTierFragment(BaseModel):
|
|
100
65
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
101
66
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -148,6 +113,41 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
148
113
|
description: Optional[str] = Field(default=None)
|
|
149
114
|
|
|
150
115
|
|
|
116
|
+
class PackageEntitlementFragment(BaseModel):
|
|
117
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
118
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
119
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
120
|
+
feature_id: str = Field(alias="featureId")
|
|
121
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
122
|
+
alias="resetPeriod", default=None
|
|
123
|
+
)
|
|
124
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
125
|
+
alias="hiddenFromWidgets", default=None
|
|
126
|
+
)
|
|
127
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
128
|
+
display_name_override: Optional[str] = Field(
|
|
129
|
+
alias="displayNameOverride", default=None
|
|
130
|
+
)
|
|
131
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
132
|
+
is_granted: bool = Field(alias="isGranted")
|
|
133
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
137
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
138
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
139
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
|
+
feature_units_plural: Optional[str] = Field(
|
|
141
|
+
alias="featureUnitsPlural", default=None
|
|
142
|
+
)
|
|
143
|
+
display_name: str = Field(alias="displayName")
|
|
144
|
+
description: Optional[str] = Field(default=None)
|
|
145
|
+
ref_id: str = Field(alias="refId")
|
|
146
|
+
additional_meta_data: Optional[Any] = Field(
|
|
147
|
+
alias="additionalMetaData", default=None
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
|
|
151
151
|
class PriceFragment(BaseModel):
|
|
152
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -230,6 +230,264 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
+
class FeatureFragment(BaseModel):
|
|
234
|
+
typename__: str = Field(alias="__typename")
|
|
235
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
237
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
|
+
feature_units_plural: Optional[str] = Field(
|
|
239
|
+
alias="featureUnitsPlural", default=None
|
|
240
|
+
)
|
|
241
|
+
description: Optional[str] = Field(default=None)
|
|
242
|
+
display_name: str = Field(alias="displayName")
|
|
243
|
+
ref_id: str = Field(alias="refId")
|
|
244
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
+
alias="unitTransformation", default=None
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
+
divide: float
|
|
251
|
+
round: UnitTransformationRound
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class EntitlementFragment(BaseModel):
|
|
255
|
+
typename__: str = Field(alias="__typename")
|
|
256
|
+
is_granted: bool = Field(alias="isGranted")
|
|
257
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
+
alias="accessDeniedReason", default=None
|
|
259
|
+
)
|
|
260
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
+
alias="entitlementUpdatedAt", default=None
|
|
271
|
+
)
|
|
272
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
+
alias="resetPeriod", default=None
|
|
279
|
+
)
|
|
280
|
+
reset_period_configuration: Optional[
|
|
281
|
+
Annotated[
|
|
282
|
+
Union[
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
+
],
|
|
287
|
+
Field(discriminator="typename__"),
|
|
288
|
+
]
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
319
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
class SlimCustomerFragment(BaseModel):
|
|
323
|
+
id: Any
|
|
324
|
+
name: Optional[str] = Field(default=None)
|
|
325
|
+
email: Optional[str] = Field(default=None)
|
|
326
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
327
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
328
|
+
ref_id: str = Field(alias="refId")
|
|
329
|
+
customer_id: str = Field(alias="customerId")
|
|
330
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
331
|
+
additional_meta_data: Optional[Any] = Field(
|
|
332
|
+
alias="additionalMetaData", default=None
|
|
333
|
+
)
|
|
334
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
335
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
336
|
+
)
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class CustomerResourceFragment(BaseModel):
|
|
340
|
+
resource_id: str = Field(alias="resourceId")
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
344
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
345
|
+
display_name: str = Field(alias="displayName")
|
|
346
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
347
|
+
default=None
|
|
348
|
+
)
|
|
349
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
353
|
+
pass
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
357
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
358
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
class ProductFragment(BaseModel):
|
|
362
|
+
ref_id: str = Field(alias="refId")
|
|
363
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
364
|
+
description: Optional[str] = Field(default=None)
|
|
365
|
+
additional_meta_data: Optional[Any] = Field(
|
|
366
|
+
alias="additionalMetaData", default=None
|
|
367
|
+
)
|
|
368
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
372
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
373
|
+
alias="downgradePlan", default=None
|
|
374
|
+
)
|
|
375
|
+
|
|
376
|
+
|
|
377
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
378
|
+
ref_id: str = Field(alias="refId")
|
|
379
|
+
display_name: str = Field(alias="displayName")
|
|
380
|
+
|
|
381
|
+
|
|
382
|
+
class PlanFragment(BaseModel):
|
|
383
|
+
id: Any
|
|
384
|
+
ref_id: str = Field(alias="refId")
|
|
385
|
+
display_name: str = Field(alias="displayName")
|
|
386
|
+
description: Optional[str] = Field(default=None)
|
|
387
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
388
|
+
version_number: int = Field(alias="versionNumber")
|
|
389
|
+
additional_meta_data: Optional[Any] = Field(
|
|
390
|
+
alias="additionalMetaData", default=None
|
|
391
|
+
)
|
|
392
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
393
|
+
alias="hiddenFromWidgets", default=None
|
|
394
|
+
)
|
|
395
|
+
product: "PlanFragmentProduct"
|
|
396
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
397
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
398
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
399
|
+
alias="inheritedEntitlements", default=None
|
|
400
|
+
)
|
|
401
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
402
|
+
alias="compatibleAddons", default=None
|
|
403
|
+
)
|
|
404
|
+
compatible_package_groups: Optional[
|
|
405
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
406
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
407
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
408
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
409
|
+
alias="overagePrices", default=None
|
|
410
|
+
)
|
|
411
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
412
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
413
|
+
alias="defaultTrialConfig", default=None
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class PlanFragmentProduct(ProductFragment):
|
|
418
|
+
pass
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
422
|
+
ref_id: str = Field(alias="refId")
|
|
423
|
+
display_name: str = Field(alias="displayName")
|
|
424
|
+
|
|
425
|
+
|
|
426
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
427
|
+
pass
|
|
428
|
+
|
|
429
|
+
|
|
430
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
431
|
+
pass
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
435
|
+
pass
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
439
|
+
pass
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
class PlanFragmentPrices(PriceFragment):
|
|
443
|
+
pass
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
447
|
+
pass
|
|
448
|
+
|
|
449
|
+
|
|
450
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
451
|
+
duration: float
|
|
452
|
+
units: TrialPeriodUnits
|
|
453
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
454
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
455
|
+
alias="trialEndBehavior", default=None
|
|
456
|
+
)
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
460
|
+
limit: float
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
464
|
+
billing_id: str = Field(alias="billingId")
|
|
465
|
+
status: SubscriptionInvoiceStatus
|
|
466
|
+
created_at: Any = Field(alias="createdAt")
|
|
467
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
468
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
469
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
470
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
471
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
472
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
473
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
474
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
475
|
+
alias="billingReason", default=None
|
|
476
|
+
)
|
|
477
|
+
currency: Optional[str] = Field(default=None)
|
|
478
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
479
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
480
|
+
alias="subTotalExcludingTax", default=None
|
|
481
|
+
)
|
|
482
|
+
total: Optional[float] = Field(default=None)
|
|
483
|
+
total_excluding_tax: Optional[float] = Field(
|
|
484
|
+
alias="totalExcludingTax", default=None
|
|
485
|
+
)
|
|
486
|
+
tax: Optional[float] = Field(default=None)
|
|
487
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
488
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
489
|
+
|
|
490
|
+
|
|
233
491
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
234
492
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
235
493
|
alias="subscriptionScheduleType"
|
|
@@ -392,23 +650,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
392
650
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
393
651
|
|
|
394
652
|
|
|
395
|
-
class SlimCustomerFragment(BaseModel):
|
|
396
|
-
id: Any
|
|
397
|
-
name: Optional[str] = Field(default=None)
|
|
398
|
-
email: Optional[str] = Field(default=None)
|
|
399
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
400
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
401
|
-
ref_id: str = Field(alias="refId")
|
|
402
|
-
customer_id: str = Field(alias="customerId")
|
|
403
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
404
|
-
additional_meta_data: Optional[Any] = Field(
|
|
405
|
-
alias="additionalMetaData", default=None
|
|
406
|
-
)
|
|
407
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
408
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
409
|
-
)
|
|
410
|
-
|
|
411
|
-
|
|
412
653
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
413
654
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
414
655
|
alias="subscriptionScheduleType"
|
|
@@ -563,175 +804,19 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
563
804
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
564
805
|
|
|
565
806
|
|
|
566
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
567
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
568
|
-
|
|
569
|
-
|
|
570
807
|
class TotalPriceFragment(BaseModel):
|
|
571
808
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
572
|
-
total: "TotalPriceFragmentTotal"
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
576
|
-
amount: float
|
|
577
|
-
currency: Currency
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
581
|
-
amount: float
|
|
582
|
-
currency: Currency
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
class ProductFragment(BaseModel):
|
|
586
|
-
ref_id: str = Field(alias="refId")
|
|
587
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
588
|
-
description: Optional[str] = Field(default=None)
|
|
589
|
-
additional_meta_data: Optional[Any] = Field(
|
|
590
|
-
alias="additionalMetaData", default=None
|
|
591
|
-
)
|
|
592
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
596
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
597
|
-
alias="downgradePlan", default=None
|
|
598
|
-
)
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
602
|
-
ref_id: str = Field(alias="refId")
|
|
603
|
-
display_name: str = Field(alias="displayName")
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
607
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
608
|
-
display_name: str = Field(alias="displayName")
|
|
609
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
610
|
-
default=None
|
|
611
|
-
)
|
|
612
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
616
|
-
pass
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
620
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
621
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
class PlanFragment(BaseModel):
|
|
625
|
-
id: Any
|
|
626
|
-
ref_id: str = Field(alias="refId")
|
|
627
|
-
display_name: str = Field(alias="displayName")
|
|
628
|
-
description: Optional[str] = Field(default=None)
|
|
629
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
630
|
-
version_number: int = Field(alias="versionNumber")
|
|
631
|
-
additional_meta_data: Optional[Any] = Field(
|
|
632
|
-
alias="additionalMetaData", default=None
|
|
633
|
-
)
|
|
634
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
635
|
-
alias="hiddenFromWidgets", default=None
|
|
636
|
-
)
|
|
637
|
-
product: "PlanFragmentProduct"
|
|
638
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
639
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
640
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
641
|
-
alias="inheritedEntitlements", default=None
|
|
642
|
-
)
|
|
643
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
644
|
-
alias="compatibleAddons", default=None
|
|
645
|
-
)
|
|
646
|
-
compatible_package_groups: Optional[
|
|
647
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
648
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
649
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
650
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
651
|
-
alias="overagePrices", default=None
|
|
652
|
-
)
|
|
653
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
654
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
655
|
-
alias="defaultTrialConfig", default=None
|
|
656
|
-
)
|
|
657
|
-
|
|
658
|
-
|
|
659
|
-
class PlanFragmentProduct(ProductFragment):
|
|
660
|
-
pass
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
664
|
-
ref_id: str = Field(alias="refId")
|
|
665
|
-
display_name: str = Field(alias="displayName")
|
|
666
|
-
|
|
667
|
-
|
|
668
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
669
|
-
pass
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
673
|
-
pass
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
677
|
-
pass
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
681
|
-
pass
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
class PlanFragmentPrices(PriceFragment):
|
|
685
|
-
pass
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
689
|
-
pass
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
693
|
-
duration: float
|
|
694
|
-
units: TrialPeriodUnits
|
|
695
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
696
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
697
|
-
alias="trialEndBehavior", default=None
|
|
698
|
-
)
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
702
|
-
limit: float
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
class CustomerResourceFragment(BaseModel):
|
|
706
|
-
resource_id: str = Field(alias="resourceId")
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
710
|
-
billing_id: str = Field(alias="billingId")
|
|
711
|
-
status: SubscriptionInvoiceStatus
|
|
712
|
-
created_at: Any = Field(alias="createdAt")
|
|
713
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
714
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
715
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
716
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
717
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
718
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
719
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
720
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
721
|
-
alias="billingReason", default=None
|
|
722
|
-
)
|
|
723
|
-
currency: Optional[str] = Field(default=None)
|
|
724
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
725
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
726
|
-
alias="subTotalExcludingTax", default=None
|
|
727
|
-
)
|
|
728
|
-
total: Optional[float] = Field(default=None)
|
|
729
|
-
total_excluding_tax: Optional[float] = Field(
|
|
730
|
-
alias="totalExcludingTax", default=None
|
|
731
|
-
)
|
|
732
|
-
tax: Optional[float] = Field(default=None)
|
|
733
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
734
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
809
|
+
total: "TotalPriceFragmentTotal"
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
813
|
+
amount: float
|
|
814
|
+
currency: Currency
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
818
|
+
amount: float
|
|
819
|
+
currency: Currency
|
|
735
820
|
|
|
736
821
|
|
|
737
822
|
class SubscriptionFragment(BaseModel):
|
|
@@ -843,91 +928,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
843
928
|
pass
|
|
844
929
|
|
|
845
930
|
|
|
846
|
-
class FeatureFragment(BaseModel):
|
|
847
|
-
typename__: str = Field(alias="__typename")
|
|
848
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
-
feature_units_plural: Optional[str] = Field(
|
|
852
|
-
alias="featureUnitsPlural", default=None
|
|
853
|
-
)
|
|
854
|
-
description: Optional[str] = Field(default=None)
|
|
855
|
-
display_name: str = Field(alias="displayName")
|
|
856
|
-
ref_id: str = Field(alias="refId")
|
|
857
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
-
alias="unitTransformation", default=None
|
|
859
|
-
)
|
|
860
|
-
|
|
861
|
-
|
|
862
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
-
divide: float
|
|
864
|
-
round: UnitTransformationRound
|
|
865
|
-
|
|
866
|
-
|
|
867
|
-
class EntitlementFragment(BaseModel):
|
|
868
|
-
typename__: str = Field(alias="__typename")
|
|
869
|
-
is_granted: bool = Field(alias="isGranted")
|
|
870
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
-
alias="accessDeniedReason", default=None
|
|
872
|
-
)
|
|
873
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
-
alias="entitlementUpdatedAt", default=None
|
|
884
|
-
)
|
|
885
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
-
alias="resetPeriod", default=None
|
|
892
|
-
)
|
|
893
|
-
reset_period_configuration: Optional[
|
|
894
|
-
Annotated[
|
|
895
|
-
Union[
|
|
896
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
-
],
|
|
900
|
-
Field(discriminator="typename__"),
|
|
901
|
-
]
|
|
902
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
907
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
-
alias="monthlyAccordingTo", default=None
|
|
910
|
-
)
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
914
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
915
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
-
alias="weeklyAccordingTo", default=None
|
|
917
|
-
)
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
921
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
922
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
-
alias="yearlyAccordingTo", default=None
|
|
924
|
-
)
|
|
925
|
-
|
|
926
|
-
|
|
927
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
928
|
-
pass
|
|
929
|
-
|
|
930
|
-
|
|
931
931
|
class ApplySubscriptionFragment(BaseModel):
|
|
932
932
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
933
933
|
default=None
|
|
@@ -1005,12 +1005,45 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1009
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1010
|
+
|
|
1011
|
+
|
|
1008
1012
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1009
1013
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1010
1014
|
setup_secret: str = Field(alias="setupSecret")
|
|
1011
1015
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1012
1016
|
|
|
1013
1017
|
|
|
1018
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1019
|
+
status: PromotionalEntitlementStatus
|
|
1020
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1021
|
+
feature_id: Any = Field(alias="featureId")
|
|
1022
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1023
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1024
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1025
|
+
alias="resetPeriod", default=None
|
|
1026
|
+
)
|
|
1027
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1028
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1029
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1033
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1034
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1035
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1036
|
+
feature_units_plural: Optional[str] = Field(
|
|
1037
|
+
alias="featureUnitsPlural", default=None
|
|
1038
|
+
)
|
|
1039
|
+
display_name: str = Field(alias="displayName")
|
|
1040
|
+
description: Optional[str] = Field(default=None)
|
|
1041
|
+
ref_id: str = Field(alias="refId")
|
|
1042
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1043
|
+
alias="additionalMetaData", default=None
|
|
1044
|
+
)
|
|
1045
|
+
|
|
1046
|
+
|
|
1014
1047
|
class CouponFragment(BaseModel):
|
|
1015
1048
|
id: Any
|
|
1016
1049
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1045,35 +1078,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1045
1078
|
status: SyncStatus
|
|
1046
1079
|
|
|
1047
1080
|
|
|
1048
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1049
|
-
status: PromotionalEntitlementStatus
|
|
1050
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1051
|
-
feature_id: Any = Field(alias="featureId")
|
|
1052
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1053
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1054
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1055
|
-
alias="resetPeriod", default=None
|
|
1056
|
-
)
|
|
1057
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1058
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1059
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1060
|
-
|
|
1061
|
-
|
|
1062
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1063
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1064
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1065
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1066
|
-
feature_units_plural: Optional[str] = Field(
|
|
1067
|
-
alias="featureUnitsPlural", default=None
|
|
1068
|
-
)
|
|
1069
|
-
display_name: str = Field(alias="displayName")
|
|
1070
|
-
description: Optional[str] = Field(default=None)
|
|
1071
|
-
ref_id: str = Field(alias="refId")
|
|
1072
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1073
|
-
alias="additionalMetaData", default=None
|
|
1074
|
-
)
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
1081
|
class CustomerFragment(SlimCustomerFragment):
|
|
1078
1082
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1079
1083
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1132,10 +1136,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1132
1136
|
pass
|
|
1133
1137
|
|
|
1134
1138
|
|
|
1135
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1136
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1137
|
-
|
|
1138
|
-
|
|
1139
1139
|
class CheckoutStateFragment(BaseModel):
|
|
1140
1140
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1141
1141
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1362,6 +1362,41 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1362
1362
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1363
1363
|
|
|
1364
1364
|
|
|
1365
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1366
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1367
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1368
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1369
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1370
|
+
default=None
|
|
1371
|
+
)
|
|
1372
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1373
|
+
alias="creditRate", default=None
|
|
1374
|
+
)
|
|
1375
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1376
|
+
default=None
|
|
1377
|
+
)
|
|
1378
|
+
|
|
1379
|
+
|
|
1380
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1381
|
+
amount: float
|
|
1382
|
+
currency: Currency
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1386
|
+
amount: float
|
|
1387
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1388
|
+
|
|
1389
|
+
|
|
1390
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1391
|
+
id: Any
|
|
1392
|
+
ref_id: str = Field(alias="refId")
|
|
1393
|
+
display_name: str = Field(alias="displayName")
|
|
1394
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1395
|
+
feature_units_plural: Optional[str] = Field(
|
|
1396
|
+
alias="featureUnitsPlural", default=None
|
|
1397
|
+
)
|
|
1398
|
+
|
|
1399
|
+
|
|
1365
1400
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1366
1401
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1367
1402
|
alias="subscriptionScheduleType"
|
|
@@ -1538,41 +1573,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1538
1573
|
quantity: int
|
|
1539
1574
|
|
|
1540
1575
|
|
|
1541
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1542
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1543
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1544
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1545
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1546
|
-
default=None
|
|
1547
|
-
)
|
|
1548
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1549
|
-
alias="creditRate", default=None
|
|
1550
|
-
)
|
|
1551
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1552
|
-
default=None
|
|
1553
|
-
)
|
|
1554
|
-
|
|
1555
|
-
|
|
1556
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1557
|
-
amount: float
|
|
1558
|
-
currency: Currency
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1562
|
-
amount: float
|
|
1563
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1564
|
-
|
|
1565
|
-
|
|
1566
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1567
|
-
id: Any
|
|
1568
|
-
ref_id: str = Field(alias="refId")
|
|
1569
|
-
display_name: str = Field(alias="displayName")
|
|
1570
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1571
|
-
feature_units_plural: Optional[str] = Field(
|
|
1572
|
-
alias="featureUnitsPlural", default=None
|
|
1573
|
-
)
|
|
1574
|
-
|
|
1575
|
-
|
|
1576
1576
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1577
1577
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1578
1578
|
plan_id: str = Field(alias="planId")
|
|
@@ -2958,33 +2958,33 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2958
2958
|
|
|
2959
2959
|
|
|
2960
2960
|
AddonDependencyFragment.model_rebuild()
|
|
2961
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2962
2961
|
PriceTierFragment.model_rebuild()
|
|
2963
2962
|
OveragePriceFragment.model_rebuild()
|
|
2963
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2964
2964
|
PriceFragment.model_rebuild()
|
|
2965
2965
|
AddonFragment.model_rebuild()
|
|
2966
|
-
|
|
2967
|
-
|
|
2968
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2966
|
+
FeatureFragment.model_rebuild()
|
|
2967
|
+
EntitlementFragment.model_rebuild()
|
|
2969
2968
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2970
|
-
|
|
2971
|
-
|
|
2969
|
+
SlimCustomerFragment.model_rebuild()
|
|
2970
|
+
CustomerResourceFragment.model_rebuild()
|
|
2972
2971
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2972
|
+
ProductFragment.model_rebuild()
|
|
2973
2973
|
PlanFragment.model_rebuild()
|
|
2974
|
-
CustomerResourceFragment.model_rebuild()
|
|
2975
2974
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2975
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2976
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2977
|
+
TotalPriceFragment.model_rebuild()
|
|
2976
2978
|
SubscriptionFragment.model_rebuild()
|
|
2977
|
-
FeatureFragment.model_rebuild()
|
|
2978
|
-
EntitlementFragment.model_rebuild()
|
|
2979
2979
|
ApplySubscriptionFragment.model_rebuild()
|
|
2980
2980
|
FontVariantFragment.model_rebuild()
|
|
2981
2981
|
TypographyConfigurationFragment.model_rebuild()
|
|
2982
2982
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2983
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2983
2984
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2984
|
-
CouponFragment.model_rebuild()
|
|
2985
2985
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2986
|
+
CouponFragment.model_rebuild()
|
|
2986
2987
|
CustomerFragment.model_rebuild()
|
|
2987
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2988
2988
|
CheckoutStateFragment.model_rebuild()
|
|
2989
2989
|
CreditGrantFragment.model_rebuild()
|
|
2990
2990
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
@@ -2992,9 +2992,9 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2992
2992
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2993
2993
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2994
2994
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2995
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2995
2996
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2996
2997
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2997
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2998
2998
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2999
2999
|
CustomerPortalFragment.model_rebuild()
|
|
3000
3000
|
CustomerStatisticsFragment.model_rebuild()
|