stigg-api-client-v2 2.457.0__py3-none-any.whl → 2.458.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 +2 -0
- stigg/generated/fragments.py +385 -385
- stigg/generated/input_types.py +66 -49
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.458.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.458.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.458.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.457.0.dist-info → stigg_api_client_v2-2.458.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -219,104 +219,271 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
219
219
|
pass
|
|
220
220
|
|
|
221
221
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
|
|
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
|
+
)
|
|
225
236
|
|
|
226
237
|
|
|
227
|
-
class
|
|
228
|
-
|
|
229
|
-
|
|
238
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
+
divide: float
|
|
240
|
+
round: UnitTransformationRound
|
|
230
241
|
|
|
231
242
|
|
|
232
|
-
class
|
|
233
|
-
|
|
234
|
-
|
|
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)
|
|
235
278
|
|
|
236
279
|
|
|
237
|
-
class
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
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 CustomerResourceFragment(BaseModel):
|
|
306
|
+
resource_id: str = Field(alias="resourceId")
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class ProductFragment(BaseModel):
|
|
243
310
|
ref_id: str = Field(alias="refId")
|
|
244
|
-
|
|
245
|
-
|
|
311
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
312
|
+
description: Optional[str] = Field(default=None)
|
|
246
313
|
additional_meta_data: Optional[Any] = Field(
|
|
247
314
|
alias="additionalMetaData", default=None
|
|
248
315
|
)
|
|
249
|
-
|
|
250
|
-
|
|
316
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
320
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
321
|
+
alias="downgradePlan", default=None
|
|
251
322
|
)
|
|
252
323
|
|
|
253
324
|
|
|
254
|
-
class
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
265
|
-
alias="billingReason", default=None
|
|
325
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
326
|
+
ref_id: str = Field(alias="refId")
|
|
327
|
+
display_name: str = Field(alias="displayName")
|
|
328
|
+
|
|
329
|
+
|
|
330
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
331
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
332
|
+
display_name: str = Field(alias="displayName")
|
|
333
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
334
|
+
default=None
|
|
266
335
|
)
|
|
267
|
-
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
336
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
340
|
+
pass
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
344
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
345
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
class PlanFragment(BaseModel):
|
|
349
|
+
id: str
|
|
350
|
+
ref_id: str = Field(alias="refId")
|
|
351
|
+
display_name: str = Field(alias="displayName")
|
|
352
|
+
description: Optional[str] = Field(default=None)
|
|
353
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
354
|
+
version_number: int = Field(alias="versionNumber")
|
|
355
|
+
additional_meta_data: Optional[Any] = Field(
|
|
356
|
+
alias="additionalMetaData", default=None
|
|
271
357
|
)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
358
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
359
|
+
alias="hiddenFromWidgets", default=None
|
|
360
|
+
)
|
|
361
|
+
product: "PlanFragmentProduct"
|
|
362
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
363
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
364
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
365
|
+
alias="inheritedEntitlements", default=None
|
|
366
|
+
)
|
|
367
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
368
|
+
alias="compatibleAddons", default=None
|
|
369
|
+
)
|
|
370
|
+
compatible_package_groups: Optional[
|
|
371
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
372
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
373
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
374
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
375
|
+
alias="overagePrices", default=None
|
|
376
|
+
)
|
|
377
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
378
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
379
|
+
alias="defaultTrialConfig", default=None
|
|
275
380
|
)
|
|
276
|
-
tax: Optional[float] = Field(default=None)
|
|
277
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
278
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
279
381
|
|
|
280
382
|
|
|
281
|
-
class
|
|
383
|
+
class PlanFragmentProduct(ProductFragment):
|
|
384
|
+
pass
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
388
|
+
ref_id: str = Field(alias="refId")
|
|
389
|
+
display_name: str = Field(alias="displayName")
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
393
|
+
pass
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
397
|
+
pass
|
|
398
|
+
|
|
399
|
+
|
|
400
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
401
|
+
pass
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
405
|
+
pass
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
class PlanFragmentPrices(PriceFragment):
|
|
409
|
+
pass
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
413
|
+
pass
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
417
|
+
duration: float
|
|
418
|
+
units: TrialPeriodUnits
|
|
419
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
420
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
421
|
+
alias="trialEndBehavior", default=None
|
|
422
|
+
)
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
426
|
+
limit: float
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
class TotalPriceFragment(BaseModel):
|
|
430
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
431
|
+
total: "TotalPriceFragmentTotal"
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
435
|
+
amount: float
|
|
436
|
+
currency: Currency
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
440
|
+
amount: float
|
|
441
|
+
currency: Currency
|
|
442
|
+
|
|
443
|
+
|
|
444
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
445
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
282
449
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
283
450
|
alias="subscriptionScheduleType"
|
|
284
451
|
)
|
|
285
452
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
286
453
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
287
|
-
target_package: Optional["
|
|
454
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
288
455
|
alias="targetPackage", default=None
|
|
289
456
|
)
|
|
290
457
|
schedule_variables: Optional[
|
|
291
458
|
Annotated[
|
|
292
459
|
Union[
|
|
293
|
-
"
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
460
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
461
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
462
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
463
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
464
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
465
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
466
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
467
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
301
468
|
],
|
|
302
469
|
Field(discriminator="typename__"),
|
|
303
470
|
]
|
|
304
471
|
] = Field(alias="scheduleVariables", default=None)
|
|
305
472
|
|
|
306
473
|
|
|
307
|
-
class
|
|
474
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
308
475
|
id: str
|
|
309
476
|
ref_id: str = Field(alias="refId")
|
|
310
477
|
display_name: str = Field(alias="displayName")
|
|
311
478
|
|
|
312
479
|
|
|
313
|
-
class
|
|
480
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
314
481
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
315
482
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
316
483
|
new_quantity: float = Field(alias="newQuantity")
|
|
317
484
|
|
|
318
485
|
|
|
319
|
-
class
|
|
486
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
320
487
|
BaseModel
|
|
321
488
|
):
|
|
322
489
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -324,53 +491,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
324
491
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
325
492
|
|
|
326
493
|
|
|
327
|
-
class
|
|
494
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
328
495
|
BaseModel
|
|
329
496
|
):
|
|
330
497
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
331
498
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
332
499
|
|
|
333
500
|
|
|
334
|
-
class
|
|
501
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
335
502
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
336
503
|
|
|
337
504
|
|
|
338
|
-
class
|
|
505
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
506
|
+
BaseModel
|
|
507
|
+
):
|
|
339
508
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
340
509
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
341
510
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
342
511
|
billable_features: Optional[
|
|
343
512
|
List[
|
|
344
|
-
"
|
|
513
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
345
514
|
]
|
|
346
515
|
] = Field(alias="billableFeatures", default=None)
|
|
347
516
|
addons: Optional[
|
|
348
517
|
List[
|
|
349
|
-
"
|
|
518
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
350
519
|
]
|
|
351
520
|
] = Field(default=None)
|
|
352
521
|
price_overrides: Optional[
|
|
353
522
|
List[
|
|
354
|
-
"
|
|
523
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
355
524
|
]
|
|
356
525
|
] = Field(alias="priceOverrides", default=None)
|
|
357
526
|
|
|
358
527
|
|
|
359
|
-
class
|
|
528
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
360
529
|
BaseModel
|
|
361
530
|
):
|
|
362
531
|
feature_id: str = Field(alias="featureId")
|
|
363
532
|
quantity: float
|
|
364
533
|
|
|
365
534
|
|
|
366
|
-
class
|
|
535
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
367
536
|
BaseModel
|
|
368
537
|
):
|
|
369
538
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
370
539
|
quantity: float
|
|
371
540
|
|
|
372
541
|
|
|
373
|
-
class
|
|
542
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
374
543
|
BaseModel
|
|
375
544
|
):
|
|
376
545
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -378,39 +547,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
378
547
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
379
548
|
|
|
380
549
|
|
|
381
|
-
class
|
|
550
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
382
551
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
383
552
|
plan_ref_id: str = Field(alias="planRefId")
|
|
384
553
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
385
554
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
386
555
|
billable_features: Optional[
|
|
387
556
|
List[
|
|
388
|
-
"
|
|
557
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
389
558
|
]
|
|
390
559
|
] = Field(alias="billableFeatures", default=None)
|
|
391
560
|
addons: Optional[
|
|
392
|
-
List[
|
|
561
|
+
List[
|
|
562
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
563
|
+
]
|
|
393
564
|
] = Field(default=None)
|
|
394
565
|
price_overrides: Optional[
|
|
395
566
|
List[
|
|
396
|
-
"
|
|
567
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
397
568
|
]
|
|
398
569
|
] = Field(alias="priceOverrides", default=None)
|
|
399
570
|
|
|
400
571
|
|
|
401
|
-
class
|
|
572
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
402
573
|
BaseModel
|
|
403
574
|
):
|
|
404
575
|
feature_id: str = Field(alias="featureId")
|
|
405
576
|
quantity: float
|
|
406
577
|
|
|
407
578
|
|
|
408
|
-
class
|
|
579
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
580
|
+
BaseModel
|
|
581
|
+
):
|
|
409
582
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
410
583
|
quantity: float
|
|
411
584
|
|
|
412
585
|
|
|
413
|
-
class
|
|
586
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
414
587
|
BaseModel
|
|
415
588
|
):
|
|
416
589
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -418,7 +591,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
418
591
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
419
592
|
|
|
420
593
|
|
|
421
|
-
class
|
|
594
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
422
595
|
BaseModel
|
|
423
596
|
):
|
|
424
597
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -426,51 +599,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
426
599
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
427
600
|
|
|
428
601
|
|
|
429
|
-
class
|
|
602
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
603
|
+
BaseModel
|
|
604
|
+
):
|
|
430
605
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
431
606
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
432
607
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
433
608
|
|
|
434
609
|
|
|
435
|
-
class
|
|
610
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
436
611
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
437
612
|
alias="subscriptionScheduleType"
|
|
438
613
|
)
|
|
439
614
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
440
615
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
441
|
-
target_package: Optional["
|
|
616
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
442
617
|
alias="targetPackage", default=None
|
|
443
618
|
)
|
|
444
619
|
schedule_variables: Optional[
|
|
445
620
|
Annotated[
|
|
446
621
|
Union[
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"
|
|
452
|
-
"
|
|
453
|
-
"
|
|
454
|
-
"
|
|
622
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
623
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
624
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
625
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
626
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
627
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
628
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
629
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
455
630
|
],
|
|
456
631
|
Field(discriminator="typename__"),
|
|
457
632
|
]
|
|
458
633
|
] = Field(alias="scheduleVariables", default=None)
|
|
459
634
|
|
|
460
635
|
|
|
461
|
-
class
|
|
636
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
462
637
|
id: str
|
|
463
638
|
ref_id: str = Field(alias="refId")
|
|
464
639
|
display_name: str = Field(alias="displayName")
|
|
465
640
|
|
|
466
641
|
|
|
467
|
-
class
|
|
642
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
468
643
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
469
644
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
470
645
|
new_quantity: float = Field(alias="newQuantity")
|
|
471
646
|
|
|
472
647
|
|
|
473
|
-
class
|
|
648
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
474
649
|
BaseModel
|
|
475
650
|
):
|
|
476
651
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -478,55 +653,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
478
653
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
479
654
|
|
|
480
655
|
|
|
481
|
-
class
|
|
656
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
482
657
|
BaseModel
|
|
483
658
|
):
|
|
484
659
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
485
660
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
486
661
|
|
|
487
662
|
|
|
488
|
-
class
|
|
663
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
489
664
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
490
665
|
|
|
491
666
|
|
|
492
|
-
class
|
|
493
|
-
BaseModel
|
|
494
|
-
):
|
|
667
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
495
668
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
496
669
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
497
670
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
498
671
|
billable_features: Optional[
|
|
499
672
|
List[
|
|
500
|
-
"
|
|
673
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
501
674
|
]
|
|
502
675
|
] = Field(alias="billableFeatures", default=None)
|
|
503
676
|
addons: Optional[
|
|
504
677
|
List[
|
|
505
|
-
"
|
|
678
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
506
679
|
]
|
|
507
680
|
] = Field(default=None)
|
|
508
681
|
price_overrides: Optional[
|
|
509
682
|
List[
|
|
510
|
-
"
|
|
683
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
511
684
|
]
|
|
512
685
|
] = Field(alias="priceOverrides", default=None)
|
|
513
686
|
|
|
514
687
|
|
|
515
|
-
class
|
|
688
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
516
689
|
BaseModel
|
|
517
690
|
):
|
|
518
691
|
feature_id: str = Field(alias="featureId")
|
|
519
692
|
quantity: float
|
|
520
693
|
|
|
521
694
|
|
|
522
|
-
class
|
|
695
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
523
696
|
BaseModel
|
|
524
697
|
):
|
|
525
698
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
526
699
|
quantity: float
|
|
527
700
|
|
|
528
701
|
|
|
529
|
-
class
|
|
702
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
530
703
|
BaseModel
|
|
531
704
|
):
|
|
532
705
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -534,43 +707,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
534
707
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
535
708
|
|
|
536
709
|
|
|
537
|
-
class
|
|
710
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
538
711
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
539
712
|
plan_ref_id: str = Field(alias="planRefId")
|
|
540
713
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
541
714
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
542
715
|
billable_features: Optional[
|
|
543
716
|
List[
|
|
544
|
-
"
|
|
717
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
545
718
|
]
|
|
546
719
|
] = Field(alias="billableFeatures", default=None)
|
|
547
720
|
addons: Optional[
|
|
548
|
-
List[
|
|
549
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
550
|
-
]
|
|
721
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
551
722
|
] = Field(default=None)
|
|
552
723
|
price_overrides: Optional[
|
|
553
724
|
List[
|
|
554
|
-
"
|
|
725
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
555
726
|
]
|
|
556
727
|
] = Field(alias="priceOverrides", default=None)
|
|
557
728
|
|
|
558
729
|
|
|
559
|
-
class
|
|
730
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
560
731
|
BaseModel
|
|
561
732
|
):
|
|
562
733
|
feature_id: str = Field(alias="featureId")
|
|
563
734
|
quantity: float
|
|
564
735
|
|
|
565
736
|
|
|
566
|
-
class
|
|
567
|
-
BaseModel
|
|
568
|
-
):
|
|
737
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
569
738
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
570
739
|
quantity: float
|
|
571
740
|
|
|
572
741
|
|
|
573
|
-
class
|
|
742
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
574
743
|
BaseModel
|
|
575
744
|
):
|
|
576
745
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -578,7 +747,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
578
747
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
579
748
|
|
|
580
749
|
|
|
581
|
-
class
|
|
750
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
582
751
|
BaseModel
|
|
583
752
|
):
|
|
584
753
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -586,144 +755,58 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
586
755
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
587
756
|
|
|
588
757
|
|
|
589
|
-
class
|
|
590
|
-
BaseModel
|
|
591
|
-
):
|
|
758
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
592
759
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
593
760
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
594
761
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
595
762
|
|
|
596
763
|
|
|
597
|
-
class
|
|
598
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
599
|
-
display_name: str = Field(alias="displayName")
|
|
600
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
601
|
-
default=None
|
|
602
|
-
)
|
|
603
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
607
|
-
pass
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
611
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
612
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class ProductFragment(BaseModel):
|
|
616
|
-
ref_id: str = Field(alias="refId")
|
|
617
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
618
|
-
description: Optional[str] = Field(default=None)
|
|
619
|
-
additional_meta_data: Optional[Any] = Field(
|
|
620
|
-
alias="additionalMetaData", default=None
|
|
621
|
-
)
|
|
622
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
626
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
627
|
-
alias="downgradePlan", default=None
|
|
628
|
-
)
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
632
|
-
ref_id: str = Field(alias="refId")
|
|
633
|
-
display_name: str = Field(alias="displayName")
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
class PlanFragment(BaseModel):
|
|
764
|
+
class SlimCustomerFragment(BaseModel):
|
|
637
765
|
id: str
|
|
766
|
+
name: Optional[str] = Field(default=None)
|
|
767
|
+
email: Optional[str] = Field(default=None)
|
|
768
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
769
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
638
770
|
ref_id: str = Field(alias="refId")
|
|
639
|
-
|
|
640
|
-
description: Optional[str] = Field(default=None)
|
|
771
|
+
customer_id: str = Field(alias="customerId")
|
|
641
772
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
642
|
-
version_number: int = Field(alias="versionNumber")
|
|
643
773
|
additional_meta_data: Optional[Any] = Field(
|
|
644
774
|
alias="additionalMetaData", default=None
|
|
645
775
|
)
|
|
646
|
-
|
|
647
|
-
alias="
|
|
648
|
-
)
|
|
649
|
-
product: "PlanFragmentProduct"
|
|
650
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
651
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
652
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
653
|
-
alias="inheritedEntitlements", default=None
|
|
654
|
-
)
|
|
655
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
656
|
-
alias="compatibleAddons", default=None
|
|
657
|
-
)
|
|
658
|
-
compatible_package_groups: Optional[
|
|
659
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
660
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
661
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
662
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
663
|
-
alias="overagePrices", default=None
|
|
664
|
-
)
|
|
665
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
666
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
667
|
-
alias="defaultTrialConfig", default=None
|
|
776
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
777
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
668
778
|
)
|
|
669
779
|
|
|
670
780
|
|
|
671
|
-
class
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
685
|
-
pass
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
689
|
-
pass
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
693
|
-
pass
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
class PlanFragmentPrices(PriceFragment):
|
|
697
|
-
pass
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
701
|
-
pass
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
705
|
-
duration: float
|
|
706
|
-
units: TrialPeriodUnits
|
|
707
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
708
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
709
|
-
alias="trialEndBehavior", default=None
|
|
781
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
782
|
+
billing_id: str = Field(alias="billingId")
|
|
783
|
+
status: SubscriptionInvoiceStatus
|
|
784
|
+
created_at: Any = Field(alias="createdAt")
|
|
785
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
786
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
787
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
788
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
789
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
790
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
791
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
792
|
+
alias="billingReason", default=None
|
|
710
793
|
)
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
794
|
+
currency: Optional[str] = Field(default=None)
|
|
795
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
796
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
797
|
+
alias="subTotalExcludingTax", default=None
|
|
798
|
+
)
|
|
799
|
+
total: Optional[float] = Field(default=None)
|
|
800
|
+
total_excluding_tax: Optional[float] = Field(
|
|
801
|
+
alias="totalExcludingTax", default=None
|
|
802
|
+
)
|
|
803
|
+
tax: Optional[float] = Field(default=None)
|
|
804
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
805
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
723
806
|
|
|
724
807
|
|
|
725
808
|
class SubscriptionFragment(BaseModel):
|
|
726
|
-
id:
|
|
809
|
+
id: Any
|
|
727
810
|
subscription_id: str = Field(alias="subscriptionId")
|
|
728
811
|
paying_customer: Optional["SubscriptionFragmentPayingCustomer"] = Field(
|
|
729
812
|
alias="payingCustomer", default=None
|
|
@@ -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,6 +991,35 @@ 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
|
+
|
|
994
1023
|
class CouponFragment(BaseModel):
|
|
995
1024
|
id: str
|
|
996
1025
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1025,35 +1054,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1025
1054
|
status: SyncStatus
|
|
1026
1055
|
|
|
1027
1056
|
|
|
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")
|
|
@@ -1796,6 +1796,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1796
1796
|
description: Optional[str] = Field(default=None)
|
|
1797
1797
|
|
|
1798
1798
|
|
|
1799
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1800
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1801
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1802
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1803
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1804
|
+
alias="resetPeriod", default=None
|
|
1805
|
+
)
|
|
1806
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1807
|
+
alias="hiddenFromWidgets", default=None
|
|
1808
|
+
)
|
|
1809
|
+
display_name_override: Optional[str] = Field(
|
|
1810
|
+
alias="displayNameOverride", default=None
|
|
1811
|
+
)
|
|
1812
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1813
|
+
default=None
|
|
1814
|
+
)
|
|
1815
|
+
|
|
1816
|
+
|
|
1817
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1818
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1819
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1820
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1821
|
+
feature_units_plural: Optional[str] = Field(
|
|
1822
|
+
alias="featureUnitsPlural", default=None
|
|
1823
|
+
)
|
|
1824
|
+
display_name: str = Field(alias="displayName")
|
|
1825
|
+
description: Optional[str] = Field(default=None)
|
|
1826
|
+
ref_id: str = Field(alias="refId")
|
|
1827
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1828
|
+
alias="additionalMetaData", default=None
|
|
1829
|
+
)
|
|
1830
|
+
|
|
1831
|
+
|
|
1799
1832
|
class MockPaywallPriceFragment(BaseModel):
|
|
1800
1833
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1801
1834
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1830,39 +1863,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1830
1863
|
display_name: str = Field(alias="displayName")
|
|
1831
1864
|
|
|
1832
1865
|
|
|
1833
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1834
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1835
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1836
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1837
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1838
|
-
alias="resetPeriod", default=None
|
|
1839
|
-
)
|
|
1840
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1841
|
-
alias="hiddenFromWidgets", default=None
|
|
1842
|
-
)
|
|
1843
|
-
display_name_override: Optional[str] = Field(
|
|
1844
|
-
alias="displayNameOverride", default=None
|
|
1845
|
-
)
|
|
1846
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1847
|
-
default=None
|
|
1848
|
-
)
|
|
1849
|
-
|
|
1850
|
-
|
|
1851
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1852
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1853
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1854
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1855
|
-
feature_units_plural: Optional[str] = Field(
|
|
1856
|
-
alias="featureUnitsPlural", default=None
|
|
1857
|
-
)
|
|
1858
|
-
display_name: str = Field(alias="displayName")
|
|
1859
|
-
description: Optional[str] = Field(default=None)
|
|
1860
|
-
ref_id: str = Field(alias="refId")
|
|
1861
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1862
|
-
alias="additionalMetaData", default=None
|
|
1863
|
-
)
|
|
1864
|
-
|
|
1865
|
-
|
|
1866
1866
|
class MockPaywallAddonFragment(BaseModel):
|
|
1867
1867
|
ref_id: str = Field(alias="refId")
|
|
1868
1868
|
display_name: str = Field(alias="displayName")
|
|
@@ -2113,7 +2113,7 @@ class PaywallFragmentPaywallCalculatedPricePoints(PaywallCalculatedPricePointsFr
|
|
|
2113
2113
|
|
|
2114
2114
|
|
|
2115
2115
|
class SlimSubscriptionFragment(BaseModel):
|
|
2116
|
-
id:
|
|
2116
|
+
id: Any
|
|
2117
2117
|
subscription_id: str = Field(alias="subscriptionId")
|
|
2118
2118
|
ref_id: str = Field(alias="refId")
|
|
2119
2119
|
status: SubscriptionStatus
|
|
@@ -2839,25 +2839,25 @@ PriceTierFragment.model_rebuild()
|
|
|
2839
2839
|
PriceFragment.model_rebuild()
|
|
2840
2840
|
OveragePriceFragment.model_rebuild()
|
|
2841
2841
|
AddonFragment.model_rebuild()
|
|
2842
|
-
|
|
2843
|
-
|
|
2844
|
-
|
|
2845
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2846
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2847
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2842
|
+
FeatureFragment.model_rebuild()
|
|
2843
|
+
EntitlementFragment.model_rebuild()
|
|
2844
|
+
CustomerResourceFragment.model_rebuild()
|
|
2848
2845
|
ProductFragment.model_rebuild()
|
|
2846
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2849
2847
|
PlanFragment.model_rebuild()
|
|
2850
|
-
|
|
2848
|
+
TotalPriceFragment.model_rebuild()
|
|
2851
2849
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2850
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2851
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2852
|
+
SlimCustomerFragment.model_rebuild()
|
|
2853
|
+
SubscriptionInvoiceFragment.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
|
-
CouponFragment.model_rebuild()
|
|
2860
2859
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2860
|
+
CouponFragment.model_rebuild()
|
|
2861
2861
|
CustomerFragment.model_rebuild()
|
|
2862
2862
|
CheckoutStateFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
@@ -2877,8 +2877,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2877
2877
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2878
2878
|
LayoutConfigurationFragment.model_rebuild()
|
|
2879
2879
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2880
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2881
2880
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2881
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2882
2882
|
MockPaywallAddonFragment.model_rebuild()
|
|
2883
2883
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2884
2884
|
MockPaywallPlanFragment.model_rebuild()
|