stigg-api-client-v2 3.101.0__py3-none-any.whl → 3.107.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/enums.py +17 -7
- stigg/generated/fragments.py +369 -369
- stigg/generated/input_types.py +6 -1
- {stigg_api_client_v2-3.101.0.dist-info → stigg_api_client_v2-3.107.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.101.0.dist-info → stigg_api_client_v2-3.107.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.101.0.dist-info → stigg_api_client_v2-3.107.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.101.0.dist-info → stigg_api_client_v2-3.107.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -1018,6 +1018,7 @@ from .input_types import (
|
|
|
1018
1018
|
UUIDFilterComparison,
|
|
1019
1019
|
ValidateMergeEnvironmentInput,
|
|
1020
1020
|
VendorIdentifierFilterComparison,
|
|
1021
|
+
VoidCreditGrantInput,
|
|
1021
1022
|
WeeklyResetPeriodConfigInput,
|
|
1022
1023
|
WidgetConfigurationUpdateInput,
|
|
1023
1024
|
WorkflowsLoginInput,
|
|
@@ -2084,6 +2085,7 @@ __all__ = [
|
|
|
2084
2085
|
"VendorIdentifier",
|
|
2085
2086
|
"VendorIdentifierFilterComparison",
|
|
2086
2087
|
"VendorType",
|
|
2088
|
+
"VoidCreditGrantInput",
|
|
2087
2089
|
"WeeklyAccordingTo",
|
|
2088
2090
|
"WeeklyResetPeriodConfigInput",
|
|
2089
2091
|
"WidgetConfigurationUpdateInput",
|
stigg/generated/enums.py
CHANGED
|
@@ -170,6 +170,7 @@ class CreditLedgerEventType(str, Enum):
|
|
|
170
170
|
CREDITS_CONSUMED = "CREDITS_CONSUMED"
|
|
171
171
|
CREDITS_EXPIRED = "CREDITS_EXPIRED"
|
|
172
172
|
CREDITS_GRANTED = "CREDITS_GRANTED"
|
|
173
|
+
CREDITS_VOIDED = "CREDITS_VOIDED"
|
|
173
174
|
|
|
174
175
|
|
|
175
176
|
class CreditUsageTimeRange(str, Enum):
|
|
@@ -471,6 +472,7 @@ class ErrorCode(str, Enum):
|
|
|
471
472
|
)
|
|
472
473
|
CheckoutIsNotSupported = "CheckoutIsNotSupported"
|
|
473
474
|
CouponNotFound = "CouponNotFound"
|
|
475
|
+
CreditGrantAlreadyVoided = "CreditGrantAlreadyVoided"
|
|
474
476
|
CreditGrantNotFound = "CreditGrantNotFound"
|
|
475
477
|
CustomCurrencyNotFound = "CustomCurrencyNotFound"
|
|
476
478
|
CustomerAlreadyHaveCustomerCoupon = "CustomerAlreadyHaveCustomerCoupon"
|
|
@@ -666,13 +668,21 @@ class EventLogType(str, Enum):
|
|
|
666
668
|
COUPON_CREATED = "COUPON_CREATED"
|
|
667
669
|
COUPON_UPDATED = "COUPON_UPDATED"
|
|
668
670
|
CREATE_SUBSCRIPTION_FAILED = "CREATE_SUBSCRIPTION_FAILED"
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
671
|
+
CREDITS_BALANCE_DEPLETED_OLD = "CREDITS_BALANCE_DEPLETED_OLD"
|
|
672
|
+
CREDITS_BALANCE_LOW_OLD = "CREDITS_BALANCE_LOW_OLD"
|
|
673
|
+
CREDITS_GRANT_BALANCE_LOW_OLD = "CREDITS_GRANT_BALANCE_LOW_OLD"
|
|
674
|
+
CREDITS_GRANT_DEPLETED_OLD = "CREDITS_GRANT_DEPLETED_OLD"
|
|
675
|
+
CREDITS_GRANT_EXPIRED_OLD = "CREDITS_GRANT_EXPIRED_OLD"
|
|
676
|
+
CREDITS_GRANT_GRANTED_OLD = "CREDITS_GRANT_GRANTED_OLD"
|
|
677
|
+
CREDITS_GRANT_UPDATED_OLD = "CREDITS_GRANT_UPDATED_OLD"
|
|
678
|
+
CREDIT_BALANCE_DEPLETED = "CREDIT_BALANCE_DEPLETED"
|
|
679
|
+
CREDIT_BALANCE_LOW = "CREDIT_BALANCE_LOW"
|
|
680
|
+
CREDIT_GRANT_BALANCE_LOW = "CREDIT_GRANT_BALANCE_LOW"
|
|
681
|
+
CREDIT_GRANT_CREATED = "CREDIT_GRANT_CREATED"
|
|
682
|
+
CREDIT_GRANT_DEPLETED = "CREDIT_GRANT_DEPLETED"
|
|
683
|
+
CREDIT_GRANT_EXPIRED = "CREDIT_GRANT_EXPIRED"
|
|
684
|
+
CREDIT_GRANT_UPDATED = "CREDIT_GRANT_UPDATED"
|
|
685
|
+
CREDIT_GRANT_VOIDED = "CREDIT_GRANT_VOIDED"
|
|
676
686
|
CUSTOMER_CREATED = "CUSTOMER_CREATED"
|
|
677
687
|
CUSTOMER_DELETED = "CUSTOMER_DELETED"
|
|
678
688
|
CUSTOMER_ENTITLEMENT_CALCULATION_TRIGGERED = (
|
stigg/generated/fragments.py
CHANGED
|
@@ -127,6 +127,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
127
127
|
description: Optional[str] = Field(default=None)
|
|
128
128
|
|
|
129
129
|
|
|
130
|
+
class OveragePriceFragment(BaseModel):
|
|
131
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
132
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
133
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
134
|
+
billing_country_code: Optional[str] = Field(
|
|
135
|
+
alias="billingCountryCode", default=None
|
|
136
|
+
)
|
|
137
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
138
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
139
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
140
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
144
|
+
amount: float
|
|
145
|
+
currency: Currency
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
149
|
+
pass
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
153
|
+
ref_id: str = Field(alias="refId")
|
|
154
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
155
|
+
feature_units_plural: Optional[str] = Field(
|
|
156
|
+
alias="featureUnitsPlural", default=None
|
|
157
|
+
)
|
|
158
|
+
display_name: str = Field(alias="displayName")
|
|
159
|
+
description: Optional[str] = Field(default=None)
|
|
160
|
+
|
|
161
|
+
|
|
130
162
|
class PackageEntitlementFragment(BaseModel):
|
|
131
163
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
132
164
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -162,38 +194,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
162
194
|
)
|
|
163
195
|
|
|
164
196
|
|
|
165
|
-
class OveragePriceFragment(BaseModel):
|
|
166
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
167
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
168
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
169
|
-
billing_country_code: Optional[str] = Field(
|
|
170
|
-
alias="billingCountryCode", default=None
|
|
171
|
-
)
|
|
172
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
173
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
174
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
175
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
179
|
-
amount: float
|
|
180
|
-
currency: Currency
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
184
|
-
pass
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
188
|
-
ref_id: str = Field(alias="refId")
|
|
189
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
190
|
-
feature_units_plural: Optional[str] = Field(
|
|
191
|
-
alias="featureUnitsPlural", default=None
|
|
192
|
-
)
|
|
193
|
-
display_name: str = Field(alias="displayName")
|
|
194
|
-
description: Optional[str] = Field(default=None)
|
|
195
|
-
|
|
196
|
-
|
|
197
197
|
class AddonFragment(BaseModel):
|
|
198
198
|
id: Any
|
|
199
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -326,124 +326,162 @@ class EntitlementFragmentCreditRate(BaseModel):
|
|
|
326
326
|
currency_id: str = Field(alias="currencyId")
|
|
327
327
|
|
|
328
328
|
|
|
329
|
-
class
|
|
330
|
-
|
|
331
|
-
|
|
332
|
-
description: Optional[str] = Field(default=None)
|
|
333
|
-
additional_meta_data: Optional[Any] = Field(
|
|
334
|
-
alias="additionalMetaData", default=None
|
|
329
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
330
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
331
|
+
alias="subscriptionScheduleType"
|
|
335
332
|
)
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
341
|
-
alias="downgradePlan", default=None
|
|
333
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
334
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
335
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
336
|
+
alias="targetPackage", default=None
|
|
342
337
|
)
|
|
338
|
+
schedule_variables: Optional[
|
|
339
|
+
Annotated[
|
|
340
|
+
Union[
|
|
341
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
342
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
343
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
344
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
345
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
346
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
347
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
348
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
349
|
+
],
|
|
350
|
+
Field(discriminator="typename__"),
|
|
351
|
+
]
|
|
352
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
343
353
|
|
|
344
354
|
|
|
345
|
-
class
|
|
355
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
356
|
+
id: Any
|
|
346
357
|
ref_id: str = Field(alias="refId")
|
|
347
358
|
display_name: str = Field(alias="displayName")
|
|
348
359
|
|
|
349
360
|
|
|
350
|
-
class
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
default=None
|
|
355
|
-
)
|
|
356
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
361
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
362
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
363
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
364
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
357
365
|
|
|
358
366
|
|
|
359
|
-
class
|
|
360
|
-
|
|
367
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
368
|
+
BaseModel
|
|
369
|
+
):
|
|
370
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
371
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
372
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
361
373
|
|
|
362
374
|
|
|
363
|
-
class
|
|
364
|
-
|
|
365
|
-
|
|
375
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
376
|
+
BaseModel
|
|
377
|
+
):
|
|
378
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
379
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
366
380
|
|
|
367
381
|
|
|
368
|
-
class
|
|
369
|
-
|
|
370
|
-
ref_id: str = Field(alias="refId")
|
|
371
|
-
display_name: str = Field(alias="displayName")
|
|
372
|
-
description: Optional[str] = Field(default=None)
|
|
373
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
374
|
-
version_number: int = Field(alias="versionNumber")
|
|
375
|
-
additional_meta_data: Optional[Any] = Field(
|
|
376
|
-
alias="additionalMetaData", default=None
|
|
377
|
-
)
|
|
378
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
379
|
-
alias="hiddenFromWidgets", default=None
|
|
380
|
-
)
|
|
381
|
-
product: "PlanFragmentProduct"
|
|
382
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
383
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
384
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
385
|
-
alias="inheritedEntitlements", default=None
|
|
386
|
-
)
|
|
387
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
388
|
-
alias="compatibleAddons", default=None
|
|
389
|
-
)
|
|
390
|
-
compatible_package_groups: Optional[
|
|
391
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
392
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
393
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
394
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
395
|
-
alias="overagePrices", default=None
|
|
396
|
-
)
|
|
397
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
398
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
399
|
-
alias="defaultTrialConfig", default=None
|
|
400
|
-
)
|
|
382
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
383
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
401
384
|
|
|
402
385
|
|
|
403
|
-
class
|
|
404
|
-
|
|
386
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
387
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
388
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
389
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
390
|
+
billable_features: Optional[
|
|
391
|
+
List[
|
|
392
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
393
|
+
]
|
|
394
|
+
] = Field(alias="billableFeatures", default=None)
|
|
395
|
+
addons: Optional[
|
|
396
|
+
List[
|
|
397
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
398
|
+
]
|
|
399
|
+
] = Field(default=None)
|
|
400
|
+
price_overrides: Optional[
|
|
401
|
+
List[
|
|
402
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
403
|
+
]
|
|
404
|
+
] = Field(alias="priceOverrides", default=None)
|
|
405
405
|
|
|
406
406
|
|
|
407
|
-
class
|
|
408
|
-
|
|
409
|
-
|
|
407
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
408
|
+
BaseModel
|
|
409
|
+
):
|
|
410
|
+
feature_id: str = Field(alias="featureId")
|
|
411
|
+
quantity: float
|
|
410
412
|
|
|
411
413
|
|
|
412
|
-
class
|
|
413
|
-
|
|
414
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
415
|
+
BaseModel
|
|
416
|
+
):
|
|
417
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
418
|
+
quantity: float
|
|
414
419
|
|
|
415
420
|
|
|
416
|
-
class
|
|
417
|
-
|
|
421
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
422
|
+
BaseModel
|
|
423
|
+
):
|
|
424
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
425
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
426
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
418
427
|
|
|
419
428
|
|
|
420
|
-
class
|
|
421
|
-
|
|
429
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
430
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
431
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
432
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
433
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
434
|
+
billable_features: Optional[
|
|
435
|
+
List[
|
|
436
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
437
|
+
]
|
|
438
|
+
] = Field(alias="billableFeatures", default=None)
|
|
439
|
+
addons: Optional[
|
|
440
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
441
|
+
] = Field(default=None)
|
|
442
|
+
price_overrides: Optional[
|
|
443
|
+
List[
|
|
444
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
445
|
+
]
|
|
446
|
+
] = Field(alias="priceOverrides", default=None)
|
|
422
447
|
|
|
423
448
|
|
|
424
|
-
class
|
|
425
|
-
|
|
449
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
450
|
+
BaseModel
|
|
451
|
+
):
|
|
452
|
+
feature_id: str = Field(alias="featureId")
|
|
453
|
+
quantity: float
|
|
426
454
|
|
|
427
455
|
|
|
428
|
-
class
|
|
429
|
-
|
|
456
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
457
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
458
|
+
quantity: float
|
|
430
459
|
|
|
431
460
|
|
|
432
|
-
class
|
|
433
|
-
|
|
461
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
462
|
+
BaseModel
|
|
463
|
+
):
|
|
464
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
465
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
466
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
434
467
|
|
|
435
468
|
|
|
436
|
-
class
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
)
|
|
469
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
470
|
+
BaseModel
|
|
471
|
+
):
|
|
472
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
473
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
474
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
443
475
|
|
|
444
476
|
|
|
445
|
-
class
|
|
446
|
-
|
|
477
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
478
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
479
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
480
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
class CustomerResourceFragment(BaseModel):
|
|
484
|
+
resource_id: str = Field(alias="resourceId")
|
|
447
485
|
|
|
448
486
|
|
|
449
487
|
class TotalPriceFragment(BaseModel):
|
|
@@ -623,190 +661,124 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
623
661
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
624
662
|
|
|
625
663
|
|
|
626
|
-
class
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
632
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
633
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
634
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
635
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
636
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
637
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
638
|
-
alias="billingReason", default=None
|
|
639
|
-
)
|
|
640
|
-
currency: Optional[str] = Field(default=None)
|
|
641
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
642
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
643
|
-
alias="subTotalExcludingTax", default=None
|
|
644
|
-
)
|
|
645
|
-
total: Optional[float] = Field(default=None)
|
|
646
|
-
total_excluding_tax: Optional[float] = Field(
|
|
647
|
-
alias="totalExcludingTax", default=None
|
|
648
|
-
)
|
|
649
|
-
tax: Optional[float] = Field(default=None)
|
|
650
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
651
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
652
|
-
|
|
653
|
-
|
|
654
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
655
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
656
|
-
alias="subscriptionScheduleType"
|
|
657
|
-
)
|
|
658
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
659
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
660
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
661
|
-
alias="targetPackage", default=None
|
|
664
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
665
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
666
|
+
display_name: str = Field(alias="displayName")
|
|
667
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
668
|
+
default=None
|
|
662
669
|
)
|
|
663
|
-
|
|
664
|
-
Annotated[
|
|
665
|
-
Union[
|
|
666
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
667
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
668
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
669
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
670
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
671
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
672
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
673
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
674
|
-
],
|
|
675
|
-
Field(discriminator="typename__"),
|
|
676
|
-
]
|
|
677
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
670
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
678
671
|
|
|
679
672
|
|
|
680
|
-
class
|
|
681
|
-
|
|
682
|
-
ref_id: str = Field(alias="refId")
|
|
683
|
-
display_name: str = Field(alias="displayName")
|
|
673
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
674
|
+
pass
|
|
684
675
|
|
|
685
676
|
|
|
686
|
-
class
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
677
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
678
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
679
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
690
680
|
|
|
691
681
|
|
|
692
|
-
class
|
|
693
|
-
|
|
694
|
-
)
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
|
|
682
|
+
class ProductFragment(BaseModel):
|
|
683
|
+
ref_id: str = Field(alias="refId")
|
|
684
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
685
|
+
description: Optional[str] = Field(default=None)
|
|
686
|
+
additional_meta_data: Optional[Any] = Field(
|
|
687
|
+
alias="additionalMetaData", default=None
|
|
688
|
+
)
|
|
689
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
698
690
|
|
|
699
691
|
|
|
700
|
-
class
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
692
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
693
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
694
|
+
alias="downgradePlan", default=None
|
|
695
|
+
)
|
|
705
696
|
|
|
706
697
|
|
|
707
|
-
class
|
|
708
|
-
|
|
698
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
699
|
+
ref_id: str = Field(alias="refId")
|
|
700
|
+
display_name: str = Field(alias="displayName")
|
|
709
701
|
|
|
710
702
|
|
|
711
|
-
class
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
|
|
729
|
-
|
|
703
|
+
class PlanFragment(BaseModel):
|
|
704
|
+
id: Any
|
|
705
|
+
ref_id: str = Field(alias="refId")
|
|
706
|
+
display_name: str = Field(alias="displayName")
|
|
707
|
+
description: Optional[str] = Field(default=None)
|
|
708
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
709
|
+
version_number: int = Field(alias="versionNumber")
|
|
710
|
+
additional_meta_data: Optional[Any] = Field(
|
|
711
|
+
alias="additionalMetaData", default=None
|
|
712
|
+
)
|
|
713
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
714
|
+
alias="hiddenFromWidgets", default=None
|
|
715
|
+
)
|
|
716
|
+
product: "PlanFragmentProduct"
|
|
717
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
718
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
719
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
720
|
+
alias="inheritedEntitlements", default=None
|
|
721
|
+
)
|
|
722
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
723
|
+
alias="compatibleAddons", default=None
|
|
724
|
+
)
|
|
725
|
+
compatible_package_groups: Optional[
|
|
726
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
727
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
728
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
729
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
730
|
+
alias="overagePrices", default=None
|
|
731
|
+
)
|
|
732
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
733
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
734
|
+
alias="defaultTrialConfig", default=None
|
|
735
|
+
)
|
|
730
736
|
|
|
731
737
|
|
|
732
|
-
class
|
|
733
|
-
|
|
734
|
-
):
|
|
735
|
-
feature_id: str = Field(alias="featureId")
|
|
736
|
-
quantity: float
|
|
738
|
+
class PlanFragmentProduct(ProductFragment):
|
|
739
|
+
pass
|
|
737
740
|
|
|
738
741
|
|
|
739
|
-
class
|
|
740
|
-
|
|
741
|
-
)
|
|
742
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
743
|
-
quantity: float
|
|
742
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
743
|
+
ref_id: str = Field(alias="refId")
|
|
744
|
+
display_name: str = Field(alias="displayName")
|
|
744
745
|
|
|
745
746
|
|
|
746
|
-
class
|
|
747
|
-
|
|
748
|
-
):
|
|
749
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
750
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
751
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
747
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
748
|
+
pass
|
|
752
749
|
|
|
753
750
|
|
|
754
|
-
class
|
|
755
|
-
|
|
756
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
757
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
758
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
759
|
-
billable_features: Optional[
|
|
760
|
-
List[
|
|
761
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
762
|
-
]
|
|
763
|
-
] = Field(alias="billableFeatures", default=None)
|
|
764
|
-
addons: Optional[
|
|
765
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
766
|
-
] = Field(default=None)
|
|
767
|
-
price_overrides: Optional[
|
|
768
|
-
List[
|
|
769
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
770
|
-
]
|
|
771
|
-
] = Field(alias="priceOverrides", default=None)
|
|
751
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
752
|
+
pass
|
|
772
753
|
|
|
773
754
|
|
|
774
|
-
class
|
|
775
|
-
|
|
776
|
-
):
|
|
777
|
-
feature_id: str = Field(alias="featureId")
|
|
778
|
-
quantity: float
|
|
755
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
756
|
+
pass
|
|
779
757
|
|
|
780
758
|
|
|
781
|
-
class
|
|
782
|
-
|
|
783
|
-
quantity: float
|
|
759
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
760
|
+
pass
|
|
784
761
|
|
|
785
762
|
|
|
786
|
-
class
|
|
787
|
-
|
|
788
|
-
):
|
|
789
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
790
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
791
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
763
|
+
class PlanFragmentPrices(PriceFragment):
|
|
764
|
+
pass
|
|
792
765
|
|
|
793
766
|
|
|
794
|
-
class
|
|
795
|
-
|
|
796
|
-
):
|
|
797
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
798
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
799
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
767
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
768
|
+
pass
|
|
800
769
|
|
|
801
770
|
|
|
802
|
-
class
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
771
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
772
|
+
duration: float
|
|
773
|
+
units: TrialPeriodUnits
|
|
774
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
775
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
776
|
+
alias="trialEndBehavior", default=None
|
|
777
|
+
)
|
|
806
778
|
|
|
807
779
|
|
|
808
|
-
class
|
|
809
|
-
|
|
780
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
781
|
+
limit: float
|
|
810
782
|
|
|
811
783
|
|
|
812
784
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -826,8 +798,36 @@ class SlimCustomerFragment(BaseModel):
|
|
|
826
798
|
)
|
|
827
799
|
|
|
828
800
|
|
|
829
|
-
class
|
|
830
|
-
|
|
801
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
802
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
803
|
+
|
|
804
|
+
|
|
805
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
806
|
+
billing_id: str = Field(alias="billingId")
|
|
807
|
+
status: SubscriptionInvoiceStatus
|
|
808
|
+
created_at: Any = Field(alias="createdAt")
|
|
809
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
810
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
811
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
812
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
813
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
814
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
815
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
816
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
817
|
+
alias="billingReason", default=None
|
|
818
|
+
)
|
|
819
|
+
currency: Optional[str] = Field(default=None)
|
|
820
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
821
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
822
|
+
alias="subTotalExcludingTax", default=None
|
|
823
|
+
)
|
|
824
|
+
total: Optional[float] = Field(default=None)
|
|
825
|
+
total_excluding_tax: Optional[float] = Field(
|
|
826
|
+
alias="totalExcludingTax", default=None
|
|
827
|
+
)
|
|
828
|
+
tax: Optional[float] = Field(default=None)
|
|
829
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
830
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
831
831
|
|
|
832
832
|
|
|
833
833
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1016,37 +1016,14 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
class
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1024
|
-
status: PromotionalEntitlementStatus
|
|
1025
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1026
|
-
feature_id: Any = Field(alias="featureId")
|
|
1027
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1028
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1029
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1030
|
-
alias="resetPeriod", default=None
|
|
1031
|
-
)
|
|
1032
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1033
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1034
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1019
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1021
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1022
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1035
1023
|
|
|
1036
1024
|
|
|
1037
|
-
class
|
|
1038
|
-
|
|
1039
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1040
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1041
|
-
feature_units_plural: Optional[str] = Field(
|
|
1042
|
-
alias="featureUnitsPlural", default=None
|
|
1043
|
-
)
|
|
1044
|
-
display_name: str = Field(alias="displayName")
|
|
1045
|
-
description: Optional[str] = Field(default=None)
|
|
1046
|
-
ref_id: str = Field(alias="refId")
|
|
1047
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1048
|
-
alias="additionalMetaData", default=None
|
|
1049
|
-
)
|
|
1025
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1026
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1050
1027
|
|
|
1051
1028
|
|
|
1052
1029
|
class CouponFragment(BaseModel):
|
|
@@ -1083,6 +1060,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1083
1060
|
status: SyncStatus
|
|
1084
1061
|
|
|
1085
1062
|
|
|
1063
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1064
|
+
status: PromotionalEntitlementStatus
|
|
1065
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1066
|
+
feature_id: Any = Field(alias="featureId")
|
|
1067
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1068
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1069
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1070
|
+
alias="resetPeriod", default=None
|
|
1071
|
+
)
|
|
1072
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1073
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1074
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1078
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1079
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1080
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1081
|
+
feature_units_plural: Optional[str] = Field(
|
|
1082
|
+
alias="featureUnitsPlural", default=None
|
|
1083
|
+
)
|
|
1084
|
+
display_name: str = Field(alias="displayName")
|
|
1085
|
+
description: Optional[str] = Field(default=None)
|
|
1086
|
+
ref_id: str = Field(alias="refId")
|
|
1087
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1088
|
+
alias="additionalMetaData", default=None
|
|
1089
|
+
)
|
|
1090
|
+
|
|
1091
|
+
|
|
1086
1092
|
class CustomerFragment(SlimCustomerFragment):
|
|
1087
1093
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1088
1094
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1141,12 +1147,6 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1141
1147
|
pass
|
|
1142
1148
|
|
|
1143
1149
|
|
|
1144
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1145
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1146
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1147
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1148
|
-
|
|
1149
|
-
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1435,16 +1435,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
-
display_name: str = Field(alias="displayName")
|
|
1440
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
-
period: PromotionalEntitlementPeriod
|
|
1444
|
-
start_date: Any = Field(alias="startDate")
|
|
1445
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
1438
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1449
1439
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1450
1440
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1480,6 +1470,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1480
1470
|
)
|
|
1481
1471
|
|
|
1482
1472
|
|
|
1473
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1474
|
+
addon_id: str = Field(alias="addonId")
|
|
1475
|
+
description: Optional[str] = Field(default=None)
|
|
1476
|
+
display_name: str = Field(alias="displayName")
|
|
1477
|
+
quantity: int
|
|
1478
|
+
|
|
1479
|
+
|
|
1483
1480
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1484
1481
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1485
1482
|
alias="subscriptionScheduleType"
|
|
@@ -1649,13 +1646,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1649
1646
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1650
1647
|
|
|
1651
1648
|
|
|
1652
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1653
|
-
addon_id: str = Field(alias="addonId")
|
|
1654
|
-
description: Optional[str] = Field(default=None)
|
|
1655
|
-
display_name: str = Field(alias="displayName")
|
|
1656
|
-
quantity: int
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
1649
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1660
1650
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1661
1651
|
plan_id: str = Field(alias="planId")
|
|
@@ -1760,6 +1750,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1760
1750
|
pass
|
|
1761
1751
|
|
|
1762
1752
|
|
|
1753
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1754
|
+
display_name: str = Field(alias="displayName")
|
|
1755
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1756
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1757
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1758
|
+
period: PromotionalEntitlementPeriod
|
|
1759
|
+
start_date: Any = Field(alias="startDate")
|
|
1760
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1761
|
+
|
|
1762
|
+
|
|
1763
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1764
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1765
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1987,6 +1987,41 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1987
1987
|
description: Optional[str] = Field(default=None)
|
|
1988
1988
|
|
|
1989
1989
|
|
|
1990
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1991
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1992
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1993
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1994
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1995
|
+
alias="resetPeriod", default=None
|
|
1996
|
+
)
|
|
1997
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1998
|
+
alias="hiddenFromWidgets", default=None
|
|
1999
|
+
)
|
|
2000
|
+
display_name_override: Optional[str] = Field(
|
|
2001
|
+
alias="displayNameOverride", default=None
|
|
2002
|
+
)
|
|
2003
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2004
|
+
is_granted: bool = Field(alias="isGranted")
|
|
2005
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2006
|
+
default=None
|
|
2007
|
+
)
|
|
2008
|
+
|
|
2009
|
+
|
|
2010
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2011
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
2012
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2013
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2014
|
+
feature_units_plural: Optional[str] = Field(
|
|
2015
|
+
alias="featureUnitsPlural", default=None
|
|
2016
|
+
)
|
|
2017
|
+
display_name: str = Field(alias="displayName")
|
|
2018
|
+
description: Optional[str] = Field(default=None)
|
|
2019
|
+
ref_id: str = Field(alias="refId")
|
|
2020
|
+
additional_meta_data: Optional[Any] = Field(
|
|
2021
|
+
alias="additionalMetaData", default=None
|
|
2022
|
+
)
|
|
2023
|
+
|
|
2024
|
+
|
|
1990
2025
|
class MockPaywallPriceFragment(BaseModel):
|
|
1991
2026
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1992
2027
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -2029,41 +2064,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
2029
2064
|
display_name: str = Field(alias="displayName")
|
|
2030
2065
|
|
|
2031
2066
|
|
|
2032
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
2033
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
2034
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
2035
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2036
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
2037
|
-
alias="resetPeriod", default=None
|
|
2038
|
-
)
|
|
2039
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
2040
|
-
alias="hiddenFromWidgets", default=None
|
|
2041
|
-
)
|
|
2042
|
-
display_name_override: Optional[str] = Field(
|
|
2043
|
-
alias="displayNameOverride", default=None
|
|
2044
|
-
)
|
|
2045
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2046
|
-
is_granted: bool = Field(alias="isGranted")
|
|
2047
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
2048
|
-
default=None
|
|
2049
|
-
)
|
|
2050
|
-
|
|
2051
|
-
|
|
2052
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
2053
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
2054
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
2055
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
2056
|
-
feature_units_plural: Optional[str] = Field(
|
|
2057
|
-
alias="featureUnitsPlural", default=None
|
|
2058
|
-
)
|
|
2059
|
-
display_name: str = Field(alias="displayName")
|
|
2060
|
-
description: Optional[str] = Field(default=None)
|
|
2061
|
-
ref_id: str = Field(alias="refId")
|
|
2062
|
-
additional_meta_data: Optional[Any] = Field(
|
|
2063
|
-
alias="additionalMetaData", default=None
|
|
2064
|
-
)
|
|
2065
|
-
|
|
2066
|
-
|
|
2067
2067
|
class MockPaywallAddonFragment(BaseModel):
|
|
2068
2068
|
ref_id: str = Field(alias="refId")
|
|
2069
2069
|
display_name: str = Field(alias="displayName")
|
|
@@ -3043,31 +3043,31 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
3044
|
PriceTierFragment.model_rebuild()
|
|
3045
3045
|
PriceFragment.model_rebuild()
|
|
3046
|
-
PackageEntitlementFragment.model_rebuild()
|
|
3047
3046
|
OveragePriceFragment.model_rebuild()
|
|
3047
|
+
PackageEntitlementFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
3049
|
FeatureFragment.model_rebuild()
|
|
3050
3050
|
EntitlementFragment.model_rebuild()
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
PlanFragment.model_rebuild()
|
|
3051
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3052
|
+
CustomerResourceFragment.model_rebuild()
|
|
3054
3053
|
TotalPriceFragment.model_rebuild()
|
|
3055
3054
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3056
|
-
|
|
3057
|
-
|
|
3058
|
-
|
|
3055
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3056
|
+
ProductFragment.model_rebuild()
|
|
3057
|
+
PlanFragment.model_rebuild()
|
|
3059
3058
|
SlimCustomerFragment.model_rebuild()
|
|
3060
|
-
|
|
3059
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3060
|
+
SubscriptionInvoiceFragment.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
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3066
3067
|
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
3068
3068
|
CouponFragment.model_rebuild()
|
|
3069
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
3069
3070
|
CustomerFragment.model_rebuild()
|
|
3070
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3079,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3083
3082
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3085
3083
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3084
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3086
3085
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3089
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3093,8 +3093,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3093
3093
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3094
3094
|
LayoutConfigurationFragment.model_rebuild()
|
|
3095
3095
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3096
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
3097
3096
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3097
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
3098
3098
|
MockPaywallAddonFragment.model_rebuild()
|
|
3099
3099
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3100
3100
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -870,7 +870,7 @@ class CreditLedgerInput(BaseModel):
|
|
|
870
870
|
|
|
871
871
|
class CreditRateInput(BaseModel):
|
|
872
872
|
amount: float
|
|
873
|
-
currency_id:
|
|
873
|
+
currency_id: str = Field(alias="currencyId")
|
|
874
874
|
custom_currency_id: Optional[Any] = Field(alias="customCurrencyId", default=None)
|
|
875
875
|
|
|
876
876
|
|
|
@@ -5201,6 +5201,11 @@ class VendorIdentifierFilterComparison(BaseModel):
|
|
|
5201
5201
|
not_like: Optional[VendorIdentifier] = Field(alias="notLike", default=None)
|
|
5202
5202
|
|
|
5203
5203
|
|
|
5204
|
+
class VoidCreditGrantInput(BaseModel):
|
|
5205
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
5206
|
+
id: str
|
|
5207
|
+
|
|
5208
|
+
|
|
5204
5209
|
class WeeklyResetPeriodConfigInput(BaseModel):
|
|
5205
5210
|
according_to: WeeklyAccordingTo = Field(alias="accordingTo")
|
|
5206
5211
|
|
|
@@ -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=B0ytVDNWFTINi6c7p_71tU32FZRhKSsVAGt0lwJSz88,78463
|
|
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
|
|
@@ -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=JUtjNl58vJpWeq_Ucdm_TVQ0AJ_zvqywKvWkj8D9rMI,39797
|
|
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=43UH29w0N03Uc5-dst2ZSq3oge9p6fmNup2QUfQMfWw,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
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=jCkOdRQDTYAaw5JXX3tBaVWT0Rzq-kiYVKh382BuxQs,214951
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -171,7 +171,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
171
171
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
|
-
stigg_api_client_v2-3.
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
174
|
+
stigg_api_client_v2-3.107.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
175
|
+
stigg_api_client_v2-3.107.0.dist-info/METADATA,sha256=JhoHiCPOk8fM02DLtQPIwQTzh-96h9ncYsLUroz-XxQ,2258
|
|
176
|
+
stigg_api_client_v2-3.107.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
177
|
+
stigg_api_client_v2-3.107.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|