stigg-api-client-v2 2.319.0__py3-none-any.whl → 2.321.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +357 -357
- {stigg_api_client_v2-2.319.0.dist-info → stigg_api_client_v2-2.321.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.319.0.dist-info → stigg_api_client_v2-2.321.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.319.0.dist-info → stigg_api_client_v2-2.321.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.319.0.dist-info → stigg_api_client_v2-2.321.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -456,6 +456,7 @@ class ErrorCode(str, Enum):
|
|
|
456
456
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
|
457
457
|
"FreePlanCantHaveCompatiblePackageGroupError"
|
|
458
458
|
)
|
|
459
|
+
GraphQLAliasesLimitExceeded = "GraphQLAliasesLimitExceeded"
|
|
459
460
|
HubspotIntegrationError = "HubspotIntegrationError"
|
|
460
461
|
IdentityForbidden = "IdentityForbidden"
|
|
461
462
|
ImportAlreadyInProgress = "ImportAlreadyInProgress"
|
stigg/generated/fragments.py
CHANGED
|
@@ -112,33 +112,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
112
112
|
currency: Currency
|
|
113
113
|
|
|
114
114
|
|
|
115
|
-
class
|
|
115
|
+
class OveragePriceFragment(BaseModel):
|
|
116
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
118
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
119
118
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
120
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
121
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
122
119
|
billing_country_code: Optional[str] = Field(
|
|
123
120
|
alias="billingCountryCode", default=None
|
|
124
121
|
)
|
|
125
|
-
price: Optional["
|
|
122
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
126
123
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
-
tiers: Optional[List["
|
|
128
|
-
feature: Optional["
|
|
129
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
124
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
125
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
130
126
|
|
|
131
127
|
|
|
132
|
-
class
|
|
128
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
133
129
|
amount: float
|
|
134
130
|
currency: Currency
|
|
135
131
|
|
|
136
132
|
|
|
137
|
-
class
|
|
133
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
138
134
|
pass
|
|
139
135
|
|
|
140
136
|
|
|
141
|
-
class
|
|
137
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
142
138
|
ref_id: str = Field(alias="refId")
|
|
143
139
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
140
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -148,29 +144,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
148
144
|
description: Optional[str] = Field(default=None)
|
|
149
145
|
|
|
150
146
|
|
|
151
|
-
class
|
|
147
|
+
class PriceFragment(BaseModel):
|
|
152
148
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
149
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
154
151
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
155
154
|
billing_country_code: Optional[str] = Field(
|
|
156
155
|
alias="billingCountryCode", default=None
|
|
157
156
|
)
|
|
158
|
-
price: Optional["
|
|
157
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
159
158
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["
|
|
161
|
-
feature: Optional["
|
|
159
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
160
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
161
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
162
162
|
|
|
163
163
|
|
|
164
|
-
class
|
|
164
|
+
class PriceFragmentPrice(BaseModel):
|
|
165
165
|
amount: float
|
|
166
166
|
currency: Currency
|
|
167
167
|
|
|
168
168
|
|
|
169
|
-
class
|
|
169
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
170
170
|
pass
|
|
171
171
|
|
|
172
172
|
|
|
173
|
-
class
|
|
173
|
+
class PriceFragmentFeature(BaseModel):
|
|
174
174
|
ref_id: str = Field(alias="refId")
|
|
175
175
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
176
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -298,155 +298,158 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
298
298
|
pass
|
|
299
299
|
|
|
300
300
|
|
|
301
|
-
class
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
305
|
-
default=None
|
|
306
|
-
)
|
|
307
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
311
|
-
pass
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
315
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
316
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
class ProductFragment(BaseModel):
|
|
320
|
-
ref_id: str = Field(alias="refId")
|
|
321
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
322
|
-
description: Optional[str] = Field(default=None)
|
|
323
|
-
additional_meta_data: Optional[Any] = Field(
|
|
324
|
-
alias="additionalMetaData", default=None
|
|
301
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
302
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
303
|
+
alias="subscriptionScheduleType"
|
|
325
304
|
)
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
331
|
-
alias="downgradePlan", default=None
|
|
305
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
306
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
307
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
308
|
+
alias="targetPackage", default=None
|
|
332
309
|
)
|
|
310
|
+
schedule_variables: Optional[
|
|
311
|
+
Annotated[
|
|
312
|
+
Union[
|
|
313
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
314
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
315
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
316
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
317
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
318
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
319
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
320
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
321
|
+
],
|
|
322
|
+
Field(discriminator="typename__"),
|
|
323
|
+
]
|
|
324
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
333
325
|
|
|
334
326
|
|
|
335
|
-
class
|
|
327
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
328
|
+
id: str
|
|
336
329
|
ref_id: str = Field(alias="refId")
|
|
337
330
|
display_name: str = Field(alias="displayName")
|
|
338
331
|
|
|
339
332
|
|
|
340
|
-
class
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
description: Optional[str] = Field(default=None)
|
|
345
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
346
|
-
version_number: int = Field(alias="versionNumber")
|
|
347
|
-
additional_meta_data: Optional[Any] = Field(
|
|
348
|
-
alias="additionalMetaData", default=None
|
|
349
|
-
)
|
|
350
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
351
|
-
alias="hiddenFromWidgets", default=None
|
|
352
|
-
)
|
|
353
|
-
product: "PlanFragmentProduct"
|
|
354
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
355
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
356
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
357
|
-
alias="inheritedEntitlements", default=None
|
|
358
|
-
)
|
|
359
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
360
|
-
alias="compatibleAddons", default=None
|
|
361
|
-
)
|
|
362
|
-
compatible_package_groups: Optional[
|
|
363
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
364
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
365
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
366
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
367
|
-
alias="overagePrices", default=None
|
|
368
|
-
)
|
|
369
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
370
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
371
|
-
alias="defaultTrialConfig", default=None
|
|
372
|
-
)
|
|
333
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
334
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
335
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
336
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
373
337
|
|
|
374
338
|
|
|
375
|
-
class
|
|
376
|
-
|
|
339
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
340
|
+
BaseModel
|
|
341
|
+
):
|
|
342
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
343
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
344
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
377
345
|
|
|
378
346
|
|
|
379
|
-
class
|
|
380
|
-
|
|
381
|
-
|
|
347
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
348
|
+
BaseModel
|
|
349
|
+
):
|
|
350
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
351
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
382
352
|
|
|
383
353
|
|
|
384
|
-
class
|
|
385
|
-
|
|
354
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
355
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
386
356
|
|
|
387
357
|
|
|
388
|
-
class
|
|
389
|
-
|
|
358
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
359
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
360
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
361
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
362
|
+
billable_features: Optional[
|
|
363
|
+
List[
|
|
364
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
365
|
+
]
|
|
366
|
+
] = Field(alias="billableFeatures", default=None)
|
|
367
|
+
addons: Optional[
|
|
368
|
+
List[
|
|
369
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
370
|
+
]
|
|
371
|
+
] = Field(default=None)
|
|
372
|
+
price_overrides: Optional[
|
|
373
|
+
List[
|
|
374
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
375
|
+
]
|
|
376
|
+
] = Field(alias="priceOverrides", default=None)
|
|
390
377
|
|
|
391
378
|
|
|
392
|
-
class
|
|
393
|
-
|
|
379
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
380
|
+
BaseModel
|
|
381
|
+
):
|
|
382
|
+
feature_id: str = Field(alias="featureId")
|
|
383
|
+
quantity: float
|
|
394
384
|
|
|
395
385
|
|
|
396
|
-
class
|
|
397
|
-
|
|
386
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
387
|
+
BaseModel
|
|
388
|
+
):
|
|
389
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
390
|
+
quantity: float
|
|
398
391
|
|
|
399
392
|
|
|
400
|
-
class
|
|
401
|
-
|
|
393
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
394
|
+
BaseModel
|
|
395
|
+
):
|
|
396
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
397
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
398
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
402
399
|
|
|
403
400
|
|
|
404
|
-
class
|
|
405
|
-
|
|
401
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
402
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
403
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
404
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
405
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
406
|
+
billable_features: Optional[
|
|
407
|
+
List[
|
|
408
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
409
|
+
]
|
|
410
|
+
] = Field(alias="billableFeatures", default=None)
|
|
411
|
+
addons: Optional[
|
|
412
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
413
|
+
] = Field(default=None)
|
|
414
|
+
price_overrides: Optional[
|
|
415
|
+
List[
|
|
416
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
417
|
+
]
|
|
418
|
+
] = Field(alias="priceOverrides", default=None)
|
|
406
419
|
|
|
407
420
|
|
|
408
|
-
class
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
alias="trialEndBehavior", default=None
|
|
414
|
-
)
|
|
421
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
422
|
+
BaseModel
|
|
423
|
+
):
|
|
424
|
+
feature_id: str = Field(alias="featureId")
|
|
425
|
+
quantity: float
|
|
415
426
|
|
|
416
427
|
|
|
417
|
-
class
|
|
418
|
-
|
|
428
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
429
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
430
|
+
quantity: float
|
|
419
431
|
|
|
420
432
|
|
|
421
|
-
class
|
|
422
|
-
|
|
433
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
434
|
+
BaseModel
|
|
435
|
+
):
|
|
436
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
437
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
438
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
423
439
|
|
|
424
440
|
|
|
425
|
-
class
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
)
|
|
438
|
-
currency: Optional[str] = Field(default=None)
|
|
439
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
440
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
441
|
-
alias="subTotalExcludingTax", default=None
|
|
442
|
-
)
|
|
443
|
-
total: Optional[float] = Field(default=None)
|
|
444
|
-
total_excluding_tax: Optional[float] = Field(
|
|
445
|
-
alias="totalExcludingTax", default=None
|
|
446
|
-
)
|
|
447
|
-
tax: Optional[float] = Field(default=None)
|
|
448
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
449
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
441
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
442
|
+
BaseModel
|
|
443
|
+
):
|
|
444
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
445
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
446
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
450
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
451
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
452
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
450
453
|
|
|
451
454
|
|
|
452
455
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -611,6 +614,52 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
611
614
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
612
615
|
|
|
613
616
|
|
|
617
|
+
class TotalPriceFragment(BaseModel):
|
|
618
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
619
|
+
total: "TotalPriceFragmentTotal"
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
623
|
+
amount: float
|
|
624
|
+
currency: Currency
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
628
|
+
amount: float
|
|
629
|
+
currency: Currency
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
633
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
637
|
+
billing_id: str = Field(alias="billingId")
|
|
638
|
+
status: SubscriptionInvoiceStatus
|
|
639
|
+
created_at: Any = Field(alias="createdAt")
|
|
640
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
641
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
642
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
643
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
644
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
645
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
646
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
647
|
+
alias="billingReason", default=None
|
|
648
|
+
)
|
|
649
|
+
currency: Optional[str] = Field(default=None)
|
|
650
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
651
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
652
|
+
alias="subTotalExcludingTax", default=None
|
|
653
|
+
)
|
|
654
|
+
total: Optional[float] = Field(default=None)
|
|
655
|
+
total_excluding_tax: Optional[float] = Field(
|
|
656
|
+
alias="totalExcludingTax", default=None
|
|
657
|
+
)
|
|
658
|
+
tax: Optional[float] = Field(default=None)
|
|
659
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
660
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
661
|
+
|
|
662
|
+
|
|
614
663
|
class SlimCustomerFragment(BaseModel):
|
|
615
664
|
id: str
|
|
616
665
|
name: Optional[str] = Field(default=None)
|
|
@@ -628,177 +677,128 @@ class SlimCustomerFragment(BaseModel):
|
|
|
628
677
|
)
|
|
629
678
|
|
|
630
679
|
|
|
631
|
-
class
|
|
632
|
-
|
|
633
|
-
total: "TotalPriceFragmentTotal"
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
637
|
-
amount: float
|
|
638
|
-
currency: Currency
|
|
680
|
+
class CustomerResourceFragment(BaseModel):
|
|
681
|
+
resource_id: str = Field(alias="resourceId")
|
|
639
682
|
|
|
640
683
|
|
|
641
|
-
class
|
|
642
|
-
|
|
643
|
-
|
|
684
|
+
class ProductFragment(BaseModel):
|
|
685
|
+
ref_id: str = Field(alias="refId")
|
|
686
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
687
|
+
description: Optional[str] = Field(default=None)
|
|
688
|
+
additional_meta_data: Optional[Any] = Field(
|
|
689
|
+
alias="additionalMetaData", default=None
|
|
690
|
+
)
|
|
691
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
644
692
|
|
|
645
693
|
|
|
646
|
-
class
|
|
647
|
-
|
|
648
|
-
alias="
|
|
649
|
-
)
|
|
650
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
651
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
652
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
653
|
-
alias="targetPackage", default=None
|
|
694
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
695
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
696
|
+
alias="downgradePlan", default=None
|
|
654
697
|
)
|
|
655
|
-
schedule_variables: Optional[
|
|
656
|
-
Annotated[
|
|
657
|
-
Union[
|
|
658
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
659
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
660
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
661
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
662
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
663
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
664
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
665
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
666
|
-
],
|
|
667
|
-
Field(discriminator="typename__"),
|
|
668
|
-
]
|
|
669
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
670
698
|
|
|
671
699
|
|
|
672
|
-
class
|
|
673
|
-
id: str
|
|
700
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
674
701
|
ref_id: str = Field(alias="refId")
|
|
675
702
|
display_name: str = Field(alias="displayName")
|
|
676
703
|
|
|
677
704
|
|
|
678
|
-
class
|
|
679
|
-
|
|
680
|
-
|
|
681
|
-
|
|
682
|
-
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
BaseModel
|
|
686
|
-
):
|
|
687
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
688
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
689
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
705
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
706
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
707
|
+
display_name: str = Field(alias="displayName")
|
|
708
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
709
|
+
default=None
|
|
710
|
+
)
|
|
711
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
690
712
|
|
|
691
713
|
|
|
692
|
-
class
|
|
693
|
-
|
|
694
|
-
):
|
|
695
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
696
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
714
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
715
|
+
pass
|
|
697
716
|
|
|
698
717
|
|
|
699
|
-
class
|
|
700
|
-
|
|
718
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
719
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
720
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
701
721
|
|
|
702
722
|
|
|
703
|
-
class
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
|
|
723
|
+
class PlanFragment(BaseModel):
|
|
724
|
+
id: str
|
|
725
|
+
ref_id: str = Field(alias="refId")
|
|
726
|
+
display_name: str = Field(alias="displayName")
|
|
727
|
+
description: Optional[str] = Field(default=None)
|
|
728
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
729
|
+
version_number: int = Field(alias="versionNumber")
|
|
730
|
+
additional_meta_data: Optional[Any] = Field(
|
|
731
|
+
alias="additionalMetaData", default=None
|
|
732
|
+
)
|
|
733
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
734
|
+
alias="hiddenFromWidgets", default=None
|
|
735
|
+
)
|
|
736
|
+
product: "PlanFragmentProduct"
|
|
737
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
738
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
739
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
740
|
+
alias="inheritedEntitlements", default=None
|
|
741
|
+
)
|
|
742
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
743
|
+
alias="compatibleAddons", default=None
|
|
744
|
+
)
|
|
745
|
+
compatible_package_groups: Optional[
|
|
746
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
747
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
748
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
749
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
750
|
+
alias="overagePrices", default=None
|
|
751
|
+
)
|
|
752
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
753
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
754
|
+
alias="defaultTrialConfig", default=None
|
|
755
|
+
)
|
|
722
756
|
|
|
723
757
|
|
|
724
|
-
class
|
|
725
|
-
|
|
726
|
-
):
|
|
727
|
-
feature_id: str = Field(alias="featureId")
|
|
728
|
-
quantity: float
|
|
758
|
+
class PlanFragmentProduct(ProductFragment):
|
|
759
|
+
pass
|
|
729
760
|
|
|
730
761
|
|
|
731
|
-
class
|
|
732
|
-
|
|
733
|
-
)
|
|
734
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
735
|
-
quantity: float
|
|
762
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
763
|
+
ref_id: str = Field(alias="refId")
|
|
764
|
+
display_name: str = Field(alias="displayName")
|
|
736
765
|
|
|
737
766
|
|
|
738
|
-
class
|
|
739
|
-
|
|
740
|
-
):
|
|
741
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
742
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
743
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
767
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
768
|
+
pass
|
|
744
769
|
|
|
745
770
|
|
|
746
|
-
class
|
|
747
|
-
|
|
748
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
749
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
750
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
751
|
-
billable_features: Optional[
|
|
752
|
-
List[
|
|
753
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
754
|
-
]
|
|
755
|
-
] = Field(alias="billableFeatures", default=None)
|
|
756
|
-
addons: Optional[
|
|
757
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
758
|
-
] = Field(default=None)
|
|
759
|
-
price_overrides: Optional[
|
|
760
|
-
List[
|
|
761
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
762
|
-
]
|
|
763
|
-
] = Field(alias="priceOverrides", default=None)
|
|
771
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
772
|
+
pass
|
|
764
773
|
|
|
765
774
|
|
|
766
|
-
class
|
|
767
|
-
|
|
768
|
-
):
|
|
769
|
-
feature_id: str = Field(alias="featureId")
|
|
770
|
-
quantity: float
|
|
775
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
776
|
+
pass
|
|
771
777
|
|
|
772
778
|
|
|
773
|
-
class
|
|
774
|
-
|
|
775
|
-
quantity: float
|
|
779
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
780
|
+
pass
|
|
776
781
|
|
|
777
782
|
|
|
778
|
-
class
|
|
779
|
-
|
|
780
|
-
):
|
|
781
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
782
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
783
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
783
|
+
class PlanFragmentPrices(PriceFragment):
|
|
784
|
+
pass
|
|
784
785
|
|
|
785
786
|
|
|
786
|
-
class
|
|
787
|
-
|
|
788
|
-
):
|
|
789
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
790
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
791
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
787
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
788
|
+
pass
|
|
792
789
|
|
|
793
790
|
|
|
794
|
-
class
|
|
795
|
-
|
|
796
|
-
|
|
797
|
-
|
|
791
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
792
|
+
duration: float
|
|
793
|
+
units: TrialPeriodUnits
|
|
794
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
795
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
796
|
+
alias="trialEndBehavior", default=None
|
|
797
|
+
)
|
|
798
798
|
|
|
799
799
|
|
|
800
|
-
class
|
|
801
|
-
|
|
800
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
801
|
+
limit: float
|
|
802
802
|
|
|
803
803
|
|
|
804
804
|
class SubscriptionFragment(BaseModel):
|
|
@@ -987,6 +987,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
987
987
|
)
|
|
988
988
|
|
|
989
989
|
|
|
990
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
991
|
+
status: PromotionalEntitlementStatus
|
|
992
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
993
|
+
feature_id: str = Field(alias="featureId")
|
|
994
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
995
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
996
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
997
|
+
alias="resetPeriod", default=None
|
|
998
|
+
)
|
|
999
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1000
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1001
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1005
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1006
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1007
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1008
|
+
feature_units_plural: Optional[str] = Field(
|
|
1009
|
+
alias="featureUnitsPlural", default=None
|
|
1010
|
+
)
|
|
1011
|
+
display_name: str = Field(alias="displayName")
|
|
1012
|
+
description: Optional[str] = Field(default=None)
|
|
1013
|
+
ref_id: str = Field(alias="refId")
|
|
1014
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1015
|
+
alias="additionalMetaData", default=None
|
|
1016
|
+
)
|
|
1017
|
+
|
|
1018
|
+
|
|
990
1019
|
class CouponFragment(BaseModel):
|
|
991
1020
|
id: str
|
|
992
1021
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1021,35 +1050,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1021
1050
|
status: SyncStatus
|
|
1022
1051
|
|
|
1023
1052
|
|
|
1024
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1025
|
-
status: PromotionalEntitlementStatus
|
|
1026
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1027
|
-
feature_id: str = Field(alias="featureId")
|
|
1028
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1029
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1030
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1031
|
-
alias="resetPeriod", default=None
|
|
1032
|
-
)
|
|
1033
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1034
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1035
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1036
|
-
|
|
1037
|
-
|
|
1038
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1039
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1040
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1041
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1042
|
-
feature_units_plural: Optional[str] = Field(
|
|
1043
|
-
alias="featureUnitsPlural", default=None
|
|
1044
|
-
)
|
|
1045
|
-
display_name: str = Field(alias="displayName")
|
|
1046
|
-
description: Optional[str] = Field(default=None)
|
|
1047
|
-
ref_id: str = Field(alias="refId")
|
|
1048
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1049
|
-
alias="additionalMetaData", default=None
|
|
1050
|
-
)
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
1053
|
class CustomerFragment(SlimCustomerFragment):
|
|
1054
1054
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1055
1055
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1250,11 +1250,14 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
-
class
|
|
1254
|
-
addon_id: str = Field(alias="addonId")
|
|
1255
|
-
description: Optional[str] = Field(default=None)
|
|
1253
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1256
1254
|
display_name: str = Field(alias="displayName")
|
|
1257
|
-
|
|
1255
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1256
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
+
period: PromotionalEntitlementPeriod
|
|
1259
|
+
start_date: Any = Field(alias="startDate")
|
|
1260
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1258
1261
|
|
|
1259
1262
|
|
|
1260
1263
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1453,6 +1456,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1453
1456
|
)
|
|
1454
1457
|
|
|
1455
1458
|
|
|
1459
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1460
|
+
addon_id: str = Field(alias="addonId")
|
|
1461
|
+
description: Optional[str] = Field(default=None)
|
|
1462
|
+
display_name: str = Field(alias="displayName")
|
|
1463
|
+
quantity: int
|
|
1464
|
+
|
|
1465
|
+
|
|
1456
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1457
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1458
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1549,16 +1559,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1549
1559
|
pass
|
|
1550
1560
|
|
|
1551
1561
|
|
|
1552
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1553
|
-
display_name: str = Field(alias="displayName")
|
|
1554
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1555
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1556
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1557
|
-
period: PromotionalEntitlementPeriod
|
|
1558
|
-
start_date: Any = Field(alias="startDate")
|
|
1559
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1563
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1564
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1786,6 +1786,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
+
alias="resetPeriod", default=None
|
|
1795
|
+
)
|
|
1796
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
+
alias="hiddenFromWidgets", default=None
|
|
1798
|
+
)
|
|
1799
|
+
display_name_override: Optional[str] = Field(
|
|
1800
|
+
alias="displayNameOverride", default=None
|
|
1801
|
+
)
|
|
1802
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
+
default=None
|
|
1804
|
+
)
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
+
feature_units_plural: Optional[str] = Field(
|
|
1812
|
+
alias="featureUnitsPlural", default=None
|
|
1813
|
+
)
|
|
1814
|
+
display_name: str = Field(alias="displayName")
|
|
1815
|
+
description: Optional[str] = Field(default=None)
|
|
1816
|
+
ref_id: str = Field(alias="refId")
|
|
1817
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
+
alias="additionalMetaData", default=None
|
|
1819
|
+
)
|
|
1820
|
+
|
|
1821
|
+
|
|
1789
1822
|
class MockPaywallPriceFragment(BaseModel):
|
|
1790
1823
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1791
1824
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1820,39 +1853,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1820
1853
|
display_name: str = Field(alias="displayName")
|
|
1821
1854
|
|
|
1822
1855
|
|
|
1823
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
-
alias="resetPeriod", default=None
|
|
1829
|
-
)
|
|
1830
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
-
alias="hiddenFromWidgets", default=None
|
|
1832
|
-
)
|
|
1833
|
-
display_name_override: Optional[str] = Field(
|
|
1834
|
-
alias="displayNameOverride", default=None
|
|
1835
|
-
)
|
|
1836
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
-
default=None
|
|
1838
|
-
)
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
-
feature_units_plural: Optional[str] = Field(
|
|
1846
|
-
alias="featureUnitsPlural", default=None
|
|
1847
|
-
)
|
|
1848
|
-
display_name: str = Field(alias="displayName")
|
|
1849
|
-
description: Optional[str] = Field(default=None)
|
|
1850
|
-
ref_id: str = Field(alias="refId")
|
|
1851
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
-
alias="additionalMetaData", default=None
|
|
1853
|
-
)
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2765,38 +2765,38 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
2766
|
PackageEntitlementFragment.model_rebuild()
|
|
2767
2767
|
PriceTierFragment.model_rebuild()
|
|
2768
|
-
PriceFragment.model_rebuild()
|
|
2769
2768
|
OveragePriceFragment.model_rebuild()
|
|
2769
|
+
PriceFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
2771
|
FeatureFragment.model_rebuild()
|
|
2772
2772
|
EntitlementFragment.model_rebuild()
|
|
2773
|
-
|
|
2774
|
-
ProductFragment.model_rebuild()
|
|
2775
|
-
PlanFragment.model_rebuild()
|
|
2776
|
-
CustomerResourceFragment.model_rebuild()
|
|
2777
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2773
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2778
2774
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
|
-
SlimCustomerFragment.model_rebuild()
|
|
2780
2775
|
TotalPriceFragment.model_rebuild()
|
|
2781
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2782
2776
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2777
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
|
+
SlimCustomerFragment.model_rebuild()
|
|
2779
|
+
CustomerResourceFragment.model_rebuild()
|
|
2780
|
+
ProductFragment.model_rebuild()
|
|
2781
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2782
|
+
PlanFragment.model_rebuild()
|
|
2783
2783
|
SubscriptionFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
2787
2787
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2788
|
-
CouponFragment.model_rebuild()
|
|
2789
2788
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
|
+
CouponFragment.model_rebuild()
|
|
2790
2790
|
CustomerFragment.model_rebuild()
|
|
2791
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
|
|
2795
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
2796
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2797
2797
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2802
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256
|
|
122
|
+
stigg/generated/enums.py,sha256=h9LSA5nwfWf-0PfV_KXU4DVxr07T_9ZF4LcYXGRIMxY,34540
|
|
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=XVKri5oXHmVtFPSBjPmiNl0ry4uJ9PL4_1kEvDv3RAA,100632
|
|
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
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.321.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.321.0.dist-info/METADATA,sha256=JugVDQo77XjACIfUz8KjSOpAJg_pkPScjDBSNt_a5vE,2258
|
|
165
|
+
stigg_api_client_v2-2.321.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.321.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|