stigg-api-client-v2 2.331.1__py3-none-any.whl → 2.334.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/__init__.py +2 -0
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +333 -333
- stigg/generated/input_types.py +5 -0
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.334.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.334.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.334.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.331.1.dist-info → stigg_api_client_v2-2.334.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -891,6 +891,7 @@ from .input_types import (
|
|
|
891
891
|
VendorIdentifierFilterComparison,
|
|
892
892
|
WeeklyResetPeriodConfigInput,
|
|
893
893
|
WidgetConfigurationUpdateInput,
|
|
894
|
+
WorkflowsLoginInput,
|
|
894
895
|
YearlyResetPeriodConfigInput,
|
|
895
896
|
ZuoraCredentialsInput,
|
|
896
897
|
)
|
|
@@ -1827,6 +1828,7 @@ __all__ = [
|
|
|
1827
1828
|
"WeeklyResetPeriodConfigInput",
|
|
1828
1829
|
"WidgetConfigurationUpdateInput",
|
|
1829
1830
|
"WidgetType",
|
|
1831
|
+
"WorkflowsLoginInput",
|
|
1830
1832
|
"YearlyAccordingTo",
|
|
1831
1833
|
"YearlyResetPeriodConfigInput",
|
|
1832
1834
|
"ZuoraCredentialsInput",
|
stigg/generated/enums.py
CHANGED
|
@@ -453,6 +453,7 @@ class ErrorCode(str, Enum):
|
|
|
453
453
|
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError"
|
|
454
454
|
FailedToImportCustomer = "FailedToImportCustomer"
|
|
455
455
|
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
456
|
+
FailedToResolveBillingIntegration = "FailedToResolveBillingIntegration"
|
|
456
457
|
FeatureNotFound = "FeatureNotFound"
|
|
457
458
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
458
459
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
stigg/generated/fragments.py
CHANGED
|
@@ -79,33 +79,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
79
|
currency: Currency
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class OveragePriceFragment(BaseModel):
|
|
83
83
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
84
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
85
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
88
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
89
86
|
billing_country_code: Optional[str] = Field(
|
|
90
87
|
alias="billingCountryCode", default=None
|
|
91
88
|
)
|
|
92
|
-
price: Optional["
|
|
89
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
93
90
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["
|
|
95
|
-
feature: Optional["
|
|
96
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
91
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
92
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
97
93
|
|
|
98
94
|
|
|
99
|
-
class
|
|
95
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
100
96
|
amount: float
|
|
101
97
|
currency: Currency
|
|
102
98
|
|
|
103
99
|
|
|
104
|
-
class
|
|
100
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
105
101
|
pass
|
|
106
102
|
|
|
107
103
|
|
|
108
|
-
class
|
|
104
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
109
105
|
ref_id: str = Field(alias="refId")
|
|
110
106
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
111
107
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -115,29 +111,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
111
|
description: Optional[str] = Field(default=None)
|
|
116
112
|
|
|
117
113
|
|
|
118
|
-
class
|
|
114
|
+
class PriceFragment(BaseModel):
|
|
119
115
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
116
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
117
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
121
118
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
119
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
120
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
122
121
|
billing_country_code: Optional[str] = Field(
|
|
123
122
|
alias="billingCountryCode", default=None
|
|
124
123
|
)
|
|
125
|
-
price: Optional["
|
|
124
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
126
125
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
-
tiers: Optional[List["
|
|
128
|
-
feature: Optional["
|
|
126
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
127
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
128
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
129
129
|
|
|
130
130
|
|
|
131
|
-
class
|
|
131
|
+
class PriceFragmentPrice(BaseModel):
|
|
132
132
|
amount: float
|
|
133
133
|
currency: Currency
|
|
134
134
|
|
|
135
135
|
|
|
136
|
-
class
|
|
136
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
137
137
|
pass
|
|
138
138
|
|
|
139
139
|
|
|
140
|
-
class
|
|
140
|
+
class PriceFragmentFeature(BaseModel):
|
|
141
141
|
ref_id: str = Field(alias="refId")
|
|
142
142
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
143
143
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -215,190 +215,60 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
222
|
-
default=None
|
|
223
|
-
)
|
|
224
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
228
|
-
pass
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
232
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
233
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
class ProductFragment(BaseModel):
|
|
237
|
-
ref_id: str = Field(alias="refId")
|
|
238
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
239
|
-
description: Optional[str] = Field(default=None)
|
|
240
|
-
additional_meta_data: Optional[Any] = Field(
|
|
241
|
-
alias="additionalMetaData", default=None
|
|
242
|
-
)
|
|
243
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
247
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
248
|
-
alias="downgradePlan", default=None
|
|
249
|
-
)
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
253
|
-
ref_id: str = Field(alias="refId")
|
|
254
|
-
display_name: str = Field(alias="displayName")
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
class PlanFragment(BaseModel):
|
|
258
|
-
id: str
|
|
259
|
-
ref_id: str = Field(alias="refId")
|
|
260
|
-
display_name: str = Field(alias="displayName")
|
|
261
|
-
description: Optional[str] = Field(default=None)
|
|
262
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
263
|
-
version_number: int = Field(alias="versionNumber")
|
|
264
|
-
additional_meta_data: Optional[Any] = Field(
|
|
265
|
-
alias="additionalMetaData", default=None
|
|
266
|
-
)
|
|
267
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
268
|
-
alias="hiddenFromWidgets", default=None
|
|
269
|
-
)
|
|
270
|
-
product: "PlanFragmentProduct"
|
|
271
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
272
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
273
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
274
|
-
alias="inheritedEntitlements", default=None
|
|
275
|
-
)
|
|
276
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
277
|
-
alias="compatibleAddons", default=None
|
|
278
|
-
)
|
|
279
|
-
compatible_package_groups: Optional[
|
|
280
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
281
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
282
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
283
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
284
|
-
alias="overagePrices", default=None
|
|
285
|
-
)
|
|
286
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
287
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
288
|
-
alias="defaultTrialConfig", default=None
|
|
289
|
-
)
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
class PlanFragmentProduct(ProductFragment):
|
|
293
|
-
pass
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
297
|
-
ref_id: str = Field(alias="refId")
|
|
298
|
-
display_name: str = Field(alias="displayName")
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
302
|
-
pass
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
306
|
-
pass
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
310
|
-
pass
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
314
|
-
pass
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
class PlanFragmentPrices(PriceFragment):
|
|
318
|
-
pass
|
|
319
|
-
|
|
320
|
-
|
|
321
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
322
|
-
pass
|
|
323
|
-
|
|
324
|
-
|
|
325
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
326
|
-
duration: float
|
|
327
|
-
units: TrialPeriodUnits
|
|
328
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
329
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
330
|
-
alias="trialEndBehavior", default=None
|
|
331
|
-
)
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
335
|
-
limit: float
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
339
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
218
|
+
class TotalPriceFragment(BaseModel):
|
|
219
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
220
|
+
total: "TotalPriceFragmentTotal"
|
|
340
221
|
|
|
341
222
|
|
|
342
|
-
class
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
email: Optional[str] = Field(default=None)
|
|
346
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
347
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
348
|
-
ref_id: str = Field(alias="refId")
|
|
349
|
-
customer_id: str = Field(alias="customerId")
|
|
350
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
351
|
-
additional_meta_data: Optional[Any] = Field(
|
|
352
|
-
alias="additionalMetaData", default=None
|
|
353
|
-
)
|
|
354
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
355
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
356
|
-
)
|
|
223
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
224
|
+
amount: float
|
|
225
|
+
currency: Currency
|
|
357
226
|
|
|
358
227
|
|
|
359
|
-
class
|
|
360
|
-
|
|
228
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
229
|
+
amount: float
|
|
230
|
+
currency: Currency
|
|
361
231
|
|
|
362
232
|
|
|
363
|
-
class
|
|
233
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
364
234
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
365
235
|
alias="subscriptionScheduleType"
|
|
366
236
|
)
|
|
367
237
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
368
238
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
369
|
-
target_package: Optional["
|
|
239
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
370
240
|
alias="targetPackage", default=None
|
|
371
241
|
)
|
|
372
242
|
schedule_variables: Optional[
|
|
373
243
|
Annotated[
|
|
374
244
|
Union[
|
|
375
|
-
"
|
|
376
|
-
"
|
|
377
|
-
"
|
|
378
|
-
"
|
|
379
|
-
"
|
|
380
|
-
"
|
|
381
|
-
"
|
|
382
|
-
"
|
|
245
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
246
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
247
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
248
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
249
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
250
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
251
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
252
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
383
253
|
],
|
|
384
254
|
Field(discriminator="typename__"),
|
|
385
255
|
]
|
|
386
256
|
] = Field(alias="scheduleVariables", default=None)
|
|
387
257
|
|
|
388
258
|
|
|
389
|
-
class
|
|
259
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
390
260
|
id: str
|
|
391
261
|
ref_id: str = Field(alias="refId")
|
|
392
262
|
display_name: str = Field(alias="displayName")
|
|
393
263
|
|
|
394
264
|
|
|
395
|
-
class
|
|
265
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
396
266
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
397
267
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
398
268
|
new_quantity: float = Field(alias="newQuantity")
|
|
399
269
|
|
|
400
270
|
|
|
401
|
-
class
|
|
271
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
402
272
|
BaseModel
|
|
403
273
|
):
|
|
404
274
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -406,53 +276,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
406
276
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
407
277
|
|
|
408
278
|
|
|
409
|
-
class
|
|
279
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
410
280
|
BaseModel
|
|
411
281
|
):
|
|
412
282
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
413
283
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
414
284
|
|
|
415
285
|
|
|
416
|
-
class
|
|
286
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
417
287
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
418
288
|
|
|
419
289
|
|
|
420
|
-
class
|
|
290
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
291
|
+
BaseModel
|
|
292
|
+
):
|
|
421
293
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
422
294
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
423
295
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
424
296
|
billable_features: Optional[
|
|
425
297
|
List[
|
|
426
|
-
"
|
|
298
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
427
299
|
]
|
|
428
300
|
] = Field(alias="billableFeatures", default=None)
|
|
429
301
|
addons: Optional[
|
|
430
302
|
List[
|
|
431
|
-
"
|
|
303
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
432
304
|
]
|
|
433
305
|
] = Field(default=None)
|
|
434
306
|
price_overrides: Optional[
|
|
435
307
|
List[
|
|
436
|
-
"
|
|
308
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
437
309
|
]
|
|
438
310
|
] = Field(alias="priceOverrides", default=None)
|
|
439
311
|
|
|
440
312
|
|
|
441
|
-
class
|
|
313
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
442
314
|
BaseModel
|
|
443
315
|
):
|
|
444
316
|
feature_id: str = Field(alias="featureId")
|
|
445
317
|
quantity: float
|
|
446
318
|
|
|
447
319
|
|
|
448
|
-
class
|
|
320
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
449
321
|
BaseModel
|
|
450
322
|
):
|
|
451
323
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
452
324
|
quantity: float
|
|
453
325
|
|
|
454
326
|
|
|
455
|
-
class
|
|
327
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
456
328
|
BaseModel
|
|
457
329
|
):
|
|
458
330
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -460,39 +332,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
460
332
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
461
333
|
|
|
462
334
|
|
|
463
|
-
class
|
|
335
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
464
336
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
465
337
|
plan_ref_id: str = Field(alias="planRefId")
|
|
466
338
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
467
339
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
468
340
|
billable_features: Optional[
|
|
469
341
|
List[
|
|
470
|
-
"
|
|
342
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
471
343
|
]
|
|
472
344
|
] = Field(alias="billableFeatures", default=None)
|
|
473
345
|
addons: Optional[
|
|
474
|
-
List[
|
|
346
|
+
List[
|
|
347
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
348
|
+
]
|
|
475
349
|
] = Field(default=None)
|
|
476
350
|
price_overrides: Optional[
|
|
477
351
|
List[
|
|
478
|
-
"
|
|
352
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
479
353
|
]
|
|
480
354
|
] = Field(alias="priceOverrides", default=None)
|
|
481
355
|
|
|
482
356
|
|
|
483
|
-
class
|
|
357
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
484
358
|
BaseModel
|
|
485
359
|
):
|
|
486
360
|
feature_id: str = Field(alias="featureId")
|
|
487
361
|
quantity: float
|
|
488
362
|
|
|
489
363
|
|
|
490
|
-
class
|
|
364
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
365
|
+
BaseModel
|
|
366
|
+
):
|
|
491
367
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
492
368
|
quantity: float
|
|
493
369
|
|
|
494
370
|
|
|
495
|
-
class
|
|
371
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
496
372
|
BaseModel
|
|
497
373
|
):
|
|
498
374
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -500,7 +376,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
500
376
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
501
377
|
|
|
502
378
|
|
|
503
|
-
class
|
|
379
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
504
380
|
BaseModel
|
|
505
381
|
):
|
|
506
382
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -508,51 +384,208 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
508
384
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
509
385
|
|
|
510
386
|
|
|
511
|
-
class
|
|
387
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
388
|
+
BaseModel
|
|
389
|
+
):
|
|
512
390
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
513
391
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
514
392
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
515
393
|
|
|
516
394
|
|
|
517
|
-
class
|
|
395
|
+
class CustomerResourceFragment(BaseModel):
|
|
396
|
+
resource_id: str = Field(alias="resourceId")
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
400
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
401
|
+
|
|
402
|
+
|
|
403
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
404
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
405
|
+
display_name: str = Field(alias="displayName")
|
|
406
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
407
|
+
default=None
|
|
408
|
+
)
|
|
409
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
413
|
+
pass
|
|
414
|
+
|
|
415
|
+
|
|
416
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
417
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
418
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class ProductFragment(BaseModel):
|
|
422
|
+
ref_id: str = Field(alias="refId")
|
|
423
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
424
|
+
description: Optional[str] = Field(default=None)
|
|
425
|
+
additional_meta_data: Optional[Any] = Field(
|
|
426
|
+
alias="additionalMetaData", default=None
|
|
427
|
+
)
|
|
428
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
432
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
433
|
+
alias="downgradePlan", default=None
|
|
434
|
+
)
|
|
435
|
+
|
|
436
|
+
|
|
437
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
438
|
+
ref_id: str = Field(alias="refId")
|
|
439
|
+
display_name: str = Field(alias="displayName")
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
class PlanFragment(BaseModel):
|
|
443
|
+
id: str
|
|
444
|
+
ref_id: str = Field(alias="refId")
|
|
445
|
+
display_name: str = Field(alias="displayName")
|
|
446
|
+
description: Optional[str] = Field(default=None)
|
|
447
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
448
|
+
version_number: int = Field(alias="versionNumber")
|
|
449
|
+
additional_meta_data: Optional[Any] = Field(
|
|
450
|
+
alias="additionalMetaData", default=None
|
|
451
|
+
)
|
|
452
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
453
|
+
alias="hiddenFromWidgets", default=None
|
|
454
|
+
)
|
|
455
|
+
product: "PlanFragmentProduct"
|
|
456
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
457
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
458
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
459
|
+
alias="inheritedEntitlements", default=None
|
|
460
|
+
)
|
|
461
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
462
|
+
alias="compatibleAddons", default=None
|
|
463
|
+
)
|
|
464
|
+
compatible_package_groups: Optional[
|
|
465
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
466
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
467
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
468
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
469
|
+
alias="overagePrices", default=None
|
|
470
|
+
)
|
|
471
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
472
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
473
|
+
alias="defaultTrialConfig", default=None
|
|
474
|
+
)
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
class PlanFragmentProduct(ProductFragment):
|
|
478
|
+
pass
|
|
479
|
+
|
|
480
|
+
|
|
481
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
482
|
+
ref_id: str = Field(alias="refId")
|
|
483
|
+
display_name: str = Field(alias="displayName")
|
|
484
|
+
|
|
485
|
+
|
|
486
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
487
|
+
pass
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
491
|
+
pass
|
|
492
|
+
|
|
493
|
+
|
|
494
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
495
|
+
pass
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
499
|
+
pass
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class PlanFragmentPrices(PriceFragment):
|
|
503
|
+
pass
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
507
|
+
pass
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
511
|
+
duration: float
|
|
512
|
+
units: TrialPeriodUnits
|
|
513
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
514
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
515
|
+
alias="trialEndBehavior", default=None
|
|
516
|
+
)
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
520
|
+
limit: float
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
524
|
+
billing_id: str = Field(alias="billingId")
|
|
525
|
+
status: SubscriptionInvoiceStatus
|
|
526
|
+
created_at: Any = Field(alias="createdAt")
|
|
527
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
528
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
529
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
530
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
531
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
532
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
533
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
534
|
+
alias="billingReason", default=None
|
|
535
|
+
)
|
|
536
|
+
currency: Optional[str] = Field(default=None)
|
|
537
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
538
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
539
|
+
alias="subTotalExcludingTax", default=None
|
|
540
|
+
)
|
|
541
|
+
total: Optional[float] = Field(default=None)
|
|
542
|
+
total_excluding_tax: Optional[float] = Field(
|
|
543
|
+
alias="totalExcludingTax", default=None
|
|
544
|
+
)
|
|
545
|
+
tax: Optional[float] = Field(default=None)
|
|
546
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
547
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
518
551
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
519
552
|
alias="subscriptionScheduleType"
|
|
520
553
|
)
|
|
521
554
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
522
555
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
523
|
-
target_package: Optional["
|
|
556
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
524
557
|
alias="targetPackage", default=None
|
|
525
558
|
)
|
|
526
559
|
schedule_variables: Optional[
|
|
527
560
|
Annotated[
|
|
528
561
|
Union[
|
|
529
|
-
"
|
|
530
|
-
"
|
|
531
|
-
"
|
|
532
|
-
"
|
|
533
|
-
"
|
|
534
|
-
"
|
|
535
|
-
"
|
|
536
|
-
"
|
|
562
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
563
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
564
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
565
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
566
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
567
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
568
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
569
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
537
570
|
],
|
|
538
571
|
Field(discriminator="typename__"),
|
|
539
572
|
]
|
|
540
573
|
] = Field(alias="scheduleVariables", default=None)
|
|
541
574
|
|
|
542
575
|
|
|
543
|
-
class
|
|
576
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
544
577
|
id: str
|
|
545
578
|
ref_id: str = Field(alias="refId")
|
|
546
579
|
display_name: str = Field(alias="displayName")
|
|
547
580
|
|
|
548
581
|
|
|
549
|
-
class
|
|
582
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
550
583
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
551
584
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
552
585
|
new_quantity: float = Field(alias="newQuantity")
|
|
553
586
|
|
|
554
587
|
|
|
555
|
-
class
|
|
588
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
556
589
|
BaseModel
|
|
557
590
|
):
|
|
558
591
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -560,55 +593,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
560
593
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
561
594
|
|
|
562
595
|
|
|
563
|
-
class
|
|
596
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
564
597
|
BaseModel
|
|
565
598
|
):
|
|
566
599
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
567
600
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
568
601
|
|
|
569
602
|
|
|
570
|
-
class
|
|
603
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
571
604
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
572
605
|
|
|
573
606
|
|
|
574
|
-
class
|
|
575
|
-
BaseModel
|
|
576
|
-
):
|
|
607
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
577
608
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
578
609
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
579
610
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
580
611
|
billable_features: Optional[
|
|
581
612
|
List[
|
|
582
|
-
"
|
|
613
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
583
614
|
]
|
|
584
615
|
] = Field(alias="billableFeatures", default=None)
|
|
585
616
|
addons: Optional[
|
|
586
617
|
List[
|
|
587
|
-
"
|
|
618
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
588
619
|
]
|
|
589
620
|
] = Field(default=None)
|
|
590
621
|
price_overrides: Optional[
|
|
591
622
|
List[
|
|
592
|
-
"
|
|
623
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
593
624
|
]
|
|
594
625
|
] = Field(alias="priceOverrides", default=None)
|
|
595
626
|
|
|
596
627
|
|
|
597
|
-
class
|
|
628
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
598
629
|
BaseModel
|
|
599
630
|
):
|
|
600
631
|
feature_id: str = Field(alias="featureId")
|
|
601
632
|
quantity: float
|
|
602
633
|
|
|
603
634
|
|
|
604
|
-
class
|
|
635
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
605
636
|
BaseModel
|
|
606
637
|
):
|
|
607
638
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
608
639
|
quantity: float
|
|
609
640
|
|
|
610
641
|
|
|
611
|
-
class
|
|
642
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
612
643
|
BaseModel
|
|
613
644
|
):
|
|
614
645
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -616,43 +647,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
616
647
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
617
648
|
|
|
618
649
|
|
|
619
|
-
class
|
|
650
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
620
651
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
621
652
|
plan_ref_id: str = Field(alias="planRefId")
|
|
622
653
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
623
654
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
624
655
|
billable_features: Optional[
|
|
625
656
|
List[
|
|
626
|
-
"
|
|
657
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
627
658
|
]
|
|
628
659
|
] = Field(alias="billableFeatures", default=None)
|
|
629
660
|
addons: Optional[
|
|
630
|
-
List[
|
|
631
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
632
|
-
]
|
|
661
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
633
662
|
] = Field(default=None)
|
|
634
663
|
price_overrides: Optional[
|
|
635
664
|
List[
|
|
636
|
-
"
|
|
665
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
637
666
|
]
|
|
638
667
|
] = Field(alias="priceOverrides", default=None)
|
|
639
668
|
|
|
640
669
|
|
|
641
|
-
class
|
|
670
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
642
671
|
BaseModel
|
|
643
672
|
):
|
|
644
673
|
feature_id: str = Field(alias="featureId")
|
|
645
674
|
quantity: float
|
|
646
675
|
|
|
647
676
|
|
|
648
|
-
class
|
|
649
|
-
BaseModel
|
|
650
|
-
):
|
|
677
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
651
678
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
652
679
|
quantity: float
|
|
653
680
|
|
|
654
681
|
|
|
655
|
-
class
|
|
682
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
656
683
|
BaseModel
|
|
657
684
|
):
|
|
658
685
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -660,7 +687,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
660
687
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
661
688
|
|
|
662
689
|
|
|
663
|
-
class
|
|
690
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
664
691
|
BaseModel
|
|
665
692
|
):
|
|
666
693
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -668,54 +695,27 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
668
695
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
669
696
|
|
|
670
697
|
|
|
671
|
-
class
|
|
672
|
-
BaseModel
|
|
673
|
-
):
|
|
698
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
674
699
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
675
700
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
676
701
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
677
702
|
|
|
678
703
|
|
|
679
|
-
class
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
685
|
-
amount: float
|
|
686
|
-
currency: Currency
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
690
|
-
amount: float
|
|
691
|
-
currency: Currency
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
695
|
-
billing_id: str = Field(alias="billingId")
|
|
696
|
-
status: SubscriptionInvoiceStatus
|
|
697
|
-
created_at: Any = Field(alias="createdAt")
|
|
704
|
+
class SlimCustomerFragment(BaseModel):
|
|
705
|
+
id: str
|
|
706
|
+
name: Optional[str] = Field(default=None)
|
|
707
|
+
email: Optional[str] = Field(default=None)
|
|
708
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
698
709
|
updated_at: Any = Field(alias="updatedAt")
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
705
|
-
alias="billingReason", default=None
|
|
706
|
-
)
|
|
707
|
-
currency: Optional[str] = Field(default=None)
|
|
708
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
709
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
710
|
-
alias="subTotalExcludingTax", default=None
|
|
710
|
+
ref_id: str = Field(alias="refId")
|
|
711
|
+
customer_id: str = Field(alias="customerId")
|
|
712
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
713
|
+
additional_meta_data: Optional[Any] = Field(
|
|
714
|
+
alias="additionalMetaData", default=None
|
|
711
715
|
)
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
alias="totalExcludingTax", default=None
|
|
716
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
717
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
715
718
|
)
|
|
716
|
-
tax: Optional[float] = Field(default=None)
|
|
717
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
718
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1267,33 +1267,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1267
1267
|
quantity: int
|
|
1268
1268
|
|
|
1269
1269
|
|
|
1270
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1271
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1272
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1273
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1274
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1275
|
-
default=None
|
|
1276
|
-
)
|
|
1277
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1278
|
-
default=None
|
|
1279
|
-
)
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1283
|
-
amount: float
|
|
1284
|
-
currency: Currency
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1288
|
-
id: str
|
|
1289
|
-
ref_id: str = Field(alias="refId")
|
|
1290
|
-
display_name: str = Field(alias="displayName")
|
|
1291
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1292
|
-
feature_units_plural: Optional[str] = Field(
|
|
1293
|
-
alias="featureUnitsPlural", default=None
|
|
1294
|
-
)
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
1270
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1298
1271
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1299
1272
|
alias="subscriptionScheduleType"
|
|
@@ -1463,6 +1436,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1463
1436
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1464
1437
|
|
|
1465
1438
|
|
|
1439
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1440
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1441
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1442
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1443
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1444
|
+
default=None
|
|
1445
|
+
)
|
|
1446
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1447
|
+
default=None
|
|
1448
|
+
)
|
|
1449
|
+
|
|
1450
|
+
|
|
1451
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1452
|
+
amount: float
|
|
1453
|
+
currency: Currency
|
|
1454
|
+
|
|
1455
|
+
|
|
1456
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1457
|
+
id: str
|
|
1458
|
+
ref_id: str = Field(alias="refId")
|
|
1459
|
+
display_name: str = Field(alias="displayName")
|
|
1460
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1461
|
+
feature_units_plural: Optional[str] = Field(
|
|
1462
|
+
alias="featureUnitsPlural", default=None
|
|
1463
|
+
)
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1467
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1468
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1786,39 +1786,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
-
alias="resetPeriod", default=None
|
|
1795
|
-
)
|
|
1796
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
-
alias="hiddenFromWidgets", default=None
|
|
1798
|
-
)
|
|
1799
|
-
display_name_override: Optional[str] = Field(
|
|
1800
|
-
alias="displayNameOverride", default=None
|
|
1801
|
-
)
|
|
1802
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
-
default=None
|
|
1804
|
-
)
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
-
feature_units_plural: Optional[str] = Field(
|
|
1812
|
-
alias="featureUnitsPlural", default=None
|
|
1813
|
-
)
|
|
1814
|
-
display_name: str = Field(alias="displayName")
|
|
1815
|
-
description: Optional[str] = Field(default=None)
|
|
1816
|
-
ref_id: str = Field(alias="refId")
|
|
1817
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
-
alias="additionalMetaData", default=None
|
|
1819
|
-
)
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
1789
|
class MockPaywallPriceFragment(BaseModel):
|
|
1823
1790
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1824
1791
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1853,6 +1820,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1853
1820
|
display_name: str = Field(alias="displayName")
|
|
1854
1821
|
|
|
1855
1822
|
|
|
1823
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
+
alias="resetPeriod", default=None
|
|
1829
|
+
)
|
|
1830
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
+
alias="hiddenFromWidgets", default=None
|
|
1832
|
+
)
|
|
1833
|
+
display_name_override: Optional[str] = Field(
|
|
1834
|
+
alias="displayNameOverride", default=None
|
|
1835
|
+
)
|
|
1836
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
+
default=None
|
|
1838
|
+
)
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
+
feature_units_plural: Optional[str] = Field(
|
|
1846
|
+
alias="featureUnitsPlural", default=None
|
|
1847
|
+
)
|
|
1848
|
+
display_name: str = Field(alias="displayName")
|
|
1849
|
+
description: Optional[str] = Field(default=None)
|
|
1850
|
+
ref_id: str = Field(alias="refId")
|
|
1851
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
+
alias="additionalMetaData", default=None
|
|
1853
|
+
)
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2764,20 +2764,20 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2764
2764
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
2766
|
PriceTierFragment.model_rebuild()
|
|
2767
|
-
PriceFragment.model_rebuild()
|
|
2768
2767
|
OveragePriceFragment.model_rebuild()
|
|
2768
|
+
PriceFragment.model_rebuild()
|
|
2769
2769
|
PackageEntitlementFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
+
TotalPriceFragment.model_rebuild()
|
|
2772
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2773
|
+
CustomerResourceFragment.model_rebuild()
|
|
2774
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2771
2775
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2772
2776
|
ProductFragment.model_rebuild()
|
|
2773
2777
|
PlanFragment.model_rebuild()
|
|
2774
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
-
SlimCustomerFragment.model_rebuild()
|
|
2776
|
-
CustomerResourceFragment.model_rebuild()
|
|
2777
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2778
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
|
-
TotalPriceFragment.model_rebuild()
|
|
2780
2778
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2779
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2780
|
+
SlimCustomerFragment.model_rebuild()
|
|
2781
2781
|
SubscriptionFragment.model_rebuild()
|
|
2782
2782
|
FeatureFragment.model_rebuild()
|
|
2783
2783
|
EntitlementFragment.model_rebuild()
|
|
@@ -2794,8 +2794,8 @@ CustomerPortalConfigurationFragment.model_rebuild()
|
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
2795
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
2796
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
2797
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2798
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPriceFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -3660,6 +3660,7 @@ class SubscriptionBillingInfo(BaseModel):
|
|
|
3660
3660
|
alias="chargeOnBehalfOfAccount", default=None
|
|
3661
3661
|
)
|
|
3662
3662
|
coupon_id: Optional[str] = Field(alias="couponId", default=None)
|
|
3663
|
+
integration_id: Optional[str] = Field(alias="integrationId", default=None)
|
|
3663
3664
|
invoice_days_until_due: Optional[float] = Field(
|
|
3664
3665
|
alias="invoiceDaysUntilDue", default=None
|
|
3665
3666
|
)
|
|
@@ -4670,6 +4671,10 @@ class WidgetConfigurationUpdateInput(BaseModel):
|
|
|
4670
4671
|
)
|
|
4671
4672
|
|
|
4672
4673
|
|
|
4674
|
+
class WorkflowsLoginInput(BaseModel):
|
|
4675
|
+
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
4676
|
+
|
|
4677
|
+
|
|
4673
4678
|
class YearlyResetPeriodConfigInput(BaseModel):
|
|
4674
4679
|
according_to: YearlyAccordingTo = Field(alias="accordingTo")
|
|
4675
4680
|
|
|
@@ -106,7 +106,7 @@ 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=kpyVQLXiTubjnYvMdZhbMEBw85kxvkcGDJgAd9SKJgo,69284
|
|
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
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=GSE5V0OioageZfpl_XDszdROY03BerofExrP5kWa9Rg,34946
|
|
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=qNLHX2cFMm8NqXdTaN1AzVqGSJqnp_NbOeE7I0LOQ2A,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=FUSvePwSBr-ZoNnPN2xKprQTHERpYMxr517KyQuqGbA,192411
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.334.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.334.0.dist-info/METADATA,sha256=irVntmTwkXNV-ILL81-KszwIXJ3g1nzStN7ob5Woaeg,2258
|
|
165
|
+
stigg_api_client_v2-2.334.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.334.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|