stigg-api-client-v2 2.304.1__py3-none-any.whl → 2.307.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/async_client.py +14 -0
- stigg/generated/client.py +14 -0
- stigg/generated/fragments.py +336 -335
- {stigg_api_client_v2-2.304.1.dist-info → stigg_api_client_v2-2.307.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.304.1.dist-info → stigg_api_client_v2-2.307.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.304.1.dist-info → stigg_api_client_v2-2.307.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.304.1.dist-info → stigg_api_client_v2-2.307.0.dist-info}/WHEEL +0 -0
stigg/generated/async_client.py
CHANGED
|
@@ -297,6 +297,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
297
297
|
totalExcludingTax
|
|
298
298
|
tax
|
|
299
299
|
amountDue
|
|
300
|
+
attemptCount
|
|
300
301
|
}
|
|
301
302
|
|
|
302
303
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -693,6 +694,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
693
694
|
totalExcludingTax
|
|
694
695
|
tax
|
|
695
696
|
amountDue
|
|
697
|
+
attemptCount
|
|
696
698
|
}
|
|
697
699
|
|
|
698
700
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -1142,6 +1144,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1142
1144
|
totalExcludingTax
|
|
1143
1145
|
tax
|
|
1144
1146
|
amountDue
|
|
1147
|
+
attemptCount
|
|
1145
1148
|
}
|
|
1146
1149
|
|
|
1147
1150
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -1326,6 +1329,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1326
1329
|
totalExcludingTax
|
|
1327
1330
|
tax
|
|
1328
1331
|
amountDue
|
|
1332
|
+
attemptCount
|
|
1329
1333
|
}
|
|
1330
1334
|
|
|
1331
1335
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -1472,6 +1476,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1472
1476
|
totalExcludingTax
|
|
1473
1477
|
tax
|
|
1474
1478
|
amountDue
|
|
1479
|
+
attemptCount
|
|
1475
1480
|
}
|
|
1476
1481
|
|
|
1477
1482
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2281,6 +2286,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2281
2286
|
totalExcludingTax
|
|
2282
2287
|
tax
|
|
2283
2288
|
amountDue
|
|
2289
|
+
attemptCount
|
|
2284
2290
|
}
|
|
2285
2291
|
|
|
2286
2292
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2503,6 +2509,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2503
2509
|
totalExcludingTax
|
|
2504
2510
|
tax
|
|
2505
2511
|
amountDue
|
|
2512
|
+
attemptCount
|
|
2506
2513
|
}
|
|
2507
2514
|
|
|
2508
2515
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2649,6 +2656,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2649
2656
|
totalExcludingTax
|
|
2650
2657
|
tax
|
|
2651
2658
|
amountDue
|
|
2659
|
+
attemptCount
|
|
2652
2660
|
}
|
|
2653
2661
|
|
|
2654
2662
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2795,6 +2803,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2795
2803
|
totalExcludingTax
|
|
2796
2804
|
tax
|
|
2797
2805
|
amountDue
|
|
2806
|
+
attemptCount
|
|
2798
2807
|
}
|
|
2799
2808
|
|
|
2800
2809
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -3265,6 +3274,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3265
3274
|
totalExcludingTax
|
|
3266
3275
|
tax
|
|
3267
3276
|
amountDue
|
|
3277
|
+
attemptCount
|
|
3268
3278
|
}
|
|
3269
3279
|
|
|
3270
3280
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -3697,6 +3707,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3697
3707
|
totalExcludingTax
|
|
3698
3708
|
tax
|
|
3699
3709
|
amountDue
|
|
3710
|
+
attemptCount
|
|
3700
3711
|
}
|
|
3701
3712
|
|
|
3702
3713
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -4154,6 +4165,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4154
4165
|
totalExcludingTax
|
|
4155
4166
|
tax
|
|
4156
4167
|
amountDue
|
|
4168
|
+
attemptCount
|
|
4157
4169
|
}
|
|
4158
4170
|
|
|
4159
4171
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -4749,6 +4761,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4749
4761
|
totalExcludingTax
|
|
4750
4762
|
tax
|
|
4751
4763
|
amountDue
|
|
4764
|
+
attemptCount
|
|
4752
4765
|
}
|
|
4753
4766
|
|
|
4754
4767
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -5799,6 +5812,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5799
5812
|
totalExcludingTax
|
|
5800
5813
|
tax
|
|
5801
5814
|
amountDue
|
|
5815
|
+
attemptCount
|
|
5802
5816
|
}
|
|
5803
5817
|
|
|
5804
5818
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
stigg/generated/client.py
CHANGED
|
@@ -297,6 +297,7 @@ class Client(BaseClient):
|
|
|
297
297
|
totalExcludingTax
|
|
298
298
|
tax
|
|
299
299
|
amountDue
|
|
300
|
+
attemptCount
|
|
300
301
|
}
|
|
301
302
|
|
|
302
303
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -693,6 +694,7 @@ class Client(BaseClient):
|
|
|
693
694
|
totalExcludingTax
|
|
694
695
|
tax
|
|
695
696
|
amountDue
|
|
697
|
+
attemptCount
|
|
696
698
|
}
|
|
697
699
|
|
|
698
700
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -1142,6 +1144,7 @@ class Client(BaseClient):
|
|
|
1142
1144
|
totalExcludingTax
|
|
1143
1145
|
tax
|
|
1144
1146
|
amountDue
|
|
1147
|
+
attemptCount
|
|
1145
1148
|
}
|
|
1146
1149
|
|
|
1147
1150
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -1326,6 +1329,7 @@ class Client(BaseClient):
|
|
|
1326
1329
|
totalExcludingTax
|
|
1327
1330
|
tax
|
|
1328
1331
|
amountDue
|
|
1332
|
+
attemptCount
|
|
1329
1333
|
}
|
|
1330
1334
|
|
|
1331
1335
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -1472,6 +1476,7 @@ class Client(BaseClient):
|
|
|
1472
1476
|
totalExcludingTax
|
|
1473
1477
|
tax
|
|
1474
1478
|
amountDue
|
|
1479
|
+
attemptCount
|
|
1475
1480
|
}
|
|
1476
1481
|
|
|
1477
1482
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2279,6 +2284,7 @@ class Client(BaseClient):
|
|
|
2279
2284
|
totalExcludingTax
|
|
2280
2285
|
tax
|
|
2281
2286
|
amountDue
|
|
2287
|
+
attemptCount
|
|
2282
2288
|
}
|
|
2283
2289
|
|
|
2284
2290
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2501,6 +2507,7 @@ class Client(BaseClient):
|
|
|
2501
2507
|
totalExcludingTax
|
|
2502
2508
|
tax
|
|
2503
2509
|
amountDue
|
|
2510
|
+
attemptCount
|
|
2504
2511
|
}
|
|
2505
2512
|
|
|
2506
2513
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2647,6 +2654,7 @@ class Client(BaseClient):
|
|
|
2647
2654
|
totalExcludingTax
|
|
2648
2655
|
tax
|
|
2649
2656
|
amountDue
|
|
2657
|
+
attemptCount
|
|
2650
2658
|
}
|
|
2651
2659
|
|
|
2652
2660
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -2793,6 +2801,7 @@ class Client(BaseClient):
|
|
|
2793
2801
|
totalExcludingTax
|
|
2794
2802
|
tax
|
|
2795
2803
|
amountDue
|
|
2804
|
+
attemptCount
|
|
2796
2805
|
}
|
|
2797
2806
|
|
|
2798
2807
|
fragment TotalPriceFragment on CustomerSubscriptionTotalPrice {
|
|
@@ -3263,6 +3272,7 @@ class Client(BaseClient):
|
|
|
3263
3272
|
totalExcludingTax
|
|
3264
3273
|
tax
|
|
3265
3274
|
amountDue
|
|
3275
|
+
attemptCount
|
|
3266
3276
|
}
|
|
3267
3277
|
|
|
3268
3278
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -3695,6 +3705,7 @@ class Client(BaseClient):
|
|
|
3695
3705
|
totalExcludingTax
|
|
3696
3706
|
tax
|
|
3697
3707
|
amountDue
|
|
3708
|
+
attemptCount
|
|
3698
3709
|
}
|
|
3699
3710
|
|
|
3700
3711
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -4152,6 +4163,7 @@ class Client(BaseClient):
|
|
|
4152
4163
|
totalExcludingTax
|
|
4153
4164
|
tax
|
|
4154
4165
|
amountDue
|
|
4166
|
+
attemptCount
|
|
4155
4167
|
}
|
|
4156
4168
|
|
|
4157
4169
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -4747,6 +4759,7 @@ class Client(BaseClient):
|
|
|
4747
4759
|
totalExcludingTax
|
|
4748
4760
|
tax
|
|
4749
4761
|
amountDue
|
|
4762
|
+
attemptCount
|
|
4750
4763
|
}
|
|
4751
4764
|
|
|
4752
4765
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
|
@@ -5797,6 +5810,7 @@ class Client(BaseClient):
|
|
|
5797
5810
|
totalExcludingTax
|
|
5798
5811
|
tax
|
|
5799
5812
|
amountDue
|
|
5813
|
+
attemptCount
|
|
5800
5814
|
}
|
|
5801
5815
|
|
|
5802
5816
|
fragment SubscriptionScheduledUpdateData on SubscriptionScheduledUpdate {
|
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")
|
|
@@ -298,183 +298,176 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
298
298
|
pass
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
class
|
|
302
|
-
resource_id: str = Field(alias="resourceId")
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
class SlimCustomerFragment(BaseModel):
|
|
306
|
-
id: str
|
|
307
|
-
name: Optional[str] = Field(default=None)
|
|
308
|
-
email: Optional[str] = Field(default=None)
|
|
309
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
310
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
301
|
+
class ProductFragment(BaseModel):
|
|
311
302
|
ref_id: str = Field(alias="refId")
|
|
312
|
-
|
|
313
|
-
|
|
303
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
304
|
+
description: Optional[str] = Field(default=None)
|
|
314
305
|
additional_meta_data: Optional[Any] = Field(
|
|
315
306
|
alias="additionalMetaData", default=None
|
|
316
307
|
)
|
|
317
|
-
|
|
318
|
-
|
|
308
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
312
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
313
|
+
alias="downgradePlan", default=None
|
|
319
314
|
)
|
|
320
315
|
|
|
321
316
|
|
|
322
|
-
class
|
|
323
|
-
|
|
317
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
318
|
+
ref_id: str = Field(alias="refId")
|
|
319
|
+
display_name: str = Field(alias="displayName")
|
|
324
320
|
|
|
325
321
|
|
|
326
|
-
class
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
332
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
333
|
-
alias="targetPackage", default=None
|
|
322
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
323
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
324
|
+
display_name: str = Field(alias="displayName")
|
|
325
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
326
|
+
default=None
|
|
334
327
|
)
|
|
335
|
-
|
|
336
|
-
Annotated[
|
|
337
|
-
Union[
|
|
338
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
339
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
340
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
341
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
342
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
343
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
344
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
345
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
346
|
-
],
|
|
347
|
-
Field(discriminator="typename__"),
|
|
348
|
-
]
|
|
349
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
328
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
350
329
|
|
|
351
330
|
|
|
352
|
-
class
|
|
331
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
332
|
+
pass
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
336
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
337
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
class PlanFragment(BaseModel):
|
|
353
341
|
id: str
|
|
354
342
|
ref_id: str = Field(alias="refId")
|
|
355
343
|
display_name: str = Field(alias="displayName")
|
|
344
|
+
description: Optional[str] = Field(default=None)
|
|
345
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
346
|
+
version_number: int = Field(alias="versionNumber")
|
|
347
|
+
additional_meta_data: Optional[Any] = Field(
|
|
348
|
+
alias="additionalMetaData", default=None
|
|
349
|
+
)
|
|
350
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
351
|
+
alias="hiddenFromWidgets", default=None
|
|
352
|
+
)
|
|
353
|
+
product: "PlanFragmentProduct"
|
|
354
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
355
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
356
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
357
|
+
alias="inheritedEntitlements", default=None
|
|
358
|
+
)
|
|
359
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
360
|
+
alias="compatibleAddons", default=None
|
|
361
|
+
)
|
|
362
|
+
compatible_package_groups: Optional[
|
|
363
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
364
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
365
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
366
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
367
|
+
alias="overagePrices", default=None
|
|
368
|
+
)
|
|
369
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
370
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
371
|
+
alias="defaultTrialConfig", default=None
|
|
372
|
+
)
|
|
356
373
|
|
|
357
374
|
|
|
358
|
-
class
|
|
359
|
-
|
|
360
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
361
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
375
|
+
class PlanFragmentProduct(ProductFragment):
|
|
376
|
+
pass
|
|
362
377
|
|
|
363
378
|
|
|
364
|
-
class
|
|
365
|
-
|
|
366
|
-
)
|
|
367
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
368
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
369
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
379
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
380
|
+
ref_id: str = Field(alias="refId")
|
|
381
|
+
display_name: str = Field(alias="displayName")
|
|
370
382
|
|
|
371
383
|
|
|
372
|
-
class
|
|
373
|
-
|
|
374
|
-
):
|
|
375
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
376
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
384
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
385
|
+
pass
|
|
377
386
|
|
|
378
387
|
|
|
379
|
-
class
|
|
380
|
-
|
|
388
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
389
|
+
pass
|
|
381
390
|
|
|
382
391
|
|
|
383
|
-
class
|
|
384
|
-
|
|
385
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
386
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
387
|
-
billable_features: Optional[
|
|
388
|
-
List[
|
|
389
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
390
|
-
]
|
|
391
|
-
] = Field(alias="billableFeatures", default=None)
|
|
392
|
-
addons: Optional[
|
|
393
|
-
List[
|
|
394
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
395
|
-
]
|
|
396
|
-
] = Field(default=None)
|
|
397
|
-
price_overrides: Optional[
|
|
398
|
-
List[
|
|
399
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
400
|
-
]
|
|
401
|
-
] = Field(alias="priceOverrides", default=None)
|
|
392
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
393
|
+
pass
|
|
402
394
|
|
|
403
395
|
|
|
404
|
-
class
|
|
405
|
-
|
|
406
|
-
):
|
|
407
|
-
feature_id: str = Field(alias="featureId")
|
|
408
|
-
quantity: float
|
|
396
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
397
|
+
pass
|
|
409
398
|
|
|
410
399
|
|
|
411
|
-
class
|
|
412
|
-
|
|
413
|
-
):
|
|
414
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
415
|
-
quantity: float
|
|
400
|
+
class PlanFragmentPrices(PriceFragment):
|
|
401
|
+
pass
|
|
416
402
|
|
|
417
403
|
|
|
418
|
-
class
|
|
419
|
-
|
|
420
|
-
):
|
|
421
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
422
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
423
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
404
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
405
|
+
pass
|
|
424
406
|
|
|
425
407
|
|
|
426
|
-
class
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
434
|
-
]
|
|
435
|
-
] = Field(alias="billableFeatures", default=None)
|
|
436
|
-
addons: Optional[
|
|
437
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
438
|
-
] = Field(default=None)
|
|
439
|
-
price_overrides: Optional[
|
|
440
|
-
List[
|
|
441
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
442
|
-
]
|
|
443
|
-
] = Field(alias="priceOverrides", default=None)
|
|
408
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
409
|
+
duration: float
|
|
410
|
+
units: TrialPeriodUnits
|
|
411
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
412
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
413
|
+
alias="trialEndBehavior", default=None
|
|
414
|
+
)
|
|
444
415
|
|
|
445
416
|
|
|
446
|
-
class
|
|
447
|
-
|
|
448
|
-
):
|
|
449
|
-
feature_id: str = Field(alias="featureId")
|
|
450
|
-
quantity: float
|
|
417
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
418
|
+
limit: float
|
|
451
419
|
|
|
452
420
|
|
|
453
|
-
class
|
|
454
|
-
|
|
455
|
-
|
|
421
|
+
class SlimCustomerFragment(BaseModel):
|
|
422
|
+
id: str
|
|
423
|
+
name: Optional[str] = Field(default=None)
|
|
424
|
+
email: Optional[str] = Field(default=None)
|
|
425
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
426
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
427
|
+
ref_id: str = Field(alias="refId")
|
|
428
|
+
customer_id: str = Field(alias="customerId")
|
|
429
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
430
|
+
additional_meta_data: Optional[Any] = Field(
|
|
431
|
+
alias="additionalMetaData", default=None
|
|
432
|
+
)
|
|
433
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
434
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
435
|
+
)
|
|
456
436
|
|
|
457
437
|
|
|
458
|
-
class
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
438
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
439
|
+
billing_id: str = Field(alias="billingId")
|
|
440
|
+
status: SubscriptionInvoiceStatus
|
|
441
|
+
created_at: Any = Field(alias="createdAt")
|
|
442
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
443
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
444
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
445
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
446
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
447
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
448
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
449
|
+
alias="billingReason", default=None
|
|
450
|
+
)
|
|
451
|
+
currency: Optional[str] = Field(default=None)
|
|
452
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
453
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
454
|
+
alias="subTotalExcludingTax", default=None
|
|
455
|
+
)
|
|
456
|
+
total: Optional[float] = Field(default=None)
|
|
457
|
+
total_excluding_tax: Optional[float] = Field(
|
|
458
|
+
alias="totalExcludingTax", default=None
|
|
459
|
+
)
|
|
460
|
+
tax: Optional[float] = Field(default=None)
|
|
461
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
462
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
464
463
|
|
|
465
464
|
|
|
466
|
-
class
|
|
467
|
-
|
|
468
|
-
):
|
|
469
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
470
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
471
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
465
|
+
class CustomerResourceFragment(BaseModel):
|
|
466
|
+
resource_id: str = Field(alias="resourceId")
|
|
472
467
|
|
|
473
468
|
|
|
474
|
-
class
|
|
475
|
-
|
|
476
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
477
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
469
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
470
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
478
471
|
|
|
479
472
|
|
|
480
473
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -654,150 +647,158 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
654
647
|
currency: Currency
|
|
655
648
|
|
|
656
649
|
|
|
657
|
-
class
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
created_at: Any = Field(alias="createdAt")
|
|
661
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
662
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
663
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
664
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
665
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
666
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
667
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
668
|
-
alias="billingReason", default=None
|
|
669
|
-
)
|
|
670
|
-
currency: Optional[str] = Field(default=None)
|
|
671
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
672
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
673
|
-
alias="subTotalExcludingTax", default=None
|
|
650
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
651
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
652
|
+
alias="subscriptionScheduleType"
|
|
674
653
|
)
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
654
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
655
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
656
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
657
|
+
alias="targetPackage", default=None
|
|
678
658
|
)
|
|
679
|
-
|
|
680
|
-
|
|
659
|
+
schedule_variables: Optional[
|
|
660
|
+
Annotated[
|
|
661
|
+
Union[
|
|
662
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
663
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
664
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
665
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
666
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
667
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
668
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
670
|
+
],
|
|
671
|
+
Field(discriminator="typename__"),
|
|
672
|
+
]
|
|
673
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
681
674
|
|
|
682
675
|
|
|
683
|
-
class
|
|
684
|
-
|
|
676
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
677
|
+
id: str
|
|
678
|
+
ref_id: str = Field(alias="refId")
|
|
685
679
|
display_name: str = Field(alias="displayName")
|
|
686
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
687
|
-
default=None
|
|
688
|
-
)
|
|
689
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
693
|
-
pass
|
|
694
680
|
|
|
695
681
|
|
|
696
|
-
class
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
class ProductFragment(BaseModel):
|
|
702
|
-
ref_id: str = Field(alias="refId")
|
|
703
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
704
|
-
description: Optional[str] = Field(default=None)
|
|
705
|
-
additional_meta_data: Optional[Any] = Field(
|
|
706
|
-
alias="additionalMetaData", default=None
|
|
707
|
-
)
|
|
708
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
682
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
683
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
684
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
685
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
709
686
|
|
|
710
687
|
|
|
711
|
-
class
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
)
|
|
715
|
-
|
|
688
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
689
|
+
BaseModel
|
|
690
|
+
):
|
|
691
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
692
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
693
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
716
694
|
|
|
717
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
718
|
-
ref_id: str = Field(alias="refId")
|
|
719
|
-
display_name: str = Field(alias="displayName")
|
|
720
695
|
|
|
696
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
697
|
+
BaseModel
|
|
698
|
+
):
|
|
699
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
700
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
721
701
|
|
|
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
702
|
|
|
703
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
704
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
756
705
|
|
|
757
|
-
class PlanFragmentProduct(ProductFragment):
|
|
758
|
-
pass
|
|
759
706
|
|
|
707
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
708
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
709
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
710
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
711
|
+
billable_features: Optional[
|
|
712
|
+
List[
|
|
713
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
714
|
+
]
|
|
715
|
+
] = Field(alias="billableFeatures", default=None)
|
|
716
|
+
addons: Optional[
|
|
717
|
+
List[
|
|
718
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
719
|
+
]
|
|
720
|
+
] = Field(default=None)
|
|
721
|
+
price_overrides: Optional[
|
|
722
|
+
List[
|
|
723
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
724
|
+
]
|
|
725
|
+
] = Field(alias="priceOverrides", default=None)
|
|
760
726
|
|
|
761
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
762
|
-
ref_id: str = Field(alias="refId")
|
|
763
|
-
display_name: str = Field(alias="displayName")
|
|
764
727
|
|
|
728
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
729
|
+
BaseModel
|
|
730
|
+
):
|
|
731
|
+
feature_id: str = Field(alias="featureId")
|
|
732
|
+
quantity: float
|
|
765
733
|
|
|
766
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
767
|
-
pass
|
|
768
734
|
|
|
735
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
736
|
+
BaseModel
|
|
737
|
+
):
|
|
738
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
739
|
+
quantity: float
|
|
769
740
|
|
|
770
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
771
|
-
pass
|
|
772
741
|
|
|
742
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
743
|
+
BaseModel
|
|
744
|
+
):
|
|
745
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
746
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
747
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
773
748
|
|
|
774
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
775
|
-
pass
|
|
776
749
|
|
|
750
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
751
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
752
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
753
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
754
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
755
|
+
billable_features: Optional[
|
|
756
|
+
List[
|
|
757
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
758
|
+
]
|
|
759
|
+
] = Field(alias="billableFeatures", default=None)
|
|
760
|
+
addons: Optional[
|
|
761
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
762
|
+
] = Field(default=None)
|
|
763
|
+
price_overrides: Optional[
|
|
764
|
+
List[
|
|
765
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
766
|
+
]
|
|
767
|
+
] = Field(alias="priceOverrides", default=None)
|
|
777
768
|
|
|
778
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
779
|
-
pass
|
|
780
769
|
|
|
770
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
771
|
+
BaseModel
|
|
772
|
+
):
|
|
773
|
+
feature_id: str = Field(alias="featureId")
|
|
774
|
+
quantity: float
|
|
781
775
|
|
|
782
|
-
class PlanFragmentPrices(PriceFragment):
|
|
783
|
-
pass
|
|
784
776
|
|
|
777
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
778
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
779
|
+
quantity: float
|
|
785
780
|
|
|
786
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
787
|
-
pass
|
|
788
781
|
|
|
782
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
783
|
+
BaseModel
|
|
784
|
+
):
|
|
785
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
786
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
787
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
789
788
|
|
|
790
|
-
|
|
791
|
-
|
|
792
|
-
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
|
|
796
|
-
)
|
|
789
|
+
|
|
790
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
791
|
+
BaseModel
|
|
792
|
+
):
|
|
793
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
794
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
795
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
797
796
|
|
|
798
797
|
|
|
799
|
-
class
|
|
800
|
-
|
|
798
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
799
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
800
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
801
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
801
802
|
|
|
802
803
|
|
|
803
804
|
class SubscriptionFragment(BaseModel):
|
|
@@ -986,6 +987,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
986
987
|
)
|
|
987
988
|
|
|
988
989
|
|
|
990
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
991
|
+
status: PromotionalEntitlementStatus
|
|
992
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
993
|
+
feature_id: str = Field(alias="featureId")
|
|
994
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
995
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
996
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
997
|
+
alias="resetPeriod", default=None
|
|
998
|
+
)
|
|
999
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1000
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1001
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1005
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1006
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1007
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1008
|
+
feature_units_plural: Optional[str] = Field(
|
|
1009
|
+
alias="featureUnitsPlural", default=None
|
|
1010
|
+
)
|
|
1011
|
+
display_name: str = Field(alias="displayName")
|
|
1012
|
+
description: Optional[str] = Field(default=None)
|
|
1013
|
+
ref_id: str = Field(alias="refId")
|
|
1014
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1015
|
+
alias="additionalMetaData", default=None
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
|
|
989
1019
|
class CouponFragment(BaseModel):
|
|
990
1020
|
id: str
|
|
991
1021
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1020,35 +1050,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1020
1050
|
status: SyncStatus
|
|
1021
1051
|
|
|
1022
1052
|
|
|
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
1053
|
class CustomerFragment(SlimCustomerFragment):
|
|
1053
1054
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1054
1055
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1249,6 +1250,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1249
1250
|
pass
|
|
1250
1251
|
|
|
1251
1252
|
|
|
1253
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1254
|
+
display_name: str = Field(alias="displayName")
|
|
1255
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1256
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
+
period: PromotionalEntitlementPeriod
|
|
1259
|
+
start_date: Any = Field(alias="startDate")
|
|
1260
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1261
|
+
|
|
1262
|
+
|
|
1252
1263
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1253
1264
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1254
1265
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1276,6 +1287,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1276
1287
|
)
|
|
1277
1288
|
|
|
1278
1289
|
|
|
1290
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1291
|
+
addon_id: str = Field(alias="addonId")
|
|
1292
|
+
description: Optional[str] = Field(default=None)
|
|
1293
|
+
display_name: str = Field(alias="displayName")
|
|
1294
|
+
quantity: int
|
|
1295
|
+
|
|
1296
|
+
|
|
1279
1297
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1280
1298
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1281
1299
|
alias="subscriptionScheduleType"
|
|
@@ -1445,13 +1463,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1445
1463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1446
1464
|
|
|
1447
1465
|
|
|
1448
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1449
|
-
addon_id: str = Field(alias="addonId")
|
|
1450
|
-
description: Optional[str] = Field(default=None)
|
|
1451
|
-
display_name: str = Field(alias="displayName")
|
|
1452
|
-
quantity: int
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1456
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1457
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1548,16 +1559,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1548
1559
|
pass
|
|
1549
1560
|
|
|
1550
1561
|
|
|
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
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1562
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1563
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2762,40 +2763,40 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2762
2763
|
|
|
2763
2764
|
|
|
2764
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2765
2767
|
PriceTierFragment.model_rebuild()
|
|
2766
2768
|
PriceFragment.model_rebuild()
|
|
2767
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2768
2769
|
OveragePriceFragment.model_rebuild()
|
|
2769
2770
|
AddonFragment.model_rebuild()
|
|
2770
2771
|
FeatureFragment.model_rebuild()
|
|
2771
2772
|
EntitlementFragment.model_rebuild()
|
|
2772
|
-
|
|
2773
|
+
ProductFragment.model_rebuild()
|
|
2774
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2775
|
+
PlanFragment.model_rebuild()
|
|
2773
2776
|
SlimCustomerFragment.model_rebuild()
|
|
2777
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
|
+
CustomerResourceFragment.model_rebuild()
|
|
2774
2779
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2776
2780
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2777
2781
|
TotalPriceFragment.model_rebuild()
|
|
2778
|
-
|
|
2779
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2780
|
-
ProductFragment.model_rebuild()
|
|
2781
|
-
PlanFragment.model_rebuild()
|
|
2782
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2782
2783
|
SubscriptionFragment.model_rebuild()
|
|
2783
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2785
|
FontVariantFragment.model_rebuild()
|
|
2785
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
2786
2787
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2787
|
-
CouponFragment.model_rebuild()
|
|
2788
2788
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
|
+
CouponFragment.model_rebuild()
|
|
2789
2790
|
CustomerFragment.model_rebuild()
|
|
2790
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2791
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2794
2796
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2797
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2797
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2798
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2799
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2801
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -110,12 +110,12 @@ stigg/generated/__init__.py,sha256=FxJlqh8IEwKzJECAEGOCLD_sSnKX9mKD4btTX9JS3aA,6
|
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=j0_aVwSSCHUNPAYNt6Psc5BsPMwEG9HbYvz9-E9u1LQ,170236
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169659
|
|
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
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=pc9LCxX-JHp05iOwlZI6QCpzXH5kinzBRAvgTHMBXyE,3433
|
|
|
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=rxTLTkLjq5c5eeJxZepGzvCJIA4tbH-EJUghM9njeKg,100632
|
|
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.307.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.307.0.dist-info/METADATA,sha256=79Rr2TUyPoWDDODRI3Xa1L7P1suK6SVWmEiLUYzDM44,2258
|
|
165
|
+
stigg_api_client_v2-2.307.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.307.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|