stigg-api-client-v2 3.10.0__py3-none-any.whl → 3.13.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -0
- stigg/generated/enums.py +10 -0
- stigg/generated/fragments.py +294 -294
- stigg/generated/input_types.py +4 -0
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.13.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.13.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.13.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.13.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -99,6 +99,7 @@ from .enums import (
|
|
|
99
99
|
PromotionalEntitlementSortFields,
|
|
100
100
|
PromotionalEntitlementStatus,
|
|
101
101
|
ProrationBehavior,
|
|
102
|
+
ProrationBehaviorExtended,
|
|
102
103
|
ProvisionSubscriptionStatus,
|
|
103
104
|
PublishMigrationType,
|
|
104
105
|
ScheduleStrategy,
|
|
@@ -1569,6 +1570,7 @@ __all__ = [
|
|
|
1569
1570
|
"PromotionalEntitlementStatusFilterComparison",
|
|
1570
1571
|
"PromotionalEntitlementUpdateInput",
|
|
1571
1572
|
"ProrationBehavior",
|
|
1573
|
+
"ProrationBehaviorExtended",
|
|
1572
1574
|
"ProvisionCustomer",
|
|
1573
1575
|
"ProvisionCustomerFragment",
|
|
1574
1576
|
"ProvisionCustomerFragmentCustomer",
|
stigg/generated/enums.py
CHANGED
|
@@ -665,6 +665,10 @@ class EventLogType(str, Enum):
|
|
|
665
665
|
FEATURE_ARCHIVED = "FEATURE_ARCHIVED"
|
|
666
666
|
FEATURE_CREATED = "FEATURE_CREATED"
|
|
667
667
|
FEATURE_DELETED = "FEATURE_DELETED"
|
|
668
|
+
FEATURE_GROUP_ARCHIVED = "FEATURE_GROUP_ARCHIVED"
|
|
669
|
+
FEATURE_GROUP_CREATED = "FEATURE_GROUP_CREATED"
|
|
670
|
+
FEATURE_GROUP_UN_ARCHIVED = "FEATURE_GROUP_UN_ARCHIVED"
|
|
671
|
+
FEATURE_GROUP_UPDATED = "FEATURE_GROUP_UPDATED"
|
|
668
672
|
FEATURE_UPDATED = "FEATURE_UPDATED"
|
|
669
673
|
IMPORT_INTEGRATION_CATALOG_TRIGGERED = "IMPORT_INTEGRATION_CATALOG_TRIGGERED"
|
|
670
674
|
IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED = "IMPORT_INTEGRATION_CUSTOMERS_TRIGGERED"
|
|
@@ -982,6 +986,12 @@ class ProrationBehavior(str, Enum):
|
|
|
982
986
|
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
983
987
|
|
|
984
988
|
|
|
989
|
+
class ProrationBehaviorExtended(str, Enum):
|
|
990
|
+
CREATE_PRORATIONS = "CREATE_PRORATIONS"
|
|
991
|
+
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
992
|
+
NONE = "NONE"
|
|
993
|
+
|
|
994
|
+
|
|
985
995
|
class ProvisionSubscriptionStatus(str, Enum):
|
|
986
996
|
PAYMENT_REQUIRED = "PAYMENT_REQUIRED"
|
|
987
997
|
SUCCESS = "SUCCESS"
|
stigg/generated/fragments.py
CHANGED
|
@@ -80,33 +80,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
80
|
currency: Currency
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class OveragePriceFragment(BaseModel):
|
|
84
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
87
86
|
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)
|
|
90
87
|
billing_country_code: Optional[str] = Field(
|
|
91
88
|
alias="billingCountryCode", default=None
|
|
92
89
|
)
|
|
93
|
-
price: Optional["
|
|
90
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
94
91
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
95
|
-
tiers: Optional[List["
|
|
96
|
-
feature: Optional["
|
|
97
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
92
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
98
94
|
|
|
99
95
|
|
|
100
|
-
class
|
|
96
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
101
97
|
amount: float
|
|
102
98
|
currency: Currency
|
|
103
99
|
|
|
104
100
|
|
|
105
|
-
class
|
|
101
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
106
102
|
pass
|
|
107
103
|
|
|
108
104
|
|
|
109
|
-
class
|
|
105
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
110
106
|
ref_id: str = Field(alias="refId")
|
|
111
107
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
112
108
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -150,29 +146,33 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
150
146
|
)
|
|
151
147
|
|
|
152
148
|
|
|
153
|
-
class
|
|
149
|
+
class PriceFragment(BaseModel):
|
|
154
150
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
155
151
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
152
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
156
153
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
154
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
155
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
157
156
|
billing_country_code: Optional[str] = Field(
|
|
158
157
|
alias="billingCountryCode", default=None
|
|
159
158
|
)
|
|
160
|
-
price: Optional["
|
|
159
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
161
160
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
162
|
-
tiers: Optional[List["
|
|
163
|
-
feature: Optional["
|
|
161
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
162
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
163
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
164
164
|
|
|
165
165
|
|
|
166
|
-
class
|
|
166
|
+
class PriceFragmentPrice(BaseModel):
|
|
167
167
|
amount: float
|
|
168
168
|
currency: Currency
|
|
169
169
|
|
|
170
170
|
|
|
171
|
-
class
|
|
171
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
172
172
|
pass
|
|
173
173
|
|
|
174
174
|
|
|
175
|
-
class
|
|
175
|
+
class PriceFragmentFeature(BaseModel):
|
|
176
176
|
ref_id: str = Field(alias="refId")
|
|
177
177
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
178
178
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -220,141 +220,6 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
220
220
|
pass
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
class ProductFragment(BaseModel):
|
|
224
|
-
ref_id: str = Field(alias="refId")
|
|
225
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
226
|
-
description: Optional[str] = Field(default=None)
|
|
227
|
-
additional_meta_data: Optional[Any] = Field(
|
|
228
|
-
alias="additionalMetaData", default=None
|
|
229
|
-
)
|
|
230
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
234
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
235
|
-
alias="downgradePlan", default=None
|
|
236
|
-
)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
240
|
-
ref_id: str = Field(alias="refId")
|
|
241
|
-
display_name: str = Field(alias="displayName")
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
245
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
246
|
-
display_name: str = Field(alias="displayName")
|
|
247
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
248
|
-
default=None
|
|
249
|
-
)
|
|
250
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
254
|
-
pass
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
258
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
259
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
class PlanFragment(BaseModel):
|
|
263
|
-
id: Any
|
|
264
|
-
ref_id: str = Field(alias="refId")
|
|
265
|
-
display_name: str = Field(alias="displayName")
|
|
266
|
-
description: Optional[str] = Field(default=None)
|
|
267
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
268
|
-
version_number: int = Field(alias="versionNumber")
|
|
269
|
-
additional_meta_data: Optional[Any] = Field(
|
|
270
|
-
alias="additionalMetaData", default=None
|
|
271
|
-
)
|
|
272
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
273
|
-
alias="hiddenFromWidgets", default=None
|
|
274
|
-
)
|
|
275
|
-
product: "PlanFragmentProduct"
|
|
276
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
277
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
278
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
279
|
-
alias="inheritedEntitlements", default=None
|
|
280
|
-
)
|
|
281
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
282
|
-
alias="compatibleAddons", default=None
|
|
283
|
-
)
|
|
284
|
-
compatible_package_groups: Optional[
|
|
285
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
286
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
287
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
288
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
289
|
-
alias="overagePrices", default=None
|
|
290
|
-
)
|
|
291
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
292
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
293
|
-
alias="defaultTrialConfig", default=None
|
|
294
|
-
)
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class PlanFragmentProduct(ProductFragment):
|
|
298
|
-
pass
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
302
|
-
ref_id: str = Field(alias="refId")
|
|
303
|
-
display_name: str = Field(alias="displayName")
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
307
|
-
pass
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
311
|
-
pass
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
315
|
-
pass
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
319
|
-
pass
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
class PlanFragmentPrices(PriceFragment):
|
|
323
|
-
pass
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
327
|
-
pass
|
|
328
|
-
|
|
329
|
-
|
|
330
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
331
|
-
duration: float
|
|
332
|
-
units: TrialPeriodUnits
|
|
333
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
334
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
335
|
-
alias="trialEndBehavior", default=None
|
|
336
|
-
)
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
340
|
-
limit: float
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
class TotalPriceFragment(BaseModel):
|
|
344
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
345
|
-
total: "TotalPriceFragmentTotal"
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
349
|
-
amount: float
|
|
350
|
-
currency: Currency
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
354
|
-
amount: float
|
|
355
|
-
currency: Currency
|
|
356
|
-
|
|
357
|
-
|
|
358
223
|
class SlimCustomerFragment(BaseModel):
|
|
359
224
|
id: Any
|
|
360
225
|
name: Optional[str] = Field(default=None)
|
|
@@ -372,49 +237,45 @@ class SlimCustomerFragment(BaseModel):
|
|
|
372
237
|
)
|
|
373
238
|
|
|
374
239
|
|
|
375
|
-
class
|
|
376
|
-
resource_id: str = Field(alias="resourceId")
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
240
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
380
241
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
381
242
|
alias="subscriptionScheduleType"
|
|
382
243
|
)
|
|
383
244
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
384
245
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
385
|
-
target_package: Optional["
|
|
246
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
386
247
|
alias="targetPackage", default=None
|
|
387
248
|
)
|
|
388
249
|
schedule_variables: Optional[
|
|
389
250
|
Annotated[
|
|
390
251
|
Union[
|
|
391
|
-
"
|
|
392
|
-
"
|
|
393
|
-
"
|
|
394
|
-
"
|
|
395
|
-
"
|
|
396
|
-
"
|
|
397
|
-
"
|
|
398
|
-
"
|
|
252
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
253
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
254
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
255
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
256
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
257
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
258
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
259
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
399
260
|
],
|
|
400
261
|
Field(discriminator="typename__"),
|
|
401
262
|
]
|
|
402
263
|
] = Field(alias="scheduleVariables", default=None)
|
|
403
264
|
|
|
404
265
|
|
|
405
|
-
class
|
|
266
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
406
267
|
id: Any
|
|
407
268
|
ref_id: str = Field(alias="refId")
|
|
408
269
|
display_name: str = Field(alias="displayName")
|
|
409
270
|
|
|
410
271
|
|
|
411
|
-
class
|
|
272
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
412
273
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
413
274
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
414
275
|
new_quantity: float = Field(alias="newQuantity")
|
|
415
276
|
|
|
416
277
|
|
|
417
|
-
class
|
|
278
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
418
279
|
BaseModel
|
|
419
280
|
):
|
|
420
281
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -422,55 +283,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
422
283
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
423
284
|
|
|
424
285
|
|
|
425
|
-
class
|
|
286
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
426
287
|
BaseModel
|
|
427
288
|
):
|
|
428
289
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
429
290
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
430
291
|
|
|
431
292
|
|
|
432
|
-
class
|
|
293
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
433
294
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
434
295
|
|
|
435
296
|
|
|
436
|
-
class
|
|
437
|
-
BaseModel
|
|
438
|
-
):
|
|
297
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
439
298
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
440
299
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
441
300
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
442
301
|
billable_features: Optional[
|
|
443
302
|
List[
|
|
444
|
-
"
|
|
303
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
445
304
|
]
|
|
446
305
|
] = Field(alias="billableFeatures", default=None)
|
|
447
306
|
addons: Optional[
|
|
448
307
|
List[
|
|
449
|
-
"
|
|
308
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
450
309
|
]
|
|
451
310
|
] = Field(default=None)
|
|
452
311
|
price_overrides: Optional[
|
|
453
312
|
List[
|
|
454
|
-
"
|
|
313
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
455
314
|
]
|
|
456
315
|
] = Field(alias="priceOverrides", default=None)
|
|
457
316
|
|
|
458
317
|
|
|
459
|
-
class
|
|
318
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
460
319
|
BaseModel
|
|
461
320
|
):
|
|
462
321
|
feature_id: str = Field(alias="featureId")
|
|
463
322
|
quantity: float
|
|
464
323
|
|
|
465
324
|
|
|
466
|
-
class
|
|
325
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
467
326
|
BaseModel
|
|
468
327
|
):
|
|
469
328
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
470
329
|
quantity: float
|
|
471
330
|
|
|
472
331
|
|
|
473
|
-
class
|
|
332
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
474
333
|
BaseModel
|
|
475
334
|
):
|
|
476
335
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -478,43 +337,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
478
337
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
479
338
|
|
|
480
339
|
|
|
481
|
-
class
|
|
340
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
482
341
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
483
342
|
plan_ref_id: str = Field(alias="planRefId")
|
|
484
343
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
485
344
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
486
345
|
billable_features: Optional[
|
|
487
346
|
List[
|
|
488
|
-
"
|
|
347
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
489
348
|
]
|
|
490
349
|
] = Field(alias="billableFeatures", default=None)
|
|
491
350
|
addons: Optional[
|
|
492
|
-
List[
|
|
493
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
494
|
-
]
|
|
351
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
495
352
|
] = Field(default=None)
|
|
496
353
|
price_overrides: Optional[
|
|
497
354
|
List[
|
|
498
|
-
"
|
|
355
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
499
356
|
]
|
|
500
357
|
] = Field(alias="priceOverrides", default=None)
|
|
501
358
|
|
|
502
359
|
|
|
503
|
-
class
|
|
360
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
504
361
|
BaseModel
|
|
505
362
|
):
|
|
506
363
|
feature_id: str = Field(alias="featureId")
|
|
507
364
|
quantity: float
|
|
508
365
|
|
|
509
366
|
|
|
510
|
-
class
|
|
511
|
-
BaseModel
|
|
512
|
-
):
|
|
367
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
513
368
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
514
369
|
quantity: float
|
|
515
370
|
|
|
516
371
|
|
|
517
|
-
class
|
|
372
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
518
373
|
BaseModel
|
|
519
374
|
):
|
|
520
375
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -522,7 +377,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
522
377
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
523
378
|
|
|
524
379
|
|
|
525
|
-
class
|
|
380
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
526
381
|
BaseModel
|
|
527
382
|
):
|
|
528
383
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -530,53 +385,93 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
530
385
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
531
386
|
|
|
532
387
|
|
|
533
|
-
class
|
|
534
|
-
BaseModel
|
|
535
|
-
):
|
|
388
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
536
389
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
537
390
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
538
391
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
539
392
|
|
|
540
393
|
|
|
541
|
-
class
|
|
394
|
+
class TotalPriceFragment(BaseModel):
|
|
395
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
396
|
+
total: "TotalPriceFragmentTotal"
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
400
|
+
amount: float
|
|
401
|
+
currency: Currency
|
|
402
|
+
|
|
403
|
+
|
|
404
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
405
|
+
amount: float
|
|
406
|
+
currency: Currency
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
410
|
+
billing_id: str = Field(alias="billingId")
|
|
411
|
+
status: SubscriptionInvoiceStatus
|
|
412
|
+
created_at: Any = Field(alias="createdAt")
|
|
413
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
414
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
415
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
416
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
417
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
418
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
419
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
420
|
+
alias="billingReason", default=None
|
|
421
|
+
)
|
|
422
|
+
currency: Optional[str] = Field(default=None)
|
|
423
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
424
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
425
|
+
alias="subTotalExcludingTax", default=None
|
|
426
|
+
)
|
|
427
|
+
total: Optional[float] = Field(default=None)
|
|
428
|
+
total_excluding_tax: Optional[float] = Field(
|
|
429
|
+
alias="totalExcludingTax", default=None
|
|
430
|
+
)
|
|
431
|
+
tax: Optional[float] = Field(default=None)
|
|
432
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
433
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
542
437
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
543
438
|
alias="subscriptionScheduleType"
|
|
544
439
|
)
|
|
545
440
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
546
441
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
547
|
-
target_package: Optional["
|
|
442
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
548
443
|
alias="targetPackage", default=None
|
|
549
444
|
)
|
|
550
445
|
schedule_variables: Optional[
|
|
551
446
|
Annotated[
|
|
552
447
|
Union[
|
|
553
|
-
"
|
|
554
|
-
"
|
|
555
|
-
"
|
|
556
|
-
"
|
|
557
|
-
"
|
|
558
|
-
"
|
|
559
|
-
"
|
|
560
|
-
"
|
|
448
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
449
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
450
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
451
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
452
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
453
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
454
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
455
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
561
456
|
],
|
|
562
457
|
Field(discriminator="typename__"),
|
|
563
458
|
]
|
|
564
459
|
] = Field(alias="scheduleVariables", default=None)
|
|
565
460
|
|
|
566
461
|
|
|
567
|
-
class
|
|
462
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
568
463
|
id: Any
|
|
569
464
|
ref_id: str = Field(alias="refId")
|
|
570
465
|
display_name: str = Field(alias="displayName")
|
|
571
466
|
|
|
572
467
|
|
|
573
|
-
class
|
|
468
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
574
469
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
575
470
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
576
471
|
new_quantity: float = Field(alias="newQuantity")
|
|
577
472
|
|
|
578
473
|
|
|
579
|
-
class
|
|
474
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
580
475
|
BaseModel
|
|
581
476
|
):
|
|
582
477
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -584,53 +479,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
584
479
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
585
480
|
|
|
586
481
|
|
|
587
|
-
class
|
|
482
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
588
483
|
BaseModel
|
|
589
484
|
):
|
|
590
485
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
591
486
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
592
487
|
|
|
593
488
|
|
|
594
|
-
class
|
|
489
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
595
490
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
596
491
|
|
|
597
492
|
|
|
598
|
-
class
|
|
493
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
494
|
+
BaseModel
|
|
495
|
+
):
|
|
599
496
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
600
497
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
601
498
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
602
499
|
billable_features: Optional[
|
|
603
500
|
List[
|
|
604
|
-
"
|
|
501
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
605
502
|
]
|
|
606
503
|
] = Field(alias="billableFeatures", default=None)
|
|
607
504
|
addons: Optional[
|
|
608
505
|
List[
|
|
609
|
-
"
|
|
506
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
610
507
|
]
|
|
611
508
|
] = Field(default=None)
|
|
612
509
|
price_overrides: Optional[
|
|
613
510
|
List[
|
|
614
|
-
"
|
|
511
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
615
512
|
]
|
|
616
513
|
] = Field(alias="priceOverrides", default=None)
|
|
617
514
|
|
|
618
515
|
|
|
619
|
-
class
|
|
516
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
620
517
|
BaseModel
|
|
621
518
|
):
|
|
622
519
|
feature_id: str = Field(alias="featureId")
|
|
623
520
|
quantity: float
|
|
624
521
|
|
|
625
522
|
|
|
626
|
-
class
|
|
523
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
627
524
|
BaseModel
|
|
628
525
|
):
|
|
629
526
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
630
527
|
quantity: float
|
|
631
528
|
|
|
632
529
|
|
|
633
|
-
class
|
|
530
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
634
531
|
BaseModel
|
|
635
532
|
):
|
|
636
533
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -638,39 +535,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
638
535
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
639
536
|
|
|
640
537
|
|
|
641
|
-
class
|
|
538
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
642
539
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
643
540
|
plan_ref_id: str = Field(alias="planRefId")
|
|
644
541
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
645
542
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
646
543
|
billable_features: Optional[
|
|
647
544
|
List[
|
|
648
|
-
"
|
|
545
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
649
546
|
]
|
|
650
547
|
] = Field(alias="billableFeatures", default=None)
|
|
651
548
|
addons: Optional[
|
|
652
|
-
List[
|
|
549
|
+
List[
|
|
550
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
551
|
+
]
|
|
653
552
|
] = Field(default=None)
|
|
654
553
|
price_overrides: Optional[
|
|
655
554
|
List[
|
|
656
|
-
"
|
|
555
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
657
556
|
]
|
|
658
557
|
] = Field(alias="priceOverrides", default=None)
|
|
659
558
|
|
|
660
559
|
|
|
661
|
-
class
|
|
560
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
662
561
|
BaseModel
|
|
663
562
|
):
|
|
664
563
|
feature_id: str = Field(alias="featureId")
|
|
665
564
|
quantity: float
|
|
666
565
|
|
|
667
566
|
|
|
668
|
-
class
|
|
567
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
568
|
+
BaseModel
|
|
569
|
+
):
|
|
669
570
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
670
571
|
quantity: float
|
|
671
572
|
|
|
672
573
|
|
|
673
|
-
class
|
|
574
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
674
575
|
BaseModel
|
|
675
576
|
):
|
|
676
577
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -678,7 +579,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
678
579
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
679
580
|
|
|
680
581
|
|
|
681
|
-
class
|
|
582
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
682
583
|
BaseModel
|
|
683
584
|
):
|
|
684
585
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -686,41 +587,140 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
686
587
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
687
588
|
|
|
688
589
|
|
|
689
|
-
class
|
|
590
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
591
|
+
BaseModel
|
|
592
|
+
):
|
|
690
593
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
691
594
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
692
595
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
693
596
|
|
|
694
597
|
|
|
695
|
-
class
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
706
|
-
alias="billingReason", default=None
|
|
598
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
599
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
class ProductFragment(BaseModel):
|
|
603
|
+
ref_id: str = Field(alias="refId")
|
|
604
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
605
|
+
description: Optional[str] = Field(default=None)
|
|
606
|
+
additional_meta_data: Optional[Any] = Field(
|
|
607
|
+
alias="additionalMetaData", default=None
|
|
707
608
|
)
|
|
708
|
-
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
609
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
613
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
614
|
+
alias="downgradePlan", default=None
|
|
712
615
|
)
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
619
|
+
ref_id: str = Field(alias="refId")
|
|
620
|
+
display_name: str = Field(alias="displayName")
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
624
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
625
|
+
display_name: str = Field(alias="displayName")
|
|
626
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
627
|
+
default=None
|
|
716
628
|
)
|
|
717
|
-
|
|
718
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
719
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
629
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
720
630
|
|
|
721
631
|
|
|
722
|
-
class
|
|
723
|
-
|
|
632
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
633
|
+
pass
|
|
634
|
+
|
|
635
|
+
|
|
636
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
637
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
638
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
class PlanFragment(BaseModel):
|
|
642
|
+
id: Any
|
|
643
|
+
ref_id: str = Field(alias="refId")
|
|
644
|
+
display_name: str = Field(alias="displayName")
|
|
645
|
+
description: Optional[str] = Field(default=None)
|
|
646
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
647
|
+
version_number: int = Field(alias="versionNumber")
|
|
648
|
+
additional_meta_data: Optional[Any] = Field(
|
|
649
|
+
alias="additionalMetaData", default=None
|
|
650
|
+
)
|
|
651
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
652
|
+
alias="hiddenFromWidgets", default=None
|
|
653
|
+
)
|
|
654
|
+
product: "PlanFragmentProduct"
|
|
655
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
656
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
657
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
658
|
+
alias="inheritedEntitlements", default=None
|
|
659
|
+
)
|
|
660
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
661
|
+
alias="compatibleAddons", default=None
|
|
662
|
+
)
|
|
663
|
+
compatible_package_groups: Optional[
|
|
664
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
665
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
666
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
667
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
668
|
+
alias="overagePrices", default=None
|
|
669
|
+
)
|
|
670
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
671
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
672
|
+
alias="defaultTrialConfig", default=None
|
|
673
|
+
)
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
class PlanFragmentProduct(ProductFragment):
|
|
677
|
+
pass
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
681
|
+
ref_id: str = Field(alias="refId")
|
|
682
|
+
display_name: str = Field(alias="displayName")
|
|
683
|
+
|
|
684
|
+
|
|
685
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
686
|
+
pass
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
690
|
+
pass
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
694
|
+
pass
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
698
|
+
pass
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
class PlanFragmentPrices(PriceFragment):
|
|
702
|
+
pass
|
|
703
|
+
|
|
704
|
+
|
|
705
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
706
|
+
pass
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
710
|
+
duration: float
|
|
711
|
+
units: TrialPeriodUnits
|
|
712
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
713
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
714
|
+
alias="trialEndBehavior", default=None
|
|
715
|
+
)
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
719
|
+
limit: float
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class CustomerResourceFragment(BaseModel):
|
|
723
|
+
resource_id: str = Field(alias="resourceId")
|
|
724
724
|
|
|
725
725
|
|
|
726
726
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1799,40 +1799,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1799
1799
|
description: Optional[str] = Field(default=None)
|
|
1800
1800
|
|
|
1801
1801
|
|
|
1802
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1803
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1804
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1805
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1806
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1807
|
-
alias="resetPeriod", default=None
|
|
1808
|
-
)
|
|
1809
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1810
|
-
alias="hiddenFromWidgets", default=None
|
|
1811
|
-
)
|
|
1812
|
-
display_name_override: Optional[str] = Field(
|
|
1813
|
-
alias="displayNameOverride", default=None
|
|
1814
|
-
)
|
|
1815
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1816
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1817
|
-
default=None
|
|
1818
|
-
)
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1822
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1823
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1824
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1825
|
-
feature_units_plural: Optional[str] = Field(
|
|
1826
|
-
alias="featureUnitsPlural", default=None
|
|
1827
|
-
)
|
|
1828
|
-
display_name: str = Field(alias="displayName")
|
|
1829
|
-
description: Optional[str] = Field(default=None)
|
|
1830
|
-
ref_id: str = Field(alias="refId")
|
|
1831
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1832
|
-
alias="additionalMetaData", default=None
|
|
1833
|
-
)
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
1802
|
class MockPaywallPriceFragment(BaseModel):
|
|
1837
1803
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1838
1804
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1867,6 +1833,40 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1867
1833
|
display_name: str = Field(alias="displayName")
|
|
1868
1834
|
|
|
1869
1835
|
|
|
1836
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1837
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1838
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1839
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1840
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1841
|
+
alias="resetPeriod", default=None
|
|
1842
|
+
)
|
|
1843
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1844
|
+
alias="hiddenFromWidgets", default=None
|
|
1845
|
+
)
|
|
1846
|
+
display_name_override: Optional[str] = Field(
|
|
1847
|
+
alias="displayNameOverride", default=None
|
|
1848
|
+
)
|
|
1849
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1850
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1851
|
+
default=None
|
|
1852
|
+
)
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1856
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1857
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1858
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1859
|
+
feature_units_plural: Optional[str] = Field(
|
|
1860
|
+
alias="featureUnitsPlural", default=None
|
|
1861
|
+
)
|
|
1862
|
+
display_name: str = Field(alias="displayName")
|
|
1863
|
+
description: Optional[str] = Field(default=None)
|
|
1864
|
+
ref_id: str = Field(alias="refId")
|
|
1865
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1866
|
+
alias="additionalMetaData", default=None
|
|
1867
|
+
)
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
1870
|
class MockPaywallAddonFragment(BaseModel):
|
|
1871
1871
|
ref_id: str = Field(alias="refId")
|
|
1872
1872
|
display_name: str = Field(alias="displayName")
|
|
@@ -2841,20 +2841,20 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2841
2841
|
|
|
2842
2842
|
AddonDependencyFragment.model_rebuild()
|
|
2843
2843
|
PriceTierFragment.model_rebuild()
|
|
2844
|
-
PriceFragment.model_rebuild()
|
|
2845
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2846
2844
|
OveragePriceFragment.model_rebuild()
|
|
2845
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2846
|
+
PriceFragment.model_rebuild()
|
|
2847
2847
|
AddonFragment.model_rebuild()
|
|
2848
|
-
ProductFragment.model_rebuild()
|
|
2849
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2850
|
-
PlanFragment.model_rebuild()
|
|
2851
|
-
TotalPriceFragment.model_rebuild()
|
|
2852
2848
|
SlimCustomerFragment.model_rebuild()
|
|
2853
|
-
CustomerResourceFragment.model_rebuild()
|
|
2854
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2855
2849
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2850
|
+
TotalPriceFragment.model_rebuild()
|
|
2856
2851
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2852
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2857
2853
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2854
|
+
ProductFragment.model_rebuild()
|
|
2855
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2856
|
+
PlanFragment.model_rebuild()
|
|
2857
|
+
CustomerResourceFragment.model_rebuild()
|
|
2858
2858
|
SubscriptionFragment.model_rebuild()
|
|
2859
2859
|
FeatureFragment.model_rebuild()
|
|
2860
2860
|
EntitlementFragment.model_rebuild()
|
|
@@ -2883,8 +2883,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2883
2883
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2884
2884
|
LayoutConfigurationFragment.model_rebuild()
|
|
2885
2885
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2886
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2887
2886
|
MockPaywallPriceFragment.model_rebuild()
|
|
2887
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2888
2888
|
MockPaywallAddonFragment.model_rebuild()
|
|
2889
2889
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2890
2890
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -70,6 +70,7 @@ from .enums import (
|
|
|
70
70
|
PromotionalEntitlementSortFields,
|
|
71
71
|
PromotionalEntitlementStatus,
|
|
72
72
|
ProrationBehavior,
|
|
73
|
+
ProrationBehaviorExtended,
|
|
73
74
|
PublishMigrationType,
|
|
74
75
|
ScheduleStrategy,
|
|
75
76
|
SortDirection,
|
|
@@ -3860,6 +3861,9 @@ class SubscriptionBillingInfo(BaseModel):
|
|
|
3860
3861
|
is_backdated: Optional[bool] = Field(alias="isBackdated", default=False)
|
|
3861
3862
|
is_invoice_paid: Optional[bool] = Field(alias="isInvoicePaid", default=False)
|
|
3862
3863
|
metadata: Optional[Any] = None
|
|
3864
|
+
proration_behavior: Optional[ProrationBehaviorExtended] = Field(
|
|
3865
|
+
alias="prorationBehavior", default=None
|
|
3866
|
+
)
|
|
3863
3867
|
tax_percentage: Optional[float] = Field(alias="taxPercentage", default=None)
|
|
3864
3868
|
tax_rate_ids: Optional[List[str]] = Field(alias="taxRateIds", default=None)
|
|
3865
3869
|
|
|
@@ -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=1NwSDRRF2Zck63DVg8bpqsho8-SNmD40eAjpihh1Y18,72323
|
|
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=tGqbCewOFV2YP6igue7hQZghW3XraHyV0OXcoKfsssE,173
|
|
|
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=IBdVrDWJHe3rvboZKigp1mkiyEqKcnR3blfG3Fu-fHc,37670
|
|
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=22jArwsgEbbP3DDyEpHD1_4KVUBLR2ZKU4FIcYC0lok,103850
|
|
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=kW2dYYIEjDjeLaTm-rwEqzFuRcPpytVEGnrVldxHEig,204912
|
|
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-3.
|
|
165
|
-
stigg_api_client_v2-3.
|
|
166
|
-
stigg_api_client_v2-3.
|
|
167
|
-
stigg_api_client_v2-3.
|
|
164
|
+
stigg_api_client_v2-3.13.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.13.0.dist-info/METADATA,sha256=Tyo5E1k674RPdVBP6WS6gcZP66sw_2VA89SV7Li2r30,2257
|
|
166
|
+
stigg_api_client_v2-3.13.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.13.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|