stigg-api-client-v2 3.122.0__py3-none-any.whl → 3.123.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/enums.py +1 -0
- stigg/generated/fragments.py +261 -261
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.123.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.123.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.123.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.122.0.dist-info → stigg_api_client_v2-3.123.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -731,6 +731,7 @@ class EventLogType(str, Enum):
|
|
|
731
731
|
PRODUCT_CREATED = "PRODUCT_CREATED"
|
|
732
732
|
PRODUCT_DELETED = "PRODUCT_DELETED"
|
|
733
733
|
PRODUCT_UPDATED = "PRODUCT_UPDATED"
|
|
734
|
+
PROMOTIONAL_ENTITLEMENT_ENDS_SOON = "PROMOTIONAL_ENTITLEMENT_ENDS_SOON"
|
|
734
735
|
PROMOTIONAL_ENTITLEMENT_EXPIRED = "PROMOTIONAL_ENTITLEMENT_EXPIRED"
|
|
735
736
|
PROMOTIONAL_ENTITLEMENT_GRANTED = "PROMOTIONAL_ENTITLEMENT_GRANTED"
|
|
736
737
|
PROMOTIONAL_ENTITLEMENT_REVOKED = "PROMOTIONAL_ENTITLEMENT_REVOKED"
|
stigg/generated/fragments.py
CHANGED
|
@@ -114,6 +114,41 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
114
114
|
description: Optional[str] = Field(default=None)
|
|
115
115
|
|
|
116
116
|
|
|
117
|
+
class PackageEntitlementFragment(BaseModel):
|
|
118
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
119
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
120
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
121
|
+
feature_id: str = Field(alias="featureId")
|
|
122
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
123
|
+
alias="resetPeriod", default=None
|
|
124
|
+
)
|
|
125
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
126
|
+
alias="hiddenFromWidgets", default=None
|
|
127
|
+
)
|
|
128
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
129
|
+
display_name_override: Optional[str] = Field(
|
|
130
|
+
alias="displayNameOverride", default=None
|
|
131
|
+
)
|
|
132
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
133
|
+
is_granted: bool = Field(alias="isGranted")
|
|
134
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
138
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
139
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
140
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
141
|
+
feature_units_plural: Optional[str] = Field(
|
|
142
|
+
alias="featureUnitsPlural", default=None
|
|
143
|
+
)
|
|
144
|
+
display_name: str = Field(alias="displayName")
|
|
145
|
+
description: Optional[str] = Field(default=None)
|
|
146
|
+
ref_id: str = Field(alias="refId")
|
|
147
|
+
additional_meta_data: Optional[Any] = Field(
|
|
148
|
+
alias="additionalMetaData", default=None
|
|
149
|
+
)
|
|
150
|
+
|
|
151
|
+
|
|
117
152
|
class PriceFragment(BaseModel):
|
|
118
153
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
119
154
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -159,41 +194,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
159
194
|
description: Optional[str] = Field(default=None)
|
|
160
195
|
|
|
161
196
|
|
|
162
|
-
class PackageEntitlementFragment(BaseModel):
|
|
163
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
164
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
165
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
166
|
-
feature_id: str = Field(alias="featureId")
|
|
167
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
168
|
-
alias="resetPeriod", default=None
|
|
169
|
-
)
|
|
170
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
171
|
-
alias="hiddenFromWidgets", default=None
|
|
172
|
-
)
|
|
173
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
174
|
-
display_name_override: Optional[str] = Field(
|
|
175
|
-
alias="displayNameOverride", default=None
|
|
176
|
-
)
|
|
177
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
178
|
-
is_granted: bool = Field(alias="isGranted")
|
|
179
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
183
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
184
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
185
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
186
|
-
feature_units_plural: Optional[str] = Field(
|
|
187
|
-
alias="featureUnitsPlural", default=None
|
|
188
|
-
)
|
|
189
|
-
display_name: str = Field(alias="displayName")
|
|
190
|
-
description: Optional[str] = Field(default=None)
|
|
191
|
-
ref_id: str = Field(alias="refId")
|
|
192
|
-
additional_meta_data: Optional[Any] = Field(
|
|
193
|
-
alias="additionalMetaData", default=None
|
|
194
|
-
)
|
|
195
|
-
|
|
196
|
-
|
|
197
197
|
class AddonFragment(BaseModel):
|
|
198
198
|
id: Any
|
|
199
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -326,19 +326,40 @@ class EntitlementFragmentCreditRate(BaseModel):
|
|
|
326
326
|
currency_id: str = Field(alias="currencyId")
|
|
327
327
|
|
|
328
328
|
|
|
329
|
-
class
|
|
330
|
-
|
|
331
|
-
total: "TotalPriceFragmentTotal"
|
|
329
|
+
class CustomerResourceFragment(BaseModel):
|
|
330
|
+
resource_id: str = Field(alias="resourceId")
|
|
332
331
|
|
|
333
332
|
|
|
334
|
-
class
|
|
335
|
-
|
|
336
|
-
|
|
333
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
334
|
+
billing_id: str = Field(alias="billingId")
|
|
335
|
+
status: SubscriptionInvoiceStatus
|
|
336
|
+
created_at: Any = Field(alias="createdAt")
|
|
337
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
338
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
339
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
340
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
341
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
342
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
343
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
344
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
345
|
+
alias="billingReason", default=None
|
|
346
|
+
)
|
|
347
|
+
currency: Optional[str] = Field(default=None)
|
|
348
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
349
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
350
|
+
alias="subTotalExcludingTax", default=None
|
|
351
|
+
)
|
|
352
|
+
total: Optional[float] = Field(default=None)
|
|
353
|
+
total_excluding_tax: Optional[float] = Field(
|
|
354
|
+
alias="totalExcludingTax", default=None
|
|
355
|
+
)
|
|
356
|
+
tax: Optional[float] = Field(default=None)
|
|
357
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
358
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
337
359
|
|
|
338
360
|
|
|
339
|
-
class
|
|
340
|
-
|
|
341
|
-
currency: Currency
|
|
361
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
362
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
342
363
|
|
|
343
364
|
|
|
344
365
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -358,6 +379,168 @@ class SlimCustomerFragment(BaseModel):
|
|
|
358
379
|
)
|
|
359
380
|
|
|
360
381
|
|
|
382
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
383
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
384
|
+
alias="subscriptionScheduleType"
|
|
385
|
+
)
|
|
386
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
387
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
388
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
389
|
+
alias="targetPackage", default=None
|
|
390
|
+
)
|
|
391
|
+
schedule_variables: Optional[
|
|
392
|
+
Annotated[
|
|
393
|
+
Union[
|
|
394
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
395
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
396
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
397
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
398
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
399
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
400
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
401
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
402
|
+
],
|
|
403
|
+
Field(discriminator="typename__"),
|
|
404
|
+
]
|
|
405
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
409
|
+
id: Any
|
|
410
|
+
ref_id: str = Field(alias="refId")
|
|
411
|
+
display_name: str = Field(alias="displayName")
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
415
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
416
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
417
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
421
|
+
BaseModel
|
|
422
|
+
):
|
|
423
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
424
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
425
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
429
|
+
BaseModel
|
|
430
|
+
):
|
|
431
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
432
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
436
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
437
|
+
|
|
438
|
+
|
|
439
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
440
|
+
BaseModel
|
|
441
|
+
):
|
|
442
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
443
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
444
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
445
|
+
billable_features: Optional[
|
|
446
|
+
List[
|
|
447
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
448
|
+
]
|
|
449
|
+
] = Field(alias="billableFeatures", default=None)
|
|
450
|
+
addons: Optional[
|
|
451
|
+
List[
|
|
452
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
453
|
+
]
|
|
454
|
+
] = Field(default=None)
|
|
455
|
+
price_overrides: Optional[
|
|
456
|
+
List[
|
|
457
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
458
|
+
]
|
|
459
|
+
] = Field(alias="priceOverrides", default=None)
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
463
|
+
BaseModel
|
|
464
|
+
):
|
|
465
|
+
feature_id: str = Field(alias="featureId")
|
|
466
|
+
quantity: float
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
470
|
+
BaseModel
|
|
471
|
+
):
|
|
472
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
473
|
+
quantity: float
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
477
|
+
BaseModel
|
|
478
|
+
):
|
|
479
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
480
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
481
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
485
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
486
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
487
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
488
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
489
|
+
billable_features: Optional[
|
|
490
|
+
List[
|
|
491
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
492
|
+
]
|
|
493
|
+
] = Field(alias="billableFeatures", default=None)
|
|
494
|
+
addons: Optional[
|
|
495
|
+
List[
|
|
496
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
497
|
+
]
|
|
498
|
+
] = Field(default=None)
|
|
499
|
+
price_overrides: Optional[
|
|
500
|
+
List[
|
|
501
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
502
|
+
]
|
|
503
|
+
] = Field(alias="priceOverrides", default=None)
|
|
504
|
+
|
|
505
|
+
|
|
506
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
507
|
+
BaseModel
|
|
508
|
+
):
|
|
509
|
+
feature_id: str = Field(alias="featureId")
|
|
510
|
+
quantity: float
|
|
511
|
+
|
|
512
|
+
|
|
513
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
514
|
+
BaseModel
|
|
515
|
+
):
|
|
516
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
517
|
+
quantity: float
|
|
518
|
+
|
|
519
|
+
|
|
520
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
521
|
+
BaseModel
|
|
522
|
+
):
|
|
523
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
524
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
525
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
529
|
+
BaseModel
|
|
530
|
+
):
|
|
531
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
532
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
533
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
537
|
+
BaseModel
|
|
538
|
+
):
|
|
539
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
540
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
541
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
542
|
+
|
|
543
|
+
|
|
361
544
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
362
545
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
363
546
|
alias="subscriptionScheduleType"
|
|
@@ -512,6 +695,21 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
512
695
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
513
696
|
|
|
514
697
|
|
|
698
|
+
class TotalPriceFragment(BaseModel):
|
|
699
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
700
|
+
total: "TotalPriceFragmentTotal"
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
704
|
+
amount: float
|
|
705
|
+
currency: Currency
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
709
|
+
amount: float
|
|
710
|
+
currency: Currency
|
|
711
|
+
|
|
712
|
+
|
|
515
713
|
class ProductFragment(BaseModel):
|
|
516
714
|
ref_id: str = Field(alias="refId")
|
|
517
715
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -632,204 +830,6 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
632
830
|
limit: float
|
|
633
831
|
|
|
634
832
|
|
|
635
|
-
class CustomerResourceFragment(BaseModel):
|
|
636
|
-
resource_id: str = Field(alias="resourceId")
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
640
|
-
billing_id: str = Field(alias="billingId")
|
|
641
|
-
status: SubscriptionInvoiceStatus
|
|
642
|
-
created_at: Any = Field(alias="createdAt")
|
|
643
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
644
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
645
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
646
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
647
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
648
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
649
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
650
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
651
|
-
alias="billingReason", default=None
|
|
652
|
-
)
|
|
653
|
-
currency: Optional[str] = Field(default=None)
|
|
654
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
655
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
656
|
-
alias="subTotalExcludingTax", default=None
|
|
657
|
-
)
|
|
658
|
-
total: Optional[float] = Field(default=None)
|
|
659
|
-
total_excluding_tax: Optional[float] = Field(
|
|
660
|
-
alias="totalExcludingTax", default=None
|
|
661
|
-
)
|
|
662
|
-
tax: Optional[float] = Field(default=None)
|
|
663
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
664
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
668
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
672
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
673
|
-
alias="subscriptionScheduleType"
|
|
674
|
-
)
|
|
675
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
676
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
677
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
678
|
-
alias="targetPackage", default=None
|
|
679
|
-
)
|
|
680
|
-
schedule_variables: Optional[
|
|
681
|
-
Annotated[
|
|
682
|
-
Union[
|
|
683
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
684
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
685
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
686
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
687
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
688
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
689
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
690
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
691
|
-
],
|
|
692
|
-
Field(discriminator="typename__"),
|
|
693
|
-
]
|
|
694
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
698
|
-
id: Any
|
|
699
|
-
ref_id: str = Field(alias="refId")
|
|
700
|
-
display_name: str = Field(alias="displayName")
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
704
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
705
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
706
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
710
|
-
BaseModel
|
|
711
|
-
):
|
|
712
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
713
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
714
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
718
|
-
BaseModel
|
|
719
|
-
):
|
|
720
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
721
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
725
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
729
|
-
BaseModel
|
|
730
|
-
):
|
|
731
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
732
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
733
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
734
|
-
billable_features: Optional[
|
|
735
|
-
List[
|
|
736
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
737
|
-
]
|
|
738
|
-
] = Field(alias="billableFeatures", default=None)
|
|
739
|
-
addons: Optional[
|
|
740
|
-
List[
|
|
741
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
742
|
-
]
|
|
743
|
-
] = Field(default=None)
|
|
744
|
-
price_overrides: Optional[
|
|
745
|
-
List[
|
|
746
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
747
|
-
]
|
|
748
|
-
] = Field(alias="priceOverrides", default=None)
|
|
749
|
-
|
|
750
|
-
|
|
751
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
752
|
-
BaseModel
|
|
753
|
-
):
|
|
754
|
-
feature_id: str = Field(alias="featureId")
|
|
755
|
-
quantity: float
|
|
756
|
-
|
|
757
|
-
|
|
758
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
759
|
-
BaseModel
|
|
760
|
-
):
|
|
761
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
762
|
-
quantity: float
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
766
|
-
BaseModel
|
|
767
|
-
):
|
|
768
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
769
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
770
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
771
|
-
|
|
772
|
-
|
|
773
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
774
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
775
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
776
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
777
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
778
|
-
billable_features: Optional[
|
|
779
|
-
List[
|
|
780
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
781
|
-
]
|
|
782
|
-
] = Field(alias="billableFeatures", default=None)
|
|
783
|
-
addons: Optional[
|
|
784
|
-
List[
|
|
785
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
786
|
-
]
|
|
787
|
-
] = Field(default=None)
|
|
788
|
-
price_overrides: Optional[
|
|
789
|
-
List[
|
|
790
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
791
|
-
]
|
|
792
|
-
] = Field(alias="priceOverrides", default=None)
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
796
|
-
BaseModel
|
|
797
|
-
):
|
|
798
|
-
feature_id: str = Field(alias="featureId")
|
|
799
|
-
quantity: float
|
|
800
|
-
|
|
801
|
-
|
|
802
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
803
|
-
BaseModel
|
|
804
|
-
):
|
|
805
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
806
|
-
quantity: float
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
810
|
-
BaseModel
|
|
811
|
-
):
|
|
812
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
813
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
814
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
815
|
-
|
|
816
|
-
|
|
817
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
818
|
-
BaseModel
|
|
819
|
-
):
|
|
820
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
821
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
822
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
823
|
-
|
|
824
|
-
|
|
825
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
826
|
-
BaseModel
|
|
827
|
-
):
|
|
828
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
829
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
830
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
831
|
-
|
|
832
|
-
|
|
833
833
|
class SubscriptionFragment(BaseModel):
|
|
834
834
|
id: Any
|
|
835
835
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1016,6 +1016,10 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1021
|
+
|
|
1022
|
+
|
|
1019
1023
|
class CouponFragment(BaseModel):
|
|
1020
1024
|
id: Any
|
|
1021
1025
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1137,10 +1141,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1137
1141
|
pass
|
|
1138
1142
|
|
|
1139
1143
|
|
|
1140
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1142
|
-
|
|
1143
|
-
|
|
1144
1144
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1145
1145
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1146
1146
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1445,6 +1445,13 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1445
1445
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
1446
|
|
|
1447
1447
|
|
|
1448
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1449
|
+
addon_id: str = Field(alias="addonId")
|
|
1450
|
+
description: Optional[str] = Field(default=None)
|
|
1451
|
+
display_name: str = Field(alias="displayName")
|
|
1452
|
+
quantity: int
|
|
1453
|
+
|
|
1454
|
+
|
|
1448
1455
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
1456
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
1457
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1480,13 +1487,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1480
1487
|
)
|
|
1481
1488
|
|
|
1482
1489
|
|
|
1483
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1484
|
-
addon_id: str = Field(alias="addonId")
|
|
1485
|
-
description: Optional[str] = Field(default=None)
|
|
1486
|
-
display_name: str = Field(alias="displayName")
|
|
1487
|
-
quantity: int
|
|
1488
|
-
|
|
1489
|
-
|
|
1490
1490
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1491
1491
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1492
1492
|
alias="subscriptionScheduleType"
|
|
@@ -3043,30 +3043,30 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
3044
|
PriceTierFragment.model_rebuild()
|
|
3045
3045
|
OveragePriceFragment.model_rebuild()
|
|
3046
|
-
PriceFragment.model_rebuild()
|
|
3047
3046
|
PackageEntitlementFragment.model_rebuild()
|
|
3047
|
+
PriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
3049
|
FeatureFragment.model_rebuild()
|
|
3050
3050
|
EntitlementFragment.model_rebuild()
|
|
3051
|
-
|
|
3051
|
+
CustomerResourceFragment.model_rebuild()
|
|
3052
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
3053
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3052
3054
|
SlimCustomerFragment.model_rebuild()
|
|
3055
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3053
3056
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
3057
|
+
TotalPriceFragment.model_rebuild()
|
|
3054
3058
|
ProductFragment.model_rebuild()
|
|
3055
3059
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3056
3060
|
PlanFragment.model_rebuild()
|
|
3057
|
-
CustomerResourceFragment.model_rebuild()
|
|
3058
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
3059
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3060
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3061
3061
|
SubscriptionFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3066
3067
|
CouponFragment.model_rebuild()
|
|
3067
3068
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3068
3069
|
CustomerFragment.model_rebuild()
|
|
3069
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3070
3070
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
@@ -3080,8 +3080,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
3082
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
3083
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3084
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3085
3085
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3086
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=yOboGgUVS7wmn812LV-fgQh478Ry3VtuFFl7G5cZe4U,40139
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=4JST4rhaQOm5VabpR-GKO3A-gZiEfSTZ1FVzKlj-ogg,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.123.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.123.0.dist-info/METADATA,sha256=HyPgx1QUfH4MkGqGAaGVjIcwOW0jLRqexMlOt96o-2g,2258
|
|
177
|
+
stigg_api_client_v2-3.123.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.123.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|