stigg-api-client-v2 2.286.1__py3-none-any.whl → 2.287.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/enums.py +1 -0
- stigg/generated/fragments.py +298 -298
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.287.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.287.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.287.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.286.1.dist-info → stigg_api_client_v2-2.287.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -466,6 +466,7 @@ class ErrorCode(str, Enum):
|
|
|
466
466
|
InvalidAddressError = "InvalidAddressError"
|
|
467
467
|
InvalidArgumentError = "InvalidArgumentError"
|
|
468
468
|
InvalidCancellationDate = "InvalidCancellationDate"
|
|
469
|
+
InvalidDoggoSignatureError = "InvalidDoggoSignatureError"
|
|
469
470
|
InvalidEntitlementResetPeriod = "InvalidEntitlementResetPeriod"
|
|
470
471
|
InvalidMemberDelete = "InvalidMemberDelete"
|
|
471
472
|
InvalidMetadataError = "InvalidMetadataError"
|
stigg/generated/fragments.py
CHANGED
|
@@ -59,6 +59,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
+
class PackageEntitlementFragment(BaseModel):
|
|
63
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
+
feature_id: str = Field(alias="featureId")
|
|
67
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
+
alias="resetPeriod", default=None
|
|
69
|
+
)
|
|
70
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
+
alias="hiddenFromWidgets", default=None
|
|
72
|
+
)
|
|
73
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
+
display_name_override: Optional[str] = Field(
|
|
75
|
+
alias="displayNameOverride", default=None
|
|
76
|
+
)
|
|
77
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
+
feature_units_plural: Optional[str] = Field(
|
|
85
|
+
alias="featureUnitsPlural", default=None
|
|
86
|
+
)
|
|
87
|
+
display_name: str = Field(alias="displayName")
|
|
88
|
+
description: Optional[str] = Field(default=None)
|
|
89
|
+
ref_id: str = Field(alias="refId")
|
|
90
|
+
additional_meta_data: Optional[Any] = Field(
|
|
91
|
+
alias="additionalMetaData", default=None
|
|
92
|
+
)
|
|
93
|
+
|
|
94
|
+
|
|
62
95
|
class PriceTierFragment(BaseModel):
|
|
63
96
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
64
97
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -115,39 +148,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
148
|
description: Optional[str] = Field(default=None)
|
|
116
149
|
|
|
117
150
|
|
|
118
|
-
class PackageEntitlementFragment(BaseModel):
|
|
119
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
121
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
122
|
-
feature_id: str = Field(alias="featureId")
|
|
123
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
124
|
-
alias="resetPeriod", default=None
|
|
125
|
-
)
|
|
126
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
127
|
-
alias="hiddenFromWidgets", default=None
|
|
128
|
-
)
|
|
129
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
130
|
-
display_name_override: Optional[str] = Field(
|
|
131
|
-
alias="displayNameOverride", default=None
|
|
132
|
-
)
|
|
133
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
137
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
138
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
139
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
|
-
feature_units_plural: Optional[str] = Field(
|
|
141
|
-
alias="featureUnitsPlural", default=None
|
|
142
|
-
)
|
|
143
|
-
display_name: str = Field(alias="displayName")
|
|
144
|
-
description: Optional[str] = Field(default=None)
|
|
145
|
-
ref_id: str = Field(alias="refId")
|
|
146
|
-
additional_meta_data: Optional[Any] = Field(
|
|
147
|
-
alias="additionalMetaData", default=None
|
|
148
|
-
)
|
|
149
|
-
|
|
150
|
-
|
|
151
151
|
class OveragePriceFragment(BaseModel):
|
|
152
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -324,45 +324,45 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
324
324
|
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
325
325
|
|
|
326
326
|
|
|
327
|
-
class
|
|
327
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
328
328
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
329
329
|
alias="subscriptionScheduleType"
|
|
330
330
|
)
|
|
331
331
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
332
332
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
333
|
-
target_package: Optional["
|
|
333
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
334
334
|
alias="targetPackage", default=None
|
|
335
335
|
)
|
|
336
336
|
schedule_variables: Optional[
|
|
337
337
|
Annotated[
|
|
338
338
|
Union[
|
|
339
|
-
"
|
|
340
|
-
"
|
|
341
|
-
"
|
|
342
|
-
"
|
|
343
|
-
"
|
|
344
|
-
"
|
|
345
|
-
"
|
|
346
|
-
"
|
|
339
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
340
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
341
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
342
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
343
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
344
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
345
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
346
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
347
347
|
],
|
|
348
348
|
Field(discriminator="typename__"),
|
|
349
349
|
]
|
|
350
350
|
] = Field(alias="scheduleVariables", default=None)
|
|
351
351
|
|
|
352
352
|
|
|
353
|
-
class
|
|
353
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
354
354
|
id: str
|
|
355
355
|
ref_id: str = Field(alias="refId")
|
|
356
356
|
display_name: str = Field(alias="displayName")
|
|
357
357
|
|
|
358
358
|
|
|
359
|
-
class
|
|
359
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
360
360
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
361
361
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
362
362
|
new_quantity: float = Field(alias="newQuantity")
|
|
363
363
|
|
|
364
364
|
|
|
365
|
-
class
|
|
365
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
366
366
|
BaseModel
|
|
367
367
|
):
|
|
368
368
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -370,53 +370,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
370
370
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
371
371
|
|
|
372
372
|
|
|
373
|
-
class
|
|
373
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
374
374
|
BaseModel
|
|
375
375
|
):
|
|
376
376
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
377
377
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
378
378
|
|
|
379
379
|
|
|
380
|
-
class
|
|
380
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
381
381
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
382
382
|
|
|
383
383
|
|
|
384
|
-
class
|
|
384
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
385
|
+
BaseModel
|
|
386
|
+
):
|
|
385
387
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
386
388
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
387
389
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
388
390
|
billable_features: Optional[
|
|
389
391
|
List[
|
|
390
|
-
"
|
|
392
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
391
393
|
]
|
|
392
394
|
] = Field(alias="billableFeatures", default=None)
|
|
393
395
|
addons: Optional[
|
|
394
396
|
List[
|
|
395
|
-
"
|
|
397
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
396
398
|
]
|
|
397
399
|
] = Field(default=None)
|
|
398
400
|
price_overrides: Optional[
|
|
399
401
|
List[
|
|
400
|
-
"
|
|
402
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
401
403
|
]
|
|
402
404
|
] = Field(alias="priceOverrides", default=None)
|
|
403
405
|
|
|
404
406
|
|
|
405
|
-
class
|
|
407
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
406
408
|
BaseModel
|
|
407
409
|
):
|
|
408
410
|
feature_id: str = Field(alias="featureId")
|
|
409
411
|
quantity: float
|
|
410
412
|
|
|
411
413
|
|
|
412
|
-
class
|
|
414
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
413
415
|
BaseModel
|
|
414
416
|
):
|
|
415
417
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
416
418
|
quantity: float
|
|
417
419
|
|
|
418
420
|
|
|
419
|
-
class
|
|
421
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
420
422
|
BaseModel
|
|
421
423
|
):
|
|
422
424
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -424,39 +426,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
424
426
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
425
427
|
|
|
426
428
|
|
|
427
|
-
class
|
|
429
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
428
430
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
429
431
|
plan_ref_id: str = Field(alias="planRefId")
|
|
430
432
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
431
433
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
432
434
|
billable_features: Optional[
|
|
433
435
|
List[
|
|
434
|
-
"
|
|
436
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
435
437
|
]
|
|
436
438
|
] = Field(alias="billableFeatures", default=None)
|
|
437
439
|
addons: Optional[
|
|
438
|
-
List[
|
|
440
|
+
List[
|
|
441
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
442
|
+
]
|
|
439
443
|
] = Field(default=None)
|
|
440
444
|
price_overrides: Optional[
|
|
441
445
|
List[
|
|
442
|
-
"
|
|
446
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
443
447
|
]
|
|
444
448
|
] = Field(alias="priceOverrides", default=None)
|
|
445
449
|
|
|
446
450
|
|
|
447
|
-
class
|
|
451
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
448
452
|
BaseModel
|
|
449
453
|
):
|
|
450
454
|
feature_id: str = Field(alias="featureId")
|
|
451
455
|
quantity: float
|
|
452
456
|
|
|
453
457
|
|
|
454
|
-
class
|
|
458
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
459
|
+
BaseModel
|
|
460
|
+
):
|
|
455
461
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
456
462
|
quantity: float
|
|
457
463
|
|
|
458
464
|
|
|
459
|
-
class
|
|
465
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
460
466
|
BaseModel
|
|
461
467
|
):
|
|
462
468
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -464,7 +470,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
464
470
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
465
471
|
|
|
466
472
|
|
|
467
|
-
class
|
|
473
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
468
474
|
BaseModel
|
|
469
475
|
):
|
|
470
476
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -472,51 +478,194 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
472
478
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
473
479
|
|
|
474
480
|
|
|
475
|
-
class
|
|
481
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
482
|
+
BaseModel
|
|
483
|
+
):
|
|
476
484
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
477
485
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
478
486
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
479
487
|
|
|
480
488
|
|
|
481
|
-
class
|
|
489
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
490
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
494
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
495
|
+
display_name: str = Field(alias="displayName")
|
|
496
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
497
|
+
default=None
|
|
498
|
+
)
|
|
499
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
503
|
+
pass
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
507
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
508
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
509
|
+
|
|
510
|
+
|
|
511
|
+
class ProductFragment(BaseModel):
|
|
512
|
+
ref_id: str = Field(alias="refId")
|
|
513
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
514
|
+
description: Optional[str] = Field(default=None)
|
|
515
|
+
additional_meta_data: Optional[Any] = Field(
|
|
516
|
+
alias="additionalMetaData", default=None
|
|
517
|
+
)
|
|
518
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
522
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
523
|
+
alias="downgradePlan", default=None
|
|
524
|
+
)
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
528
|
+
ref_id: str = Field(alias="refId")
|
|
529
|
+
display_name: str = Field(alias="displayName")
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
class PlanFragment(BaseModel):
|
|
533
|
+
id: str
|
|
534
|
+
ref_id: str = Field(alias="refId")
|
|
535
|
+
display_name: str = Field(alias="displayName")
|
|
536
|
+
description: Optional[str] = Field(default=None)
|
|
537
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
538
|
+
version_number: int = Field(alias="versionNumber")
|
|
539
|
+
additional_meta_data: Optional[Any] = Field(
|
|
540
|
+
alias="additionalMetaData", default=None
|
|
541
|
+
)
|
|
542
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
543
|
+
alias="hiddenFromWidgets", default=None
|
|
544
|
+
)
|
|
545
|
+
product: "PlanFragmentProduct"
|
|
546
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
547
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
548
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
549
|
+
alias="inheritedEntitlements", default=None
|
|
550
|
+
)
|
|
551
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
552
|
+
alias="compatibleAddons", default=None
|
|
553
|
+
)
|
|
554
|
+
compatible_package_groups: Optional[
|
|
555
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
556
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
557
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
558
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
559
|
+
alias="overagePrices", default=None
|
|
560
|
+
)
|
|
561
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
562
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
563
|
+
alias="defaultTrialConfig", default=None
|
|
564
|
+
)
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
class PlanFragmentProduct(ProductFragment):
|
|
568
|
+
pass
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
572
|
+
ref_id: str = Field(alias="refId")
|
|
573
|
+
display_name: str = Field(alias="displayName")
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
577
|
+
pass
|
|
578
|
+
|
|
579
|
+
|
|
580
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
581
|
+
pass
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
585
|
+
pass
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
589
|
+
pass
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
class PlanFragmentPrices(PriceFragment):
|
|
593
|
+
pass
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
597
|
+
pass
|
|
598
|
+
|
|
599
|
+
|
|
600
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
601
|
+
duration: float
|
|
602
|
+
units: TrialPeriodUnits
|
|
603
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
604
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
605
|
+
alias="trialEndBehavior", default=None
|
|
606
|
+
)
|
|
607
|
+
|
|
608
|
+
|
|
609
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
610
|
+
limit: float
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
class SlimCustomerFragment(BaseModel):
|
|
614
|
+
id: str
|
|
615
|
+
name: Optional[str] = Field(default=None)
|
|
616
|
+
email: Optional[str] = Field(default=None)
|
|
617
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
618
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
619
|
+
ref_id: str = Field(alias="refId")
|
|
620
|
+
customer_id: str = Field(alias="customerId")
|
|
621
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
622
|
+
additional_meta_data: Optional[Any] = Field(
|
|
623
|
+
alias="additionalMetaData", default=None
|
|
624
|
+
)
|
|
625
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
626
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
627
|
+
)
|
|
628
|
+
|
|
629
|
+
|
|
630
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
482
631
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
483
632
|
alias="subscriptionScheduleType"
|
|
484
633
|
)
|
|
485
634
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
486
635
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
487
|
-
target_package: Optional["
|
|
636
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
488
637
|
alias="targetPackage", default=None
|
|
489
638
|
)
|
|
490
639
|
schedule_variables: Optional[
|
|
491
640
|
Annotated[
|
|
492
641
|
Union[
|
|
493
|
-
"
|
|
494
|
-
"
|
|
495
|
-
"
|
|
496
|
-
"
|
|
497
|
-
"
|
|
498
|
-
"
|
|
499
|
-
"
|
|
500
|
-
"
|
|
642
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
643
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
644
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
645
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
646
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
647
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
648
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
649
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
501
650
|
],
|
|
502
651
|
Field(discriminator="typename__"),
|
|
503
652
|
]
|
|
504
653
|
] = Field(alias="scheduleVariables", default=None)
|
|
505
654
|
|
|
506
655
|
|
|
507
|
-
class
|
|
656
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
508
657
|
id: str
|
|
509
658
|
ref_id: str = Field(alias="refId")
|
|
510
659
|
display_name: str = Field(alias="displayName")
|
|
511
660
|
|
|
512
661
|
|
|
513
|
-
class
|
|
662
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
514
663
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
515
664
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
516
665
|
new_quantity: float = Field(alias="newQuantity")
|
|
517
666
|
|
|
518
667
|
|
|
519
|
-
class
|
|
668
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
520
669
|
BaseModel
|
|
521
670
|
):
|
|
522
671
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -524,55 +673,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
524
673
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
525
674
|
|
|
526
675
|
|
|
527
|
-
class
|
|
676
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
528
677
|
BaseModel
|
|
529
678
|
):
|
|
530
679
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
531
680
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
532
681
|
|
|
533
682
|
|
|
534
|
-
class
|
|
683
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
535
684
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
536
685
|
|
|
537
686
|
|
|
538
|
-
class
|
|
539
|
-
BaseModel
|
|
540
|
-
):
|
|
687
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
541
688
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
542
689
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
543
690
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
544
691
|
billable_features: Optional[
|
|
545
692
|
List[
|
|
546
|
-
"
|
|
693
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
547
694
|
]
|
|
548
695
|
] = Field(alias="billableFeatures", default=None)
|
|
549
696
|
addons: Optional[
|
|
550
697
|
List[
|
|
551
|
-
"
|
|
698
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
552
699
|
]
|
|
553
700
|
] = Field(default=None)
|
|
554
701
|
price_overrides: Optional[
|
|
555
702
|
List[
|
|
556
|
-
"
|
|
703
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
557
704
|
]
|
|
558
705
|
] = Field(alias="priceOverrides", default=None)
|
|
559
706
|
|
|
560
707
|
|
|
561
|
-
class
|
|
708
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
562
709
|
BaseModel
|
|
563
710
|
):
|
|
564
711
|
feature_id: str = Field(alias="featureId")
|
|
565
712
|
quantity: float
|
|
566
713
|
|
|
567
714
|
|
|
568
|
-
class
|
|
715
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
569
716
|
BaseModel
|
|
570
717
|
):
|
|
571
718
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
572
719
|
quantity: float
|
|
573
720
|
|
|
574
721
|
|
|
575
|
-
class
|
|
722
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
576
723
|
BaseModel
|
|
577
724
|
):
|
|
578
725
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -580,43 +727,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
580
727
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
581
728
|
|
|
582
729
|
|
|
583
|
-
class
|
|
730
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
584
731
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
585
732
|
plan_ref_id: str = Field(alias="planRefId")
|
|
586
733
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
587
734
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
588
735
|
billable_features: Optional[
|
|
589
736
|
List[
|
|
590
|
-
"
|
|
737
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
591
738
|
]
|
|
592
739
|
] = Field(alias="billableFeatures", default=None)
|
|
593
740
|
addons: Optional[
|
|
594
|
-
List[
|
|
595
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
596
|
-
]
|
|
741
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
597
742
|
] = Field(default=None)
|
|
598
743
|
price_overrides: Optional[
|
|
599
744
|
List[
|
|
600
|
-
"
|
|
745
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
601
746
|
]
|
|
602
747
|
] = Field(alias="priceOverrides", default=None)
|
|
603
748
|
|
|
604
749
|
|
|
605
|
-
class
|
|
750
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
606
751
|
BaseModel
|
|
607
752
|
):
|
|
608
753
|
feature_id: str = Field(alias="featureId")
|
|
609
754
|
quantity: float
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
class
|
|
613
|
-
BaseModel
|
|
614
|
-
):
|
|
755
|
+
|
|
756
|
+
|
|
757
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
615
758
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
616
759
|
quantity: float
|
|
617
760
|
|
|
618
761
|
|
|
619
|
-
class
|
|
762
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
620
763
|
BaseModel
|
|
621
764
|
):
|
|
622
765
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -624,7 +767,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
624
767
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
625
768
|
|
|
626
769
|
|
|
627
|
-
class
|
|
770
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
628
771
|
BaseModel
|
|
629
772
|
):
|
|
630
773
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -632,31 +775,12 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
632
775
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
633
776
|
|
|
634
777
|
|
|
635
|
-
class
|
|
636
|
-
BaseModel
|
|
637
|
-
):
|
|
778
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
638
779
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
639
780
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
640
781
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
641
782
|
|
|
642
783
|
|
|
643
|
-
class SlimCustomerFragment(BaseModel):
|
|
644
|
-
id: str
|
|
645
|
-
name: Optional[str] = Field(default=None)
|
|
646
|
-
email: Optional[str] = Field(default=None)
|
|
647
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
648
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
649
|
-
ref_id: str = Field(alias="refId")
|
|
650
|
-
customer_id: str = Field(alias="customerId")
|
|
651
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
652
|
-
additional_meta_data: Optional[Any] = Field(
|
|
653
|
-
alias="additionalMetaData", default=None
|
|
654
|
-
)
|
|
655
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
656
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
657
|
-
)
|
|
658
|
-
|
|
659
|
-
|
|
660
784
|
class TotalPriceFragment(BaseModel):
|
|
661
785
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
662
786
|
total: "TotalPriceFragmentTotal"
|
|
@@ -672,134 +796,10 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
672
796
|
currency: Currency
|
|
673
797
|
|
|
674
798
|
|
|
675
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
676
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
677
|
-
|
|
678
|
-
|
|
679
799
|
class CustomerResourceFragment(BaseModel):
|
|
680
800
|
resource_id: str = Field(alias="resourceId")
|
|
681
801
|
|
|
682
802
|
|
|
683
|
-
class ProductFragment(BaseModel):
|
|
684
|
-
ref_id: str = Field(alias="refId")
|
|
685
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
686
|
-
description: Optional[str] = Field(default=None)
|
|
687
|
-
additional_meta_data: Optional[Any] = Field(
|
|
688
|
-
alias="additionalMetaData", default=None
|
|
689
|
-
)
|
|
690
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
691
|
-
|
|
692
|
-
|
|
693
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
694
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
695
|
-
alias="downgradePlan", default=None
|
|
696
|
-
)
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
700
|
-
ref_id: str = Field(alias="refId")
|
|
701
|
-
display_name: str = Field(alias="displayName")
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
705
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
706
|
-
display_name: str = Field(alias="displayName")
|
|
707
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
708
|
-
default=None
|
|
709
|
-
)
|
|
710
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
714
|
-
pass
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
718
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
719
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
class PlanFragment(BaseModel):
|
|
723
|
-
id: str
|
|
724
|
-
ref_id: str = Field(alias="refId")
|
|
725
|
-
display_name: str = Field(alias="displayName")
|
|
726
|
-
description: Optional[str] = Field(default=None)
|
|
727
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
728
|
-
version_number: int = Field(alias="versionNumber")
|
|
729
|
-
additional_meta_data: Optional[Any] = Field(
|
|
730
|
-
alias="additionalMetaData", default=None
|
|
731
|
-
)
|
|
732
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
733
|
-
alias="hiddenFromWidgets", default=None
|
|
734
|
-
)
|
|
735
|
-
product: "PlanFragmentProduct"
|
|
736
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
737
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
738
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
739
|
-
alias="inheritedEntitlements", default=None
|
|
740
|
-
)
|
|
741
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
742
|
-
alias="compatibleAddons", default=None
|
|
743
|
-
)
|
|
744
|
-
compatible_package_groups: Optional[
|
|
745
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
746
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
747
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
748
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
749
|
-
alias="overagePrices", default=None
|
|
750
|
-
)
|
|
751
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
752
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
753
|
-
alias="defaultTrialConfig", default=None
|
|
754
|
-
)
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
class PlanFragmentProduct(ProductFragment):
|
|
758
|
-
pass
|
|
759
|
-
|
|
760
|
-
|
|
761
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
762
|
-
ref_id: str = Field(alias="refId")
|
|
763
|
-
display_name: str = Field(alias="displayName")
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
767
|
-
pass
|
|
768
|
-
|
|
769
|
-
|
|
770
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
771
|
-
pass
|
|
772
|
-
|
|
773
|
-
|
|
774
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
775
|
-
pass
|
|
776
|
-
|
|
777
|
-
|
|
778
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
779
|
-
pass
|
|
780
|
-
|
|
781
|
-
|
|
782
|
-
class PlanFragmentPrices(PriceFragment):
|
|
783
|
-
pass
|
|
784
|
-
|
|
785
|
-
|
|
786
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
787
|
-
pass
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
791
|
-
duration: float
|
|
792
|
-
units: TrialPeriodUnits
|
|
793
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
794
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
795
|
-
alias="trialEndBehavior", default=None
|
|
796
|
-
)
|
|
797
|
-
|
|
798
|
-
|
|
799
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
800
|
-
limit: float
|
|
801
|
-
|
|
802
|
-
|
|
803
803
|
class SubscriptionFragment(BaseModel):
|
|
804
804
|
id: str
|
|
805
805
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -986,35 +986,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
986
986
|
)
|
|
987
987
|
|
|
988
988
|
|
|
989
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
990
|
-
status: PromotionalEntitlementStatus
|
|
991
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
992
|
-
feature_id: str = Field(alias="featureId")
|
|
993
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
994
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
995
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
996
|
-
alias="resetPeriod", default=None
|
|
997
|
-
)
|
|
998
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
999
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1000
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1004
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1005
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1006
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1007
|
-
feature_units_plural: Optional[str] = Field(
|
|
1008
|
-
alias="featureUnitsPlural", default=None
|
|
1009
|
-
)
|
|
1010
|
-
display_name: str = Field(alias="displayName")
|
|
1011
|
-
description: Optional[str] = Field(default=None)
|
|
1012
|
-
ref_id: str = Field(alias="refId")
|
|
1013
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1014
|
-
alias="additionalMetaData", default=None
|
|
1015
|
-
)
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
989
|
class CouponFragment(BaseModel):
|
|
1019
990
|
id: str
|
|
1020
991
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1049,6 +1020,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1049
1020
|
status: SyncStatus
|
|
1050
1021
|
|
|
1051
1022
|
|
|
1023
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1024
|
+
status: PromotionalEntitlementStatus
|
|
1025
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1026
|
+
feature_id: str = Field(alias="featureId")
|
|
1027
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1028
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1029
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1030
|
+
alias="resetPeriod", default=None
|
|
1031
|
+
)
|
|
1032
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1033
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1034
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1038
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1039
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1040
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1041
|
+
feature_units_plural: Optional[str] = Field(
|
|
1042
|
+
alias="featureUnitsPlural", default=None
|
|
1043
|
+
)
|
|
1044
|
+
display_name: str = Field(alias="displayName")
|
|
1045
|
+
description: Optional[str] = Field(default=None)
|
|
1046
|
+
ref_id: str = Field(alias="refId")
|
|
1047
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1048
|
+
alias="additionalMetaData", default=None
|
|
1049
|
+
)
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
1052
|
class CustomerFragment(SlimCustomerFragment):
|
|
1053
1053
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1054
1054
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1249,14 +1249,11 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1249
1249
|
pass
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
-
class
|
|
1252
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1253
|
+
addon_id: str = Field(alias="addonId")
|
|
1254
|
+
description: Optional[str] = Field(default=None)
|
|
1253
1255
|
display_name: str = Field(alias="displayName")
|
|
1254
|
-
|
|
1255
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1256
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1257
|
-
period: PromotionalEntitlementPeriod
|
|
1258
|
-
start_date: Any = Field(alias="startDate")
|
|
1259
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1256
|
+
quantity: int
|
|
1260
1257
|
|
|
1261
1258
|
|
|
1262
1259
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1455,13 +1452,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1455
1452
|
)
|
|
1456
1453
|
|
|
1457
1454
|
|
|
1458
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1459
|
-
addon_id: str = Field(alias="addonId")
|
|
1460
|
-
description: Optional[str] = Field(default=None)
|
|
1461
|
-
display_name: str = Field(alias="displayName")
|
|
1462
|
-
quantity: int
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
1455
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1466
1456
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1467
1457
|
plan_id: str = Field(alias="planId")
|
|
@@ -1558,6 +1548,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1558
1548
|
pass
|
|
1559
1549
|
|
|
1560
1550
|
|
|
1551
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1552
|
+
display_name: str = Field(alias="displayName")
|
|
1553
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1554
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1555
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1556
|
+
period: PromotionalEntitlementPeriod
|
|
1557
|
+
start_date: Any = Field(alias="startDate")
|
|
1558
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
1561
|
class CustomerPortalFragment(BaseModel):
|
|
1562
1562
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1563
1563
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2762,40 +2762,40 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2762
2762
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2765
2766
|
PriceTierFragment.model_rebuild()
|
|
2766
2767
|
PriceFragment.model_rebuild()
|
|
2767
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2768
2768
|
OveragePriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
2770
|
FeatureFragment.model_rebuild()
|
|
2771
2771
|
EntitlementFragment.model_rebuild()
|
|
2772
2772
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2773
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2774
2773
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2775
|
-
SlimCustomerFragment.model_rebuild()
|
|
2776
|
-
TotalPriceFragment.model_rebuild()
|
|
2777
2774
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2778
|
-
CustomerResourceFragment.model_rebuild()
|
|
2779
|
-
ProductFragment.model_rebuild()
|
|
2780
2775
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2776
|
+
ProductFragment.model_rebuild()
|
|
2781
2777
|
PlanFragment.model_rebuild()
|
|
2778
|
+
SlimCustomerFragment.model_rebuild()
|
|
2779
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2780
|
+
TotalPriceFragment.model_rebuild()
|
|
2781
|
+
CustomerResourceFragment.model_rebuild()
|
|
2782
2782
|
SubscriptionFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
2786
2786
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2787
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2788
2787
|
CouponFragment.model_rebuild()
|
|
2788
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
2789
|
CustomerFragment.model_rebuild()
|
|
2790
2790
|
CheckoutStateFragment.model_rebuild()
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
|
-
|
|
2794
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2795
2795
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2796
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
2797
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2798
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2800
|
CustomerStatisticsFragment.model_rebuild()
|
|
2801
2801
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=ID5x5Jok4GeF-j_WWeIQokdYlfH3iAOG7uqMD-mI0TI,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=sAWkIRKUluDgemnIRIPpRnCf49mbnaTUKOc_OxDO3NY,34153
|
|
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=V7tPqSEauSwTm1VuvA89bqPHchVMKvwp3d2trLjH7B0,100553
|
|
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
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.287.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.287.0.dist-info/METADATA,sha256=0gT4I7FctlYbN9lEIdFYbH34ZD4o9r5I5hbdnb4Nne4,2258
|
|
165
|
+
stigg_api_client_v2-2.287.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.287.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|