stigg-api-client-v2 2.481.0__py3-none-any.whl → 2.486.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 +4 -0
- stigg/generated/enums.py +4 -0
- stigg/generated/fragments.py +325 -325
- stigg/generated/input_types.py +14 -0
- {stigg_api_client_v2-2.481.0.dist-info → stigg_api_client_v2-2.486.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.481.0.dist-info → stigg_api_client_v2-2.486.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.481.0.dist-info → stigg_api_client_v2-2.486.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.481.0.dist-info → stigg_api_client_v2-2.486.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -817,6 +817,7 @@ from .input_types import (
|
|
|
817
817
|
RemoveCouponFromCustomerInput,
|
|
818
818
|
RemoveExperimentFromCustomerInput,
|
|
819
819
|
RemoveExperimentFromCustomerSubscriptionInput,
|
|
820
|
+
RemoveFeatureGroupFromPackageInput,
|
|
820
821
|
ReportUsageBaseInput,
|
|
821
822
|
ReportUsageBulkInput,
|
|
822
823
|
ReportUsageInput,
|
|
@@ -892,6 +893,7 @@ from .input_types import (
|
|
|
892
893
|
UnArchiveFeatureInput,
|
|
893
894
|
UnArchivePlanInput,
|
|
894
895
|
UnitTransformationInput,
|
|
896
|
+
UnlinkFeatureGroupInput,
|
|
895
897
|
UpdateAccountInput,
|
|
896
898
|
UpdateCouponInput,
|
|
897
899
|
UpdateCustomerInput,
|
|
@@ -1576,6 +1578,7 @@ __all__ = [
|
|
|
1576
1578
|
"RemoveCouponFromCustomerInput",
|
|
1577
1579
|
"RemoveExperimentFromCustomerInput",
|
|
1578
1580
|
"RemoveExperimentFromCustomerSubscriptionInput",
|
|
1581
|
+
"RemoveFeatureGroupFromPackageInput",
|
|
1579
1582
|
"ReportEntitlementCheckRequested",
|
|
1580
1583
|
"ReportEvent",
|
|
1581
1584
|
"ReportUsage",
|
|
@@ -1839,6 +1842,7 @@ __all__ = [
|
|
|
1839
1842
|
"UnarchiveEnvironmentInput",
|
|
1840
1843
|
"UnitTransformationInput",
|
|
1841
1844
|
"UnitTransformationRound",
|
|
1845
|
+
"UnlinkFeatureGroupInput",
|
|
1842
1846
|
"UpdateAccountInput",
|
|
1843
1847
|
"UpdateCouponInput",
|
|
1844
1848
|
"UpdateCustomer",
|
stigg/generated/enums.py
CHANGED
|
@@ -418,6 +418,7 @@ class ErrorCode(str, Enum):
|
|
|
418
418
|
BillingIntegrationAlreadyExistsError = "BillingIntegrationAlreadyExistsError"
|
|
419
419
|
BillingIntegrationMissing = "BillingIntegrationMissing"
|
|
420
420
|
BillingPeriodMissingError = "BillingPeriodMissingError"
|
|
421
|
+
CanNotUpdateEntitlementsFeatureGroup = "CanNotUpdateEntitlementsFeatureGroup"
|
|
421
422
|
CannotAddOverrideEntitlementToPlan = "CannotAddOverrideEntitlementToPlan"
|
|
422
423
|
CannotArchiveFeatureError = "CannotArchiveFeatureError"
|
|
423
424
|
CannotArchiveFeatureGroupError = "CannotArchiveFeatureGroupError"
|
|
@@ -469,7 +470,9 @@ class ErrorCode(str, Enum):
|
|
|
469
470
|
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
470
471
|
FailedToResolveBillingIntegration = "FailedToResolveBillingIntegration"
|
|
471
472
|
FeatureConfigurationExceededLimitError = "FeatureConfigurationExceededLimitError"
|
|
473
|
+
FeatureGroupMissingFeaturesError = "FeatureGroupMissingFeaturesError"
|
|
472
474
|
FeatureGroupNotFoundError = "FeatureGroupNotFoundError"
|
|
475
|
+
FeatureNotBelongToFeatureGroupError = "FeatureNotBelongToFeatureGroupError"
|
|
473
476
|
FeatureNotFound = "FeatureNotFound"
|
|
474
477
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
475
478
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
|
@@ -563,6 +566,7 @@ class ErrorCode(str, Enum):
|
|
|
563
566
|
Unauthenticated = "Unauthenticated"
|
|
564
567
|
UnexpectedError = "UnexpectedError"
|
|
565
568
|
UnsupportedFeatureType = "UnsupportedFeatureType"
|
|
569
|
+
UnsupportedParameter = "UnsupportedParameter"
|
|
566
570
|
UnsupportedSubscriptionScheduleType = "UnsupportedSubscriptionScheduleType"
|
|
567
571
|
UnsupportedVendorIdentifier = "UnsupportedVendorIdentifier"
|
|
568
572
|
UsageMeasurementDiffOutOfRangeError = "UsageMeasurementDiffOutOfRangeError"
|
stigg/generated/fragments.py
CHANGED
|
@@ -80,29 +80,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
80
|
currency: Currency
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class PriceFragment(BaseModel):
|
|
84
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
87
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
89
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
87
90
|
billing_country_code: Optional[str] = Field(
|
|
88
91
|
alias="billingCountryCode", default=None
|
|
89
92
|
)
|
|
90
|
-
price: Optional["
|
|
93
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
91
94
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
92
|
-
tiers: Optional[List["
|
|
93
|
-
feature: Optional["
|
|
95
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
96
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
97
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
94
98
|
|
|
95
99
|
|
|
96
|
-
class
|
|
100
|
+
class PriceFragmentPrice(BaseModel):
|
|
97
101
|
amount: float
|
|
98
102
|
currency: Currency
|
|
99
103
|
|
|
100
104
|
|
|
101
|
-
class
|
|
105
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
102
106
|
pass
|
|
103
107
|
|
|
104
108
|
|
|
105
|
-
class
|
|
109
|
+
class PriceFragmentFeature(BaseModel):
|
|
106
110
|
ref_id: str = Field(alias="refId")
|
|
107
111
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
108
112
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -145,33 +149,29 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
145
149
|
)
|
|
146
150
|
|
|
147
151
|
|
|
148
|
-
class
|
|
152
|
+
class OveragePriceFragment(BaseModel):
|
|
149
153
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
154
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
152
155
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
155
156
|
billing_country_code: Optional[str] = Field(
|
|
156
157
|
alias="billingCountryCode", default=None
|
|
157
158
|
)
|
|
158
|
-
price: Optional["
|
|
159
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
160
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["
|
|
161
|
-
feature: Optional["
|
|
162
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
161
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
162
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -304,6 +304,200 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
304
304
|
pass
|
|
305
305
|
|
|
306
306
|
|
|
307
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
308
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
class SlimCustomerFragment(BaseModel):
|
|
312
|
+
id: Any
|
|
313
|
+
name: Optional[str] = Field(default=None)
|
|
314
|
+
email: Optional[str] = Field(default=None)
|
|
315
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
316
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
317
|
+
ref_id: str = Field(alias="refId")
|
|
318
|
+
customer_id: str = Field(alias="customerId")
|
|
319
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
320
|
+
additional_meta_data: Optional[Any] = Field(
|
|
321
|
+
alias="additionalMetaData", default=None
|
|
322
|
+
)
|
|
323
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
324
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
325
|
+
)
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
329
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
330
|
+
alias="subscriptionScheduleType"
|
|
331
|
+
)
|
|
332
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
333
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
334
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
335
|
+
alias="targetPackage", default=None
|
|
336
|
+
)
|
|
337
|
+
schedule_variables: Optional[
|
|
338
|
+
Annotated[
|
|
339
|
+
Union[
|
|
340
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
341
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
342
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
343
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
344
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
345
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
346
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
347
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
348
|
+
],
|
|
349
|
+
Field(discriminator="typename__"),
|
|
350
|
+
]
|
|
351
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
352
|
+
|
|
353
|
+
|
|
354
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
355
|
+
id: Any
|
|
356
|
+
ref_id: str = Field(alias="refId")
|
|
357
|
+
display_name: str = Field(alias="displayName")
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
361
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
362
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
363
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
367
|
+
BaseModel
|
|
368
|
+
):
|
|
369
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
370
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
371
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
372
|
+
|
|
373
|
+
|
|
374
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
375
|
+
BaseModel
|
|
376
|
+
):
|
|
377
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
378
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
379
|
+
|
|
380
|
+
|
|
381
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
382
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
386
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
387
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
388
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
389
|
+
billable_features: Optional[
|
|
390
|
+
List[
|
|
391
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
392
|
+
]
|
|
393
|
+
] = Field(alias="billableFeatures", default=None)
|
|
394
|
+
addons: Optional[
|
|
395
|
+
List[
|
|
396
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
397
|
+
]
|
|
398
|
+
] = Field(default=None)
|
|
399
|
+
price_overrides: Optional[
|
|
400
|
+
List[
|
|
401
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
402
|
+
]
|
|
403
|
+
] = Field(alias="priceOverrides", default=None)
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
407
|
+
BaseModel
|
|
408
|
+
):
|
|
409
|
+
feature_id: str = Field(alias="featureId")
|
|
410
|
+
quantity: float
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
414
|
+
BaseModel
|
|
415
|
+
):
|
|
416
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
417
|
+
quantity: float
|
|
418
|
+
|
|
419
|
+
|
|
420
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
421
|
+
BaseModel
|
|
422
|
+
):
|
|
423
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
424
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
425
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
429
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
430
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
431
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
432
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
433
|
+
billable_features: Optional[
|
|
434
|
+
List[
|
|
435
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
436
|
+
]
|
|
437
|
+
] = Field(alias="billableFeatures", default=None)
|
|
438
|
+
addons: Optional[
|
|
439
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
440
|
+
] = Field(default=None)
|
|
441
|
+
price_overrides: Optional[
|
|
442
|
+
List[
|
|
443
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
444
|
+
]
|
|
445
|
+
] = Field(alias="priceOverrides", default=None)
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
449
|
+
BaseModel
|
|
450
|
+
):
|
|
451
|
+
feature_id: str = Field(alias="featureId")
|
|
452
|
+
quantity: float
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
456
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
457
|
+
quantity: float
|
|
458
|
+
|
|
459
|
+
|
|
460
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
461
|
+
BaseModel
|
|
462
|
+
):
|
|
463
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
464
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
465
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
469
|
+
BaseModel
|
|
470
|
+
):
|
|
471
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
472
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
473
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
474
|
+
|
|
475
|
+
|
|
476
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
477
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
478
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
479
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
480
|
+
|
|
481
|
+
|
|
482
|
+
class TotalPriceFragment(BaseModel):
|
|
483
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
484
|
+
total: "TotalPriceFragmentTotal"
|
|
485
|
+
|
|
486
|
+
|
|
487
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
488
|
+
amount: float
|
|
489
|
+
currency: Currency
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
493
|
+
amount: float
|
|
494
|
+
currency: Currency
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
class CustomerResourceFragment(BaseModel):
|
|
498
|
+
resource_id: str = Field(alias="resourceId")
|
|
499
|
+
|
|
500
|
+
|
|
307
501
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
308
502
|
billing_id: str = Field(alias="billingId")
|
|
309
503
|
status: SubscriptionInvoiceStatus
|
|
@@ -331,10 +525,6 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
331
525
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
332
526
|
|
|
333
527
|
|
|
334
|
-
class CustomerResourceFragment(BaseModel):
|
|
335
|
-
resource_id: str = Field(alias="resourceId")
|
|
336
|
-
|
|
337
|
-
|
|
338
528
|
class ProductFragment(BaseModel):
|
|
339
529
|
ref_id: str = Field(alias="refId")
|
|
340
530
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -414,235 +604,45 @@ class PlanFragmentProduct(ProductFragment):
|
|
|
414
604
|
|
|
415
605
|
|
|
416
606
|
class PlanFragmentBasePlan(BaseModel):
|
|
417
|
-
ref_id: str = Field(alias="refId")
|
|
418
|
-
display_name: str = Field(alias="displayName")
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
422
|
-
pass
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
426
|
-
pass
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
430
|
-
pass
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
434
|
-
pass
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
class PlanFragmentPrices(PriceFragment):
|
|
438
|
-
pass
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
442
|
-
pass
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
446
|
-
duration: float
|
|
447
|
-
units: TrialPeriodUnits
|
|
448
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
449
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
450
|
-
alias="trialEndBehavior", default=None
|
|
451
|
-
)
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
455
|
-
limit: float
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
459
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
class TotalPriceFragment(BaseModel):
|
|
463
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
464
|
-
total: "TotalPriceFragmentTotal"
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
468
|
-
amount: float
|
|
469
|
-
currency: Currency
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
473
|
-
amount: float
|
|
474
|
-
currency: Currency
|
|
475
|
-
|
|
476
|
-
|
|
477
|
-
class SlimCustomerFragment(BaseModel):
|
|
478
|
-
id: Any
|
|
479
|
-
name: Optional[str] = Field(default=None)
|
|
480
|
-
email: Optional[str] = Field(default=None)
|
|
481
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
482
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
483
|
-
ref_id: str = Field(alias="refId")
|
|
484
|
-
customer_id: str = Field(alias="customerId")
|
|
485
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
486
|
-
additional_meta_data: Optional[Any] = Field(
|
|
487
|
-
alias="additionalMetaData", default=None
|
|
488
|
-
)
|
|
489
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
490
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
491
|
-
)
|
|
492
|
-
|
|
493
|
-
|
|
494
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
495
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
496
|
-
alias="subscriptionScheduleType"
|
|
497
|
-
)
|
|
498
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
499
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
500
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
501
|
-
alias="targetPackage", default=None
|
|
502
|
-
)
|
|
503
|
-
schedule_variables: Optional[
|
|
504
|
-
Annotated[
|
|
505
|
-
Union[
|
|
506
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
507
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
508
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
509
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
510
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
511
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
512
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
513
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
514
|
-
],
|
|
515
|
-
Field(discriminator="typename__"),
|
|
516
|
-
]
|
|
517
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
521
|
-
id: Any
|
|
522
|
-
ref_id: str = Field(alias="refId")
|
|
523
|
-
display_name: str = Field(alias="displayName")
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
527
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
528
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
529
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
533
|
-
BaseModel
|
|
534
|
-
):
|
|
535
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
536
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
537
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
541
|
-
BaseModel
|
|
542
|
-
):
|
|
543
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
544
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
548
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
549
|
-
|
|
550
|
-
|
|
551
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
552
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
553
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
554
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
555
|
-
billable_features: Optional[
|
|
556
|
-
List[
|
|
557
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
558
|
-
]
|
|
559
|
-
] = Field(alias="billableFeatures", default=None)
|
|
560
|
-
addons: Optional[
|
|
561
|
-
List[
|
|
562
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
563
|
-
]
|
|
564
|
-
] = Field(default=None)
|
|
565
|
-
price_overrides: Optional[
|
|
566
|
-
List[
|
|
567
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
568
|
-
]
|
|
569
|
-
] = Field(alias="priceOverrides", default=None)
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
573
|
-
BaseModel
|
|
574
|
-
):
|
|
575
|
-
feature_id: str = Field(alias="featureId")
|
|
576
|
-
quantity: float
|
|
607
|
+
ref_id: str = Field(alias="refId")
|
|
608
|
+
display_name: str = Field(alias="displayName")
|
|
577
609
|
|
|
578
610
|
|
|
579
|
-
class
|
|
580
|
-
|
|
581
|
-
):
|
|
582
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
583
|
-
quantity: float
|
|
611
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
612
|
+
pass
|
|
584
613
|
|
|
585
614
|
|
|
586
|
-
class
|
|
587
|
-
|
|
588
|
-
):
|
|
589
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
590
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
591
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
615
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
616
|
+
pass
|
|
592
617
|
|
|
593
618
|
|
|
594
|
-
class
|
|
595
|
-
|
|
596
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
597
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
598
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
599
|
-
billable_features: Optional[
|
|
600
|
-
List[
|
|
601
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
602
|
-
]
|
|
603
|
-
] = Field(alias="billableFeatures", default=None)
|
|
604
|
-
addons: Optional[
|
|
605
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
606
|
-
] = Field(default=None)
|
|
607
|
-
price_overrides: Optional[
|
|
608
|
-
List[
|
|
609
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
610
|
-
]
|
|
611
|
-
] = Field(alias="priceOverrides", default=None)
|
|
619
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
620
|
+
pass
|
|
612
621
|
|
|
613
622
|
|
|
614
|
-
class
|
|
615
|
-
|
|
616
|
-
):
|
|
617
|
-
feature_id: str = Field(alias="featureId")
|
|
618
|
-
quantity: float
|
|
623
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
624
|
+
pass
|
|
619
625
|
|
|
620
626
|
|
|
621
|
-
class
|
|
622
|
-
|
|
623
|
-
quantity: float
|
|
627
|
+
class PlanFragmentPrices(PriceFragment):
|
|
628
|
+
pass
|
|
624
629
|
|
|
625
630
|
|
|
626
|
-
class
|
|
627
|
-
|
|
628
|
-
):
|
|
629
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
630
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
631
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
631
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
632
|
+
pass
|
|
632
633
|
|
|
633
634
|
|
|
634
|
-
class
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
635
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
636
|
+
duration: float
|
|
637
|
+
units: TrialPeriodUnits
|
|
638
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
639
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
640
|
+
alias="trialEndBehavior", default=None
|
|
641
|
+
)
|
|
640
642
|
|
|
641
643
|
|
|
642
|
-
class
|
|
643
|
-
|
|
644
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
645
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
644
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
645
|
+
limit: float
|
|
646
646
|
|
|
647
647
|
|
|
648
648
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -993,35 +993,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
993
993
|
)
|
|
994
994
|
|
|
995
995
|
|
|
996
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
997
|
-
status: PromotionalEntitlementStatus
|
|
998
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
999
|
-
feature_id: Any = Field(alias="featureId")
|
|
1000
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1001
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1002
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1003
|
-
alias="resetPeriod", default=None
|
|
1004
|
-
)
|
|
1005
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1006
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1007
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1011
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1012
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1013
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1014
|
-
feature_units_plural: Optional[str] = Field(
|
|
1015
|
-
alias="featureUnitsPlural", default=None
|
|
1016
|
-
)
|
|
1017
|
-
display_name: str = Field(alias="displayName")
|
|
1018
|
-
description: Optional[str] = Field(default=None)
|
|
1019
|
-
ref_id: str = Field(alias="refId")
|
|
1020
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1021
|
-
alias="additionalMetaData", default=None
|
|
1022
|
-
)
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
996
|
class CouponFragment(BaseModel):
|
|
1026
997
|
id: Any
|
|
1027
998
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1056,6 +1027,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1056
1027
|
status: SyncStatus
|
|
1057
1028
|
|
|
1058
1029
|
|
|
1030
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1031
|
+
status: PromotionalEntitlementStatus
|
|
1032
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1033
|
+
feature_id: Any = Field(alias="featureId")
|
|
1034
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1035
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1036
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1037
|
+
alias="resetPeriod", default=None
|
|
1038
|
+
)
|
|
1039
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1040
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1041
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1045
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1046
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1047
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1048
|
+
feature_units_plural: Optional[str] = Field(
|
|
1049
|
+
alias="featureUnitsPlural", default=None
|
|
1050
|
+
)
|
|
1051
|
+
display_name: str = Field(alias="displayName")
|
|
1052
|
+
description: Optional[str] = Field(default=None)
|
|
1053
|
+
ref_id: str = Field(alias="refId")
|
|
1054
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1055
|
+
alias="additionalMetaData", default=None
|
|
1056
|
+
)
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
1059
|
class CustomerFragment(SlimCustomerFragment):
|
|
1060
1060
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1061
1061
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1262,6 +1262,23 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1262
1262
|
pass
|
|
1263
1263
|
|
|
1264
1264
|
|
|
1265
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1266
|
+
display_name: str = Field(alias="displayName")
|
|
1267
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1268
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1269
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1270
|
+
period: PromotionalEntitlementPeriod
|
|
1271
|
+
start_date: Any = Field(alias="startDate")
|
|
1272
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1276
|
+
addon_id: str = Field(alias="addonId")
|
|
1277
|
+
description: Optional[str] = Field(default=None)
|
|
1278
|
+
display_name: str = Field(alias="displayName")
|
|
1279
|
+
quantity: int
|
|
1280
|
+
|
|
1281
|
+
|
|
1265
1282
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1266
1283
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1267
1284
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1289,13 +1306,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1289
1306
|
)
|
|
1290
1307
|
|
|
1291
1308
|
|
|
1292
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1293
|
-
addon_id: str = Field(alias="addonId")
|
|
1294
|
-
description: Optional[str] = Field(default=None)
|
|
1295
|
-
display_name: str = Field(alias="displayName")
|
|
1296
|
-
quantity: int
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
1309
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1300
1310
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1301
1311
|
alias="subscriptionScheduleType"
|
|
@@ -1561,16 +1571,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1561
1571
|
pass
|
|
1562
1572
|
|
|
1563
1573
|
|
|
1564
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1565
|
-
display_name: str = Field(alias="displayName")
|
|
1566
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1567
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1568
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1569
|
-
period: PromotionalEntitlementPeriod
|
|
1570
|
-
start_date: Any = Field(alias="startDate")
|
|
1571
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
1574
|
class CustomerPortalFragment(BaseModel):
|
|
1575
1575
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1576
1576
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1798,6 +1798,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1798
1798
|
description: Optional[str] = Field(default=None)
|
|
1799
1799
|
|
|
1800
1800
|
|
|
1801
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1802
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1803
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1804
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1805
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1806
|
+
alias="resetPeriod", default=None
|
|
1807
|
+
)
|
|
1808
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1809
|
+
alias="hiddenFromWidgets", default=None
|
|
1810
|
+
)
|
|
1811
|
+
display_name_override: Optional[str] = Field(
|
|
1812
|
+
alias="displayNameOverride", default=None
|
|
1813
|
+
)
|
|
1814
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1815
|
+
default=None
|
|
1816
|
+
)
|
|
1817
|
+
|
|
1818
|
+
|
|
1819
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1820
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1821
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1822
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1823
|
+
feature_units_plural: Optional[str] = Field(
|
|
1824
|
+
alias="featureUnitsPlural", default=None
|
|
1825
|
+
)
|
|
1826
|
+
display_name: str = Field(alias="displayName")
|
|
1827
|
+
description: Optional[str] = Field(default=None)
|
|
1828
|
+
ref_id: str = Field(alias="refId")
|
|
1829
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1830
|
+
alias="additionalMetaData", default=None
|
|
1831
|
+
)
|
|
1832
|
+
|
|
1833
|
+
|
|
1801
1834
|
class MockPaywallPriceFragment(BaseModel):
|
|
1802
1835
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1803
1836
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1832,39 +1865,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1832
1865
|
display_name: str = Field(alias="displayName")
|
|
1833
1866
|
|
|
1834
1867
|
|
|
1835
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1836
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1837
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1838
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1839
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1840
|
-
alias="resetPeriod", default=None
|
|
1841
|
-
)
|
|
1842
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1843
|
-
alias="hiddenFromWidgets", default=None
|
|
1844
|
-
)
|
|
1845
|
-
display_name_override: Optional[str] = Field(
|
|
1846
|
-
alias="displayNameOverride", default=None
|
|
1847
|
-
)
|
|
1848
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1849
|
-
default=None
|
|
1850
|
-
)
|
|
1851
|
-
|
|
1852
|
-
|
|
1853
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1854
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1855
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1856
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1857
|
-
feature_units_plural: Optional[str] = Field(
|
|
1858
|
-
alias="featureUnitsPlural", default=None
|
|
1859
|
-
)
|
|
1860
|
-
display_name: str = Field(alias="displayName")
|
|
1861
|
-
description: Optional[str] = Field(default=None)
|
|
1862
|
-
ref_id: str = Field(alias="refId")
|
|
1863
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1864
|
-
alias="additionalMetaData", default=None
|
|
1865
|
-
)
|
|
1866
|
-
|
|
1867
|
-
|
|
1868
1868
|
class MockPaywallAddonFragment(BaseModel):
|
|
1869
1869
|
ref_id: str = Field(alias="refId")
|
|
1870
1870
|
display_name: str = Field(alias="displayName")
|
|
@@ -2839,39 +2839,39 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2839
2839
|
|
|
2840
2840
|
AddonDependencyFragment.model_rebuild()
|
|
2841
2841
|
PriceTierFragment.model_rebuild()
|
|
2842
|
-
OveragePriceFragment.model_rebuild()
|
|
2843
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2844
2842
|
PriceFragment.model_rebuild()
|
|
2843
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2844
|
+
OveragePriceFragment.model_rebuild()
|
|
2845
2845
|
AddonFragment.model_rebuild()
|
|
2846
2846
|
FeatureFragment.model_rebuild()
|
|
2847
2847
|
EntitlementFragment.model_rebuild()
|
|
2848
|
-
|
|
2848
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2849
|
+
SlimCustomerFragment.model_rebuild()
|
|
2850
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2851
|
+
TotalPriceFragment.model_rebuild()
|
|
2849
2852
|
CustomerResourceFragment.model_rebuild()
|
|
2853
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2850
2854
|
ProductFragment.model_rebuild()
|
|
2851
2855
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2852
2856
|
PlanFragment.model_rebuild()
|
|
2853
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2854
|
-
TotalPriceFragment.model_rebuild()
|
|
2855
|
-
SlimCustomerFragment.model_rebuild()
|
|
2856
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2857
2857
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2858
2858
|
SubscriptionFragment.model_rebuild()
|
|
2859
2859
|
ApplySubscriptionFragment.model_rebuild()
|
|
2860
2860
|
FontVariantFragment.model_rebuild()
|
|
2861
2861
|
TypographyConfigurationFragment.model_rebuild()
|
|
2862
2862
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2863
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2864
2863
|
CouponFragment.model_rebuild()
|
|
2864
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2865
2865
|
CustomerFragment.model_rebuild()
|
|
2866
2866
|
CheckoutStateFragment.model_rebuild()
|
|
2867
2867
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2868
2868
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2869
2869
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2870
|
-
|
|
2870
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2872
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2872
2873
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2873
2874
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2874
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2875
2875
|
CustomerPortalFragment.model_rebuild()
|
|
2876
2876
|
CustomerStatisticsFragment.model_rebuild()
|
|
2877
2877
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2881,8 +2881,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2881
2881
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2882
2882
|
LayoutConfigurationFragment.model_rebuild()
|
|
2883
2883
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2884
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2885
2884
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2885
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2886
2886
|
MockPaywallAddonFragment.model_rebuild()
|
|
2887
2887
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2888
2888
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2372,6 +2372,7 @@ class OverageEntitlementCreateInput(BaseModel):
|
|
|
2372
2372
|
alias="displayNameOverride", default=None
|
|
2373
2373
|
)
|
|
2374
2374
|
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2375
|
+
feature_group_id: Optional[Any] = Field(alias="featureGroupId", default=None)
|
|
2375
2376
|
feature_id: Any = Field(alias="featureId")
|
|
2376
2377
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2377
2378
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -2532,6 +2533,7 @@ class PackageEntitlementInput(BaseModel):
|
|
|
2532
2533
|
)
|
|
2533
2534
|
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
2534
2535
|
environment_id: Any = Field(alias="environmentId")
|
|
2536
|
+
feature_group_id: Optional[Any] = Field(alias="featureGroupId", default=None)
|
|
2535
2537
|
feature_id: Any = Field(alias="featureId")
|
|
2536
2538
|
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
2537
2539
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -3494,6 +3496,12 @@ class RemoveExperimentFromCustomerSubscriptionInput(BaseModel):
|
|
|
3494
3496
|
relation_id: Any = Field(alias="relationId")
|
|
3495
3497
|
|
|
3496
3498
|
|
|
3499
|
+
class RemoveFeatureGroupFromPackageInput(BaseModel):
|
|
3500
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
3501
|
+
feature_group_id: Any = Field(alias="featureGroupId")
|
|
3502
|
+
package_id: Any = Field(alias="packageId")
|
|
3503
|
+
|
|
3504
|
+
|
|
3497
3505
|
class ReportUsageBaseInput(BaseModel):
|
|
3498
3506
|
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
3499
3507
|
customer_id: str = Field(alias="customerId")
|
|
@@ -4451,6 +4459,12 @@ class UnitTransformationInput(BaseModel):
|
|
|
4451
4459
|
round: Optional[UnitTransformationRound] = UnitTransformationRound.UP
|
|
4452
4460
|
|
|
4453
4461
|
|
|
4462
|
+
class UnlinkFeatureGroupInput(BaseModel):
|
|
4463
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4464
|
+
feature_group_id: Any = Field(alias="featureGroupId")
|
|
4465
|
+
package_id: Any = Field(alias="packageId")
|
|
4466
|
+
|
|
4467
|
+
|
|
4454
4468
|
class UpdateAccountInput(BaseModel):
|
|
4455
4469
|
access_method: Optional[AccountAccessMethod] = Field(
|
|
4456
4470
|
alias="accessMethod", default=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=8fT6fyA-MhIGPz6SLGukCkVZlCOedfvWLqu1FiEKewg,71665
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=FIRvvpLkBu44ce1V4CJtQ1XFIsWX_tqk2Qh46MPpWIM,172
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=UPo_2u9GdUtupXMrqY5cBtlP-lgUyKOU5GF1_jPr7g4,36682
|
|
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=3157ATsQ_1kiEPHV-vmNNRWOCflwZbjGiDFkrdUYWQg,103692
|
|
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
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=fJq5IRSfMgfbqxDVWZ01YpTJODfcq9x2vbNErY00ArM,201286
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.486.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.486.0.dist-info/METADATA,sha256=5Otz2BnvJe_-4_iTuZMHdQJhT0aIFi0vvNqM0G4N0v8,2258
|
|
166
|
+
stigg_api_client_v2-2.486.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.486.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|