stigg-api-client-v2 3.128.0__py3-none-any.whl → 4.5.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 +3 -0
- stigg/generated/fragments.py +389 -389
- stigg/generated/input_types.py +7 -0
- {stigg_api_client_v2-3.128.0.dist-info → stigg_api_client_v2-4.5.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.128.0.dist-info → stigg_api_client_v2-4.5.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-3.128.0.dist-info → stigg_api_client_v2-4.5.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.128.0.dist-info → stigg_api_client_v2-4.5.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -1188,9 +1188,12 @@ class SubscriptionProrationBehavior(str, Enum):
|
|
|
1188
1188
|
|
|
1189
1189
|
class SubscriptionQuerySortFields(str, Enum):
|
|
1190
1190
|
billingId = "billingId"
|
|
1191
|
+
cancellationDate = "cancellationDate"
|
|
1191
1192
|
createdAt = "createdAt"
|
|
1192
1193
|
customerId = "customerId"
|
|
1194
|
+
endDate = "endDate"
|
|
1193
1195
|
environmentId = "environmentId"
|
|
1196
|
+
paymentCollection = "paymentCollection"
|
|
1194
1197
|
productId = "productId"
|
|
1195
1198
|
resourceId = "resourceId"
|
|
1196
1199
|
salesforceId = "salesforceId"
|
stigg/generated/fragments.py
CHANGED
|
@@ -62,6 +62,41 @@ class AddonDependencyFragment(BaseModel):
|
|
|
62
62
|
description: Optional[str] = Field(default=None)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
class PackageEntitlementFragment(BaseModel):
|
|
66
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
67
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
68
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
69
|
+
feature_id: str = Field(alias="featureId")
|
|
70
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
71
|
+
alias="resetPeriod", default=None
|
|
72
|
+
)
|
|
73
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
74
|
+
alias="hiddenFromWidgets", default=None
|
|
75
|
+
)
|
|
76
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
77
|
+
display_name_override: Optional[str] = Field(
|
|
78
|
+
alias="displayNameOverride", default=None
|
|
79
|
+
)
|
|
80
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
81
|
+
is_granted: bool = Field(alias="isGranted")
|
|
82
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
86
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
87
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
88
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
89
|
+
feature_units_plural: Optional[str] = Field(
|
|
90
|
+
alias="featureUnitsPlural", default=None
|
|
91
|
+
)
|
|
92
|
+
display_name: str = Field(alias="displayName")
|
|
93
|
+
description: Optional[str] = Field(default=None)
|
|
94
|
+
ref_id: str = Field(alias="refId")
|
|
95
|
+
additional_meta_data: Optional[Any] = Field(
|
|
96
|
+
alias="additionalMetaData", default=None
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
|
|
65
100
|
class PriceTierFragment(BaseModel):
|
|
66
101
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
67
102
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -127,41 +162,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
127
162
|
description: Optional[str] = Field(default=None)
|
|
128
163
|
|
|
129
164
|
|
|
130
|
-
class PackageEntitlementFragment(BaseModel):
|
|
131
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
132
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
133
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
134
|
-
feature_id: str = Field(alias="featureId")
|
|
135
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
136
|
-
alias="resetPeriod", default=None
|
|
137
|
-
)
|
|
138
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
139
|
-
alias="hiddenFromWidgets", default=None
|
|
140
|
-
)
|
|
141
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
142
|
-
display_name_override: Optional[str] = Field(
|
|
143
|
-
alias="displayNameOverride", default=None
|
|
144
|
-
)
|
|
145
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
146
|
-
is_granted: bool = Field(alias="isGranted")
|
|
147
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
151
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
152
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
153
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
154
|
-
feature_units_plural: Optional[str] = Field(
|
|
155
|
-
alias="featureUnitsPlural", default=None
|
|
156
|
-
)
|
|
157
|
-
display_name: str = Field(alias="displayName")
|
|
158
|
-
description: Optional[str] = Field(default=None)
|
|
159
|
-
ref_id: str = Field(alias="refId")
|
|
160
|
-
additional_meta_data: Optional[Any] = Field(
|
|
161
|
-
alias="additionalMetaData", default=None
|
|
162
|
-
)
|
|
163
|
-
|
|
164
|
-
|
|
165
165
|
class OveragePriceFragment(BaseModel):
|
|
166
166
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
167
167
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -326,181 +326,143 @@ class EntitlementFragmentCreditRate(BaseModel):
|
|
|
326
326
|
currency_id: str = Field(alias="currencyId")
|
|
327
327
|
|
|
328
328
|
|
|
329
|
-
class
|
|
330
|
-
|
|
331
|
-
alias="subscriptionScheduleType"
|
|
332
|
-
)
|
|
333
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
334
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
335
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
336
|
-
alias="targetPackage", default=None
|
|
337
|
-
)
|
|
338
|
-
schedule_variables: Optional[
|
|
339
|
-
Annotated[
|
|
340
|
-
Union[
|
|
341
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
342
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
343
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
344
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
345
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
346
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
347
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
348
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
349
|
-
],
|
|
350
|
-
Field(discriminator="typename__"),
|
|
351
|
-
]
|
|
352
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
329
|
+
class CustomerResourceFragment(BaseModel):
|
|
330
|
+
resource_id: str = Field(alias="resourceId")
|
|
353
331
|
|
|
354
332
|
|
|
355
|
-
class
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
display_name: str = Field(alias="displayName")
|
|
333
|
+
class TotalPriceFragment(BaseModel):
|
|
334
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
335
|
+
total: "TotalPriceFragmentTotal"
|
|
359
336
|
|
|
360
337
|
|
|
361
|
-
class
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
338
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
339
|
+
amount: float
|
|
340
|
+
currency: Currency
|
|
365
341
|
|
|
366
342
|
|
|
367
|
-
class
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
371
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
372
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
343
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
344
|
+
amount: float
|
|
345
|
+
currency: Currency
|
|
373
346
|
|
|
374
347
|
|
|
375
|
-
class
|
|
376
|
-
|
|
377
|
-
)
|
|
378
|
-
|
|
379
|
-
|
|
348
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
349
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
350
|
+
display_name: str = Field(alias="displayName")
|
|
351
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
352
|
+
default=None
|
|
353
|
+
)
|
|
354
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
380
355
|
|
|
381
356
|
|
|
382
|
-
class
|
|
383
|
-
|
|
357
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
358
|
+
pass
|
|
384
359
|
|
|
385
360
|
|
|
386
|
-
class
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
390
|
-
billable_features: Optional[
|
|
391
|
-
List[
|
|
392
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
393
|
-
]
|
|
394
|
-
] = Field(alias="billableFeatures", default=None)
|
|
395
|
-
addons: Optional[
|
|
396
|
-
List[
|
|
397
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
398
|
-
]
|
|
399
|
-
] = Field(default=None)
|
|
400
|
-
price_overrides: Optional[
|
|
401
|
-
List[
|
|
402
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
403
|
-
]
|
|
404
|
-
] = Field(alias="priceOverrides", default=None)
|
|
361
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
362
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
363
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
405
364
|
|
|
406
365
|
|
|
407
|
-
class
|
|
408
|
-
|
|
409
|
-
)
|
|
410
|
-
|
|
411
|
-
|
|
366
|
+
class ProductFragment(BaseModel):
|
|
367
|
+
ref_id: str = Field(alias="refId")
|
|
368
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
369
|
+
description: Optional[str] = Field(default=None)
|
|
370
|
+
additional_meta_data: Optional[Any] = Field(
|
|
371
|
+
alias="additionalMetaData", default=None
|
|
372
|
+
)
|
|
373
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
412
374
|
|
|
413
375
|
|
|
414
|
-
class
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
quantity: float
|
|
376
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
377
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
378
|
+
alias="downgradePlan", default=None
|
|
379
|
+
)
|
|
419
380
|
|
|
420
381
|
|
|
421
|
-
class
|
|
422
|
-
|
|
423
|
-
)
|
|
424
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
425
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
426
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
382
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
383
|
+
ref_id: str = Field(alias="refId")
|
|
384
|
+
display_name: str = Field(alias="displayName")
|
|
427
385
|
|
|
428
386
|
|
|
429
|
-
class
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
387
|
+
class PlanFragment(BaseModel):
|
|
388
|
+
id: Any
|
|
389
|
+
ref_id: str = Field(alias="refId")
|
|
390
|
+
display_name: str = Field(alias="displayName")
|
|
391
|
+
description: Optional[str] = Field(default=None)
|
|
392
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
393
|
+
version_number: int = Field(alias="versionNumber")
|
|
394
|
+
additional_meta_data: Optional[Any] = Field(
|
|
395
|
+
alias="additionalMetaData", default=None
|
|
396
|
+
)
|
|
397
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
398
|
+
alias="hiddenFromWidgets", default=None
|
|
399
|
+
)
|
|
400
|
+
product: "PlanFragmentProduct"
|
|
401
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
402
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
403
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
404
|
+
alias="inheritedEntitlements", default=None
|
|
405
|
+
)
|
|
406
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
407
|
+
alias="compatibleAddons", default=None
|
|
408
|
+
)
|
|
409
|
+
compatible_package_groups: Optional[
|
|
410
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
411
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
412
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
413
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
414
|
+
alias="overagePrices", default=None
|
|
415
|
+
)
|
|
416
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
417
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
418
|
+
alias="defaultTrialConfig", default=None
|
|
419
|
+
)
|
|
447
420
|
|
|
448
421
|
|
|
449
|
-
class
|
|
450
|
-
|
|
451
|
-
):
|
|
452
|
-
feature_id: str = Field(alias="featureId")
|
|
453
|
-
quantity: float
|
|
422
|
+
class PlanFragmentProduct(ProductFragment):
|
|
423
|
+
pass
|
|
454
424
|
|
|
455
425
|
|
|
456
|
-
class
|
|
457
|
-
|
|
458
|
-
|
|
426
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
427
|
+
ref_id: str = Field(alias="refId")
|
|
428
|
+
display_name: str = Field(alias="displayName")
|
|
459
429
|
|
|
460
430
|
|
|
461
|
-
class
|
|
462
|
-
|
|
463
|
-
):
|
|
464
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
465
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
466
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
431
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
432
|
+
pass
|
|
467
433
|
|
|
468
434
|
|
|
469
|
-
class
|
|
470
|
-
|
|
471
|
-
):
|
|
472
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
473
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
474
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
435
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
436
|
+
pass
|
|
475
437
|
|
|
476
438
|
|
|
477
|
-
class
|
|
478
|
-
|
|
479
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
480
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
439
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
440
|
+
pass
|
|
481
441
|
|
|
482
442
|
|
|
483
|
-
class
|
|
484
|
-
|
|
485
|
-
total: "TotalPriceFragmentTotal"
|
|
443
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
444
|
+
pass
|
|
486
445
|
|
|
487
446
|
|
|
488
|
-
class
|
|
489
|
-
|
|
490
|
-
currency: Currency
|
|
447
|
+
class PlanFragmentPrices(PriceFragment):
|
|
448
|
+
pass
|
|
491
449
|
|
|
492
450
|
|
|
493
|
-
class
|
|
494
|
-
|
|
495
|
-
currency: Currency
|
|
451
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
452
|
+
pass
|
|
496
453
|
|
|
497
454
|
|
|
498
|
-
class
|
|
499
|
-
|
|
455
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
456
|
+
duration: float
|
|
457
|
+
units: TrialPeriodUnits
|
|
458
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
459
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
460
|
+
alias="trialEndBehavior", default=None
|
|
461
|
+
)
|
|
500
462
|
|
|
501
463
|
|
|
502
|
-
class
|
|
503
|
-
|
|
464
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
465
|
+
limit: float
|
|
504
466
|
|
|
505
467
|
|
|
506
468
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -665,6 +627,10 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
665
627
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
666
628
|
|
|
667
629
|
|
|
630
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
631
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
632
|
+
|
|
633
|
+
|
|
668
634
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
669
635
|
billing_id: str = Field(alias="billingId")
|
|
670
636
|
status: SubscriptionInvoiceStatus
|
|
@@ -693,124 +659,158 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
693
659
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
694
660
|
|
|
695
661
|
|
|
696
|
-
class
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
description: Optional[str] = Field(default=None)
|
|
700
|
-
additional_meta_data: Optional[Any] = Field(
|
|
701
|
-
alias="additionalMetaData", default=None
|
|
662
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
663
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
664
|
+
alias="subscriptionScheduleType"
|
|
702
665
|
)
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
708
|
-
alias="downgradePlan", default=None
|
|
666
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
667
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
668
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
669
|
+
alias="targetPackage", default=None
|
|
709
670
|
)
|
|
671
|
+
schedule_variables: Optional[
|
|
672
|
+
Annotated[
|
|
673
|
+
Union[
|
|
674
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
675
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
676
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
677
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
678
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
679
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
680
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
681
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
682
|
+
],
|
|
683
|
+
Field(discriminator="typename__"),
|
|
684
|
+
]
|
|
685
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
710
686
|
|
|
711
687
|
|
|
712
|
-
class
|
|
688
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
689
|
+
id: Any
|
|
713
690
|
ref_id: str = Field(alias="refId")
|
|
714
691
|
display_name: str = Field(alias="displayName")
|
|
715
692
|
|
|
716
693
|
|
|
717
|
-
class
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
default=None
|
|
722
|
-
)
|
|
723
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
694
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
695
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
696
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
697
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
724
698
|
|
|
725
699
|
|
|
726
|
-
class
|
|
727
|
-
|
|
700
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
701
|
+
BaseModel
|
|
702
|
+
):
|
|
703
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
704
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
705
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
728
706
|
|
|
729
707
|
|
|
730
|
-
class
|
|
731
|
-
|
|
732
|
-
|
|
708
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
709
|
+
BaseModel
|
|
710
|
+
):
|
|
711
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
712
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
733
713
|
|
|
734
714
|
|
|
735
|
-
class
|
|
736
|
-
|
|
737
|
-
ref_id: str = Field(alias="refId")
|
|
738
|
-
display_name: str = Field(alias="displayName")
|
|
739
|
-
description: Optional[str] = Field(default=None)
|
|
740
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
741
|
-
version_number: int = Field(alias="versionNumber")
|
|
742
|
-
additional_meta_data: Optional[Any] = Field(
|
|
743
|
-
alias="additionalMetaData", default=None
|
|
744
|
-
)
|
|
745
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
746
|
-
alias="hiddenFromWidgets", default=None
|
|
747
|
-
)
|
|
748
|
-
product: "PlanFragmentProduct"
|
|
749
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
750
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
751
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
752
|
-
alias="inheritedEntitlements", default=None
|
|
753
|
-
)
|
|
754
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
755
|
-
alias="compatibleAddons", default=None
|
|
756
|
-
)
|
|
757
|
-
compatible_package_groups: Optional[
|
|
758
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
759
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
760
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
761
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
762
|
-
alias="overagePrices", default=None
|
|
763
|
-
)
|
|
764
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
765
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
766
|
-
alias="defaultTrialConfig", default=None
|
|
767
|
-
)
|
|
715
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
716
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
768
717
|
|
|
769
718
|
|
|
770
|
-
class
|
|
771
|
-
|
|
719
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
720
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
721
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
722
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
723
|
+
billable_features: Optional[
|
|
724
|
+
List[
|
|
725
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
726
|
+
]
|
|
727
|
+
] = Field(alias="billableFeatures", default=None)
|
|
728
|
+
addons: Optional[
|
|
729
|
+
List[
|
|
730
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
731
|
+
]
|
|
732
|
+
] = Field(default=None)
|
|
733
|
+
price_overrides: Optional[
|
|
734
|
+
List[
|
|
735
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
736
|
+
]
|
|
737
|
+
] = Field(alias="priceOverrides", default=None)
|
|
772
738
|
|
|
773
739
|
|
|
774
|
-
class
|
|
775
|
-
|
|
776
|
-
|
|
740
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
741
|
+
BaseModel
|
|
742
|
+
):
|
|
743
|
+
feature_id: str = Field(alias="featureId")
|
|
744
|
+
quantity: float
|
|
777
745
|
|
|
778
746
|
|
|
779
|
-
class
|
|
780
|
-
|
|
747
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
748
|
+
BaseModel
|
|
749
|
+
):
|
|
750
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
751
|
+
quantity: float
|
|
781
752
|
|
|
782
753
|
|
|
783
|
-
class
|
|
784
|
-
|
|
754
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
755
|
+
BaseModel
|
|
756
|
+
):
|
|
757
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
758
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
759
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
785
760
|
|
|
786
761
|
|
|
787
|
-
class
|
|
788
|
-
|
|
762
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
763
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
764
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
765
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
766
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
767
|
+
billable_features: Optional[
|
|
768
|
+
List[
|
|
769
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
770
|
+
]
|
|
771
|
+
] = Field(alias="billableFeatures", default=None)
|
|
772
|
+
addons: Optional[
|
|
773
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
774
|
+
] = Field(default=None)
|
|
775
|
+
price_overrides: Optional[
|
|
776
|
+
List[
|
|
777
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
778
|
+
]
|
|
779
|
+
] = Field(alias="priceOverrides", default=None)
|
|
789
780
|
|
|
790
781
|
|
|
791
|
-
class
|
|
792
|
-
|
|
782
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
783
|
+
BaseModel
|
|
784
|
+
):
|
|
785
|
+
feature_id: str = Field(alias="featureId")
|
|
786
|
+
quantity: float
|
|
793
787
|
|
|
794
788
|
|
|
795
|
-
class
|
|
796
|
-
|
|
789
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
790
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
791
|
+
quantity: float
|
|
797
792
|
|
|
798
793
|
|
|
799
|
-
class
|
|
800
|
-
|
|
794
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
795
|
+
BaseModel
|
|
796
|
+
):
|
|
797
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
798
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
799
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
801
800
|
|
|
802
801
|
|
|
803
|
-
class
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
)
|
|
802
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
803
|
+
BaseModel
|
|
804
|
+
):
|
|
805
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
806
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
807
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
810
808
|
|
|
811
809
|
|
|
812
|
-
class
|
|
813
|
-
|
|
810
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
811
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
812
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
813
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
814
814
|
|
|
815
815
|
|
|
816
816
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -1016,14 +1016,33 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
class
|
|
1020
|
-
|
|
1019
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1020
|
+
status: PromotionalEntitlementStatus
|
|
1021
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1022
|
+
feature_id: Any = Field(alias="featureId")
|
|
1023
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1024
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1025
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1026
|
+
alias="resetPeriod", default=None
|
|
1027
|
+
)
|
|
1028
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1029
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1030
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1021
1031
|
|
|
1022
1032
|
|
|
1023
|
-
class
|
|
1024
|
-
|
|
1025
|
-
|
|
1026
|
-
|
|
1033
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1034
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1035
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1036
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1037
|
+
feature_units_plural: Optional[str] = Field(
|
|
1038
|
+
alias="featureUnitsPlural", default=None
|
|
1039
|
+
)
|
|
1040
|
+
display_name: str = Field(alias="displayName")
|
|
1041
|
+
description: Optional[str] = Field(default=None)
|
|
1042
|
+
ref_id: str = Field(alias="refId")
|
|
1043
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1044
|
+
alias="additionalMetaData", default=None
|
|
1045
|
+
)
|
|
1027
1046
|
|
|
1028
1047
|
|
|
1029
1048
|
class CouponFragment(BaseModel):
|
|
@@ -1060,35 +1079,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1060
1079
|
status: SyncStatus
|
|
1061
1080
|
|
|
1062
1081
|
|
|
1063
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1064
|
-
status: PromotionalEntitlementStatus
|
|
1065
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1066
|
-
feature_id: Any = Field(alias="featureId")
|
|
1067
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1068
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1069
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1070
|
-
alias="resetPeriod", default=None
|
|
1071
|
-
)
|
|
1072
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1073
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1074
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1075
|
-
|
|
1076
|
-
|
|
1077
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1078
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1079
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1080
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1081
|
-
feature_units_plural: Optional[str] = Field(
|
|
1082
|
-
alias="featureUnitsPlural", default=None
|
|
1083
|
-
)
|
|
1084
|
-
display_name: str = Field(alias="displayName")
|
|
1085
|
-
description: Optional[str] = Field(default=None)
|
|
1086
|
-
ref_id: str = Field(alias="refId")
|
|
1087
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1088
|
-
alias="additionalMetaData", default=None
|
|
1089
|
-
)
|
|
1090
|
-
|
|
1091
|
-
|
|
1092
1082
|
class CustomerFragment(SlimCustomerFragment):
|
|
1093
1083
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1094
1084
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1147,6 +1137,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1147
1137
|
pass
|
|
1148
1138
|
|
|
1149
1139
|
|
|
1140
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1142
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1143
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1147
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1435,6 +1435,58 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
+
display_name: str = Field(alias="displayName")
|
|
1440
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
+
period: PromotionalEntitlementPeriod
|
|
1444
|
+
start_date: Any = Field(alias="startDate")
|
|
1445
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1451
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1452
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1453
|
+
default=None
|
|
1454
|
+
)
|
|
1455
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1456
|
+
alias="creditRate", default=None
|
|
1457
|
+
)
|
|
1458
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1459
|
+
default=None
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1464
|
+
amount: float
|
|
1465
|
+
currency: Currency
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1469
|
+
amount: float
|
|
1470
|
+
currency_id: str = Field(alias="currencyId")
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1474
|
+
id: Any
|
|
1475
|
+
ref_id: str = Field(alias="refId")
|
|
1476
|
+
display_name: str = Field(alias="displayName")
|
|
1477
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1478
|
+
feature_units_plural: Optional[str] = Field(
|
|
1479
|
+
alias="featureUnitsPlural", default=None
|
|
1480
|
+
)
|
|
1481
|
+
|
|
1482
|
+
|
|
1483
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1484
|
+
addon_id: str = Field(alias="addonId")
|
|
1485
|
+
description: Optional[str] = Field(default=None)
|
|
1486
|
+
display_name: str = Field(alias="displayName")
|
|
1487
|
+
quantity: int
|
|
1488
|
+
|
|
1489
|
+
|
|
1438
1490
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1439
1491
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1440
1492
|
alias="subscriptionScheduleType"
|
|
@@ -1604,48 +1656,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1604
1656
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1605
1657
|
|
|
1606
1658
|
|
|
1607
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1608
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1609
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1610
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1611
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1612
|
-
default=None
|
|
1613
|
-
)
|
|
1614
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1615
|
-
alias="creditRate", default=None
|
|
1616
|
-
)
|
|
1617
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1618
|
-
default=None
|
|
1619
|
-
)
|
|
1620
|
-
|
|
1621
|
-
|
|
1622
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1623
|
-
amount: float
|
|
1624
|
-
currency: Currency
|
|
1625
|
-
|
|
1626
|
-
|
|
1627
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1628
|
-
amount: float
|
|
1629
|
-
currency_id: str = Field(alias="currencyId")
|
|
1630
|
-
|
|
1631
|
-
|
|
1632
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1633
|
-
id: Any
|
|
1634
|
-
ref_id: str = Field(alias="refId")
|
|
1635
|
-
display_name: str = Field(alias="displayName")
|
|
1636
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1637
|
-
feature_units_plural: Optional[str] = Field(
|
|
1638
|
-
alias="featureUnitsPlural", default=None
|
|
1639
|
-
)
|
|
1640
|
-
|
|
1641
|
-
|
|
1642
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1643
|
-
addon_id: str = Field(alias="addonId")
|
|
1644
|
-
description: Optional[str] = Field(default=None)
|
|
1645
|
-
display_name: str = Field(alias="displayName")
|
|
1646
|
-
quantity: int
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
1659
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1650
1660
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1651
1661
|
plan_id: str = Field(alias="planId")
|
|
@@ -1750,16 +1760,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1750
1760
|
pass
|
|
1751
1761
|
|
|
1752
1762
|
|
|
1753
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1754
|
-
display_name: str = Field(alias="displayName")
|
|
1755
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1756
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1757
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1758
|
-
period: PromotionalEntitlementPeriod
|
|
1759
|
-
start_date: Any = Field(alias="startDate")
|
|
1760
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1764
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1765
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1987,41 +1987,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1987
1987
|
description: Optional[str] = Field(default=None)
|
|
1988
1988
|
|
|
1989
1989
|
|
|
1990
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1991
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1992
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1993
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1994
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1995
|
-
alias="resetPeriod", default=None
|
|
1996
|
-
)
|
|
1997
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1998
|
-
alias="hiddenFromWidgets", default=None
|
|
1999
|
-
)
|
|
2000
|
-
display_name_override: Optional[str] = Field(
|
|
2001
|
-
alias="displayNameOverride", default=None
|
|
2002
|
-
)
|
|
2003
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2004
|
-
is_granted: bool = Field(alias="isGranted")
|
|
2005
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2006
|
-
default=None
|
|
2007
|
-
)
|
|
2008
|
-
|
|
2009
|
-
|
|
2010
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2011
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
2012
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2013
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2014
|
-
feature_units_plural: Optional[str] = Field(
|
|
2015
|
-
alias="featureUnitsPlural", default=None
|
|
2016
|
-
)
|
|
2017
|
-
display_name: str = Field(alias="displayName")
|
|
2018
|
-
description: Optional[str] = Field(default=None)
|
|
2019
|
-
ref_id: str = Field(alias="refId")
|
|
2020
|
-
additional_meta_data: Optional[Any] = Field(
|
|
2021
|
-
alias="additionalMetaData", default=None
|
|
2022
|
-
)
|
|
2023
|
-
|
|
2024
|
-
|
|
2025
1990
|
class MockPaywallPriceFragment(BaseModel):
|
|
2026
1991
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
2027
1992
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -2064,6 +2029,41 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
2064
2029
|
display_name: str = Field(alias="displayName")
|
|
2065
2030
|
|
|
2066
2031
|
|
|
2032
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
2033
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
2034
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
2035
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2036
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
2037
|
+
alias="resetPeriod", default=None
|
|
2038
|
+
)
|
|
2039
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
2040
|
+
alias="hiddenFromWidgets", default=None
|
|
2041
|
+
)
|
|
2042
|
+
display_name_override: Optional[str] = Field(
|
|
2043
|
+
alias="displayNameOverride", default=None
|
|
2044
|
+
)
|
|
2045
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2046
|
+
is_granted: bool = Field(alias="isGranted")
|
|
2047
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2048
|
+
default=None
|
|
2049
|
+
)
|
|
2050
|
+
|
|
2051
|
+
|
|
2052
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2053
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
2054
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2055
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2056
|
+
feature_units_plural: Optional[str] = Field(
|
|
2057
|
+
alias="featureUnitsPlural", default=None
|
|
2058
|
+
)
|
|
2059
|
+
display_name: str = Field(alias="displayName")
|
|
2060
|
+
description: Optional[str] = Field(default=None)
|
|
2061
|
+
ref_id: str = Field(alias="refId")
|
|
2062
|
+
additional_meta_data: Optional[Any] = Field(
|
|
2063
|
+
alias="additionalMetaData", default=None
|
|
2064
|
+
)
|
|
2065
|
+
|
|
2066
|
+
|
|
2067
2067
|
class MockPaywallAddonFragment(BaseModel):
|
|
2068
2068
|
ref_id: str = Field(alias="refId")
|
|
2069
2069
|
display_name: str = Field(alias="displayName")
|
|
@@ -3041,33 +3041,33 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3041
3041
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
|
+
PackageEntitlementFragment.model_rebuild()
|
|
3044
3045
|
PriceTierFragment.model_rebuild()
|
|
3045
3046
|
PriceFragment.model_rebuild()
|
|
3046
|
-
PackageEntitlementFragment.model_rebuild()
|
|
3047
3047
|
OveragePriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
3049
|
FeatureFragment.model_rebuild()
|
|
3050
3050
|
EntitlementFragment.model_rebuild()
|
|
3051
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
3052
|
-
TotalPriceFragment.model_rebuild()
|
|
3053
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3054
3051
|
CustomerResourceFragment.model_rebuild()
|
|
3055
|
-
|
|
3056
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3057
|
-
ProductFragment.model_rebuild()
|
|
3052
|
+
TotalPriceFragment.model_rebuild()
|
|
3058
3053
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3054
|
+
ProductFragment.model_rebuild()
|
|
3059
3055
|
PlanFragment.model_rebuild()
|
|
3056
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3057
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3058
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3059
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3060
3060
|
SlimCustomerFragment.model_rebuild()
|
|
3061
3061
|
SubscriptionFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3068
|
-
CouponFragment.model_rebuild()
|
|
3069
3066
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3067
|
+
CouponFragment.model_rebuild()
|
|
3070
3068
|
CustomerFragment.model_rebuild()
|
|
3069
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3070
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3079,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
-
|
|
3082
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
3083
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
3084
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3085
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3085
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3089
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3093,8 +3093,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3093
3093
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3094
3094
|
LayoutConfigurationFragment.model_rebuild()
|
|
3095
3095
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3096
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3097
3096
|
MockPaywallPriceFragment.model_rebuild()
|
|
3097
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3098
3098
|
MockPaywallAddonFragment.model_rebuild()
|
|
3099
3099
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3100
3100
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -4536,15 +4536,22 @@ class SubscriptionQueryFilter(BaseModel):
|
|
|
4536
4536
|
billing_id: Optional["StringFieldComparison"] = Field(
|
|
4537
4537
|
alias="billingId", default=None
|
|
4538
4538
|
)
|
|
4539
|
+
cancellation_date: Optional["DateFieldComparison"] = Field(
|
|
4540
|
+
alias="cancellationDate", default=None
|
|
4541
|
+
)
|
|
4539
4542
|
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4540
4543
|
customer: Optional["SubscriptionQueryFilterCustomerFilter"] = None
|
|
4541
4544
|
customer_id: Optional["StringFieldComparison"] = Field(
|
|
4542
4545
|
alias="customerId", default=None
|
|
4543
4546
|
)
|
|
4547
|
+
end_date: Optional["DateFieldComparison"] = Field(alias="endDate", default=None)
|
|
4544
4548
|
environment_id: Optional["UUIDFilterComparison"] = Field(
|
|
4545
4549
|
alias="environmentId", default=None
|
|
4546
4550
|
)
|
|
4547
4551
|
or_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="or", default=None)
|
|
4552
|
+
payment_collection: Optional["PaymentCollectionFilterComparison"] = Field(
|
|
4553
|
+
alias="paymentCollection", default=None
|
|
4554
|
+
)
|
|
4548
4555
|
product_id: Optional["StringFieldComparison"] = Field(
|
|
4549
4556
|
alias="productId", default=None
|
|
4550
4557
|
)
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=TwiKIp04SGT-J9sx6DRbeS93qXAeO2AWaOjebdSLqvM,40249
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=Tv4bvZNAm6txcTVXxffBxcqUxnxtNfIgVy2JIoyhfZo,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=Efr7zl6emtzlG7kRmSYiIs2VZELRNt-yG-nyBOXMoW8,218705
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-
|
|
176
|
-
stigg_api_client_v2-
|
|
177
|
-
stigg_api_client_v2-
|
|
178
|
-
stigg_api_client_v2-
|
|
175
|
+
stigg_api_client_v2-4.5.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-4.5.0.dist-info/METADATA,sha256=nQMTKaeeeHWQ1NF80JFIo__DvJHtIbjxBEG-0bQJP-A,2262
|
|
177
|
+
stigg_api_client_v2-4.5.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-4.5.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|