stigg-api-client-v2 2.451.0__py3-none-any.whl → 2.451.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/fragments.py +349 -349
- {stigg_api_client_v2-2.451.0.dist-info → stigg_api_client_v2-2.451.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.451.0.dist-info → stigg_api_client_v2-2.451.2.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.451.0.dist-info → stigg_api_client_v2-2.451.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.451.0.dist-info → stigg_api_client_v2-2.451.2.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -113,33 +113,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
113
113
|
currency: Currency
|
|
114
114
|
|
|
115
115
|
|
|
116
|
-
class
|
|
116
|
+
class OveragePriceFragment(BaseModel):
|
|
117
117
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
118
118
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
119
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
120
119
|
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
120
|
billing_country_code: Optional[str] = Field(
|
|
124
121
|
alias="billingCountryCode", default=None
|
|
125
122
|
)
|
|
126
|
-
price: Optional["
|
|
123
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
124
|
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)
|
|
125
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
126
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
131
127
|
|
|
132
128
|
|
|
133
|
-
class
|
|
129
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
134
130
|
amount: float
|
|
135
131
|
currency: Currency
|
|
136
132
|
|
|
137
133
|
|
|
138
|
-
class
|
|
134
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
139
135
|
pass
|
|
140
136
|
|
|
141
137
|
|
|
142
|
-
class
|
|
138
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
143
139
|
ref_id: str = Field(alias="refId")
|
|
144
140
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
145
141
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -149,29 +145,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
149
145
|
description: Optional[str] = Field(default=None)
|
|
150
146
|
|
|
151
147
|
|
|
152
|
-
class
|
|
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,129 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
+
class FeatureFragment(BaseModel):
|
|
223
|
+
typename__: str = Field(alias="__typename")
|
|
224
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
225
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
226
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
227
|
+
feature_units_plural: Optional[str] = Field(
|
|
228
|
+
alias="featureUnitsPlural", default=None
|
|
229
|
+
)
|
|
230
|
+
description: Optional[str] = Field(default=None)
|
|
231
|
+
display_name: str = Field(alias="displayName")
|
|
232
|
+
ref_id: str = Field(alias="refId")
|
|
233
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
234
|
+
alias="unitTransformation", default=None
|
|
235
|
+
)
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
+
divide: float
|
|
240
|
+
round: UnitTransformationRound
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class EntitlementFragment(BaseModel):
|
|
244
|
+
typename__: str = Field(alias="__typename")
|
|
245
|
+
is_granted: bool = Field(alias="isGranted")
|
|
246
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
247
|
+
alias="accessDeniedReason", default=None
|
|
248
|
+
)
|
|
249
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
250
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
251
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
252
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
253
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
254
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
255
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
256
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
257
|
+
alias="entitlementUpdatedAt", default=None
|
|
258
|
+
)
|
|
259
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
260
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
261
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
262
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
263
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
264
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
265
|
+
alias="resetPeriod", default=None
|
|
266
|
+
)
|
|
267
|
+
reset_period_configuration: Optional[
|
|
268
|
+
Annotated[
|
|
269
|
+
Union[
|
|
270
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
271
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
272
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
273
|
+
],
|
|
274
|
+
Field(discriminator="typename__"),
|
|
275
|
+
]
|
|
276
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
277
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
281
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
282
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
283
|
+
alias="monthlyAccordingTo", default=None
|
|
284
|
+
)
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
288
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
289
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
290
|
+
alias="weeklyAccordingTo", default=None
|
|
291
|
+
)
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
295
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
296
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
297
|
+
alias="yearlyAccordingTo", default=None
|
|
298
|
+
)
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
302
|
+
pass
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class TotalPriceFragment(BaseModel):
|
|
306
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
307
|
+
total: "TotalPriceFragmentTotal"
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
311
|
+
amount: float
|
|
312
|
+
currency: Currency
|
|
313
|
+
|
|
314
|
+
|
|
315
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
316
|
+
amount: float
|
|
317
|
+
currency: Currency
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class CustomerResourceFragment(BaseModel):
|
|
321
|
+
resource_id: str = Field(alias="resourceId")
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
325
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class SlimCustomerFragment(BaseModel):
|
|
329
|
+
id: str
|
|
330
|
+
name: Optional[str] = Field(default=None)
|
|
331
|
+
email: Optional[str] = Field(default=None)
|
|
332
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
333
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
334
|
+
ref_id: str = Field(alias="refId")
|
|
335
|
+
customer_id: str = Field(alias="customerId")
|
|
336
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
337
|
+
additional_meta_data: Optional[Any] = Field(
|
|
338
|
+
alias="additionalMetaData", default=None
|
|
339
|
+
)
|
|
340
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
341
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
342
|
+
)
|
|
343
|
+
|
|
344
|
+
|
|
222
345
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
223
346
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
224
347
|
alias="subscriptionScheduleType"
|
|
@@ -381,164 +504,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
381
504
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
382
505
|
|
|
383
506
|
|
|
384
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
385
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
386
|
-
alias="subscriptionScheduleType"
|
|
387
|
-
)
|
|
388
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
389
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
390
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
391
|
-
alias="targetPackage", default=None
|
|
392
|
-
)
|
|
393
|
-
schedule_variables: Optional[
|
|
394
|
-
Annotated[
|
|
395
|
-
Union[
|
|
396
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
397
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
398
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
399
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
400
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
401
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
402
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
403
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
404
|
-
],
|
|
405
|
-
Field(discriminator="typename__"),
|
|
406
|
-
]
|
|
407
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
408
|
-
|
|
409
|
-
|
|
410
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
411
|
-
id: str
|
|
412
|
-
ref_id: str = Field(alias="refId")
|
|
413
|
-
display_name: str = Field(alias="displayName")
|
|
414
|
-
|
|
415
|
-
|
|
416
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
417
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
418
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
419
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
423
|
-
BaseModel
|
|
424
|
-
):
|
|
425
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
426
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
427
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
431
|
-
BaseModel
|
|
432
|
-
):
|
|
433
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
434
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
438
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
442
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
443
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
444
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
445
|
-
billable_features: Optional[
|
|
446
|
-
List[
|
|
447
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
448
|
-
]
|
|
449
|
-
] = Field(alias="billableFeatures", default=None)
|
|
450
|
-
addons: Optional[
|
|
451
|
-
List[
|
|
452
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
453
|
-
]
|
|
454
|
-
] = Field(default=None)
|
|
455
|
-
price_overrides: Optional[
|
|
456
|
-
List[
|
|
457
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
458
|
-
]
|
|
459
|
-
] = Field(alias="priceOverrides", default=None)
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
463
|
-
BaseModel
|
|
464
|
-
):
|
|
465
|
-
feature_id: str = Field(alias="featureId")
|
|
466
|
-
quantity: float
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
470
|
-
BaseModel
|
|
471
|
-
):
|
|
472
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
473
|
-
quantity: float
|
|
474
|
-
|
|
475
|
-
|
|
476
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
477
|
-
BaseModel
|
|
478
|
-
):
|
|
479
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
480
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
481
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
485
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
486
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
487
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
488
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
489
|
-
billable_features: Optional[
|
|
490
|
-
List[
|
|
491
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
492
|
-
]
|
|
493
|
-
] = Field(alias="billableFeatures", default=None)
|
|
494
|
-
addons: Optional[
|
|
495
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
496
|
-
] = Field(default=None)
|
|
497
|
-
price_overrides: Optional[
|
|
498
|
-
List[
|
|
499
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
500
|
-
]
|
|
501
|
-
] = Field(alias="priceOverrides", default=None)
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
505
|
-
BaseModel
|
|
506
|
-
):
|
|
507
|
-
feature_id: str = Field(alias="featureId")
|
|
508
|
-
quantity: float
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
512
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
513
|
-
quantity: float
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
517
|
-
BaseModel
|
|
518
|
-
):
|
|
519
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
520
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
521
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
525
|
-
BaseModel
|
|
526
|
-
):
|
|
527
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
528
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
529
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
533
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
534
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
535
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
539
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
540
|
-
|
|
541
|
-
|
|
542
507
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
543
508
|
billing_id: str = Field(alias="billingId")
|
|
544
509
|
status: SubscriptionInvoiceStatus
|
|
@@ -686,40 +651,158 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
686
651
|
limit: float
|
|
687
652
|
|
|
688
653
|
|
|
689
|
-
class
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
email: Optional[str] = Field(default=None)
|
|
693
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
694
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
695
|
-
ref_id: str = Field(alias="refId")
|
|
696
|
-
customer_id: str = Field(alias="customerId")
|
|
697
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
698
|
-
additional_meta_data: Optional[Any] = Field(
|
|
699
|
-
alias="additionalMetaData", default=None
|
|
654
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
655
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
656
|
+
alias="subscriptionScheduleType"
|
|
700
657
|
)
|
|
701
|
-
|
|
702
|
-
|
|
658
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
659
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
660
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
661
|
+
alias="targetPackage", default=None
|
|
703
662
|
)
|
|
663
|
+
schedule_variables: Optional[
|
|
664
|
+
Annotated[
|
|
665
|
+
Union[
|
|
666
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
667
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
668
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
670
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
671
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
672
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
673
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
674
|
+
],
|
|
675
|
+
Field(discriminator="typename__"),
|
|
676
|
+
]
|
|
677
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
681
|
+
id: str
|
|
682
|
+
ref_id: str = Field(alias="refId")
|
|
683
|
+
display_name: str = Field(alias="displayName")
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
687
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
688
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
689
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
693
|
+
BaseModel
|
|
694
|
+
):
|
|
695
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
696
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
697
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
701
|
+
BaseModel
|
|
702
|
+
):
|
|
703
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
704
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
708
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
712
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
713
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
714
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
715
|
+
billable_features: Optional[
|
|
716
|
+
List[
|
|
717
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
718
|
+
]
|
|
719
|
+
] = Field(alias="billableFeatures", default=None)
|
|
720
|
+
addons: Optional[
|
|
721
|
+
List[
|
|
722
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
723
|
+
]
|
|
724
|
+
] = Field(default=None)
|
|
725
|
+
price_overrides: Optional[
|
|
726
|
+
List[
|
|
727
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
728
|
+
]
|
|
729
|
+
] = Field(alias="priceOverrides", default=None)
|
|
730
|
+
|
|
731
|
+
|
|
732
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
733
|
+
BaseModel
|
|
734
|
+
):
|
|
735
|
+
feature_id: str = Field(alias="featureId")
|
|
736
|
+
quantity: float
|
|
737
|
+
|
|
738
|
+
|
|
739
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
740
|
+
BaseModel
|
|
741
|
+
):
|
|
742
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
743
|
+
quantity: float
|
|
744
|
+
|
|
745
|
+
|
|
746
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
747
|
+
BaseModel
|
|
748
|
+
):
|
|
749
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
750
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
751
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
752
|
+
|
|
753
|
+
|
|
754
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
755
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
756
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
757
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
758
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
759
|
+
billable_features: Optional[
|
|
760
|
+
List[
|
|
761
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
762
|
+
]
|
|
763
|
+
] = Field(alias="billableFeatures", default=None)
|
|
764
|
+
addons: Optional[
|
|
765
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
766
|
+
] = Field(default=None)
|
|
767
|
+
price_overrides: Optional[
|
|
768
|
+
List[
|
|
769
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
770
|
+
]
|
|
771
|
+
] = Field(alias="priceOverrides", default=None)
|
|
704
772
|
|
|
705
773
|
|
|
706
|
-
class
|
|
707
|
-
|
|
708
|
-
|
|
774
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
775
|
+
BaseModel
|
|
776
|
+
):
|
|
777
|
+
feature_id: str = Field(alias="featureId")
|
|
778
|
+
quantity: float
|
|
709
779
|
|
|
710
780
|
|
|
711
|
-
class
|
|
712
|
-
|
|
713
|
-
|
|
781
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
782
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
783
|
+
quantity: float
|
|
714
784
|
|
|
715
785
|
|
|
716
|
-
class
|
|
717
|
-
|
|
718
|
-
|
|
786
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
787
|
+
BaseModel
|
|
788
|
+
):
|
|
789
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
790
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
791
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
719
792
|
|
|
720
793
|
|
|
721
|
-
class
|
|
722
|
-
|
|
794
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
795
|
+
BaseModel
|
|
796
|
+
):
|
|
797
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
798
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
799
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
800
|
+
|
|
801
|
+
|
|
802
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
803
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
804
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
805
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
723
806
|
|
|
724
807
|
|
|
725
808
|
class SubscriptionFragment(BaseModel):
|
|
@@ -831,89 +914,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
831
914
|
pass
|
|
832
915
|
|
|
833
916
|
|
|
834
|
-
class FeatureFragment(BaseModel):
|
|
835
|
-
typename__: str = Field(alias="__typename")
|
|
836
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
837
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
838
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
839
|
-
feature_units_plural: Optional[str] = Field(
|
|
840
|
-
alias="featureUnitsPlural", default=None
|
|
841
|
-
)
|
|
842
|
-
description: Optional[str] = Field(default=None)
|
|
843
|
-
display_name: str = Field(alias="displayName")
|
|
844
|
-
ref_id: str = Field(alias="refId")
|
|
845
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
846
|
-
alias="unitTransformation", default=None
|
|
847
|
-
)
|
|
848
|
-
|
|
849
|
-
|
|
850
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
851
|
-
divide: float
|
|
852
|
-
round: UnitTransformationRound
|
|
853
|
-
|
|
854
|
-
|
|
855
|
-
class EntitlementFragment(BaseModel):
|
|
856
|
-
typename__: str = Field(alias="__typename")
|
|
857
|
-
is_granted: bool = Field(alias="isGranted")
|
|
858
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
859
|
-
alias="accessDeniedReason", default=None
|
|
860
|
-
)
|
|
861
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
862
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
863
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
864
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
865
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
869
|
-
alias="entitlementUpdatedAt", default=None
|
|
870
|
-
)
|
|
871
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
872
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
873
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
874
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
875
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
876
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
877
|
-
alias="resetPeriod", default=None
|
|
878
|
-
)
|
|
879
|
-
reset_period_configuration: Optional[
|
|
880
|
-
Annotated[
|
|
881
|
-
Union[
|
|
882
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
883
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
884
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
885
|
-
],
|
|
886
|
-
Field(discriminator="typename__"),
|
|
887
|
-
]
|
|
888
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
889
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
893
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
894
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
895
|
-
alias="monthlyAccordingTo", default=None
|
|
896
|
-
)
|
|
897
|
-
|
|
898
|
-
|
|
899
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
900
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
901
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
902
|
-
alias="weeklyAccordingTo", default=None
|
|
903
|
-
)
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
907
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
909
|
-
alias="yearlyAccordingTo", default=None
|
|
910
|
-
)
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
914
|
-
pass
|
|
915
|
-
|
|
916
|
-
|
|
917
917
|
class ApplySubscriptionFragment(BaseModel):
|
|
918
918
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
919
919
|
default=None
|
|
@@ -991,35 +991,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
991
991
|
)
|
|
992
992
|
|
|
993
993
|
|
|
994
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
995
|
-
status: PromotionalEntitlementStatus
|
|
996
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
997
|
-
feature_id: str = Field(alias="featureId")
|
|
998
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
999
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1000
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1001
|
-
alias="resetPeriod", default=None
|
|
1002
|
-
)
|
|
1003
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1004
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1005
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1006
|
-
|
|
1007
|
-
|
|
1008
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1009
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1010
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1011
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1012
|
-
feature_units_plural: Optional[str] = Field(
|
|
1013
|
-
alias="featureUnitsPlural", default=None
|
|
1014
|
-
)
|
|
1015
|
-
display_name: str = Field(alias="displayName")
|
|
1016
|
-
description: Optional[str] = Field(default=None)
|
|
1017
|
-
ref_id: str = Field(alias="refId")
|
|
1018
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1019
|
-
alias="additionalMetaData", default=None
|
|
1020
|
-
)
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
994
|
class CouponFragment(BaseModel):
|
|
1024
995
|
id: str
|
|
1025
996
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1054,6 +1025,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1054
1025
|
status: SyncStatus
|
|
1055
1026
|
|
|
1056
1027
|
|
|
1028
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1029
|
+
status: PromotionalEntitlementStatus
|
|
1030
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1031
|
+
feature_id: str = Field(alias="featureId")
|
|
1032
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1033
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1034
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1035
|
+
alias="resetPeriod", default=None
|
|
1036
|
+
)
|
|
1037
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1038
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1039
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1040
|
+
|
|
1041
|
+
|
|
1042
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1043
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1044
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1045
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1046
|
+
feature_units_plural: Optional[str] = Field(
|
|
1047
|
+
alias="featureUnitsPlural", default=None
|
|
1048
|
+
)
|
|
1049
|
+
display_name: str = Field(alias="displayName")
|
|
1050
|
+
description: Optional[str] = Field(default=None)
|
|
1051
|
+
ref_id: str = Field(alias="refId")
|
|
1052
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1053
|
+
alias="additionalMetaData", default=None
|
|
1054
|
+
)
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
1057
|
class CustomerFragment(SlimCustomerFragment):
|
|
1058
1058
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1059
1059
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1270,33 +1270,6 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1270
1270
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1271
1271
|
|
|
1272
1272
|
|
|
1273
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1274
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1275
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1276
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1277
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1278
|
-
default=None
|
|
1279
|
-
)
|
|
1280
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1281
|
-
default=None
|
|
1282
|
-
)
|
|
1283
|
-
|
|
1284
|
-
|
|
1285
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1286
|
-
amount: float
|
|
1287
|
-
currency: Currency
|
|
1288
|
-
|
|
1289
|
-
|
|
1290
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1291
|
-
id: str
|
|
1292
|
-
ref_id: str = Field(alias="refId")
|
|
1293
|
-
display_name: str = Field(alias="displayName")
|
|
1294
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1295
|
-
feature_units_plural: Optional[str] = Field(
|
|
1296
|
-
alias="featureUnitsPlural", default=None
|
|
1297
|
-
)
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
1273
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1301
1274
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1302
1275
|
alias="subscriptionScheduleType"
|
|
@@ -1466,6 +1439,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1466
1439
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1467
1440
|
|
|
1468
1441
|
|
|
1442
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1443
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1444
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1445
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1446
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1447
|
+
default=None
|
|
1448
|
+
)
|
|
1449
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1450
|
+
default=None
|
|
1451
|
+
)
|
|
1452
|
+
|
|
1453
|
+
|
|
1454
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1455
|
+
amount: float
|
|
1456
|
+
currency: Currency
|
|
1457
|
+
|
|
1458
|
+
|
|
1459
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1460
|
+
id: str
|
|
1461
|
+
ref_id: str = Field(alias="refId")
|
|
1462
|
+
display_name: str = Field(alias="displayName")
|
|
1463
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1464
|
+
feature_units_plural: Optional[str] = Field(
|
|
1465
|
+
alias="featureUnitsPlural", default=None
|
|
1466
|
+
)
|
|
1467
|
+
|
|
1468
|
+
|
|
1469
1469
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1470
1470
|
addon_id: str = Field(alias="addonId")
|
|
1471
1471
|
description: Optional[str] = Field(default=None)
|
|
@@ -2836,36 +2836,36 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2836
2836
|
AddonDependencyFragment.model_rebuild()
|
|
2837
2837
|
PackageEntitlementFragment.model_rebuild()
|
|
2838
2838
|
PriceTierFragment.model_rebuild()
|
|
2839
|
-
PriceFragment.model_rebuild()
|
|
2840
2839
|
OveragePriceFragment.model_rebuild()
|
|
2840
|
+
PriceFragment.model_rebuild()
|
|
2841
2841
|
AddonFragment.model_rebuild()
|
|
2842
|
-
|
|
2843
|
-
|
|
2842
|
+
FeatureFragment.model_rebuild()
|
|
2843
|
+
EntitlementFragment.model_rebuild()
|
|
2844
|
+
TotalPriceFragment.model_rebuild()
|
|
2845
|
+
CustomerResourceFragment.model_rebuild()
|
|
2844
2846
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
|
+
SlimCustomerFragment.model_rebuild()
|
|
2848
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2845
2849
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2846
2850
|
ProductFragment.model_rebuild()
|
|
2847
2851
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2848
2852
|
PlanFragment.model_rebuild()
|
|
2849
|
-
|
|
2850
|
-
TotalPriceFragment.model_rebuild()
|
|
2851
|
-
CustomerResourceFragment.model_rebuild()
|
|
2853
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2852
2854
|
SubscriptionFragment.model_rebuild()
|
|
2853
|
-
FeatureFragment.model_rebuild()
|
|
2854
|
-
EntitlementFragment.model_rebuild()
|
|
2855
2855
|
ApplySubscriptionFragment.model_rebuild()
|
|
2856
2856
|
FontVariantFragment.model_rebuild()
|
|
2857
2857
|
TypographyConfigurationFragment.model_rebuild()
|
|
2858
2858
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2859
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2860
2859
|
CouponFragment.model_rebuild()
|
|
2860
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2861
2861
|
CustomerFragment.model_rebuild()
|
|
2862
2862
|
CheckoutStateFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2866
2866
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2867
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2868
2867
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2868
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2869
2869
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2870
2870
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=Ax7idhOxqqwhmzBPImea0R-KRcq7j5EQNVAqUFbMl_8,3551
|
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=rpxm-cjHjGd7uIUpHsE0MlBuGlYBfFbibwxT-h3CgMY,103354
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.451.
|
|
165
|
-
stigg_api_client_v2-2.451.
|
|
166
|
-
stigg_api_client_v2-2.451.
|
|
167
|
-
stigg_api_client_v2-2.451.
|
|
164
|
+
stigg_api_client_v2-2.451.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.451.2.dist-info/METADATA,sha256=LwfOL7JduIbFswXaZ-SH3_5w30qv7-sptzmrCQs3-DI,2258
|
|
166
|
+
stigg_api_client_v2-2.451.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.451.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|