stigg-api-client-v2 3.38.0__py3-none-any.whl → 3.40.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 +7 -0
- stigg/generated/client.py +7 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +421 -419
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.40.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.40.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.40.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.38.0.dist-info → stigg_api_client_v2-3.40.0.dist-info}/WHEEL +0 -0
stigg/generated/async_client.py
CHANGED
|
@@ -876,6 +876,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
876
876
|
isCustom
|
|
877
877
|
displayNameOverride
|
|
878
878
|
enumValues
|
|
879
|
+
isGranted
|
|
879
880
|
feature {
|
|
880
881
|
featureType
|
|
881
882
|
meterType
|
|
@@ -3087,6 +3088,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3087
3088
|
isCustom
|
|
3088
3089
|
displayNameOverride
|
|
3089
3090
|
enumValues
|
|
3091
|
+
isGranted
|
|
3090
3092
|
feature {
|
|
3091
3093
|
featureType
|
|
3092
3094
|
meterType
|
|
@@ -3548,6 +3550,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3548
3550
|
isCustom
|
|
3549
3551
|
displayNameOverride
|
|
3550
3552
|
enumValues
|
|
3553
|
+
isGranted
|
|
3551
3554
|
feature {
|
|
3552
3555
|
featureType
|
|
3553
3556
|
meterType
|
|
@@ -4089,6 +4092,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4089
4092
|
isCustom
|
|
4090
4093
|
displayNameOverride
|
|
4091
4094
|
enumValues
|
|
4095
|
+
isGranted
|
|
4092
4096
|
feature {
|
|
4093
4097
|
featureType
|
|
4094
4098
|
meterType
|
|
@@ -4610,6 +4614,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4610
4614
|
isCustom
|
|
4611
4615
|
displayNameOverride
|
|
4612
4616
|
enumValues
|
|
4617
|
+
isGranted
|
|
4613
4618
|
feature {
|
|
4614
4619
|
featureType
|
|
4615
4620
|
meterType
|
|
@@ -5744,6 +5749,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5744
5749
|
isCustom
|
|
5745
5750
|
displayNameOverride
|
|
5746
5751
|
enumValues
|
|
5752
|
+
isGranted
|
|
5747
5753
|
feature {
|
|
5748
5754
|
featureType
|
|
5749
5755
|
meterType
|
|
@@ -6177,6 +6183,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
6177
6183
|
hiddenFromWidgets
|
|
6178
6184
|
displayNameOverride
|
|
6179
6185
|
enumValues
|
|
6186
|
+
isGranted
|
|
6180
6187
|
feature {
|
|
6181
6188
|
featureType
|
|
6182
6189
|
meterType
|
stigg/generated/client.py
CHANGED
|
@@ -876,6 +876,7 @@ class Client(BaseClient):
|
|
|
876
876
|
isCustom
|
|
877
877
|
displayNameOverride
|
|
878
878
|
enumValues
|
|
879
|
+
isGranted
|
|
879
880
|
feature {
|
|
880
881
|
featureType
|
|
881
882
|
meterType
|
|
@@ -3083,6 +3084,7 @@ class Client(BaseClient):
|
|
|
3083
3084
|
isCustom
|
|
3084
3085
|
displayNameOverride
|
|
3085
3086
|
enumValues
|
|
3087
|
+
isGranted
|
|
3086
3088
|
feature {
|
|
3087
3089
|
featureType
|
|
3088
3090
|
meterType
|
|
@@ -3544,6 +3546,7 @@ class Client(BaseClient):
|
|
|
3544
3546
|
isCustom
|
|
3545
3547
|
displayNameOverride
|
|
3546
3548
|
enumValues
|
|
3549
|
+
isGranted
|
|
3547
3550
|
feature {
|
|
3548
3551
|
featureType
|
|
3549
3552
|
meterType
|
|
@@ -4085,6 +4088,7 @@ class Client(BaseClient):
|
|
|
4085
4088
|
isCustom
|
|
4086
4089
|
displayNameOverride
|
|
4087
4090
|
enumValues
|
|
4091
|
+
isGranted
|
|
4088
4092
|
feature {
|
|
4089
4093
|
featureType
|
|
4090
4094
|
meterType
|
|
@@ -4606,6 +4610,7 @@ class Client(BaseClient):
|
|
|
4606
4610
|
isCustom
|
|
4607
4611
|
displayNameOverride
|
|
4608
4612
|
enumValues
|
|
4613
|
+
isGranted
|
|
4609
4614
|
feature {
|
|
4610
4615
|
featureType
|
|
4611
4616
|
meterType
|
|
@@ -5740,6 +5745,7 @@ class Client(BaseClient):
|
|
|
5740
5745
|
isCustom
|
|
5741
5746
|
displayNameOverride
|
|
5742
5747
|
enumValues
|
|
5748
|
+
isGranted
|
|
5743
5749
|
feature {
|
|
5744
5750
|
featureType
|
|
5745
5751
|
meterType
|
|
@@ -6171,6 +6177,7 @@ class Client(BaseClient):
|
|
|
6171
6177
|
hiddenFromWidgets
|
|
6172
6178
|
displayNameOverride
|
|
6173
6179
|
enumValues
|
|
6180
|
+
isGranted
|
|
6174
6181
|
feature {
|
|
6175
6182
|
featureType
|
|
6176
6183
|
meterType
|
stigg/generated/enums.py
CHANGED
|
@@ -11,6 +11,7 @@ class AccessDeniedReason(str, Enum):
|
|
|
11
11
|
CustomerResourceNotFound = "CustomerResourceNotFound"
|
|
12
12
|
FeatureNotFound = "FeatureNotFound"
|
|
13
13
|
FeatureTypeMismatch = "FeatureTypeMismatch"
|
|
14
|
+
InsufficientCredits = "InsufficientCredits"
|
|
14
15
|
NoActiveSubscription = "NoActiveSubscription"
|
|
15
16
|
NoFeatureEntitlementInSubscription = "NoFeatureEntitlementInSubscription"
|
|
16
17
|
RequestedUsageExceedingLimit = "RequestedUsageExceedingLimit"
|
stigg/generated/fragments.py
CHANGED
|
@@ -61,6 +61,58 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
class PriceTierFragment(BaseModel):
|
|
65
|
+
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
66
|
+
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
67
|
+
alias="unitPrice", default=None
|
|
68
|
+
)
|
|
69
|
+
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
70
|
+
alias="flatPrice", default=None
|
|
71
|
+
)
|
|
72
|
+
|
|
73
|
+
|
|
74
|
+
class PriceTierFragmentUnitPrice(BaseModel):
|
|
75
|
+
amount: float
|
|
76
|
+
currency: Currency
|
|
77
|
+
|
|
78
|
+
|
|
79
|
+
class PriceTierFragmentFlatPrice(BaseModel):
|
|
80
|
+
amount: float
|
|
81
|
+
currency: Currency
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class OveragePriceFragment(BaseModel):
|
|
85
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
86
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
87
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
+
billing_country_code: Optional[str] = Field(
|
|
89
|
+
alias="billingCountryCode", default=None
|
|
90
|
+
)
|
|
91
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
92
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
93
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
94
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
98
|
+
amount: float
|
|
99
|
+
currency: Currency
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
103
|
+
pass
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
107
|
+
ref_id: str = Field(alias="refId")
|
|
108
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
109
|
+
feature_units_plural: Optional[str] = Field(
|
|
110
|
+
alias="featureUnitsPlural", default=None
|
|
111
|
+
)
|
|
112
|
+
display_name: str = Field(alias="displayName")
|
|
113
|
+
description: Optional[str] = Field(default=None)
|
|
114
|
+
|
|
115
|
+
|
|
64
116
|
class PackageEntitlementFragment(BaseModel):
|
|
65
117
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
118
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -77,6 +129,7 @@ class PackageEntitlementFragment(BaseModel):
|
|
|
77
129
|
alias="displayNameOverride", default=None
|
|
78
130
|
)
|
|
79
131
|
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
132
|
+
is_granted: bool = Field(alias="isGranted")
|
|
80
133
|
feature: "PackageEntitlementFragmentFeature"
|
|
81
134
|
|
|
82
135
|
|
|
@@ -95,26 +148,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
95
148
|
)
|
|
96
149
|
|
|
97
150
|
|
|
98
|
-
class PriceTierFragment(BaseModel):
|
|
99
|
-
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
100
|
-
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
101
|
-
alias="unitPrice", default=None
|
|
102
|
-
)
|
|
103
|
-
flat_price: Optional["PriceTierFragmentFlatPrice"] = Field(
|
|
104
|
-
alias="flatPrice", default=None
|
|
105
|
-
)
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
class PriceTierFragmentUnitPrice(BaseModel):
|
|
109
|
-
amount: float
|
|
110
|
-
currency: Currency
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
class PriceTierFragmentFlatPrice(BaseModel):
|
|
114
|
-
amount: float
|
|
115
|
-
currency: Currency
|
|
116
|
-
|
|
117
|
-
|
|
118
151
|
class PriceFragment(BaseModel):
|
|
119
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -159,74 +192,287 @@ class PriceFragmentFeature(BaseModel):
|
|
|
159
192
|
description: Optional[str] = Field(default=None)
|
|
160
193
|
|
|
161
194
|
|
|
162
|
-
class
|
|
163
|
-
|
|
164
|
-
|
|
195
|
+
class AddonFragment(BaseModel):
|
|
196
|
+
id: Any
|
|
197
|
+
ref_id: str = Field(alias="refId")
|
|
165
198
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
166
|
-
|
|
167
|
-
|
|
199
|
+
display_name: str = Field(alias="displayName")
|
|
200
|
+
description: Optional[str] = Field(default=None)
|
|
201
|
+
additional_meta_data: Optional[Any] = Field(
|
|
202
|
+
alias="additionalMetaData", default=None
|
|
168
203
|
)
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
|
|
204
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
205
|
+
alias="hiddenFromWidgets", default=None
|
|
206
|
+
)
|
|
207
|
+
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
208
|
+
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
209
|
+
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
210
|
+
alias="overagePrices", default=None
|
|
211
|
+
)
|
|
212
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
213
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
214
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
173
215
|
|
|
174
216
|
|
|
175
|
-
class
|
|
176
|
-
|
|
177
|
-
currency: Currency
|
|
217
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
218
|
+
pass
|
|
178
219
|
|
|
179
220
|
|
|
180
|
-
class
|
|
221
|
+
class AddonFragmentPrices(PriceFragment):
|
|
222
|
+
pass
|
|
223
|
+
|
|
224
|
+
|
|
225
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
226
|
+
pass
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
230
|
+
pass
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
class FeatureFragment(BaseModel):
|
|
234
|
+
typename__: str = Field(alias="__typename")
|
|
235
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
237
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
|
+
feature_units_plural: Optional[str] = Field(
|
|
239
|
+
alias="featureUnitsPlural", default=None
|
|
240
|
+
)
|
|
241
|
+
description: Optional[str] = Field(default=None)
|
|
242
|
+
display_name: str = Field(alias="displayName")
|
|
243
|
+
ref_id: str = Field(alias="refId")
|
|
244
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
+
alias="unitTransformation", default=None
|
|
246
|
+
)
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
+
divide: float
|
|
251
|
+
round: UnitTransformationRound
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class EntitlementFragment(BaseModel):
|
|
255
|
+
typename__: str = Field(alias="__typename")
|
|
256
|
+
is_granted: bool = Field(alias="isGranted")
|
|
257
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
+
alias="accessDeniedReason", default=None
|
|
259
|
+
)
|
|
260
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
+
alias="entitlementUpdatedAt", default=None
|
|
271
|
+
)
|
|
272
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
+
alias="resetPeriod", default=None
|
|
279
|
+
)
|
|
280
|
+
reset_period_configuration: Optional[
|
|
281
|
+
Annotated[
|
|
282
|
+
Union[
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
+
],
|
|
287
|
+
Field(discriminator="typename__"),
|
|
288
|
+
]
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
+
|
|
292
|
+
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
298
|
+
|
|
299
|
+
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
305
|
+
|
|
306
|
+
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
311
|
+
)
|
|
312
|
+
|
|
313
|
+
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class ProductFragment(BaseModel):
|
|
319
|
+
ref_id: str = Field(alias="refId")
|
|
320
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
321
|
+
description: Optional[str] = Field(default=None)
|
|
322
|
+
additional_meta_data: Optional[Any] = Field(
|
|
323
|
+
alias="additionalMetaData", default=None
|
|
324
|
+
)
|
|
325
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
329
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
330
|
+
alias="downgradePlan", default=None
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
335
|
+
ref_id: str = Field(alias="refId")
|
|
336
|
+
display_name: str = Field(alias="displayName")
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
340
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
341
|
+
display_name: str = Field(alias="displayName")
|
|
342
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
343
|
+
default=None
|
|
344
|
+
)
|
|
345
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
349
|
+
pass
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
353
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
354
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
class PlanFragment(BaseModel):
|
|
358
|
+
id: Any
|
|
359
|
+
ref_id: str = Field(alias="refId")
|
|
360
|
+
display_name: str = Field(alias="displayName")
|
|
361
|
+
description: Optional[str] = Field(default=None)
|
|
362
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
363
|
+
version_number: int = Field(alias="versionNumber")
|
|
364
|
+
additional_meta_data: Optional[Any] = Field(
|
|
365
|
+
alias="additionalMetaData", default=None
|
|
366
|
+
)
|
|
367
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
368
|
+
alias="hiddenFromWidgets", default=None
|
|
369
|
+
)
|
|
370
|
+
product: "PlanFragmentProduct"
|
|
371
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
372
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
373
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
374
|
+
alias="inheritedEntitlements", default=None
|
|
375
|
+
)
|
|
376
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
377
|
+
alias="compatibleAddons", default=None
|
|
378
|
+
)
|
|
379
|
+
compatible_package_groups: Optional[
|
|
380
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
381
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
382
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
383
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
384
|
+
alias="overagePrices", default=None
|
|
385
|
+
)
|
|
386
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
387
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
388
|
+
alias="defaultTrialConfig", default=None
|
|
389
|
+
)
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
class PlanFragmentProduct(ProductFragment):
|
|
393
|
+
pass
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
397
|
+
ref_id: str = Field(alias="refId")
|
|
398
|
+
display_name: str = Field(alias="displayName")
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
181
402
|
pass
|
|
182
403
|
|
|
183
404
|
|
|
184
|
-
class
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
405
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
406
|
+
pass
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
410
|
+
pass
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
414
|
+
pass
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class PlanFragmentPrices(PriceFragment):
|
|
418
|
+
pass
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
422
|
+
pass
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
426
|
+
duration: float
|
|
427
|
+
units: TrialPeriodUnits
|
|
428
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
429
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
430
|
+
alias="trialEndBehavior", default=None
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
435
|
+
limit: float
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class TotalPriceFragment(BaseModel):
|
|
439
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
440
|
+
total: "TotalPriceFragmentTotal"
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
444
|
+
amount: float
|
|
445
|
+
currency: Currency
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
449
|
+
amount: float
|
|
450
|
+
currency: Currency
|
|
192
451
|
|
|
193
452
|
|
|
194
|
-
class
|
|
453
|
+
class SlimCustomerFragment(BaseModel):
|
|
195
454
|
id: Any
|
|
455
|
+
name: Optional[str] = Field(default=None)
|
|
456
|
+
email: Optional[str] = Field(default=None)
|
|
457
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
458
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
196
459
|
ref_id: str = Field(alias="refId")
|
|
460
|
+
customer_id: str = Field(alias="customerId")
|
|
197
461
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
198
|
-
display_name: str = Field(alias="displayName")
|
|
199
|
-
description: Optional[str] = Field(default=None)
|
|
200
462
|
additional_meta_data: Optional[Any] = Field(
|
|
201
463
|
alias="additionalMetaData", default=None
|
|
202
464
|
)
|
|
203
|
-
|
|
204
|
-
alias="
|
|
205
|
-
)
|
|
206
|
-
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
207
|
-
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
208
|
-
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
209
|
-
alias="overagePrices", default=None
|
|
465
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
466
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
210
467
|
)
|
|
211
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
212
|
-
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
213
|
-
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
217
|
-
pass
|
|
218
|
-
|
|
219
|
-
|
|
220
|
-
class AddonFragmentPrices(PriceFragment):
|
|
221
|
-
pass
|
|
222
468
|
|
|
223
469
|
|
|
224
|
-
class
|
|
225
|
-
|
|
470
|
+
class CustomerResourceFragment(BaseModel):
|
|
471
|
+
resource_id: str = Field(alias="resourceId")
|
|
226
472
|
|
|
227
473
|
|
|
228
|
-
class
|
|
229
|
-
|
|
474
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
475
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
230
476
|
|
|
231
477
|
|
|
232
478
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -391,27 +637,6 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
391
637
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
392
638
|
|
|
393
639
|
|
|
394
|
-
class CustomerResourceFragment(BaseModel):
|
|
395
|
-
resource_id: str = Field(alias="resourceId")
|
|
396
|
-
|
|
397
|
-
|
|
398
|
-
class SlimCustomerFragment(BaseModel):
|
|
399
|
-
id: Any
|
|
400
|
-
name: Optional[str] = Field(default=None)
|
|
401
|
-
email: Optional[str] = Field(default=None)
|
|
402
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
403
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
404
|
-
ref_id: str = Field(alias="refId")
|
|
405
|
-
customer_id: str = Field(alias="customerId")
|
|
406
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
407
|
-
additional_meta_data: Optional[Any] = Field(
|
|
408
|
-
alias="additionalMetaData", default=None
|
|
409
|
-
)
|
|
410
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
411
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
412
|
-
)
|
|
413
|
-
|
|
414
|
-
|
|
415
640
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
416
641
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
417
642
|
alias="subscriptionScheduleType"
|
|
@@ -512,225 +737,86 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
512
737
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
513
738
|
|
|
514
739
|
|
|
515
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
516
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
517
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
518
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
519
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
520
|
-
billable_features: Optional[
|
|
521
|
-
List[
|
|
522
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
523
|
-
]
|
|
524
|
-
] = Field(alias="billableFeatures", default=None)
|
|
525
|
-
addons: Optional[
|
|
526
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
527
|
-
] = Field(default=None)
|
|
528
|
-
price_overrides: Optional[
|
|
529
|
-
List[
|
|
530
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
531
|
-
]
|
|
532
|
-
] = Field(alias="priceOverrides", default=None)
|
|
533
|
-
|
|
534
|
-
|
|
535
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
536
|
-
BaseModel
|
|
537
|
-
):
|
|
538
|
-
feature_id: str = Field(alias="featureId")
|
|
539
|
-
quantity: float
|
|
540
|
-
|
|
541
|
-
|
|
542
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
543
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
544
|
-
quantity: float
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
548
|
-
BaseModel
|
|
549
|
-
):
|
|
550
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
551
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
552
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
553
|
-
|
|
554
|
-
|
|
555
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
556
|
-
BaseModel
|
|
557
|
-
):
|
|
558
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
559
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
560
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
564
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
565
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
566
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
570
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
574
|
-
billing_id: str = Field(alias="billingId")
|
|
575
|
-
status: SubscriptionInvoiceStatus
|
|
576
|
-
created_at: Any = Field(alias="createdAt")
|
|
577
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
578
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
579
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
580
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
581
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
582
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
583
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
584
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
585
|
-
alias="billingReason", default=None
|
|
586
|
-
)
|
|
587
|
-
currency: Optional[str] = Field(default=None)
|
|
588
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
589
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
590
|
-
alias="subTotalExcludingTax", default=None
|
|
591
|
-
)
|
|
592
|
-
total: Optional[float] = Field(default=None)
|
|
593
|
-
total_excluding_tax: Optional[float] = Field(
|
|
594
|
-
alias="totalExcludingTax", default=None
|
|
595
|
-
)
|
|
596
|
-
tax: Optional[float] = Field(default=None)
|
|
597
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
598
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
class ProductFragment(BaseModel):
|
|
602
|
-
ref_id: str = Field(alias="refId")
|
|
603
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
604
|
-
description: Optional[str] = Field(default=None)
|
|
605
|
-
additional_meta_data: Optional[Any] = Field(
|
|
606
|
-
alias="additionalMetaData", default=None
|
|
607
|
-
)
|
|
608
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
612
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
613
|
-
alias="downgradePlan", default=None
|
|
614
|
-
)
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
618
|
-
ref_id: str = Field(alias="refId")
|
|
619
|
-
display_name: str = Field(alias="displayName")
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
623
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
624
|
-
display_name: str = Field(alias="displayName")
|
|
625
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
626
|
-
default=None
|
|
627
|
-
)
|
|
628
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
632
|
-
pass
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
636
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
637
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
class PlanFragment(BaseModel):
|
|
641
|
-
id: Any
|
|
642
|
-
ref_id: str = Field(alias="refId")
|
|
643
|
-
display_name: str = Field(alias="displayName")
|
|
644
|
-
description: Optional[str] = Field(default=None)
|
|
645
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
646
|
-
version_number: int = Field(alias="versionNumber")
|
|
647
|
-
additional_meta_data: Optional[Any] = Field(
|
|
648
|
-
alias="additionalMetaData", default=None
|
|
649
|
-
)
|
|
650
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
651
|
-
alias="hiddenFromWidgets", default=None
|
|
652
|
-
)
|
|
653
|
-
product: "PlanFragmentProduct"
|
|
654
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
655
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
656
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
657
|
-
alias="inheritedEntitlements", default=None
|
|
658
|
-
)
|
|
659
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
660
|
-
alias="compatibleAddons", default=None
|
|
661
|
-
)
|
|
662
|
-
compatible_package_groups: Optional[
|
|
663
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
664
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
665
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
666
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
667
|
-
alias="overagePrices", default=None
|
|
668
|
-
)
|
|
669
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
670
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
671
|
-
alias="defaultTrialConfig", default=None
|
|
672
|
-
)
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
class PlanFragmentProduct(ProductFragment):
|
|
676
|
-
pass
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
680
|
-
ref_id: str = Field(alias="refId")
|
|
681
|
-
display_name: str = Field(alias="displayName")
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
685
|
-
pass
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
689
|
-
pass
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
693
|
-
pass
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
697
|
-
pass
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
class PlanFragmentPrices(PriceFragment):
|
|
701
|
-
pass
|
|
740
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
741
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
742
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
743
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
744
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
745
|
+
billable_features: Optional[
|
|
746
|
+
List[
|
|
747
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
748
|
+
]
|
|
749
|
+
] = Field(alias="billableFeatures", default=None)
|
|
750
|
+
addons: Optional[
|
|
751
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
752
|
+
] = Field(default=None)
|
|
753
|
+
price_overrides: Optional[
|
|
754
|
+
List[
|
|
755
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
756
|
+
]
|
|
757
|
+
] = Field(alias="priceOverrides", default=None)
|
|
702
758
|
|
|
703
759
|
|
|
704
|
-
class
|
|
705
|
-
|
|
760
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
761
|
+
BaseModel
|
|
762
|
+
):
|
|
763
|
+
feature_id: str = Field(alias="featureId")
|
|
764
|
+
quantity: float
|
|
706
765
|
|
|
707
766
|
|
|
708
|
-
class
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
712
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
713
|
-
alias="trialEndBehavior", default=None
|
|
714
|
-
)
|
|
767
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
768
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
769
|
+
quantity: float
|
|
715
770
|
|
|
716
771
|
|
|
717
|
-
class
|
|
718
|
-
|
|
772
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
773
|
+
BaseModel
|
|
774
|
+
):
|
|
775
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
776
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
777
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
719
778
|
|
|
720
779
|
|
|
721
|
-
class
|
|
722
|
-
|
|
723
|
-
|
|
780
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
781
|
+
BaseModel
|
|
782
|
+
):
|
|
783
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
784
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
785
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
724
786
|
|
|
725
787
|
|
|
726
|
-
class
|
|
727
|
-
|
|
728
|
-
|
|
788
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
789
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
790
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
791
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
729
792
|
|
|
730
793
|
|
|
731
|
-
class
|
|
732
|
-
|
|
733
|
-
|
|
794
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
795
|
+
billing_id: str = Field(alias="billingId")
|
|
796
|
+
status: SubscriptionInvoiceStatus
|
|
797
|
+
created_at: Any = Field(alias="createdAt")
|
|
798
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
799
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
800
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
801
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
802
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
803
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
804
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
805
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
806
|
+
alias="billingReason", default=None
|
|
807
|
+
)
|
|
808
|
+
currency: Optional[str] = Field(default=None)
|
|
809
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
810
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
811
|
+
alias="subTotalExcludingTax", default=None
|
|
812
|
+
)
|
|
813
|
+
total: Optional[float] = Field(default=None)
|
|
814
|
+
total_excluding_tax: Optional[float] = Field(
|
|
815
|
+
alias="totalExcludingTax", default=None
|
|
816
|
+
)
|
|
817
|
+
tax: Optional[float] = Field(default=None)
|
|
818
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
819
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
734
820
|
|
|
735
821
|
|
|
736
822
|
class SubscriptionFragment(BaseModel):
|
|
@@ -842,91 +928,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
842
928
|
pass
|
|
843
929
|
|
|
844
930
|
|
|
845
|
-
class FeatureFragment(BaseModel):
|
|
846
|
-
typename__: str = Field(alias="__typename")
|
|
847
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
848
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
849
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
850
|
-
feature_units_plural: Optional[str] = Field(
|
|
851
|
-
alias="featureUnitsPlural", default=None
|
|
852
|
-
)
|
|
853
|
-
description: Optional[str] = Field(default=None)
|
|
854
|
-
display_name: str = Field(alias="displayName")
|
|
855
|
-
ref_id: str = Field(alias="refId")
|
|
856
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
857
|
-
alias="unitTransformation", default=None
|
|
858
|
-
)
|
|
859
|
-
|
|
860
|
-
|
|
861
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
862
|
-
divide: float
|
|
863
|
-
round: UnitTransformationRound
|
|
864
|
-
|
|
865
|
-
|
|
866
|
-
class EntitlementFragment(BaseModel):
|
|
867
|
-
typename__: str = Field(alias="__typename")
|
|
868
|
-
is_granted: bool = Field(alias="isGranted")
|
|
869
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
870
|
-
alias="accessDeniedReason", default=None
|
|
871
|
-
)
|
|
872
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
873
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
874
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
875
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
876
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
877
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
878
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
879
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
880
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
881
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
882
|
-
alias="entitlementUpdatedAt", default=None
|
|
883
|
-
)
|
|
884
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
885
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
886
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
887
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
888
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
889
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
890
|
-
alias="resetPeriod", default=None
|
|
891
|
-
)
|
|
892
|
-
reset_period_configuration: Optional[
|
|
893
|
-
Annotated[
|
|
894
|
-
Union[
|
|
895
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
896
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
897
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
898
|
-
],
|
|
899
|
-
Field(discriminator="typename__"),
|
|
900
|
-
]
|
|
901
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
902
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
906
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
907
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
908
|
-
alias="monthlyAccordingTo", default=None
|
|
909
|
-
)
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
913
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
915
|
-
alias="weeklyAccordingTo", default=None
|
|
916
|
-
)
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
920
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
922
|
-
alias="yearlyAccordingTo", default=None
|
|
923
|
-
)
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
927
|
-
pass
|
|
928
|
-
|
|
929
|
-
|
|
930
931
|
class ApplySubscriptionFragment(BaseModel):
|
|
931
932
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
932
933
|
default=None
|
|
@@ -1004,35 +1005,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1004
1005
|
)
|
|
1005
1006
|
|
|
1006
1007
|
|
|
1007
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1008
|
-
status: PromotionalEntitlementStatus
|
|
1009
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1010
|
-
feature_id: Any = Field(alias="featureId")
|
|
1011
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1012
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1013
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1014
|
-
alias="resetPeriod", default=None
|
|
1015
|
-
)
|
|
1016
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1017
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1018
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1022
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1023
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1024
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1025
|
-
feature_units_plural: Optional[str] = Field(
|
|
1026
|
-
alias="featureUnitsPlural", default=None
|
|
1027
|
-
)
|
|
1028
|
-
display_name: str = Field(alias="displayName")
|
|
1029
|
-
description: Optional[str] = Field(default=None)
|
|
1030
|
-
ref_id: str = Field(alias="refId")
|
|
1031
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1032
|
-
alias="additionalMetaData", default=None
|
|
1033
|
-
)
|
|
1034
|
-
|
|
1035
|
-
|
|
1036
1008
|
class CouponFragment(BaseModel):
|
|
1037
1009
|
id: Any
|
|
1038
1010
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1067,6 +1039,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1067
1039
|
status: SyncStatus
|
|
1068
1040
|
|
|
1069
1041
|
|
|
1042
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
+
status: PromotionalEntitlementStatus
|
|
1044
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
+
feature_id: Any = Field(alias="featureId")
|
|
1046
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
+
alias="resetPeriod", default=None
|
|
1050
|
+
)
|
|
1051
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
+
feature_units_plural: Optional[str] = Field(
|
|
1061
|
+
alias="featureUnitsPlural", default=None
|
|
1062
|
+
)
|
|
1063
|
+
display_name: str = Field(alias="displayName")
|
|
1064
|
+
description: Optional[str] = Field(default=None)
|
|
1065
|
+
ref_id: str = Field(alias="refId")
|
|
1066
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
+
alias="additionalMetaData", default=None
|
|
1068
|
+
)
|
|
1069
|
+
|
|
1070
|
+
|
|
1070
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1071
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1072
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1925,6 +1926,7 @@ class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
|
1925
1926
|
alias="displayNameOverride", default=None
|
|
1926
1927
|
)
|
|
1927
1928
|
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1929
|
+
is_granted: bool = Field(alias="isGranted")
|
|
1928
1930
|
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1929
1931
|
default=None
|
|
1930
1932
|
)
|
|
@@ -2918,30 +2920,30 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2918
2920
|
|
|
2919
2921
|
|
|
2920
2922
|
AddonDependencyFragment.model_rebuild()
|
|
2921
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2922
2923
|
PriceTierFragment.model_rebuild()
|
|
2923
|
-
PriceFragment.model_rebuild()
|
|
2924
2924
|
OveragePriceFragment.model_rebuild()
|
|
2925
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2926
|
+
PriceFragment.model_rebuild()
|
|
2925
2927
|
AddonFragment.model_rebuild()
|
|
2926
|
-
|
|
2927
|
-
|
|
2928
|
-
SlimCustomerFragment.model_rebuild()
|
|
2929
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2930
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2931
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2928
|
+
FeatureFragment.model_rebuild()
|
|
2929
|
+
EntitlementFragment.model_rebuild()
|
|
2932
2930
|
ProductFragment.model_rebuild()
|
|
2933
2931
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2934
2932
|
PlanFragment.model_rebuild()
|
|
2935
2933
|
TotalPriceFragment.model_rebuild()
|
|
2934
|
+
SlimCustomerFragment.model_rebuild()
|
|
2935
|
+
CustomerResourceFragment.model_rebuild()
|
|
2936
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2937
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2938
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2939
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2936
2940
|
SubscriptionFragment.model_rebuild()
|
|
2937
|
-
FeatureFragment.model_rebuild()
|
|
2938
|
-
EntitlementFragment.model_rebuild()
|
|
2939
2941
|
ApplySubscriptionFragment.model_rebuild()
|
|
2940
2942
|
FontVariantFragment.model_rebuild()
|
|
2941
2943
|
TypographyConfigurationFragment.model_rebuild()
|
|
2942
2944
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2943
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2944
2945
|
CouponFragment.model_rebuild()
|
|
2946
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2945
2947
|
CustomerFragment.model_rebuild()
|
|
2946
2948
|
CheckoutStateFragment.model_rebuild()
|
|
2947
2949
|
CreditGrantFragment.model_rebuild()
|
|
@@ -110,20 +110,20 @@ stigg/generated/__init__.py,sha256=hLdgKGz4fpmi3uPgV3Cqa9PUJKmyHmxaWSQx9DrwspI,7
|
|
|
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=_gbW7HPK1DYZdytT7tfkJVrFfziM-GrB7S29uwSEjGg,179645
|
|
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=zBvjwKMocm02W2CIXwZ4hXTv983k-xB1B3r5WWBfZ4g,179006
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=cNEhlwd9Vi1-qLpN1-Ru4bSqQli5ND3Yo3VPa6poRsM,37816
|
|
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=TvKv9ced_D8r7mvKfGMMgcnP7JU6KsKpG8ks8Ej_zcU,106791
|
|
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
|
|
@@ -164,7 +164,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
164
164
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
165
165
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
166
166
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
167
|
-
stigg_api_client_v2-3.
|
|
168
|
-
stigg_api_client_v2-3.
|
|
169
|
-
stigg_api_client_v2-3.
|
|
170
|
-
stigg_api_client_v2-3.
|
|
167
|
+
stigg_api_client_v2-3.40.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
168
|
+
stigg_api_client_v2-3.40.0.dist-info/METADATA,sha256=e_jG3EVSeR5kcq8JziLRH-gqrDWDyegG9E60X7_EPZ4,2257
|
|
169
|
+
stigg_api_client_v2-3.40.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
170
|
+
stigg_api_client_v2-3.40.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|