stigg-api-client-v2 2.379.1__py3-none-any.whl → 2.390.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/fragments.py +345 -345
- stigg/generated/input_types.py +7 -0
- {stigg_api_client_v2-2.379.1.dist-info → stigg_api_client_v2-2.390.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.379.1.dist-info → stigg_api_client_v2-2.390.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-2.379.1.dist-info → stigg_api_client_v2-2.390.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.379.1.dist-info → stigg_api_client_v2-2.390.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -849,6 +849,7 @@ from .input_types import (
|
|
|
849
849
|
TaskTypeFilterComparison,
|
|
850
850
|
TaxExempt,
|
|
851
851
|
TestHookInput,
|
|
852
|
+
TestWorkflowInput,
|
|
852
853
|
TiersModeFilterComparison,
|
|
853
854
|
TransferSubscriptionInput,
|
|
854
855
|
TransferSubscriptionToResourceInput,
|
|
@@ -1749,6 +1750,7 @@ __all__ = [
|
|
|
1749
1750
|
"TaskTypeFilterComparison",
|
|
1750
1751
|
"TaxExempt",
|
|
1751
1752
|
"TestHookInput",
|
|
1753
|
+
"TestWorkflowInput",
|
|
1752
1754
|
"TiersMode",
|
|
1753
1755
|
"TiersModeFilterComparison",
|
|
1754
1756
|
"TotalPriceFragment",
|
stigg/generated/fragments.py
CHANGED
|
@@ -60,39 +60,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
class PackageEntitlementFragment(BaseModel):
|
|
64
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
-
feature_id: str = Field(alias="featureId")
|
|
68
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
-
alias="resetPeriod", default=None
|
|
70
|
-
)
|
|
71
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
-
alias="hiddenFromWidgets", default=None
|
|
73
|
-
)
|
|
74
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
-
display_name_override: Optional[str] = Field(
|
|
76
|
-
alias="displayNameOverride", default=None
|
|
77
|
-
)
|
|
78
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
-
feature_units_plural: Optional[str] = Field(
|
|
86
|
-
alias="featureUnitsPlural", default=None
|
|
87
|
-
)
|
|
88
|
-
display_name: str = Field(alias="displayName")
|
|
89
|
-
description: Optional[str] = Field(default=None)
|
|
90
|
-
ref_id: str = Field(alias="refId")
|
|
91
|
-
additional_meta_data: Optional[Any] = Field(
|
|
92
|
-
alias="additionalMetaData", default=None
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
|
|
96
63
|
class PriceTierFragment(BaseModel):
|
|
97
64
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
98
65
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -181,6 +148,39 @@ class PriceFragmentFeature(BaseModel):
|
|
|
181
148
|
description: Optional[str] = Field(default=None)
|
|
182
149
|
|
|
183
150
|
|
|
151
|
+
class PackageEntitlementFragment(BaseModel):
|
|
152
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
153
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
154
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
155
|
+
feature_id: str = Field(alias="featureId")
|
|
156
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
157
|
+
alias="resetPeriod", default=None
|
|
158
|
+
)
|
|
159
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
160
|
+
alias="hiddenFromWidgets", default=None
|
|
161
|
+
)
|
|
162
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
163
|
+
display_name_override: Optional[str] = Field(
|
|
164
|
+
alias="displayNameOverride", default=None
|
|
165
|
+
)
|
|
166
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
170
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
171
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
172
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
173
|
+
feature_units_plural: Optional[str] = Field(
|
|
174
|
+
alias="featureUnitsPlural", default=None
|
|
175
|
+
)
|
|
176
|
+
display_name: str = Field(alias="displayName")
|
|
177
|
+
description: Optional[str] = Field(default=None)
|
|
178
|
+
ref_id: str = Field(alias="refId")
|
|
179
|
+
additional_meta_data: Optional[Any] = Field(
|
|
180
|
+
alias="additionalMetaData", default=None
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
|
|
184
184
|
class AddonFragment(BaseModel):
|
|
185
185
|
id: str
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
@@ -299,173 +299,35 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
299
299
|
pass
|
|
300
300
|
|
|
301
301
|
|
|
302
|
-
class
|
|
303
|
-
|
|
304
|
-
total: "TotalPriceFragmentTotal"
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
308
|
-
amount: float
|
|
309
|
-
currency: Currency
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
313
|
-
amount: float
|
|
314
|
-
currency: Currency
|
|
302
|
+
class CustomerResourceFragment(BaseModel):
|
|
303
|
+
resource_id: str = Field(alias="resourceId")
|
|
315
304
|
|
|
316
305
|
|
|
317
|
-
class
|
|
318
|
-
|
|
319
|
-
|
|
306
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
307
|
+
billing_id: str = Field(alias="billingId")
|
|
308
|
+
status: SubscriptionInvoiceStatus
|
|
309
|
+
created_at: Any = Field(alias="createdAt")
|
|
310
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
311
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
312
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
313
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
314
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
315
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
316
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
317
|
+
alias="billingReason", default=None
|
|
320
318
|
)
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
|
|
324
|
-
alias="
|
|
319
|
+
currency: Optional[str] = Field(default=None)
|
|
320
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
321
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
322
|
+
alias="subTotalExcludingTax", default=None
|
|
325
323
|
)
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
334
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
335
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
336
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
337
|
-
],
|
|
338
|
-
Field(discriminator="typename__"),
|
|
339
|
-
]
|
|
340
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
344
|
-
id: str
|
|
345
|
-
ref_id: str = Field(alias="refId")
|
|
346
|
-
display_name: str = Field(alias="displayName")
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
350
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
351
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
352
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
356
|
-
BaseModel
|
|
357
|
-
):
|
|
358
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
359
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
360
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
364
|
-
BaseModel
|
|
365
|
-
):
|
|
366
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
367
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
371
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
375
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
376
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
377
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
378
|
-
billable_features: Optional[
|
|
379
|
-
List[
|
|
380
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
381
|
-
]
|
|
382
|
-
] = Field(alias="billableFeatures", default=None)
|
|
383
|
-
addons: Optional[
|
|
384
|
-
List[
|
|
385
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
386
|
-
]
|
|
387
|
-
] = Field(default=None)
|
|
388
|
-
price_overrides: Optional[
|
|
389
|
-
List[
|
|
390
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
391
|
-
]
|
|
392
|
-
] = Field(alias="priceOverrides", default=None)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
396
|
-
BaseModel
|
|
397
|
-
):
|
|
398
|
-
feature_id: str = Field(alias="featureId")
|
|
399
|
-
quantity: float
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
403
|
-
BaseModel
|
|
404
|
-
):
|
|
405
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
406
|
-
quantity: float
|
|
407
|
-
|
|
408
|
-
|
|
409
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
410
|
-
BaseModel
|
|
411
|
-
):
|
|
412
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
413
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
414
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
418
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
419
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
420
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
421
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
422
|
-
billable_features: Optional[
|
|
423
|
-
List[
|
|
424
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
425
|
-
]
|
|
426
|
-
] = Field(alias="billableFeatures", default=None)
|
|
427
|
-
addons: Optional[
|
|
428
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
429
|
-
] = Field(default=None)
|
|
430
|
-
price_overrides: Optional[
|
|
431
|
-
List[
|
|
432
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
433
|
-
]
|
|
434
|
-
] = Field(alias="priceOverrides", default=None)
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
438
|
-
BaseModel
|
|
439
|
-
):
|
|
440
|
-
feature_id: str = Field(alias="featureId")
|
|
441
|
-
quantity: float
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
445
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
446
|
-
quantity: float
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
450
|
-
BaseModel
|
|
451
|
-
):
|
|
452
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
453
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
454
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
458
|
-
BaseModel
|
|
459
|
-
):
|
|
460
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
461
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
462
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
466
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
467
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
468
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
324
|
+
total: Optional[float] = Field(default=None)
|
|
325
|
+
total_excluding_tax: Optional[float] = Field(
|
|
326
|
+
alias="totalExcludingTax", default=None
|
|
327
|
+
)
|
|
328
|
+
tax: Optional[float] = Field(default=None)
|
|
329
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
330
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
469
331
|
|
|
470
332
|
|
|
471
333
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -485,10 +347,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
485
347
|
)
|
|
486
348
|
|
|
487
349
|
|
|
488
|
-
class CustomerResourceFragment(BaseModel):
|
|
489
|
-
resource_id: str = Field(alias="resourceId")
|
|
490
|
-
|
|
491
|
-
|
|
492
350
|
class ProductFragment(BaseModel):
|
|
493
351
|
ref_id: str = Field(alias="refId")
|
|
494
352
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -609,76 +467,207 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
609
467
|
limit: float
|
|
610
468
|
|
|
611
469
|
|
|
612
|
-
class
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
617
|
-
billing_id: str = Field(alias="billingId")
|
|
618
|
-
status: SubscriptionInvoiceStatus
|
|
619
|
-
created_at: Any = Field(alias="createdAt")
|
|
620
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
621
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
622
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
623
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
624
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
625
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
626
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
627
|
-
alias="billingReason", default=None
|
|
628
|
-
)
|
|
629
|
-
currency: Optional[str] = Field(default=None)
|
|
630
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
631
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
632
|
-
alias="subTotalExcludingTax", default=None
|
|
470
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
471
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
472
|
+
alias="subscriptionScheduleType"
|
|
633
473
|
)
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
474
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
475
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
476
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
477
|
+
alias="targetPackage", default=None
|
|
637
478
|
)
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
479
|
+
schedule_variables: Optional[
|
|
480
|
+
Annotated[
|
|
481
|
+
Union[
|
|
482
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
483
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
484
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
485
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
486
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
487
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
488
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
489
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
490
|
+
],
|
|
491
|
+
Field(discriminator="typename__"),
|
|
492
|
+
]
|
|
493
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
497
|
+
id: str
|
|
498
|
+
ref_id: str = Field(alias="refId")
|
|
499
|
+
display_name: str = Field(alias="displayName")
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
503
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
504
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
505
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
509
|
+
BaseModel
|
|
510
|
+
):
|
|
511
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
512
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
513
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
514
|
+
|
|
515
|
+
|
|
516
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
517
|
+
BaseModel
|
|
518
|
+
):
|
|
519
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
520
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
524
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
528
|
+
BaseModel
|
|
529
|
+
):
|
|
530
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
531
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
532
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
533
|
+
billable_features: Optional[
|
|
534
|
+
List[
|
|
535
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
536
|
+
]
|
|
537
|
+
] = Field(alias="billableFeatures", default=None)
|
|
538
|
+
addons: Optional[
|
|
539
|
+
List[
|
|
540
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
541
|
+
]
|
|
542
|
+
] = Field(default=None)
|
|
543
|
+
price_overrides: Optional[
|
|
544
|
+
List[
|
|
545
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
546
|
+
]
|
|
547
|
+
] = Field(alias="priceOverrides", default=None)
|
|
548
|
+
|
|
549
|
+
|
|
550
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
551
|
+
BaseModel
|
|
552
|
+
):
|
|
553
|
+
feature_id: str = Field(alias="featureId")
|
|
554
|
+
quantity: float
|
|
555
|
+
|
|
556
|
+
|
|
557
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
558
|
+
BaseModel
|
|
559
|
+
):
|
|
560
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
561
|
+
quantity: float
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
565
|
+
BaseModel
|
|
566
|
+
):
|
|
567
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
568
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
569
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
573
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
574
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
575
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
576
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
577
|
+
billable_features: Optional[
|
|
578
|
+
List[
|
|
579
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
580
|
+
]
|
|
581
|
+
] = Field(alias="billableFeatures", default=None)
|
|
582
|
+
addons: Optional[
|
|
583
|
+
List[
|
|
584
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
585
|
+
]
|
|
586
|
+
] = Field(default=None)
|
|
587
|
+
price_overrides: Optional[
|
|
588
|
+
List[
|
|
589
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
590
|
+
]
|
|
591
|
+
] = Field(alias="priceOverrides", default=None)
|
|
592
|
+
|
|
593
|
+
|
|
594
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
595
|
+
BaseModel
|
|
596
|
+
):
|
|
597
|
+
feature_id: str = Field(alias="featureId")
|
|
598
|
+
quantity: float
|
|
599
|
+
|
|
600
|
+
|
|
601
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
602
|
+
BaseModel
|
|
603
|
+
):
|
|
604
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
605
|
+
quantity: float
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
609
|
+
BaseModel
|
|
610
|
+
):
|
|
611
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
612
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
613
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
614
|
+
|
|
615
|
+
|
|
616
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
617
|
+
BaseModel
|
|
618
|
+
):
|
|
619
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
620
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
621
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
641
622
|
|
|
642
623
|
|
|
643
|
-
class
|
|
624
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
625
|
+
BaseModel
|
|
626
|
+
):
|
|
627
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
628
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
629
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
644
633
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
645
634
|
alias="subscriptionScheduleType"
|
|
646
635
|
)
|
|
647
636
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
648
637
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
649
|
-
target_package: Optional["
|
|
638
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
650
639
|
alias="targetPackage", default=None
|
|
651
640
|
)
|
|
652
641
|
schedule_variables: Optional[
|
|
653
642
|
Annotated[
|
|
654
643
|
Union[
|
|
655
|
-
"
|
|
656
|
-
"
|
|
657
|
-
"
|
|
658
|
-
"
|
|
659
|
-
"
|
|
660
|
-
"
|
|
661
|
-
"
|
|
662
|
-
"
|
|
644
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
645
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
646
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
647
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
648
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
649
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
650
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
651
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
663
652
|
],
|
|
664
653
|
Field(discriminator="typename__"),
|
|
665
654
|
]
|
|
666
655
|
] = Field(alias="scheduleVariables", default=None)
|
|
667
656
|
|
|
668
657
|
|
|
669
|
-
class
|
|
658
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
670
659
|
id: str
|
|
671
660
|
ref_id: str = Field(alias="refId")
|
|
672
661
|
display_name: str = Field(alias="displayName")
|
|
673
662
|
|
|
674
663
|
|
|
675
|
-
class
|
|
664
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
676
665
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
677
666
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
678
667
|
new_quantity: float = Field(alias="newQuantity")
|
|
679
668
|
|
|
680
669
|
|
|
681
|
-
class
|
|
670
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
682
671
|
BaseModel
|
|
683
672
|
):
|
|
684
673
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -686,55 +675,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
686
675
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
687
676
|
|
|
688
677
|
|
|
689
|
-
class
|
|
678
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
690
679
|
BaseModel
|
|
691
680
|
):
|
|
692
681
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
693
682
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
694
683
|
|
|
695
684
|
|
|
696
|
-
class
|
|
685
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
697
686
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
698
687
|
|
|
699
688
|
|
|
700
|
-
class
|
|
701
|
-
BaseModel
|
|
702
|
-
):
|
|
689
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
703
690
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
704
691
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
705
692
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
706
693
|
billable_features: Optional[
|
|
707
694
|
List[
|
|
708
|
-
"
|
|
695
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
709
696
|
]
|
|
710
697
|
] = Field(alias="billableFeatures", default=None)
|
|
711
698
|
addons: Optional[
|
|
712
699
|
List[
|
|
713
|
-
"
|
|
700
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
714
701
|
]
|
|
715
702
|
] = Field(default=None)
|
|
716
703
|
price_overrides: Optional[
|
|
717
704
|
List[
|
|
718
|
-
"
|
|
705
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
719
706
|
]
|
|
720
707
|
] = Field(alias="priceOverrides", default=None)
|
|
721
708
|
|
|
722
709
|
|
|
723
|
-
class
|
|
710
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
724
711
|
BaseModel
|
|
725
712
|
):
|
|
726
713
|
feature_id: str = Field(alias="featureId")
|
|
727
714
|
quantity: float
|
|
728
715
|
|
|
729
716
|
|
|
730
|
-
class
|
|
717
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
731
718
|
BaseModel
|
|
732
719
|
):
|
|
733
720
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
734
721
|
quantity: float
|
|
735
722
|
|
|
736
723
|
|
|
737
|
-
class
|
|
724
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
738
725
|
BaseModel
|
|
739
726
|
):
|
|
740
727
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -742,43 +729,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
742
729
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
743
730
|
|
|
744
731
|
|
|
745
|
-
class
|
|
732
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
746
733
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
747
734
|
plan_ref_id: str = Field(alias="planRefId")
|
|
748
735
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
749
736
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
750
737
|
billable_features: Optional[
|
|
751
738
|
List[
|
|
752
|
-
"
|
|
739
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
753
740
|
]
|
|
754
741
|
] = Field(alias="billableFeatures", default=None)
|
|
755
742
|
addons: Optional[
|
|
756
|
-
List[
|
|
757
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
758
|
-
]
|
|
743
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
759
744
|
] = Field(default=None)
|
|
760
745
|
price_overrides: Optional[
|
|
761
746
|
List[
|
|
762
|
-
"
|
|
747
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
763
748
|
]
|
|
764
749
|
] = Field(alias="priceOverrides", default=None)
|
|
765
750
|
|
|
766
751
|
|
|
767
|
-
class
|
|
752
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
768
753
|
BaseModel
|
|
769
754
|
):
|
|
770
755
|
feature_id: str = Field(alias="featureId")
|
|
771
756
|
quantity: float
|
|
772
757
|
|
|
773
758
|
|
|
774
|
-
class
|
|
775
|
-
BaseModel
|
|
776
|
-
):
|
|
759
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
777
760
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
778
761
|
quantity: float
|
|
779
762
|
|
|
780
763
|
|
|
781
|
-
class
|
|
764
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
782
765
|
BaseModel
|
|
783
766
|
):
|
|
784
767
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -786,7 +769,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
786
769
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
787
770
|
|
|
788
771
|
|
|
789
|
-
class
|
|
772
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
790
773
|
BaseModel
|
|
791
774
|
):
|
|
792
775
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -794,14 +777,31 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
794
777
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
795
778
|
|
|
796
779
|
|
|
797
|
-
class
|
|
798
|
-
BaseModel
|
|
799
|
-
):
|
|
780
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
800
781
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
801
782
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
802
783
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
803
784
|
|
|
804
785
|
|
|
786
|
+
class TotalPriceFragment(BaseModel):
|
|
787
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
788
|
+
total: "TotalPriceFragmentTotal"
|
|
789
|
+
|
|
790
|
+
|
|
791
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
792
|
+
amount: float
|
|
793
|
+
currency: Currency
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
797
|
+
amount: float
|
|
798
|
+
currency: Currency
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
802
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
803
|
+
|
|
804
|
+
|
|
805
805
|
class SubscriptionFragment(BaseModel):
|
|
806
806
|
id: str
|
|
807
807
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1257,6 +1257,43 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1261
|
+
display_name: str = Field(alias="displayName")
|
|
1262
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1263
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1264
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1265
|
+
period: PromotionalEntitlementPeriod
|
|
1266
|
+
start_date: Any = Field(alias="startDate")
|
|
1267
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1268
|
+
|
|
1269
|
+
|
|
1270
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1271
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1272
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1273
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1274
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1275
|
+
default=None
|
|
1276
|
+
)
|
|
1277
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1278
|
+
default=None
|
|
1279
|
+
)
|
|
1280
|
+
|
|
1281
|
+
|
|
1282
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1283
|
+
amount: float
|
|
1284
|
+
currency: Currency
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1288
|
+
id: str
|
|
1289
|
+
ref_id: str = Field(alias="refId")
|
|
1290
|
+
display_name: str = Field(alias="displayName")
|
|
1291
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1292
|
+
feature_units_plural: Optional[str] = Field(
|
|
1293
|
+
alias="featureUnitsPlural", default=None
|
|
1294
|
+
)
|
|
1295
|
+
|
|
1296
|
+
|
|
1260
1297
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1261
1298
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1262
1299
|
alias="subscriptionScheduleType"
|
|
@@ -1426,33 +1463,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1426
1463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1427
1464
|
|
|
1428
1465
|
|
|
1429
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1430
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1431
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1432
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1433
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1434
|
-
default=None
|
|
1435
|
-
)
|
|
1436
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1437
|
-
default=None
|
|
1438
|
-
)
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1442
|
-
amount: float
|
|
1443
|
-
currency: Currency
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1447
|
-
id: str
|
|
1448
|
-
ref_id: str = Field(alias="refId")
|
|
1449
|
-
display_name: str = Field(alias="displayName")
|
|
1450
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1451
|
-
feature_units_plural: Optional[str] = Field(
|
|
1452
|
-
alias="featureUnitsPlural", default=None
|
|
1453
|
-
)
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
1466
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1457
1467
|
addon_id: str = Field(alias="addonId")
|
|
1458
1468
|
description: Optional[str] = Field(default=None)
|
|
@@ -1556,16 +1566,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1556
1566
|
pass
|
|
1557
1567
|
|
|
1558
1568
|
|
|
1559
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1560
|
-
display_name: str = Field(alias="displayName")
|
|
1561
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1562
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1563
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1564
|
-
period: PromotionalEntitlementPeriod
|
|
1565
|
-
start_date: Any = Field(alias="startDate")
|
|
1566
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1567
|
-
|
|
1568
|
-
|
|
1569
1569
|
class CustomerPortalFragment(BaseModel):
|
|
1570
1570
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1571
1571
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1793,6 +1793,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1793
1793
|
description: Optional[str] = Field(default=None)
|
|
1794
1794
|
|
|
1795
1795
|
|
|
1796
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1797
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1798
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1799
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1800
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1801
|
+
alias="resetPeriod", default=None
|
|
1802
|
+
)
|
|
1803
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1804
|
+
alias="hiddenFromWidgets", default=None
|
|
1805
|
+
)
|
|
1806
|
+
display_name_override: Optional[str] = Field(
|
|
1807
|
+
alias="displayNameOverride", default=None
|
|
1808
|
+
)
|
|
1809
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1810
|
+
default=None
|
|
1811
|
+
)
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1815
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1816
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1817
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1818
|
+
feature_units_plural: Optional[str] = Field(
|
|
1819
|
+
alias="featureUnitsPlural", default=None
|
|
1820
|
+
)
|
|
1821
|
+
display_name: str = Field(alias="displayName")
|
|
1822
|
+
description: Optional[str] = Field(default=None)
|
|
1823
|
+
ref_id: str = Field(alias="refId")
|
|
1824
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1825
|
+
alias="additionalMetaData", default=None
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
|
|
1796
1829
|
class MockPaywallPriceFragment(BaseModel):
|
|
1797
1830
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1798
1831
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1827,39 +1860,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1827
1860
|
display_name: str = Field(alias="displayName")
|
|
1828
1861
|
|
|
1829
1862
|
|
|
1830
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1831
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1832
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1833
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1834
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1835
|
-
alias="resetPeriod", default=None
|
|
1836
|
-
)
|
|
1837
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1838
|
-
alias="hiddenFromWidgets", default=None
|
|
1839
|
-
)
|
|
1840
|
-
display_name_override: Optional[str] = Field(
|
|
1841
|
-
alias="displayNameOverride", default=None
|
|
1842
|
-
)
|
|
1843
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1844
|
-
default=None
|
|
1845
|
-
)
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1849
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1850
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1851
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1852
|
-
feature_units_plural: Optional[str] = Field(
|
|
1853
|
-
alias="featureUnitsPlural", default=None
|
|
1854
|
-
)
|
|
1855
|
-
display_name: str = Field(alias="displayName")
|
|
1856
|
-
description: Optional[str] = Field(default=None)
|
|
1857
|
-
ref_id: str = Field(alias="refId")
|
|
1858
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1859
|
-
alias="additionalMetaData", default=None
|
|
1860
|
-
)
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
1863
|
class MockPaywallAddonFragment(BaseModel):
|
|
1864
1864
|
ref_id: str = Field(alias="refId")
|
|
1865
1865
|
display_name: str = Field(alias="displayName")
|
|
@@ -2770,23 +2770,23 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2770
2770
|
|
|
2771
2771
|
|
|
2772
2772
|
AddonDependencyFragment.model_rebuild()
|
|
2773
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2774
2773
|
PriceTierFragment.model_rebuild()
|
|
2775
2774
|
OveragePriceFragment.model_rebuild()
|
|
2776
2775
|
PriceFragment.model_rebuild()
|
|
2776
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
2778
|
FeatureFragment.model_rebuild()
|
|
2779
2779
|
EntitlementFragment.model_rebuild()
|
|
2780
|
-
TotalPriceFragment.model_rebuild()
|
|
2781
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2782
|
-
SlimCustomerFragment.model_rebuild()
|
|
2783
2780
|
CustomerResourceFragment.model_rebuild()
|
|
2781
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2782
|
+
SlimCustomerFragment.model_rebuild()
|
|
2784
2783
|
ProductFragment.model_rebuild()
|
|
2785
2784
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2786
2785
|
PlanFragment.model_rebuild()
|
|
2787
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2788
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2789
2786
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2787
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2788
|
+
TotalPriceFragment.model_rebuild()
|
|
2789
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2790
2790
|
SubscriptionFragment.model_rebuild()
|
|
2791
2791
|
ApplySubscriptionFragment.model_rebuild()
|
|
2792
2792
|
FontVariantFragment.model_rebuild()
|
|
@@ -2799,11 +2799,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2799
2799
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2801
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
|
-
|
|
2802
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2803
2803
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2804
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2804
2805
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2805
2806
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2806
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2807
|
CustomerPortalFragment.model_rebuild()
|
|
2808
2808
|
CustomerStatisticsFragment.model_rebuild()
|
|
2809
2809
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2813,8 +2813,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2813
2813
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2814
2814
|
LayoutConfigurationFragment.model_rebuild()
|
|
2815
2815
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2816
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2817
2816
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2817
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2818
2818
|
MockPaywallAddonFragment.model_rebuild()
|
|
2819
2819
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2820
2820
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -309,6 +309,7 @@ class ArchivePlanInput(BaseModel):
|
|
|
309
309
|
|
|
310
310
|
|
|
311
311
|
class AttachCustomerPaymentMethodInput(BaseModel):
|
|
312
|
+
billing_currency: Optional[Currency] = Field(alias="billingCurrency", default=None)
|
|
312
313
|
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
313
314
|
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
314
315
|
integration_id: Optional[str] = Field(alias="integrationId", default=None)
|
|
@@ -4188,6 +4189,12 @@ class TestHookInput(BaseModel):
|
|
|
4188
4189
|
hook_event_type: EventLogType = Field(alias="hookEventType")
|
|
4189
4190
|
|
|
4190
4191
|
|
|
4192
|
+
class TestWorkflowInput(BaseModel):
|
|
4193
|
+
endpoint_url: str = Field(alias="endpointUrl")
|
|
4194
|
+
environment_id: Optional[str] = Field(alias="environmentId", default=None)
|
|
4195
|
+
hook_event_type: EventLogType = Field(alias="hookEventType")
|
|
4196
|
+
|
|
4197
|
+
|
|
4191
4198
|
class TiersModeFilterComparison(BaseModel):
|
|
4192
4199
|
eq: Optional[TiersMode] = None
|
|
4193
4200
|
gt: Optional[TiersMode] = 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=a4IB1RgItZMf___9okR2WJBJLLRGVJ8_5KhvhYUtA1s,69632
|
|
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
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=t6q4y-5cKBmgLTrf_2YWXkNvmclEjnvBos1Ycd0aomI,3521
|
|
|
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=vVxQJbytisJ0aVStuPeZefrLXozD8r0ejKdIgGN2R10,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=-nhChY0xGMUT67j-wd8vMl37Ln2avCHcN1p9RZkCBxs,193955
|
|
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.390.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.390.0.dist-info/METADATA,sha256=aQVog-bv-hnfnGcssqJXaUgf7TgSpH-DsHLXGe9YQro,2258
|
|
165
|
+
stigg_api_client_v2-2.390.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.390.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|