stigg-api-client-v2 3.62.0__py3-none-any.whl → 3.64.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/fragments.py +324 -324
- stigg/generated/input_types.py +1 -0
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.64.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.64.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.64.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.62.0.dist-info → stigg_api_client_v2-3.64.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -61,41 +61,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
class PackageEntitlementFragment(BaseModel):
|
|
65
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
67
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
68
|
-
feature_id: str = Field(alias="featureId")
|
|
69
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
70
|
-
alias="resetPeriod", default=None
|
|
71
|
-
)
|
|
72
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
73
|
-
alias="hiddenFromWidgets", default=None
|
|
74
|
-
)
|
|
75
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
76
|
-
display_name_override: Optional[str] = Field(
|
|
77
|
-
alias="displayNameOverride", default=None
|
|
78
|
-
)
|
|
79
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
80
|
-
is_granted: bool = Field(alias="isGranted")
|
|
81
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
85
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
86
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
87
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
88
|
-
feature_units_plural: Optional[str] = Field(
|
|
89
|
-
alias="featureUnitsPlural", default=None
|
|
90
|
-
)
|
|
91
|
-
display_name: str = Field(alias="displayName")
|
|
92
|
-
description: Optional[str] = Field(default=None)
|
|
93
|
-
ref_id: str = Field(alias="refId")
|
|
94
|
-
additional_meta_data: Optional[Any] = Field(
|
|
95
|
-
alias="additionalMetaData", default=None
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
|
|
99
64
|
class PriceTierFragment(BaseModel):
|
|
100
65
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
101
66
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -148,6 +113,41 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
148
113
|
description: Optional[str] = Field(default=None)
|
|
149
114
|
|
|
150
115
|
|
|
116
|
+
class PackageEntitlementFragment(BaseModel):
|
|
117
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
118
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
119
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
120
|
+
feature_id: str = Field(alias="featureId")
|
|
121
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
122
|
+
alias="resetPeriod", default=None
|
|
123
|
+
)
|
|
124
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
125
|
+
alias="hiddenFromWidgets", default=None
|
|
126
|
+
)
|
|
127
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
128
|
+
display_name_override: Optional[str] = Field(
|
|
129
|
+
alias="displayNameOverride", default=None
|
|
130
|
+
)
|
|
131
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
132
|
+
is_granted: bool = Field(alias="isGranted")
|
|
133
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
137
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
138
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
139
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
140
|
+
feature_units_plural: Optional[str] = Field(
|
|
141
|
+
alias="featureUnitsPlural", default=None
|
|
142
|
+
)
|
|
143
|
+
display_name: str = Field(alias="displayName")
|
|
144
|
+
description: Optional[str] = Field(default=None)
|
|
145
|
+
ref_id: str = Field(alias="refId")
|
|
146
|
+
additional_meta_data: Optional[Any] = Field(
|
|
147
|
+
alias="additionalMetaData", default=None
|
|
148
|
+
)
|
|
149
|
+
|
|
150
|
+
|
|
151
151
|
class PriceFragment(BaseModel):
|
|
152
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -230,94 +230,165 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
234
|
-
id: Any
|
|
235
|
-
name: Optional[str] = Field(default=None)
|
|
236
|
-
email: Optional[str] = Field(default=None)
|
|
237
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
238
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
233
|
+
class ProductFragment(BaseModel):
|
|
239
234
|
ref_id: str = Field(alias="refId")
|
|
240
|
-
|
|
241
|
-
|
|
235
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
236
|
+
description: Optional[str] = Field(default=None)
|
|
242
237
|
additional_meta_data: Optional[Any] = Field(
|
|
243
238
|
alias="additionalMetaData", default=None
|
|
244
239
|
)
|
|
245
|
-
|
|
246
|
-
|
|
240
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
244
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
245
|
+
alias="downgradePlan", default=None
|
|
247
246
|
)
|
|
248
247
|
|
|
249
248
|
|
|
250
|
-
class
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
261
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
262
|
-
alias="billingReason", default=None
|
|
249
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
250
|
+
ref_id: str = Field(alias="refId")
|
|
251
|
+
display_name: str = Field(alias="displayName")
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
255
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
256
|
+
display_name: str = Field(alias="displayName")
|
|
257
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
258
|
+
default=None
|
|
263
259
|
)
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
|
|
267
|
-
|
|
260
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
261
|
+
|
|
262
|
+
|
|
263
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
264
|
+
pass
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
268
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
269
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
class PlanFragment(BaseModel):
|
|
273
|
+
id: Any
|
|
274
|
+
ref_id: str = Field(alias="refId")
|
|
275
|
+
display_name: str = Field(alias="displayName")
|
|
276
|
+
description: Optional[str] = Field(default=None)
|
|
277
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
278
|
+
version_number: int = Field(alias="versionNumber")
|
|
279
|
+
additional_meta_data: Optional[Any] = Field(
|
|
280
|
+
alias="additionalMetaData", default=None
|
|
268
281
|
)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
282
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
283
|
+
alias="hiddenFromWidgets", default=None
|
|
284
|
+
)
|
|
285
|
+
product: "PlanFragmentProduct"
|
|
286
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
287
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
288
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
289
|
+
alias="inheritedEntitlements", default=None
|
|
290
|
+
)
|
|
291
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
292
|
+
alias="compatibleAddons", default=None
|
|
293
|
+
)
|
|
294
|
+
compatible_package_groups: Optional[
|
|
295
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
296
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
297
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
298
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
299
|
+
alias="overagePrices", default=None
|
|
300
|
+
)
|
|
301
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
302
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
303
|
+
alias="defaultTrialConfig", default=None
|
|
272
304
|
)
|
|
273
|
-
tax: Optional[float] = Field(default=None)
|
|
274
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
275
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
276
305
|
|
|
277
306
|
|
|
278
|
-
class
|
|
279
|
-
|
|
307
|
+
class PlanFragmentProduct(ProductFragment):
|
|
308
|
+
pass
|
|
280
309
|
|
|
281
310
|
|
|
282
|
-
class
|
|
311
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
312
|
+
ref_id: str = Field(alias="refId")
|
|
313
|
+
display_name: str = Field(alias="displayName")
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
317
|
+
pass
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
321
|
+
pass
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
325
|
+
pass
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
329
|
+
pass
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
class PlanFragmentPrices(PriceFragment):
|
|
333
|
+
pass
|
|
334
|
+
|
|
335
|
+
|
|
336
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
337
|
+
pass
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
341
|
+
duration: float
|
|
342
|
+
units: TrialPeriodUnits
|
|
343
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
344
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
345
|
+
alias="trialEndBehavior", default=None
|
|
346
|
+
)
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
350
|
+
limit: float
|
|
351
|
+
|
|
352
|
+
|
|
353
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
283
354
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
284
355
|
alias="subscriptionScheduleType"
|
|
285
356
|
)
|
|
286
357
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
287
358
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
288
|
-
target_package: Optional["
|
|
359
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
289
360
|
alias="targetPackage", default=None
|
|
290
361
|
)
|
|
291
362
|
schedule_variables: Optional[
|
|
292
363
|
Annotated[
|
|
293
364
|
Union[
|
|
294
|
-
"
|
|
295
|
-
"
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
365
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
366
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
367
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
368
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
369
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
370
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
371
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
372
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
302
373
|
],
|
|
303
374
|
Field(discriminator="typename__"),
|
|
304
375
|
]
|
|
305
376
|
] = Field(alias="scheduleVariables", default=None)
|
|
306
377
|
|
|
307
378
|
|
|
308
|
-
class
|
|
379
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
309
380
|
id: Any
|
|
310
381
|
ref_id: str = Field(alias="refId")
|
|
311
382
|
display_name: str = Field(alias="displayName")
|
|
312
383
|
|
|
313
384
|
|
|
314
|
-
class
|
|
385
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
315
386
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
316
387
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
317
388
|
new_quantity: float = Field(alias="newQuantity")
|
|
318
389
|
|
|
319
390
|
|
|
320
|
-
class
|
|
391
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
321
392
|
BaseModel
|
|
322
393
|
):
|
|
323
394
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -325,55 +396,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
325
396
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
326
397
|
|
|
327
398
|
|
|
328
|
-
class
|
|
399
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
329
400
|
BaseModel
|
|
330
401
|
):
|
|
331
402
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
332
403
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
333
404
|
|
|
334
405
|
|
|
335
|
-
class
|
|
406
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
336
407
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
337
408
|
|
|
338
409
|
|
|
339
|
-
class
|
|
340
|
-
BaseModel
|
|
341
|
-
):
|
|
410
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
342
411
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
343
412
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
344
413
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
345
414
|
billable_features: Optional[
|
|
346
415
|
List[
|
|
347
|
-
"
|
|
416
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
348
417
|
]
|
|
349
418
|
] = Field(alias="billableFeatures", default=None)
|
|
350
419
|
addons: Optional[
|
|
351
420
|
List[
|
|
352
|
-
"
|
|
421
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
353
422
|
]
|
|
354
423
|
] = Field(default=None)
|
|
355
424
|
price_overrides: Optional[
|
|
356
425
|
List[
|
|
357
|
-
"
|
|
426
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
358
427
|
]
|
|
359
428
|
] = Field(alias="priceOverrides", default=None)
|
|
360
429
|
|
|
361
430
|
|
|
362
|
-
class
|
|
431
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
363
432
|
BaseModel
|
|
364
433
|
):
|
|
365
434
|
feature_id: str = Field(alias="featureId")
|
|
366
435
|
quantity: float
|
|
367
436
|
|
|
368
437
|
|
|
369
|
-
class
|
|
438
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
370
439
|
BaseModel
|
|
371
440
|
):
|
|
372
441
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
373
442
|
quantity: float
|
|
374
443
|
|
|
375
444
|
|
|
376
|
-
class
|
|
445
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
377
446
|
BaseModel
|
|
378
447
|
):
|
|
379
448
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -381,43 +450,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
381
450
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
382
451
|
|
|
383
452
|
|
|
384
|
-
class
|
|
453
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
385
454
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
386
455
|
plan_ref_id: str = Field(alias="planRefId")
|
|
387
456
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
388
457
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
389
458
|
billable_features: Optional[
|
|
390
459
|
List[
|
|
391
|
-
"
|
|
460
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
392
461
|
]
|
|
393
462
|
] = Field(alias="billableFeatures", default=None)
|
|
394
463
|
addons: Optional[
|
|
395
|
-
List[
|
|
396
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
397
|
-
]
|
|
464
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
398
465
|
] = Field(default=None)
|
|
399
466
|
price_overrides: Optional[
|
|
400
467
|
List[
|
|
401
|
-
"
|
|
468
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
402
469
|
]
|
|
403
470
|
] = Field(alias="priceOverrides", default=None)
|
|
404
471
|
|
|
405
472
|
|
|
406
|
-
class
|
|
473
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
407
474
|
BaseModel
|
|
408
475
|
):
|
|
409
476
|
feature_id: str = Field(alias="featureId")
|
|
410
477
|
quantity: float
|
|
411
478
|
|
|
412
479
|
|
|
413
|
-
class
|
|
414
|
-
BaseModel
|
|
415
|
-
):
|
|
480
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
416
481
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
417
482
|
quantity: float
|
|
418
483
|
|
|
419
484
|
|
|
420
|
-
class
|
|
485
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
421
486
|
BaseModel
|
|
422
487
|
):
|
|
423
488
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -425,7 +490,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
425
490
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
426
491
|
|
|
427
492
|
|
|
428
|
-
class
|
|
493
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
429
494
|
BaseModel
|
|
430
495
|
):
|
|
431
496
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -433,72 +498,104 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
433
498
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
434
499
|
|
|
435
500
|
|
|
436
|
-
class
|
|
437
|
-
BaseModel
|
|
438
|
-
):
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
439
502
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
440
503
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
441
504
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
442
505
|
|
|
443
506
|
|
|
444
|
-
class
|
|
445
|
-
|
|
446
|
-
total: "TotalPriceFragmentTotal"
|
|
507
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
508
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
447
509
|
|
|
448
510
|
|
|
449
|
-
class
|
|
450
|
-
|
|
451
|
-
currency: Currency
|
|
511
|
+
class CustomerResourceFragment(BaseModel):
|
|
512
|
+
resource_id: str = Field(alias="resourceId")
|
|
452
513
|
|
|
453
514
|
|
|
454
|
-
class
|
|
455
|
-
|
|
456
|
-
|
|
515
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
516
|
+
billing_id: str = Field(alias="billingId")
|
|
517
|
+
status: SubscriptionInvoiceStatus
|
|
518
|
+
created_at: Any = Field(alias="createdAt")
|
|
519
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
520
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
521
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
522
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
523
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
524
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
525
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
526
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
527
|
+
alias="billingReason", default=None
|
|
528
|
+
)
|
|
529
|
+
currency: Optional[str] = Field(default=None)
|
|
530
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
531
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
532
|
+
alias="subTotalExcludingTax", default=None
|
|
533
|
+
)
|
|
534
|
+
total: Optional[float] = Field(default=None)
|
|
535
|
+
total_excluding_tax: Optional[float] = Field(
|
|
536
|
+
alias="totalExcludingTax", default=None
|
|
537
|
+
)
|
|
538
|
+
tax: Optional[float] = Field(default=None)
|
|
539
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
540
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
457
541
|
|
|
458
542
|
|
|
459
|
-
class
|
|
460
|
-
|
|
543
|
+
class SlimCustomerFragment(BaseModel):
|
|
544
|
+
id: Any
|
|
545
|
+
name: Optional[str] = Field(default=None)
|
|
546
|
+
email: Optional[str] = Field(default=None)
|
|
547
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
548
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
549
|
+
ref_id: str = Field(alias="refId")
|
|
550
|
+
customer_id: str = Field(alias="customerId")
|
|
551
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
552
|
+
additional_meta_data: Optional[Any] = Field(
|
|
553
|
+
alias="additionalMetaData", default=None
|
|
554
|
+
)
|
|
555
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
556
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
557
|
+
)
|
|
461
558
|
|
|
462
559
|
|
|
463
|
-
class
|
|
560
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
464
561
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
465
562
|
alias="subscriptionScheduleType"
|
|
466
563
|
)
|
|
467
564
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
468
565
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
469
|
-
target_package: Optional["
|
|
566
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
470
567
|
alias="targetPackage", default=None
|
|
471
568
|
)
|
|
472
569
|
schedule_variables: Optional[
|
|
473
570
|
Annotated[
|
|
474
571
|
Union[
|
|
475
|
-
"
|
|
476
|
-
"
|
|
477
|
-
"
|
|
478
|
-
"
|
|
479
|
-
"
|
|
480
|
-
"
|
|
481
|
-
"
|
|
482
|
-
"
|
|
572
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
573
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
574
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
575
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
576
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
577
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
578
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
579
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
483
580
|
],
|
|
484
581
|
Field(discriminator="typename__"),
|
|
485
582
|
]
|
|
486
583
|
] = Field(alias="scheduleVariables", default=None)
|
|
487
584
|
|
|
488
585
|
|
|
489
|
-
class
|
|
586
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
490
587
|
id: Any
|
|
491
588
|
ref_id: str = Field(alias="refId")
|
|
492
589
|
display_name: str = Field(alias="displayName")
|
|
493
590
|
|
|
494
591
|
|
|
495
|
-
class
|
|
592
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
496
593
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
497
594
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
498
595
|
new_quantity: float = Field(alias="newQuantity")
|
|
499
596
|
|
|
500
597
|
|
|
501
|
-
class
|
|
598
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
502
599
|
BaseModel
|
|
503
600
|
):
|
|
504
601
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -506,53 +603,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
506
603
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
507
604
|
|
|
508
605
|
|
|
509
|
-
class
|
|
606
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
510
607
|
BaseModel
|
|
511
608
|
):
|
|
512
609
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
513
610
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
514
611
|
|
|
515
612
|
|
|
516
|
-
class
|
|
613
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
517
614
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
518
615
|
|
|
519
616
|
|
|
520
|
-
class
|
|
617
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
618
|
+
BaseModel
|
|
619
|
+
):
|
|
521
620
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
522
621
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
523
622
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
524
623
|
billable_features: Optional[
|
|
525
624
|
List[
|
|
526
|
-
"
|
|
625
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
527
626
|
]
|
|
528
627
|
] = Field(alias="billableFeatures", default=None)
|
|
529
628
|
addons: Optional[
|
|
530
629
|
List[
|
|
531
|
-
"
|
|
630
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
532
631
|
]
|
|
533
632
|
] = Field(default=None)
|
|
534
633
|
price_overrides: Optional[
|
|
535
634
|
List[
|
|
536
|
-
"
|
|
635
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
537
636
|
]
|
|
538
637
|
] = Field(alias="priceOverrides", default=None)
|
|
539
638
|
|
|
540
639
|
|
|
541
|
-
class
|
|
640
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
542
641
|
BaseModel
|
|
543
642
|
):
|
|
544
643
|
feature_id: str = Field(alias="featureId")
|
|
545
644
|
quantity: float
|
|
546
645
|
|
|
547
646
|
|
|
548
|
-
class
|
|
647
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
549
648
|
BaseModel
|
|
550
649
|
):
|
|
551
650
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
552
651
|
quantity: float
|
|
553
652
|
|
|
554
653
|
|
|
555
|
-
class
|
|
654
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
556
655
|
BaseModel
|
|
557
656
|
):
|
|
558
657
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -560,39 +659,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
560
659
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
561
660
|
|
|
562
661
|
|
|
563
|
-
class
|
|
662
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
564
663
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
565
664
|
plan_ref_id: str = Field(alias="planRefId")
|
|
566
665
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
567
666
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
568
667
|
billable_features: Optional[
|
|
569
668
|
List[
|
|
570
|
-
"
|
|
669
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
670
|
+
]
|
|
671
|
+
] = Field(alias="billableFeatures", default=None)
|
|
672
|
+
addons: Optional[
|
|
673
|
+
List[
|
|
674
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
571
675
|
]
|
|
572
|
-
] = Field(alias="billableFeatures", default=None)
|
|
573
|
-
addons: Optional[
|
|
574
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
575
676
|
] = Field(default=None)
|
|
576
677
|
price_overrides: Optional[
|
|
577
678
|
List[
|
|
578
|
-
"
|
|
679
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
579
680
|
]
|
|
580
681
|
] = Field(alias="priceOverrides", default=None)
|
|
581
682
|
|
|
582
683
|
|
|
583
|
-
class
|
|
684
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
584
685
|
BaseModel
|
|
585
686
|
):
|
|
586
687
|
feature_id: str = Field(alias="featureId")
|
|
587
688
|
quantity: float
|
|
588
689
|
|
|
589
690
|
|
|
590
|
-
class
|
|
691
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
692
|
+
BaseModel
|
|
693
|
+
):
|
|
591
694
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
592
695
|
quantity: float
|
|
593
696
|
|
|
594
697
|
|
|
595
|
-
class
|
|
698
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
596
699
|
BaseModel
|
|
597
700
|
):
|
|
598
701
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -600,7 +703,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
600
703
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
601
704
|
|
|
602
705
|
|
|
603
|
-
class
|
|
706
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
604
707
|
BaseModel
|
|
605
708
|
):
|
|
606
709
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -608,130 +711,27 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
608
711
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
609
712
|
|
|
610
713
|
|
|
611
|
-
class
|
|
714
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
715
|
+
BaseModel
|
|
716
|
+
):
|
|
612
717
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
613
718
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
614
719
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
615
720
|
|
|
616
721
|
|
|
617
|
-
class
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
description: Optional[str] = Field(default=None)
|
|
621
|
-
additional_meta_data: Optional[Any] = Field(
|
|
622
|
-
alias="additionalMetaData", default=None
|
|
623
|
-
)
|
|
624
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
628
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
629
|
-
alias="downgradePlan", default=None
|
|
630
|
-
)
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
634
|
-
ref_id: str = Field(alias="refId")
|
|
635
|
-
display_name: str = Field(alias="displayName")
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
639
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
640
|
-
display_name: str = Field(alias="displayName")
|
|
641
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
642
|
-
default=None
|
|
643
|
-
)
|
|
644
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
648
|
-
pass
|
|
649
|
-
|
|
650
|
-
|
|
651
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
652
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
653
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
class PlanFragment(BaseModel):
|
|
657
|
-
id: Any
|
|
658
|
-
ref_id: str = Field(alias="refId")
|
|
659
|
-
display_name: str = Field(alias="displayName")
|
|
660
|
-
description: Optional[str] = Field(default=None)
|
|
661
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
662
|
-
version_number: int = Field(alias="versionNumber")
|
|
663
|
-
additional_meta_data: Optional[Any] = Field(
|
|
664
|
-
alias="additionalMetaData", default=None
|
|
665
|
-
)
|
|
666
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
667
|
-
alias="hiddenFromWidgets", default=None
|
|
668
|
-
)
|
|
669
|
-
product: "PlanFragmentProduct"
|
|
670
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
671
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
672
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
673
|
-
alias="inheritedEntitlements", default=None
|
|
674
|
-
)
|
|
675
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
676
|
-
alias="compatibleAddons", default=None
|
|
677
|
-
)
|
|
678
|
-
compatible_package_groups: Optional[
|
|
679
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
680
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
681
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
682
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
683
|
-
alias="overagePrices", default=None
|
|
684
|
-
)
|
|
685
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
686
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
687
|
-
alias="defaultTrialConfig", default=None
|
|
688
|
-
)
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
class PlanFragmentProduct(ProductFragment):
|
|
692
|
-
pass
|
|
693
|
-
|
|
694
|
-
|
|
695
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
696
|
-
ref_id: str = Field(alias="refId")
|
|
697
|
-
display_name: str = Field(alias="displayName")
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
701
|
-
pass
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
705
|
-
pass
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
709
|
-
pass
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
713
|
-
pass
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
class PlanFragmentPrices(PriceFragment):
|
|
717
|
-
pass
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
721
|
-
pass
|
|
722
|
+
class TotalPriceFragment(BaseModel):
|
|
723
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
724
|
+
total: "TotalPriceFragmentTotal"
|
|
722
725
|
|
|
723
726
|
|
|
724
|
-
class
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
728
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
729
|
-
alias="trialEndBehavior", default=None
|
|
730
|
-
)
|
|
727
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
728
|
+
amount: float
|
|
729
|
+
currency: Currency
|
|
731
730
|
|
|
732
731
|
|
|
733
|
-
class
|
|
734
|
-
|
|
732
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
733
|
+
amount: float
|
|
734
|
+
currency: Currency
|
|
735
735
|
|
|
736
736
|
|
|
737
737
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1005,6 +1005,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1009
|
+
status: PromotionalEntitlementStatus
|
|
1010
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1011
|
+
feature_id: Any = Field(alias="featureId")
|
|
1012
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1013
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1014
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1015
|
+
alias="resetPeriod", default=None
|
|
1016
|
+
)
|
|
1017
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1018
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1019
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1020
|
+
|
|
1021
|
+
|
|
1022
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1023
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1024
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1025
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1026
|
+
feature_units_plural: Optional[str] = Field(
|
|
1027
|
+
alias="featureUnitsPlural", default=None
|
|
1028
|
+
)
|
|
1029
|
+
display_name: str = Field(alias="displayName")
|
|
1030
|
+
description: Optional[str] = Field(default=None)
|
|
1031
|
+
ref_id: str = Field(alias="refId")
|
|
1032
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1033
|
+
alias="additionalMetaData", default=None
|
|
1034
|
+
)
|
|
1035
|
+
|
|
1036
|
+
|
|
1008
1037
|
class CouponFragment(BaseModel):
|
|
1009
1038
|
id: Any
|
|
1010
1039
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1039,35 +1068,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1039
1068
|
status: SyncStatus
|
|
1040
1069
|
|
|
1041
1070
|
|
|
1042
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
-
status: PromotionalEntitlementStatus
|
|
1044
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
-
feature_id: Any = Field(alias="featureId")
|
|
1046
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
-
alias="resetPeriod", default=None
|
|
1050
|
-
)
|
|
1051
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
-
|
|
1055
|
-
|
|
1056
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
-
feature_units_plural: Optional[str] = Field(
|
|
1061
|
-
alias="featureUnitsPlural", default=None
|
|
1062
|
-
)
|
|
1063
|
-
display_name: str = Field(alias="displayName")
|
|
1064
|
-
description: Optional[str] = Field(default=None)
|
|
1065
|
-
ref_id: str = Field(alias="refId")
|
|
1066
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
-
alias="additionalMetaData", default=None
|
|
1068
|
-
)
|
|
1069
|
-
|
|
1070
|
-
|
|
1071
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1072
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1073
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1326,16 +1326,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1326
1326
|
pass
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1330
|
-
display_name: str = Field(alias="displayName")
|
|
1331
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1332
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1333
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1334
|
-
period: PromotionalEntitlementPeriod
|
|
1335
|
-
start_date: Any = Field(alias="startDate")
|
|
1336
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
1329
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1340
1330
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1341
1331
|
alias="subscriptionScheduleType"
|
|
@@ -1505,6 +1495,13 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1505
1495
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1506
1496
|
|
|
1507
1497
|
|
|
1498
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1499
|
+
addon_id: str = Field(alias="addonId")
|
|
1500
|
+
description: Optional[str] = Field(default=None)
|
|
1501
|
+
display_name: str = Field(alias="displayName")
|
|
1502
|
+
quantity: int
|
|
1503
|
+
|
|
1504
|
+
|
|
1508
1505
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1509
1506
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1510
1507
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1540,13 +1537,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1540
1537
|
)
|
|
1541
1538
|
|
|
1542
1539
|
|
|
1543
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1544
|
-
addon_id: str = Field(alias="addonId")
|
|
1545
|
-
description: Optional[str] = Field(default=None)
|
|
1546
|
-
display_name: str = Field(alias="displayName")
|
|
1547
|
-
quantity: int
|
|
1548
|
-
|
|
1549
|
-
|
|
1550
1540
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1551
1541
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1552
1542
|
plan_id: str = Field(alias="planId")
|
|
@@ -1651,6 +1641,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1651
1641
|
pass
|
|
1652
1642
|
|
|
1653
1643
|
|
|
1644
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1645
|
+
display_name: str = Field(alias="displayName")
|
|
1646
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1647
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1648
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1649
|
+
period: PromotionalEntitlementPeriod
|
|
1650
|
+
start_date: Any = Field(alias="startDate")
|
|
1651
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1652
|
+
|
|
1653
|
+
|
|
1654
1654
|
class CustomerPortalFragment(BaseModel):
|
|
1655
1655
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1656
1656
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2928,21 +2928,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2928
2928
|
|
|
2929
2929
|
|
|
2930
2930
|
AddonDependencyFragment.model_rebuild()
|
|
2931
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2932
2931
|
PriceTierFragment.model_rebuild()
|
|
2933
2932
|
OveragePriceFragment.model_rebuild()
|
|
2933
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2934
2934
|
PriceFragment.model_rebuild()
|
|
2935
2935
|
AddonFragment.model_rebuild()
|
|
2936
|
-
SlimCustomerFragment.model_rebuild()
|
|
2937
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2938
|
-
CustomerResourceFragment.model_rebuild()
|
|
2939
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2940
|
-
TotalPriceFragment.model_rebuild()
|
|
2941
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2942
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2943
2936
|
ProductFragment.model_rebuild()
|
|
2944
2937
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2945
2938
|
PlanFragment.model_rebuild()
|
|
2939
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2940
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2941
|
+
CustomerResourceFragment.model_rebuild()
|
|
2942
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2943
|
+
SlimCustomerFragment.model_rebuild()
|
|
2944
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2945
|
+
TotalPriceFragment.model_rebuild()
|
|
2946
2946
|
SubscriptionFragment.model_rebuild()
|
|
2947
2947
|
FeatureFragment.model_rebuild()
|
|
2948
2948
|
EntitlementFragment.model_rebuild()
|
|
@@ -2950,8 +2950,8 @@ ApplySubscriptionFragment.model_rebuild()
|
|
|
2950
2950
|
FontVariantFragment.model_rebuild()
|
|
2951
2951
|
TypographyConfigurationFragment.model_rebuild()
|
|
2952
2952
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2953
|
-
CouponFragment.model_rebuild()
|
|
2954
2953
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2954
|
+
CouponFragment.model_rebuild()
|
|
2955
2955
|
CustomerFragment.model_rebuild()
|
|
2956
2956
|
CheckoutStateFragment.model_rebuild()
|
|
2957
2957
|
CreditGrantFragment.model_rebuild()
|
|
@@ -2959,11 +2959,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2959
2959
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2960
2960
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2961
2961
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2962
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2963
2962
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2964
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2965
2963
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2964
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2966
2965
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2966
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2967
2967
|
CustomerPortalFragment.model_rebuild()
|
|
2968
2968
|
CustomerStatisticsFragment.model_rebuild()
|
|
2969
2969
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -4594,6 +4594,7 @@ class UpdateAccountInput(BaseModel):
|
|
|
4594
4594
|
alias="defaultSSORoles", default=None
|
|
4595
4595
|
)
|
|
4596
4596
|
display_name: str = Field(alias="displayName")
|
|
4597
|
+
email_domains: Optional[List[str]] = Field(alias="emailDomains", default=None)
|
|
4597
4598
|
subscription_billing_anchor: Optional[BillingAnchor] = Field(
|
|
4598
4599
|
alias="subscriptionBillingAnchor", default=None
|
|
4599
4600
|
)
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=4wSfEXeZZqMSjsCsSG8baVg3Si8sjzV3bp_unHWHBtQ,3800
|
|
|
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=FmaOvezvY4CEseRjWDfGog9Mdyl4k-dEFe6-ADkHYvk,107006
|
|
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
|
|
@@ -149,7 +149,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
149
149
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
150
150
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
151
151
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
152
|
-
stigg/generated/input_types.py,sha256=
|
|
152
|
+
stigg/generated/input_types.py,sha256=W298oMCm3o6fxuH0CR8otGyCwGKLAg1adyUewzUGq0g,207384
|
|
153
153
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
154
154
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
155
155
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -167,7 +167,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
167
167
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
168
168
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
169
169
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
170
|
-
stigg_api_client_v2-3.
|
|
171
|
-
stigg_api_client_v2-3.
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
170
|
+
stigg_api_client_v2-3.64.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
171
|
+
stigg_api_client_v2-3.64.0.dist-info/METADATA,sha256=dSln0kuJDDrfeW4xWoXLHRuJ0dYhfUoOgVVhabFtfuI,2257
|
|
172
|
+
stigg_api_client_v2-3.64.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
173
|
+
stigg_api_client_v2-3.64.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|