stigg-api-client-v2 3.26.5__py3-none-any.whl → 3.27.1__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/async_client.py +14 -0
- stigg/generated/client.py +14 -0
- stigg/generated/fragments.py +316 -315
- stigg/generated/input_types.py +10 -1
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.1.dist-info}/RECORD +9 -9
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.26.5.dist-info → stigg_api_client_v2-3.27.1.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -906,6 +906,7 @@ from .input_types import (
|
|
|
906
906
|
UnArchiveFeatureGroupInput,
|
|
907
907
|
UnArchiveFeatureInput,
|
|
908
908
|
UnArchivePlanInput,
|
|
909
|
+
UnitsInput,
|
|
909
910
|
UnitTransformationInput,
|
|
910
911
|
UnlinkFeatureGroupFromPackageInput,
|
|
911
912
|
UpdateAccountInput,
|
|
@@ -1872,6 +1873,7 @@ __all__ = [
|
|
|
1872
1873
|
"UnarchiveEnvironmentInput",
|
|
1873
1874
|
"UnitTransformationInput",
|
|
1874
1875
|
"UnitTransformationRound",
|
|
1876
|
+
"UnitsInput",
|
|
1875
1877
|
"UnlinkFeatureGroupFromPackageInput",
|
|
1876
1878
|
"UpdateAccountInput",
|
|
1877
1879
|
"UpdateCouponInput",
|
stigg/generated/async_client.py
CHANGED
|
@@ -295,6 +295,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
295
295
|
billingId
|
|
296
296
|
status
|
|
297
297
|
createdAt
|
|
298
|
+
dueDate
|
|
298
299
|
updatedAt
|
|
299
300
|
errorMessage
|
|
300
301
|
requiresAction
|
|
@@ -699,6 +700,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
699
700
|
billingId
|
|
700
701
|
status
|
|
701
702
|
createdAt
|
|
703
|
+
dueDate
|
|
702
704
|
updatedAt
|
|
703
705
|
errorMessage
|
|
704
706
|
requiresAction
|
|
@@ -1157,6 +1159,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1157
1159
|
billingId
|
|
1158
1160
|
status
|
|
1159
1161
|
createdAt
|
|
1162
|
+
dueDate
|
|
1160
1163
|
updatedAt
|
|
1161
1164
|
errorMessage
|
|
1162
1165
|
requiresAction
|
|
@@ -1347,6 +1350,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1347
1350
|
billingId
|
|
1348
1351
|
status
|
|
1349
1352
|
createdAt
|
|
1353
|
+
dueDate
|
|
1350
1354
|
updatedAt
|
|
1351
1355
|
errorMessage
|
|
1352
1356
|
requiresAction
|
|
@@ -1499,6 +1503,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
1499
1503
|
billingId
|
|
1500
1504
|
status
|
|
1501
1505
|
createdAt
|
|
1506
|
+
dueDate
|
|
1502
1507
|
updatedAt
|
|
1503
1508
|
errorMessage
|
|
1504
1509
|
requiresAction
|
|
@@ -2318,6 +2323,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2318
2323
|
billingId
|
|
2319
2324
|
status
|
|
2320
2325
|
createdAt
|
|
2326
|
+
dueDate
|
|
2321
2327
|
updatedAt
|
|
2322
2328
|
errorMessage
|
|
2323
2329
|
requiresAction
|
|
@@ -2546,6 +2552,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2546
2552
|
billingId
|
|
2547
2553
|
status
|
|
2548
2554
|
createdAt
|
|
2555
|
+
dueDate
|
|
2549
2556
|
updatedAt
|
|
2550
2557
|
errorMessage
|
|
2551
2558
|
requiresAction
|
|
@@ -2698,6 +2705,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2698
2705
|
billingId
|
|
2699
2706
|
status
|
|
2700
2707
|
createdAt
|
|
2708
|
+
dueDate
|
|
2701
2709
|
updatedAt
|
|
2702
2710
|
errorMessage
|
|
2703
2711
|
requiresAction
|
|
@@ -2850,6 +2858,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
2850
2858
|
billingId
|
|
2851
2859
|
status
|
|
2852
2860
|
createdAt
|
|
2861
|
+
dueDate
|
|
2853
2862
|
updatedAt
|
|
2854
2863
|
errorMessage
|
|
2855
2864
|
requiresAction
|
|
@@ -3328,6 +3337,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3328
3337
|
billingId
|
|
3329
3338
|
status
|
|
3330
3339
|
createdAt
|
|
3340
|
+
dueDate
|
|
3331
3341
|
updatedAt
|
|
3332
3342
|
errorMessage
|
|
3333
3343
|
requiresAction
|
|
@@ -3767,6 +3777,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
3767
3777
|
billingId
|
|
3768
3778
|
status
|
|
3769
3779
|
createdAt
|
|
3780
|
+
dueDate
|
|
3770
3781
|
updatedAt
|
|
3771
3782
|
errorMessage
|
|
3772
3783
|
requiresAction
|
|
@@ -4307,6 +4318,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4307
4318
|
billingId
|
|
4308
4319
|
status
|
|
4309
4320
|
createdAt
|
|
4321
|
+
dueDate
|
|
4310
4322
|
updatedAt
|
|
4311
4323
|
errorMessage
|
|
4312
4324
|
requiresAction
|
|
@@ -4910,6 +4922,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
4910
4922
|
billingId
|
|
4911
4923
|
status
|
|
4912
4924
|
createdAt
|
|
4925
|
+
dueDate
|
|
4913
4926
|
updatedAt
|
|
4914
4927
|
errorMessage
|
|
4915
4928
|
requiresAction
|
|
@@ -5981,6 +5994,7 @@ class AsyncClient(AsyncBaseClient):
|
|
|
5981
5994
|
billingId
|
|
5982
5995
|
status
|
|
5983
5996
|
createdAt
|
|
5997
|
+
dueDate
|
|
5984
5998
|
updatedAt
|
|
5985
5999
|
errorMessage
|
|
5986
6000
|
requiresAction
|
stigg/generated/client.py
CHANGED
|
@@ -295,6 +295,7 @@ class Client(BaseClient):
|
|
|
295
295
|
billingId
|
|
296
296
|
status
|
|
297
297
|
createdAt
|
|
298
|
+
dueDate
|
|
298
299
|
updatedAt
|
|
299
300
|
errorMessage
|
|
300
301
|
requiresAction
|
|
@@ -699,6 +700,7 @@ class Client(BaseClient):
|
|
|
699
700
|
billingId
|
|
700
701
|
status
|
|
701
702
|
createdAt
|
|
703
|
+
dueDate
|
|
702
704
|
updatedAt
|
|
703
705
|
errorMessage
|
|
704
706
|
requiresAction
|
|
@@ -1157,6 +1159,7 @@ class Client(BaseClient):
|
|
|
1157
1159
|
billingId
|
|
1158
1160
|
status
|
|
1159
1161
|
createdAt
|
|
1162
|
+
dueDate
|
|
1160
1163
|
updatedAt
|
|
1161
1164
|
errorMessage
|
|
1162
1165
|
requiresAction
|
|
@@ -1347,6 +1350,7 @@ class Client(BaseClient):
|
|
|
1347
1350
|
billingId
|
|
1348
1351
|
status
|
|
1349
1352
|
createdAt
|
|
1353
|
+
dueDate
|
|
1350
1354
|
updatedAt
|
|
1351
1355
|
errorMessage
|
|
1352
1356
|
requiresAction
|
|
@@ -1499,6 +1503,7 @@ class Client(BaseClient):
|
|
|
1499
1503
|
billingId
|
|
1500
1504
|
status
|
|
1501
1505
|
createdAt
|
|
1506
|
+
dueDate
|
|
1502
1507
|
updatedAt
|
|
1503
1508
|
errorMessage
|
|
1504
1509
|
requiresAction
|
|
@@ -2316,6 +2321,7 @@ class Client(BaseClient):
|
|
|
2316
2321
|
billingId
|
|
2317
2322
|
status
|
|
2318
2323
|
createdAt
|
|
2324
|
+
dueDate
|
|
2319
2325
|
updatedAt
|
|
2320
2326
|
errorMessage
|
|
2321
2327
|
requiresAction
|
|
@@ -2544,6 +2550,7 @@ class Client(BaseClient):
|
|
|
2544
2550
|
billingId
|
|
2545
2551
|
status
|
|
2546
2552
|
createdAt
|
|
2553
|
+
dueDate
|
|
2547
2554
|
updatedAt
|
|
2548
2555
|
errorMessage
|
|
2549
2556
|
requiresAction
|
|
@@ -2696,6 +2703,7 @@ class Client(BaseClient):
|
|
|
2696
2703
|
billingId
|
|
2697
2704
|
status
|
|
2698
2705
|
createdAt
|
|
2706
|
+
dueDate
|
|
2699
2707
|
updatedAt
|
|
2700
2708
|
errorMessage
|
|
2701
2709
|
requiresAction
|
|
@@ -2848,6 +2856,7 @@ class Client(BaseClient):
|
|
|
2848
2856
|
billingId
|
|
2849
2857
|
status
|
|
2850
2858
|
createdAt
|
|
2859
|
+
dueDate
|
|
2851
2860
|
updatedAt
|
|
2852
2861
|
errorMessage
|
|
2853
2862
|
requiresAction
|
|
@@ -3326,6 +3335,7 @@ class Client(BaseClient):
|
|
|
3326
3335
|
billingId
|
|
3327
3336
|
status
|
|
3328
3337
|
createdAt
|
|
3338
|
+
dueDate
|
|
3329
3339
|
updatedAt
|
|
3330
3340
|
errorMessage
|
|
3331
3341
|
requiresAction
|
|
@@ -3765,6 +3775,7 @@ class Client(BaseClient):
|
|
|
3765
3775
|
billingId
|
|
3766
3776
|
status
|
|
3767
3777
|
createdAt
|
|
3778
|
+
dueDate
|
|
3768
3779
|
updatedAt
|
|
3769
3780
|
errorMessage
|
|
3770
3781
|
requiresAction
|
|
@@ -4305,6 +4316,7 @@ class Client(BaseClient):
|
|
|
4305
4316
|
billingId
|
|
4306
4317
|
status
|
|
4307
4318
|
createdAt
|
|
4319
|
+
dueDate
|
|
4308
4320
|
updatedAt
|
|
4309
4321
|
errorMessage
|
|
4310
4322
|
requiresAction
|
|
@@ -4908,6 +4920,7 @@ class Client(BaseClient):
|
|
|
4908
4920
|
billingId
|
|
4909
4921
|
status
|
|
4910
4922
|
createdAt
|
|
4923
|
+
dueDate
|
|
4911
4924
|
updatedAt
|
|
4912
4925
|
errorMessage
|
|
4913
4926
|
requiresAction
|
|
@@ -5979,6 +5992,7 @@ class Client(BaseClient):
|
|
|
5979
5992
|
billingId
|
|
5980
5993
|
status
|
|
5981
5994
|
createdAt
|
|
5995
|
+
dueDate
|
|
5982
5996
|
updatedAt
|
|
5983
5997
|
errorMessage
|
|
5984
5998
|
requiresAction
|
stigg/generated/fragments.py
CHANGED
|
@@ -228,91 +228,149 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
228
228
|
pass
|
|
229
229
|
|
|
230
230
|
|
|
231
|
-
class
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
231
|
+
class TotalPriceFragment(BaseModel):
|
|
232
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
233
|
+
total: "TotalPriceFragmentTotal"
|
|
234
|
+
|
|
235
|
+
|
|
236
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
237
|
+
amount: float
|
|
238
|
+
currency: Currency
|
|
239
|
+
|
|
240
|
+
|
|
241
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
242
|
+
amount: float
|
|
243
|
+
currency: Currency
|
|
244
|
+
|
|
245
|
+
|
|
246
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
247
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
248
|
+
|
|
249
|
+
|
|
250
|
+
class ProductFragment(BaseModel):
|
|
251
|
+
ref_id: str = Field(alias="refId")
|
|
252
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
239
253
|
description: Optional[str] = Field(default=None)
|
|
240
|
-
|
|
254
|
+
additional_meta_data: Optional[Any] = Field(
|
|
255
|
+
alias="additionalMetaData", default=None
|
|
256
|
+
)
|
|
257
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
258
|
+
|
|
259
|
+
|
|
260
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
261
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
262
|
+
alias="downgradePlan", default=None
|
|
263
|
+
)
|
|
264
|
+
|
|
265
|
+
|
|
266
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
241
267
|
ref_id: str = Field(alias="refId")
|
|
242
|
-
|
|
243
|
-
|
|
268
|
+
display_name: str = Field(alias="displayName")
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
272
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
273
|
+
display_name: str = Field(alias="displayName")
|
|
274
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
275
|
+
default=None
|
|
244
276
|
)
|
|
277
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
245
278
|
|
|
246
279
|
|
|
247
|
-
class
|
|
248
|
-
|
|
249
|
-
round: UnitTransformationRound
|
|
280
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
281
|
+
pass
|
|
250
282
|
|
|
251
283
|
|
|
252
|
-
class
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
284
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
285
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
286
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
287
|
+
|
|
288
|
+
|
|
289
|
+
class PlanFragment(BaseModel):
|
|
290
|
+
id: Any
|
|
291
|
+
ref_id: str = Field(alias="refId")
|
|
292
|
+
display_name: str = Field(alias="displayName")
|
|
293
|
+
description: Optional[str] = Field(default=None)
|
|
294
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
295
|
+
version_number: int = Field(alias="versionNumber")
|
|
296
|
+
additional_meta_data: Optional[Any] = Field(
|
|
297
|
+
alias="additionalMetaData", default=None
|
|
257
298
|
)
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
261
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
262
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
263
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
264
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
265
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
266
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
267
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
268
|
-
alias="entitlementUpdatedAt", default=None
|
|
299
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
300
|
+
alias="hiddenFromWidgets", default=None
|
|
269
301
|
)
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
302
|
+
product: "PlanFragmentProduct"
|
|
303
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
304
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
305
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
306
|
+
alias="inheritedEntitlements", default=None
|
|
307
|
+
)
|
|
308
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
309
|
+
alias="compatibleAddons", default=None
|
|
310
|
+
)
|
|
311
|
+
compatible_package_groups: Optional[
|
|
312
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
313
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
314
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
315
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
316
|
+
alias="overagePrices", default=None
|
|
317
|
+
)
|
|
318
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
319
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
320
|
+
alias="defaultTrialConfig", default=None
|
|
277
321
|
)
|
|
278
|
-
reset_period_configuration: Optional[
|
|
279
|
-
Annotated[
|
|
280
|
-
Union[
|
|
281
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
282
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
283
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
284
|
-
],
|
|
285
|
-
Field(discriminator="typename__"),
|
|
286
|
-
]
|
|
287
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
288
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
289
322
|
|
|
290
323
|
|
|
291
|
-
class
|
|
292
|
-
|
|
293
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
294
|
-
alias="monthlyAccordingTo", default=None
|
|
295
|
-
)
|
|
324
|
+
class PlanFragmentProduct(ProductFragment):
|
|
325
|
+
pass
|
|
296
326
|
|
|
297
327
|
|
|
298
|
-
class
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
alias="weeklyAccordingTo", default=None
|
|
302
|
-
)
|
|
328
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
329
|
+
ref_id: str = Field(alias="refId")
|
|
330
|
+
display_name: str = Field(alias="displayName")
|
|
303
331
|
|
|
304
332
|
|
|
305
|
-
class
|
|
306
|
-
|
|
307
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
308
|
-
alias="yearlyAccordingTo", default=None
|
|
309
|
-
)
|
|
333
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
334
|
+
pass
|
|
310
335
|
|
|
311
336
|
|
|
312
|
-
class
|
|
337
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
338
|
+
pass
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
342
|
+
pass
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
346
|
+
pass
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
class PlanFragmentPrices(PriceFragment):
|
|
350
|
+
pass
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
313
354
|
pass
|
|
314
355
|
|
|
315
356
|
|
|
357
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
358
|
+
duration: float
|
|
359
|
+
units: TrialPeriodUnits
|
|
360
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
361
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
362
|
+
alias="trialEndBehavior", default=None
|
|
363
|
+
)
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
367
|
+
limit: float
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
class CustomerResourceFragment(BaseModel):
|
|
371
|
+
resource_id: str = Field(alias="resourceId")
|
|
372
|
+
|
|
373
|
+
|
|
316
374
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
317
375
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
318
376
|
alias="subscriptionScheduleType"
|
|
@@ -475,6 +533,23 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
475
533
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
476
534
|
|
|
477
535
|
|
|
536
|
+
class SlimCustomerFragment(BaseModel):
|
|
537
|
+
id: Any
|
|
538
|
+
name: Optional[str] = Field(default=None)
|
|
539
|
+
email: Optional[str] = Field(default=None)
|
|
540
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
541
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
542
|
+
ref_id: str = Field(alias="refId")
|
|
543
|
+
customer_id: str = Field(alias="customerId")
|
|
544
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
545
|
+
additional_meta_data: Optional[Any] = Field(
|
|
546
|
+
alias="additionalMetaData", default=None
|
|
547
|
+
)
|
|
548
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
549
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
550
|
+
)
|
|
551
|
+
|
|
552
|
+
|
|
478
553
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
479
554
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
480
555
|
alias="subscriptionScheduleType"
|
|
@@ -576,219 +651,64 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
576
651
|
|
|
577
652
|
|
|
578
653
|
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
579
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
580
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
581
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
582
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
583
|
-
billable_features: Optional[
|
|
584
|
-
List[
|
|
585
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
586
|
-
]
|
|
587
|
-
] = Field(alias="billableFeatures", default=None)
|
|
588
|
-
addons: Optional[
|
|
589
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
590
|
-
] = Field(default=None)
|
|
591
|
-
price_overrides: Optional[
|
|
592
|
-
List[
|
|
593
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
594
|
-
]
|
|
595
|
-
] = Field(alias="priceOverrides", default=None)
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
599
|
-
BaseModel
|
|
600
|
-
):
|
|
601
|
-
feature_id: str = Field(alias="featureId")
|
|
602
|
-
quantity: float
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
606
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
607
|
-
quantity: float
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
611
|
-
BaseModel
|
|
612
|
-
):
|
|
613
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
614
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
615
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
619
|
-
BaseModel
|
|
620
|
-
):
|
|
621
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
622
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
623
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
627
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
628
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
629
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
class ProductFragment(BaseModel):
|
|
633
|
-
ref_id: str = Field(alias="refId")
|
|
634
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
635
|
-
description: Optional[str] = Field(default=None)
|
|
636
|
-
additional_meta_data: Optional[Any] = Field(
|
|
637
|
-
alias="additionalMetaData", default=None
|
|
638
|
-
)
|
|
639
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
643
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
644
|
-
alias="downgradePlan", default=None
|
|
645
|
-
)
|
|
646
|
-
|
|
647
|
-
|
|
648
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
649
|
-
ref_id: str = Field(alias="refId")
|
|
650
|
-
display_name: str = Field(alias="displayName")
|
|
651
|
-
|
|
652
|
-
|
|
653
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
654
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
655
|
-
display_name: str = Field(alias="displayName")
|
|
656
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
657
|
-
default=None
|
|
658
|
-
)
|
|
659
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
663
|
-
pass
|
|
664
|
-
|
|
665
|
-
|
|
666
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
667
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
668
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class PlanFragment(BaseModel):
|
|
672
|
-
id: Any
|
|
673
|
-
ref_id: str = Field(alias="refId")
|
|
674
|
-
display_name: str = Field(alias="displayName")
|
|
675
|
-
description: Optional[str] = Field(default=None)
|
|
676
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
677
|
-
version_number: int = Field(alias="versionNumber")
|
|
678
|
-
additional_meta_data: Optional[Any] = Field(
|
|
679
|
-
alias="additionalMetaData", default=None
|
|
680
|
-
)
|
|
681
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
682
|
-
alias="hiddenFromWidgets", default=None
|
|
683
|
-
)
|
|
684
|
-
product: "PlanFragmentProduct"
|
|
685
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
686
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
687
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
688
|
-
alias="inheritedEntitlements", default=None
|
|
689
|
-
)
|
|
690
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
691
|
-
alias="compatibleAddons", default=None
|
|
692
|
-
)
|
|
693
|
-
compatible_package_groups: Optional[
|
|
694
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
695
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
696
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
697
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
698
|
-
alias="overagePrices", default=None
|
|
699
|
-
)
|
|
700
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
701
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
702
|
-
alias="defaultTrialConfig", default=None
|
|
703
|
-
)
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
class PlanFragmentProduct(ProductFragment):
|
|
707
|
-
pass
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
711
|
-
ref_id: str = Field(alias="refId")
|
|
712
|
-
display_name: str = Field(alias="displayName")
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
716
|
-
pass
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
720
|
-
pass
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
724
|
-
pass
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
728
|
-
pass
|
|
729
|
-
|
|
730
|
-
|
|
731
|
-
class PlanFragmentPrices(PriceFragment):
|
|
732
|
-
pass
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
736
|
-
pass
|
|
737
|
-
|
|
738
|
-
|
|
739
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
740
|
-
duration: float
|
|
741
|
-
units: TrialPeriodUnits
|
|
742
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
743
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
744
|
-
alias="trialEndBehavior", default=None
|
|
745
|
-
)
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
749
|
-
limit: float
|
|
654
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
655
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
656
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
657
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
658
|
+
billable_features: Optional[
|
|
659
|
+
List[
|
|
660
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
661
|
+
]
|
|
662
|
+
] = Field(alias="billableFeatures", default=None)
|
|
663
|
+
addons: Optional[
|
|
664
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
665
|
+
] = Field(default=None)
|
|
666
|
+
price_overrides: Optional[
|
|
667
|
+
List[
|
|
668
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
669
|
+
]
|
|
670
|
+
] = Field(alias="priceOverrides", default=None)
|
|
750
671
|
|
|
751
672
|
|
|
752
|
-
class
|
|
753
|
-
|
|
754
|
-
|
|
755
|
-
|
|
756
|
-
|
|
757
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
758
|
-
ref_id: str = Field(alias="refId")
|
|
759
|
-
customer_id: str = Field(alias="customerId")
|
|
760
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
761
|
-
additional_meta_data: Optional[Any] = Field(
|
|
762
|
-
alias="additionalMetaData", default=None
|
|
763
|
-
)
|
|
764
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
765
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
766
|
-
)
|
|
673
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
674
|
+
BaseModel
|
|
675
|
+
):
|
|
676
|
+
feature_id: str = Field(alias="featureId")
|
|
677
|
+
quantity: float
|
|
767
678
|
|
|
768
679
|
|
|
769
|
-
class
|
|
770
|
-
|
|
680
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
681
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
682
|
+
quantity: float
|
|
771
683
|
|
|
772
684
|
|
|
773
|
-
class
|
|
774
|
-
|
|
775
|
-
|
|
685
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
686
|
+
BaseModel
|
|
687
|
+
):
|
|
688
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
689
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
690
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
776
691
|
|
|
777
692
|
|
|
778
|
-
class
|
|
779
|
-
|
|
780
|
-
|
|
693
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
694
|
+
BaseModel
|
|
695
|
+
):
|
|
696
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
697
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
698
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
781
699
|
|
|
782
700
|
|
|
783
|
-
class
|
|
784
|
-
|
|
785
|
-
|
|
701
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
702
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
703
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
704
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
786
705
|
|
|
787
706
|
|
|
788
707
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
789
708
|
billing_id: str = Field(alias="billingId")
|
|
790
709
|
status: SubscriptionInvoiceStatus
|
|
791
710
|
created_at: Any = Field(alias="createdAt")
|
|
711
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
792
712
|
updated_at: Any = Field(alias="updatedAt")
|
|
793
713
|
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
794
714
|
requires_action: bool = Field(alias="requiresAction")
|
|
@@ -812,10 +732,6 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
812
732
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
813
733
|
|
|
814
734
|
|
|
815
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
816
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
817
|
-
|
|
818
|
-
|
|
819
735
|
class SubscriptionFragment(BaseModel):
|
|
820
736
|
id: Any
|
|
821
737
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -925,6 +841,91 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
925
841
|
pass
|
|
926
842
|
|
|
927
843
|
|
|
844
|
+
class FeatureFragment(BaseModel):
|
|
845
|
+
typename__: str = Field(alias="__typename")
|
|
846
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
847
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
848
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
849
|
+
feature_units_plural: Optional[str] = Field(
|
|
850
|
+
alias="featureUnitsPlural", default=None
|
|
851
|
+
)
|
|
852
|
+
description: Optional[str] = Field(default=None)
|
|
853
|
+
display_name: str = Field(alias="displayName")
|
|
854
|
+
ref_id: str = Field(alias="refId")
|
|
855
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
856
|
+
alias="unitTransformation", default=None
|
|
857
|
+
)
|
|
858
|
+
|
|
859
|
+
|
|
860
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
861
|
+
divide: float
|
|
862
|
+
round: UnitTransformationRound
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
class EntitlementFragment(BaseModel):
|
|
866
|
+
typename__: str = Field(alias="__typename")
|
|
867
|
+
is_granted: bool = Field(alias="isGranted")
|
|
868
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
869
|
+
alias="accessDeniedReason", default=None
|
|
870
|
+
)
|
|
871
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
872
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
873
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
874
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
875
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
876
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
877
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
878
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
879
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
880
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
881
|
+
alias="entitlementUpdatedAt", default=None
|
|
882
|
+
)
|
|
883
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
884
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
885
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
886
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
887
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
888
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
889
|
+
alias="resetPeriod", default=None
|
|
890
|
+
)
|
|
891
|
+
reset_period_configuration: Optional[
|
|
892
|
+
Annotated[
|
|
893
|
+
Union[
|
|
894
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
895
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
896
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
897
|
+
],
|
|
898
|
+
Field(discriminator="typename__"),
|
|
899
|
+
]
|
|
900
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
901
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
905
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
906
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
907
|
+
alias="monthlyAccordingTo", default=None
|
|
908
|
+
)
|
|
909
|
+
|
|
910
|
+
|
|
911
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
912
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
913
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
914
|
+
alias="weeklyAccordingTo", default=None
|
|
915
|
+
)
|
|
916
|
+
|
|
917
|
+
|
|
918
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
919
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
920
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
921
|
+
alias="yearlyAccordingTo", default=None
|
|
922
|
+
)
|
|
923
|
+
|
|
924
|
+
|
|
925
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
926
|
+
pass
|
|
927
|
+
|
|
928
|
+
|
|
928
929
|
class ApplySubscriptionFragment(BaseModel):
|
|
929
930
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
930
931
|
default=None
|
|
@@ -1271,6 +1272,48 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1271
1272
|
pass
|
|
1272
1273
|
|
|
1273
1274
|
|
|
1275
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1276
|
+
addon_id: str = Field(alias="addonId")
|
|
1277
|
+
description: Optional[str] = Field(default=None)
|
|
1278
|
+
display_name: str = Field(alias="displayName")
|
|
1279
|
+
quantity: int
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1283
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1284
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1285
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1286
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1287
|
+
default=None
|
|
1288
|
+
)
|
|
1289
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1290
|
+
alias="creditRate", default=None
|
|
1291
|
+
)
|
|
1292
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1293
|
+
default=None
|
|
1294
|
+
)
|
|
1295
|
+
|
|
1296
|
+
|
|
1297
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1298
|
+
amount: float
|
|
1299
|
+
currency: Currency
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1303
|
+
amount: float
|
|
1304
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1305
|
+
|
|
1306
|
+
|
|
1307
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1308
|
+
id: Any
|
|
1309
|
+
ref_id: str = Field(alias="refId")
|
|
1310
|
+
display_name: str = Field(alias="displayName")
|
|
1311
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1312
|
+
feature_units_plural: Optional[str] = Field(
|
|
1313
|
+
alias="featureUnitsPlural", default=None
|
|
1314
|
+
)
|
|
1315
|
+
|
|
1316
|
+
|
|
1274
1317
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1275
1318
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1276
1319
|
alias="subscriptionScheduleType"
|
|
@@ -1440,48 +1483,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1440
1483
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1441
1484
|
|
|
1442
1485
|
|
|
1443
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1444
|
-
addon_id: str = Field(alias="addonId")
|
|
1445
|
-
description: Optional[str] = Field(default=None)
|
|
1446
|
-
display_name: str = Field(alias="displayName")
|
|
1447
|
-
quantity: int
|
|
1448
|
-
|
|
1449
|
-
|
|
1450
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1451
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1452
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1453
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1454
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1455
|
-
default=None
|
|
1456
|
-
)
|
|
1457
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1458
|
-
alias="creditRate", default=None
|
|
1459
|
-
)
|
|
1460
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1461
|
-
default=None
|
|
1462
|
-
)
|
|
1463
|
-
|
|
1464
|
-
|
|
1465
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1466
|
-
amount: float
|
|
1467
|
-
currency: Currency
|
|
1468
|
-
|
|
1469
|
-
|
|
1470
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1471
|
-
amount: float
|
|
1472
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1473
|
-
|
|
1474
|
-
|
|
1475
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1476
|
-
id: Any
|
|
1477
|
-
ref_id: str = Field(alias="refId")
|
|
1478
|
-
display_name: str = Field(alias="displayName")
|
|
1479
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1480
|
-
feature_units_plural: Optional[str] = Field(
|
|
1481
|
-
alias="featureUnitsPlural", default=None
|
|
1482
|
-
)
|
|
1483
|
-
|
|
1484
|
-
|
|
1485
1486
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1486
1487
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1487
1488
|
plan_id: str = Field(alias="planId")
|
|
@@ -2877,19 +2878,19 @@ OveragePriceFragment.model_rebuild()
|
|
|
2877
2878
|
PackageEntitlementFragment.model_rebuild()
|
|
2878
2879
|
PriceFragment.model_rebuild()
|
|
2879
2880
|
AddonFragment.model_rebuild()
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2883
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2881
|
+
TotalPriceFragment.model_rebuild()
|
|
2882
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2884
2883
|
ProductFragment.model_rebuild()
|
|
2885
2884
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2886
2885
|
PlanFragment.model_rebuild()
|
|
2887
|
-
SlimCustomerFragment.model_rebuild()
|
|
2888
2886
|
CustomerResourceFragment.model_rebuild()
|
|
2889
|
-
|
|
2887
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2888
|
+
SlimCustomerFragment.model_rebuild()
|
|
2889
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2890
2890
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2891
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2892
2891
|
SubscriptionFragment.model_rebuild()
|
|
2892
|
+
FeatureFragment.model_rebuild()
|
|
2893
|
+
EntitlementFragment.model_rebuild()
|
|
2893
2894
|
ApplySubscriptionFragment.model_rebuild()
|
|
2894
2895
|
FontVariantFragment.model_rebuild()
|
|
2895
2896
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2901,9 +2902,9 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2901
2902
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2902
2903
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2903
2904
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2904
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2905
2905
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2906
2906
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2907
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2907
2908
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2908
2909
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2909
2910
|
CustomerPortalFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -835,9 +835,11 @@ class CustomCurrencyInput(BaseModel):
|
|
|
835
835
|
alias="additionalMetaData", default=None
|
|
836
836
|
)
|
|
837
837
|
currency_id: str = Field(alias="currencyId")
|
|
838
|
+
description: Optional[str] = None
|
|
838
839
|
display_name: str = Field(alias="displayName")
|
|
839
840
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
840
|
-
symbol: str
|
|
841
|
+
symbol: Optional[str] = None
|
|
842
|
+
units: Optional["UnitsInput"] = None
|
|
841
843
|
|
|
842
844
|
|
|
843
845
|
class CustomerBillingInfo(BaseModel):
|
|
@@ -4535,6 +4537,11 @@ class UnitTransformationInput(BaseModel):
|
|
|
4535
4537
|
round: Optional[UnitTransformationRound] = UnitTransformationRound.UP
|
|
4536
4538
|
|
|
4537
4539
|
|
|
4540
|
+
class UnitsInput(BaseModel):
|
|
4541
|
+
plural: str
|
|
4542
|
+
singular: str
|
|
4543
|
+
|
|
4544
|
+
|
|
4538
4545
|
class UnlinkFeatureGroupFromPackageInput(BaseModel):
|
|
4539
4546
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4540
4547
|
feature_group_id: Any = Field(alias="featureGroupId")
|
|
@@ -4589,9 +4596,11 @@ class UpdateCustomCurrencyInput(BaseModel):
|
|
|
4589
4596
|
alias="additionalMetaData", default=None
|
|
4590
4597
|
)
|
|
4591
4598
|
currency_id: str = Field(alias="currencyId")
|
|
4599
|
+
description: Optional[str] = None
|
|
4592
4600
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
4593
4601
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4594
4602
|
symbol: Optional[str] = None
|
|
4603
|
+
units: Optional["UnitsInput"] = None
|
|
4595
4604
|
|
|
4596
4605
|
|
|
4597
4606
|
class UpdateCustomerInput(BaseModel):
|
|
@@ -106,16 +106,16 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=kGdKmvYH3Hh7QIivvckTahB7_-fRucPg98OadpSQQAQ,72853
|
|
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=xfEyz3O27RdT5-SfB-kuXz3jBQgkL3MgSfd16XkZdsE,175837
|
|
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=Ekde9Yzhhdr_frLAOnH6-GRqQNKCx-sUi0FjRxAxZ-o,175248
|
|
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=asjaGM369pxIj2wWuFtgq6mA-p_9U-otD9cP2baB-mQ,3774
|
|
|
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=np4Ty5UyniG7u2ULQeInYR14A7L8WROf2ZUm5vYniDo,104979
|
|
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
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=8Qpl0PT8pyK_bsG5U4bR-pgqY375JDUpdxGWJjSXves,205685
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-3.
|
|
165
|
-
stigg_api_client_v2-3.
|
|
166
|
-
stigg_api_client_v2-3.
|
|
167
|
-
stigg_api_client_v2-3.
|
|
164
|
+
stigg_api_client_v2-3.27.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.27.1.dist-info/METADATA,sha256=HfvB2xUHGiGtqr4o3oee485lQytLfpRpTOm-O3R-PwE,2257
|
|
166
|
+
stigg_api_client_v2-3.27.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.27.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|