stigg-api-client-v2 2.438.2__py3-none-any.whl → 2.442.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 +6 -0
- stigg/generated/enums.py +9 -0
- stigg/generated/fragments.py +259 -259
- stigg/generated/input_types.py +26 -0
- {stigg_api_client_v2-2.438.2.dist-info → stigg_api_client_v2-2.442.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.438.2.dist-info → stigg_api_client_v2-2.442.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.438.2.dist-info → stigg_api_client_v2-2.442.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.438.2.dist-info → stigg_api_client_v2-2.442.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -115,6 +115,7 @@ from .enums import (
|
|
|
115
115
|
SubscriptionMigrationTaskSortFields,
|
|
116
116
|
SubscriptionMigrationTime,
|
|
117
117
|
SubscriptionPriceSortFields,
|
|
118
|
+
SubscriptionQuerySortFields,
|
|
118
119
|
SubscriptionScheduleStatus,
|
|
119
120
|
SubscriptionScheduleType,
|
|
120
121
|
SubscriptionStartSetup,
|
|
@@ -841,6 +842,8 @@ from .input_types import (
|
|
|
841
842
|
SubscriptionPriceFilterCustomerSubscriptionFilter,
|
|
842
843
|
SubscriptionPriceFilterPriceFilter,
|
|
843
844
|
SubscriptionPriceSort,
|
|
845
|
+
SubscriptionQueryFilter,
|
|
846
|
+
SubscriptionQuerySort,
|
|
844
847
|
SubscriptionStatusFilterComparison,
|
|
845
848
|
SubscriptionUpdateScheduleCancellationInput,
|
|
846
849
|
SubscriptionUpdateUsageResetCutoffRuleInput,
|
|
@@ -1717,6 +1720,9 @@ __all__ = [
|
|
|
1717
1720
|
"SubscriptionPriceFilterPriceFilter",
|
|
1718
1721
|
"SubscriptionPriceSort",
|
|
1719
1722
|
"SubscriptionPriceSortFields",
|
|
1723
|
+
"SubscriptionQueryFilter",
|
|
1724
|
+
"SubscriptionQuerySort",
|
|
1725
|
+
"SubscriptionQuerySortFields",
|
|
1720
1726
|
"SubscriptionScheduleStatus",
|
|
1721
1727
|
"SubscriptionScheduleType",
|
|
1722
1728
|
"SubscriptionScheduledUpdateData",
|
stigg/generated/enums.py
CHANGED
|
@@ -1066,6 +1066,15 @@ class SubscriptionPriceSortFields(str, Enum):
|
|
|
1066
1066
|
usageLimit = "usageLimit"
|
|
1067
1067
|
|
|
1068
1068
|
|
|
1069
|
+
class SubscriptionQuerySortFields(str, Enum):
|
|
1070
|
+
createdAt = "createdAt"
|
|
1071
|
+
customerId = "customerId"
|
|
1072
|
+
environmentId = "environmentId"
|
|
1073
|
+
productId = "productId"
|
|
1074
|
+
resourceId = "resourceId"
|
|
1075
|
+
status = "status"
|
|
1076
|
+
|
|
1077
|
+
|
|
1069
1078
|
class SubscriptionScheduleStatus(str, Enum):
|
|
1070
1079
|
Canceled = "Canceled"
|
|
1071
1080
|
Done = "Done"
|
stigg/generated/fragments.py
CHANGED
|
@@ -216,126 +216,6 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class ProductFragment(BaseModel):
|
|
220
|
-
ref_id: str = Field(alias="refId")
|
|
221
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
222
|
-
description: Optional[str] = Field(default=None)
|
|
223
|
-
additional_meta_data: Optional[Any] = Field(
|
|
224
|
-
alias="additionalMetaData", default=None
|
|
225
|
-
)
|
|
226
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
230
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
231
|
-
alias="downgradePlan", default=None
|
|
232
|
-
)
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
236
|
-
ref_id: str = Field(alias="refId")
|
|
237
|
-
display_name: str = Field(alias="displayName")
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
241
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
242
|
-
display_name: str = Field(alias="displayName")
|
|
243
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
244
|
-
default=None
|
|
245
|
-
)
|
|
246
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
250
|
-
pass
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
254
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
255
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
class PlanFragment(BaseModel):
|
|
259
|
-
id: str
|
|
260
|
-
ref_id: str = Field(alias="refId")
|
|
261
|
-
display_name: str = Field(alias="displayName")
|
|
262
|
-
description: Optional[str] = Field(default=None)
|
|
263
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
264
|
-
version_number: int = Field(alias="versionNumber")
|
|
265
|
-
additional_meta_data: Optional[Any] = Field(
|
|
266
|
-
alias="additionalMetaData", default=None
|
|
267
|
-
)
|
|
268
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
269
|
-
alias="hiddenFromWidgets", default=None
|
|
270
|
-
)
|
|
271
|
-
product: "PlanFragmentProduct"
|
|
272
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
273
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
274
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
275
|
-
alias="inheritedEntitlements", default=None
|
|
276
|
-
)
|
|
277
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
278
|
-
alias="compatibleAddons", default=None
|
|
279
|
-
)
|
|
280
|
-
compatible_package_groups: Optional[
|
|
281
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
282
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
283
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
284
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
285
|
-
alias="overagePrices", default=None
|
|
286
|
-
)
|
|
287
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
288
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
289
|
-
alias="defaultTrialConfig", default=None
|
|
290
|
-
)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
class PlanFragmentProduct(ProductFragment):
|
|
294
|
-
pass
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
298
|
-
ref_id: str = Field(alias="refId")
|
|
299
|
-
display_name: str = Field(alias="displayName")
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
303
|
-
pass
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
307
|
-
pass
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
311
|
-
pass
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
315
|
-
pass
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
class PlanFragmentPrices(PriceFragment):
|
|
319
|
-
pass
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
323
|
-
pass
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
327
|
-
duration: float
|
|
328
|
-
units: TrialPeriodUnits
|
|
329
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
330
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
331
|
-
alias="trialEndBehavior", default=None
|
|
332
|
-
)
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
336
|
-
limit: float
|
|
337
|
-
|
|
338
|
-
|
|
339
219
|
class TotalPriceFragment(BaseModel):
|
|
340
220
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
341
221
|
total: "TotalPriceFragmentTotal"
|
|
@@ -351,41 +231,6 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
351
231
|
currency: Currency
|
|
352
232
|
|
|
353
233
|
|
|
354
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
355
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
359
|
-
billing_id: str = Field(alias="billingId")
|
|
360
|
-
status: SubscriptionInvoiceStatus
|
|
361
|
-
created_at: Any = Field(alias="createdAt")
|
|
362
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
363
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
364
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
365
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
366
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
367
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
368
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
369
|
-
alias="billingReason", default=None
|
|
370
|
-
)
|
|
371
|
-
currency: Optional[str] = Field(default=None)
|
|
372
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
373
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
374
|
-
alias="subTotalExcludingTax", default=None
|
|
375
|
-
)
|
|
376
|
-
total: Optional[float] = Field(default=None)
|
|
377
|
-
total_excluding_tax: Optional[float] = Field(
|
|
378
|
-
alias="totalExcludingTax", default=None
|
|
379
|
-
)
|
|
380
|
-
tax: Optional[float] = Field(default=None)
|
|
381
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
382
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
class CustomerResourceFragment(BaseModel):
|
|
386
|
-
resource_id: str = Field(alias="resourceId")
|
|
387
|
-
|
|
388
|
-
|
|
389
234
|
class SlimCustomerFragment(BaseModel):
|
|
390
235
|
id: str
|
|
391
236
|
name: Optional[str] = Field(default=None)
|
|
@@ -403,45 +248,45 @@ class SlimCustomerFragment(BaseModel):
|
|
|
403
248
|
)
|
|
404
249
|
|
|
405
250
|
|
|
406
|
-
class
|
|
251
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
407
252
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
408
253
|
alias="subscriptionScheduleType"
|
|
409
254
|
)
|
|
410
255
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
411
256
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
412
|
-
target_package: Optional["
|
|
257
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
413
258
|
alias="targetPackage", default=None
|
|
414
259
|
)
|
|
415
260
|
schedule_variables: Optional[
|
|
416
261
|
Annotated[
|
|
417
262
|
Union[
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
"
|
|
424
|
-
"
|
|
425
|
-
"
|
|
263
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
264
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
265
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
266
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
267
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
268
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
269
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
270
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
426
271
|
],
|
|
427
272
|
Field(discriminator="typename__"),
|
|
428
273
|
]
|
|
429
274
|
] = Field(alias="scheduleVariables", default=None)
|
|
430
275
|
|
|
431
276
|
|
|
432
|
-
class
|
|
277
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
433
278
|
id: str
|
|
434
279
|
ref_id: str = Field(alias="refId")
|
|
435
280
|
display_name: str = Field(alias="displayName")
|
|
436
281
|
|
|
437
282
|
|
|
438
|
-
class
|
|
283
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
439
284
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
440
285
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
441
286
|
new_quantity: float = Field(alias="newQuantity")
|
|
442
287
|
|
|
443
288
|
|
|
444
|
-
class
|
|
289
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
445
290
|
BaseModel
|
|
446
291
|
):
|
|
447
292
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -449,53 +294,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
449
294
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
450
295
|
|
|
451
296
|
|
|
452
|
-
class
|
|
297
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
453
298
|
BaseModel
|
|
454
299
|
):
|
|
455
300
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
456
301
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
457
302
|
|
|
458
303
|
|
|
459
|
-
class
|
|
304
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
460
305
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
461
306
|
|
|
462
307
|
|
|
463
|
-
class
|
|
308
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
309
|
+
BaseModel
|
|
310
|
+
):
|
|
464
311
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
465
312
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
466
313
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
467
314
|
billable_features: Optional[
|
|
468
315
|
List[
|
|
469
|
-
"
|
|
316
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
470
317
|
]
|
|
471
318
|
] = Field(alias="billableFeatures", default=None)
|
|
472
319
|
addons: Optional[
|
|
473
320
|
List[
|
|
474
|
-
"
|
|
321
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
475
322
|
]
|
|
476
323
|
] = Field(default=None)
|
|
477
324
|
price_overrides: Optional[
|
|
478
325
|
List[
|
|
479
|
-
"
|
|
326
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
480
327
|
]
|
|
481
328
|
] = Field(alias="priceOverrides", default=None)
|
|
482
329
|
|
|
483
330
|
|
|
484
|
-
class
|
|
331
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
485
332
|
BaseModel
|
|
486
333
|
):
|
|
487
334
|
feature_id: str = Field(alias="featureId")
|
|
488
335
|
quantity: float
|
|
489
336
|
|
|
490
337
|
|
|
491
|
-
class
|
|
338
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
492
339
|
BaseModel
|
|
493
340
|
):
|
|
494
341
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
495
342
|
quantity: float
|
|
496
343
|
|
|
497
344
|
|
|
498
|
-
class
|
|
345
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
499
346
|
BaseModel
|
|
500
347
|
):
|
|
501
348
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -503,39 +350,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
503
350
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
504
351
|
|
|
505
352
|
|
|
506
|
-
class
|
|
353
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
507
354
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
508
355
|
plan_ref_id: str = Field(alias="planRefId")
|
|
509
356
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
510
357
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
511
358
|
billable_features: Optional[
|
|
512
359
|
List[
|
|
513
|
-
"
|
|
360
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
514
361
|
]
|
|
515
362
|
] = Field(alias="billableFeatures", default=None)
|
|
516
363
|
addons: Optional[
|
|
517
|
-
List[
|
|
364
|
+
List[
|
|
365
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
366
|
+
]
|
|
518
367
|
] = Field(default=None)
|
|
519
368
|
price_overrides: Optional[
|
|
520
369
|
List[
|
|
521
|
-
"
|
|
370
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
522
371
|
]
|
|
523
372
|
] = Field(alias="priceOverrides", default=None)
|
|
524
373
|
|
|
525
374
|
|
|
526
|
-
class
|
|
375
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
527
376
|
BaseModel
|
|
528
377
|
):
|
|
529
378
|
feature_id: str = Field(alias="featureId")
|
|
530
379
|
quantity: float
|
|
531
380
|
|
|
532
381
|
|
|
533
|
-
class
|
|
382
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
383
|
+
BaseModel
|
|
384
|
+
):
|
|
534
385
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
535
386
|
quantity: float
|
|
536
387
|
|
|
537
388
|
|
|
538
|
-
class
|
|
389
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
539
390
|
BaseModel
|
|
540
391
|
):
|
|
541
392
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -543,7 +394,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
543
394
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
544
395
|
|
|
545
396
|
|
|
546
|
-
class
|
|
397
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
547
398
|
BaseModel
|
|
548
399
|
):
|
|
549
400
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -551,51 +402,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
551
402
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
552
403
|
|
|
553
404
|
|
|
554
|
-
class
|
|
405
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
406
|
+
BaseModel
|
|
407
|
+
):
|
|
555
408
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
556
409
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
557
410
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
558
411
|
|
|
559
412
|
|
|
560
|
-
class
|
|
413
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
561
414
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
562
415
|
alias="subscriptionScheduleType"
|
|
563
416
|
)
|
|
564
417
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
565
418
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
566
|
-
target_package: Optional["
|
|
419
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
567
420
|
alias="targetPackage", default=None
|
|
568
421
|
)
|
|
569
422
|
schedule_variables: Optional[
|
|
570
423
|
Annotated[
|
|
571
424
|
Union[
|
|
572
|
-
"
|
|
573
|
-
"
|
|
574
|
-
"
|
|
575
|
-
"
|
|
576
|
-
"
|
|
577
|
-
"
|
|
578
|
-
"
|
|
579
|
-
"
|
|
425
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
426
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
427
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
428
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
429
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
430
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
431
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
432
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
580
433
|
],
|
|
581
434
|
Field(discriminator="typename__"),
|
|
582
435
|
]
|
|
583
436
|
] = Field(alias="scheduleVariables", default=None)
|
|
584
437
|
|
|
585
438
|
|
|
586
|
-
class
|
|
439
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
587
440
|
id: str
|
|
588
441
|
ref_id: str = Field(alias="refId")
|
|
589
442
|
display_name: str = Field(alias="displayName")
|
|
590
443
|
|
|
591
444
|
|
|
592
|
-
class
|
|
445
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
593
446
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
594
447
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
595
448
|
new_quantity: float = Field(alias="newQuantity")
|
|
596
449
|
|
|
597
450
|
|
|
598
|
-
class
|
|
451
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
599
452
|
BaseModel
|
|
600
453
|
):
|
|
601
454
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -603,55 +456,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
603
456
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
604
457
|
|
|
605
458
|
|
|
606
|
-
class
|
|
459
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
607
460
|
BaseModel
|
|
608
461
|
):
|
|
609
462
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
610
463
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
611
464
|
|
|
612
465
|
|
|
613
|
-
class
|
|
466
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
614
467
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
615
468
|
|
|
616
469
|
|
|
617
|
-
class
|
|
618
|
-
BaseModel
|
|
619
|
-
):
|
|
470
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
620
471
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
621
472
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
622
473
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
623
474
|
billable_features: Optional[
|
|
624
475
|
List[
|
|
625
|
-
"
|
|
476
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
626
477
|
]
|
|
627
478
|
] = Field(alias="billableFeatures", default=None)
|
|
628
479
|
addons: Optional[
|
|
629
480
|
List[
|
|
630
|
-
"
|
|
481
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
631
482
|
]
|
|
632
483
|
] = Field(default=None)
|
|
633
484
|
price_overrides: Optional[
|
|
634
485
|
List[
|
|
635
|
-
"
|
|
486
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
636
487
|
]
|
|
637
488
|
] = Field(alias="priceOverrides", default=None)
|
|
638
489
|
|
|
639
490
|
|
|
640
|
-
class
|
|
491
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
641
492
|
BaseModel
|
|
642
493
|
):
|
|
643
494
|
feature_id: str = Field(alias="featureId")
|
|
644
495
|
quantity: float
|
|
645
496
|
|
|
646
497
|
|
|
647
|
-
class
|
|
498
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
648
499
|
BaseModel
|
|
649
500
|
):
|
|
650
501
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
651
502
|
quantity: float
|
|
652
503
|
|
|
653
504
|
|
|
654
|
-
class
|
|
505
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
655
506
|
BaseModel
|
|
656
507
|
):
|
|
657
508
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -659,43 +510,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
659
510
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
660
511
|
|
|
661
512
|
|
|
662
|
-
class
|
|
513
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
663
514
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
664
515
|
plan_ref_id: str = Field(alias="planRefId")
|
|
665
516
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
666
517
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
667
518
|
billable_features: Optional[
|
|
668
519
|
List[
|
|
669
|
-
"
|
|
520
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
670
521
|
]
|
|
671
522
|
] = Field(alias="billableFeatures", default=None)
|
|
672
523
|
addons: Optional[
|
|
673
|
-
List[
|
|
674
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
675
|
-
]
|
|
524
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
676
525
|
] = Field(default=None)
|
|
677
526
|
price_overrides: Optional[
|
|
678
527
|
List[
|
|
679
|
-
"
|
|
528
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
680
529
|
]
|
|
681
530
|
] = Field(alias="priceOverrides", default=None)
|
|
682
531
|
|
|
683
532
|
|
|
684
|
-
class
|
|
533
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
685
534
|
BaseModel
|
|
686
535
|
):
|
|
687
536
|
feature_id: str = Field(alias="featureId")
|
|
688
537
|
quantity: float
|
|
689
538
|
|
|
690
539
|
|
|
691
|
-
class
|
|
692
|
-
BaseModel
|
|
693
|
-
):
|
|
540
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
694
541
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
695
542
|
quantity: float
|
|
696
543
|
|
|
697
544
|
|
|
698
|
-
class
|
|
545
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
699
546
|
BaseModel
|
|
700
547
|
):
|
|
701
548
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -703,7 +550,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
703
550
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
704
551
|
|
|
705
552
|
|
|
706
|
-
class
|
|
553
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
707
554
|
BaseModel
|
|
708
555
|
):
|
|
709
556
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -711,14 +558,167 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
711
558
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
712
559
|
|
|
713
560
|
|
|
714
|
-
class
|
|
715
|
-
BaseModel
|
|
716
|
-
):
|
|
561
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
717
562
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
718
563
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
719
564
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
720
565
|
|
|
721
566
|
|
|
567
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
568
|
+
billing_id: str = Field(alias="billingId")
|
|
569
|
+
status: SubscriptionInvoiceStatus
|
|
570
|
+
created_at: Any = Field(alias="createdAt")
|
|
571
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
572
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
573
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
574
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
575
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
576
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
577
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
578
|
+
alias="billingReason", default=None
|
|
579
|
+
)
|
|
580
|
+
currency: Optional[str] = Field(default=None)
|
|
581
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
582
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
583
|
+
alias="subTotalExcludingTax", default=None
|
|
584
|
+
)
|
|
585
|
+
total: Optional[float] = Field(default=None)
|
|
586
|
+
total_excluding_tax: Optional[float] = Field(
|
|
587
|
+
alias="totalExcludingTax", default=None
|
|
588
|
+
)
|
|
589
|
+
tax: Optional[float] = Field(default=None)
|
|
590
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
591
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class ProductFragment(BaseModel):
|
|
595
|
+
ref_id: str = Field(alias="refId")
|
|
596
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
597
|
+
description: Optional[str] = Field(default=None)
|
|
598
|
+
additional_meta_data: Optional[Any] = Field(
|
|
599
|
+
alias="additionalMetaData", default=None
|
|
600
|
+
)
|
|
601
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
605
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
606
|
+
alias="downgradePlan", default=None
|
|
607
|
+
)
|
|
608
|
+
|
|
609
|
+
|
|
610
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
611
|
+
ref_id: str = Field(alias="refId")
|
|
612
|
+
display_name: str = Field(alias="displayName")
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
616
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
617
|
+
display_name: str = Field(alias="displayName")
|
|
618
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
619
|
+
default=None
|
|
620
|
+
)
|
|
621
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
622
|
+
|
|
623
|
+
|
|
624
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
625
|
+
pass
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
629
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
630
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
class PlanFragment(BaseModel):
|
|
634
|
+
id: str
|
|
635
|
+
ref_id: str = Field(alias="refId")
|
|
636
|
+
display_name: str = Field(alias="displayName")
|
|
637
|
+
description: Optional[str] = Field(default=None)
|
|
638
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
639
|
+
version_number: int = Field(alias="versionNumber")
|
|
640
|
+
additional_meta_data: Optional[Any] = Field(
|
|
641
|
+
alias="additionalMetaData", default=None
|
|
642
|
+
)
|
|
643
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
644
|
+
alias="hiddenFromWidgets", default=None
|
|
645
|
+
)
|
|
646
|
+
product: "PlanFragmentProduct"
|
|
647
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
648
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
649
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
650
|
+
alias="inheritedEntitlements", default=None
|
|
651
|
+
)
|
|
652
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
653
|
+
alias="compatibleAddons", default=None
|
|
654
|
+
)
|
|
655
|
+
compatible_package_groups: Optional[
|
|
656
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
657
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
658
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
659
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
660
|
+
alias="overagePrices", default=None
|
|
661
|
+
)
|
|
662
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
663
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
664
|
+
alias="defaultTrialConfig", default=None
|
|
665
|
+
)
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
class PlanFragmentProduct(ProductFragment):
|
|
669
|
+
pass
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
673
|
+
ref_id: str = Field(alias="refId")
|
|
674
|
+
display_name: str = Field(alias="displayName")
|
|
675
|
+
|
|
676
|
+
|
|
677
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
678
|
+
pass
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
682
|
+
pass
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
686
|
+
pass
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
690
|
+
pass
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
class PlanFragmentPrices(PriceFragment):
|
|
694
|
+
pass
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
698
|
+
pass
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
702
|
+
duration: float
|
|
703
|
+
units: TrialPeriodUnits
|
|
704
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
705
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
706
|
+
alias="trialEndBehavior", default=None
|
|
707
|
+
)
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
711
|
+
limit: float
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
class CustomerResourceFragment(BaseModel):
|
|
715
|
+
resource_id: str = Field(alias="resourceId")
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
719
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
720
|
+
|
|
721
|
+
|
|
722
722
|
class SubscriptionFragment(BaseModel):
|
|
723
723
|
id: str
|
|
724
724
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1264,33 +1264,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1264
1264
|
quantity: int
|
|
1265
1265
|
|
|
1266
1266
|
|
|
1267
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1268
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1269
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1270
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1271
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1272
|
-
default=None
|
|
1273
|
-
)
|
|
1274
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1275
|
-
default=None
|
|
1276
|
-
)
|
|
1277
|
-
|
|
1278
|
-
|
|
1279
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1280
|
-
amount: float
|
|
1281
|
-
currency: Currency
|
|
1282
|
-
|
|
1283
|
-
|
|
1284
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1285
|
-
id: str
|
|
1286
|
-
ref_id: str = Field(alias="refId")
|
|
1287
|
-
display_name: str = Field(alias="displayName")
|
|
1288
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1289
|
-
feature_units_plural: Optional[str] = Field(
|
|
1290
|
-
alias="featureUnitsPlural", default=None
|
|
1291
|
-
)
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
1267
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1295
1268
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1296
1269
|
alias="subscriptionScheduleType"
|
|
@@ -1460,6 +1433,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1460
1433
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1461
1434
|
|
|
1462
1435
|
|
|
1436
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1437
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1438
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1439
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1440
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1441
|
+
default=None
|
|
1442
|
+
)
|
|
1443
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1444
|
+
default=None
|
|
1445
|
+
)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1449
|
+
amount: float
|
|
1450
|
+
currency: Currency
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1454
|
+
id: str
|
|
1455
|
+
ref_id: str = Field(alias="refId")
|
|
1456
|
+
display_name: str = Field(alias="displayName")
|
|
1457
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1458
|
+
feature_units_plural: Optional[str] = Field(
|
|
1459
|
+
alias="featureUnitsPlural", default=None
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
|
|
1463
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1464
1464
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1465
1465
|
plan_id: str = Field(alias="planId")
|
|
@@ -2775,16 +2775,16 @@ PriceFragment.model_rebuild()
|
|
|
2775
2775
|
OveragePriceFragment.model_rebuild()
|
|
2776
2776
|
PackageEntitlementFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
|
+
TotalPriceFragment.model_rebuild()
|
|
2779
|
+
SlimCustomerFragment.model_rebuild()
|
|
2780
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2781
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2782
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
2783
|
ProductFragment.model_rebuild()
|
|
2779
2784
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2780
2785
|
PlanFragment.model_rebuild()
|
|
2781
|
-
TotalPriceFragment.model_rebuild()
|
|
2782
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2783
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2784
2786
|
CustomerResourceFragment.model_rebuild()
|
|
2785
|
-
|
|
2786
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2787
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2787
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2788
2788
|
SubscriptionFragment.model_rebuild()
|
|
2789
2789
|
FeatureFragment.model_rebuild()
|
|
2790
2790
|
EntitlementFragment.model_rebuild()
|
|
@@ -2800,8 +2800,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2800
2800
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2801
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
2802
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2803
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2804
2803
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2804
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2805
2805
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2806
2806
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2807
|
CustomerPortalFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -80,6 +80,7 @@ from .enums import (
|
|
|
80
80
|
SubscriptionMigrationTaskSortFields,
|
|
81
81
|
SubscriptionMigrationTime,
|
|
82
82
|
SubscriptionPriceSortFields,
|
|
83
|
+
SubscriptionQuerySortFields,
|
|
83
84
|
SubscriptionScheduleStatus,
|
|
84
85
|
SubscriptionStartSetup,
|
|
85
86
|
SubscriptionStatus,
|
|
@@ -4146,6 +4147,31 @@ class SubscriptionPriceSort(BaseModel):
|
|
|
4146
4147
|
nulls: Optional[SortNulls] = None
|
|
4147
4148
|
|
|
4148
4149
|
|
|
4150
|
+
class SubscriptionQueryFilter(BaseModel):
|
|
4151
|
+
and_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="and", default=None)
|
|
4152
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4153
|
+
customer_id: Optional["StringFieldComparison"] = Field(
|
|
4154
|
+
alias="customerId", default=None
|
|
4155
|
+
)
|
|
4156
|
+
environment_id: Optional["StringFieldComparison"] = Field(
|
|
4157
|
+
alias="environmentId", default=None
|
|
4158
|
+
)
|
|
4159
|
+
or_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="or", default=None)
|
|
4160
|
+
product_id: Optional["StringFieldComparison"] = Field(
|
|
4161
|
+
alias="productId", default=None
|
|
4162
|
+
)
|
|
4163
|
+
resource_id: Optional["StringFieldComparison"] = Field(
|
|
4164
|
+
alias="resourceId", default=None
|
|
4165
|
+
)
|
|
4166
|
+
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4167
|
+
|
|
4168
|
+
|
|
4169
|
+
class SubscriptionQuerySort(BaseModel):
|
|
4170
|
+
direction: SortDirection
|
|
4171
|
+
field: SubscriptionQuerySortFields
|
|
4172
|
+
nulls: Optional[SortNulls] = None
|
|
4173
|
+
|
|
4174
|
+
|
|
4149
4175
|
class SubscriptionStatusFilterComparison(BaseModel):
|
|
4150
4176
|
eq: Optional[SubscriptionStatus] = None
|
|
4151
4177
|
gt: Optional[SubscriptionStatus] = None
|
|
@@ -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=CjjzmzFrK1kTsw13xPnYFlxkGK5Keq5sSfLrjUskfbo,69816
|
|
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=NgGx0jZs30ZsxuITO15EVz6K4LjJE5XocrwRuGcjm8w,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=Ax7idhOxqqwhmzBPImea0R-KRcq7j5EQNVAqUFbMl_8,35518
|
|
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=CMd0vOdje325FUzJgEFrt9PGVYgRYecDE44o9usCNpU,100917
|
|
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=2iVjPHlvHxxLrCh4Op4Eg46bChbRN8IVVd9HA_7htBE,196374
|
|
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.442.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.442.0.dist-info/METADATA,sha256=tFK1_8oKJHvfkNLe25K-lZJrnksUW71MdKPxX7zKvsY,2258
|
|
165
|
+
stigg_api_client_v2-2.442.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.442.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|