stigg-api-client-v2 2.443.0__py3-none-any.whl → 2.446.1__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/fragments.py +360 -360
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.446.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.446.1.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.446.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.443.0.dist-info → stigg_api_client_v2-2.446.1.dist-info}/WHEEL +0 -0
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(
|
|
@@ -149,29 +145,33 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
149
145
|
)
|
|
150
146
|
|
|
151
147
|
|
|
152
|
-
class
|
|
148
|
+
class PriceFragment(BaseModel):
|
|
153
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
152
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
156
155
|
billing_country_code: Optional[str] = Field(
|
|
157
156
|
alias="billingCountryCode", default=None
|
|
158
157
|
)
|
|
159
|
-
price: Optional["
|
|
158
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
160
159
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
161
|
-
tiers: Optional[List["
|
|
162
|
-
feature: Optional["
|
|
160
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
161
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
162
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class PriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class PriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -216,23 +216,87 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class
|
|
220
|
-
|
|
219
|
+
class FeatureFragment(BaseModel):
|
|
220
|
+
typename__: str = Field(alias="__typename")
|
|
221
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
222
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
223
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
224
|
+
feature_units_plural: Optional[str] = Field(
|
|
225
|
+
alias="featureUnitsPlural", default=None
|
|
226
|
+
)
|
|
227
|
+
description: Optional[str] = Field(default=None)
|
|
228
|
+
display_name: str = Field(alias="displayName")
|
|
229
|
+
ref_id: str = Field(alias="refId")
|
|
230
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
231
|
+
alias="unitTransformation", default=None
|
|
232
|
+
)
|
|
221
233
|
|
|
222
234
|
|
|
223
|
-
class
|
|
224
|
-
|
|
225
|
-
|
|
235
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
236
|
+
divide: float
|
|
237
|
+
round: UnitTransformationRound
|
|
226
238
|
|
|
227
239
|
|
|
228
|
-
class
|
|
229
|
-
|
|
230
|
-
|
|
240
|
+
class EntitlementFragment(BaseModel):
|
|
241
|
+
typename__: str = Field(alias="__typename")
|
|
242
|
+
is_granted: bool = Field(alias="isGranted")
|
|
243
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
244
|
+
alias="accessDeniedReason", default=None
|
|
245
|
+
)
|
|
246
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
247
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
248
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
249
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
250
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
251
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
252
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
253
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
254
|
+
alias="entitlementUpdatedAt", default=None
|
|
255
|
+
)
|
|
256
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
257
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
258
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
259
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
260
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
261
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
262
|
+
alias="resetPeriod", default=None
|
|
263
|
+
)
|
|
264
|
+
reset_period_configuration: Optional[
|
|
265
|
+
Annotated[
|
|
266
|
+
Union[
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
269
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
270
|
+
],
|
|
271
|
+
Field(discriminator="typename__"),
|
|
272
|
+
]
|
|
273
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
274
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
231
275
|
|
|
232
276
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
277
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
278
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
279
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
280
|
+
alias="monthlyAccordingTo", default=None
|
|
281
|
+
)
|
|
282
|
+
|
|
283
|
+
|
|
284
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
285
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
286
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
287
|
+
alias="weeklyAccordingTo", default=None
|
|
288
|
+
)
|
|
289
|
+
|
|
290
|
+
|
|
291
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
292
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
293
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
294
|
+
alias="yearlyAccordingTo", default=None
|
|
295
|
+
)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
299
|
+
pass
|
|
236
300
|
|
|
237
301
|
|
|
238
302
|
class SlimCustomerFragment(BaseModel):
|
|
@@ -252,31 +316,22 @@ class SlimCustomerFragment(BaseModel):
|
|
|
252
316
|
)
|
|
253
317
|
|
|
254
318
|
|
|
255
|
-
class
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
261
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
262
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
263
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
264
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
265
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
266
|
-
alias="billingReason", default=None
|
|
267
|
-
)
|
|
268
|
-
currency: Optional[str] = Field(default=None)
|
|
269
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
270
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
271
|
-
alias="subTotalExcludingTax", default=None
|
|
272
|
-
)
|
|
273
|
-
total: Optional[float] = Field(default=None)
|
|
274
|
-
total_excluding_tax: Optional[float] = Field(
|
|
275
|
-
alias="totalExcludingTax", default=None
|
|
319
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
320
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
321
|
+
display_name: str = Field(alias="displayName")
|
|
322
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
323
|
+
default=None
|
|
276
324
|
)
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
325
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
326
|
+
|
|
327
|
+
|
|
328
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
329
|
+
pass
|
|
330
|
+
|
|
331
|
+
|
|
332
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
333
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
334
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
280
335
|
|
|
281
336
|
|
|
282
337
|
class ProductFragment(BaseModel):
|
|
@@ -300,24 +355,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
300
355
|
display_name: str = Field(alias="displayName")
|
|
301
356
|
|
|
302
357
|
|
|
303
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
304
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
305
|
-
display_name: str = Field(alias="displayName")
|
|
306
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
307
|
-
default=None
|
|
308
|
-
)
|
|
309
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
313
|
-
pass
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
317
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
318
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
319
|
-
|
|
320
|
-
|
|
321
358
|
class PlanFragment(BaseModel):
|
|
322
359
|
id: str
|
|
323
360
|
ref_id: str = Field(alias="refId")
|
|
@@ -399,45 +436,76 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
399
436
|
limit: float
|
|
400
437
|
|
|
401
438
|
|
|
402
|
-
class
|
|
439
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
440
|
+
billing_id: str = Field(alias="billingId")
|
|
441
|
+
status: SubscriptionInvoiceStatus
|
|
442
|
+
created_at: Any = Field(alias="createdAt")
|
|
443
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
444
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
445
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
446
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
447
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
448
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
449
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
450
|
+
alias="billingReason", default=None
|
|
451
|
+
)
|
|
452
|
+
currency: Optional[str] = Field(default=None)
|
|
453
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
454
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
455
|
+
alias="subTotalExcludingTax", default=None
|
|
456
|
+
)
|
|
457
|
+
total: Optional[float] = Field(default=None)
|
|
458
|
+
total_excluding_tax: Optional[float] = Field(
|
|
459
|
+
alias="totalExcludingTax", default=None
|
|
460
|
+
)
|
|
461
|
+
tax: Optional[float] = Field(default=None)
|
|
462
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
463
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
class CustomerResourceFragment(BaseModel):
|
|
467
|
+
resource_id: str = Field(alias="resourceId")
|
|
468
|
+
|
|
469
|
+
|
|
470
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
403
471
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
404
472
|
alias="subscriptionScheduleType"
|
|
405
473
|
)
|
|
406
474
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
407
475
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
408
|
-
target_package: Optional["
|
|
476
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
409
477
|
alias="targetPackage", default=None
|
|
410
478
|
)
|
|
411
479
|
schedule_variables: Optional[
|
|
412
480
|
Annotated[
|
|
413
481
|
Union[
|
|
414
|
-
"
|
|
415
|
-
"
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
"
|
|
482
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
483
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
484
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
485
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
486
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
487
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
488
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
489
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
422
490
|
],
|
|
423
491
|
Field(discriminator="typename__"),
|
|
424
492
|
]
|
|
425
493
|
] = Field(alias="scheduleVariables", default=None)
|
|
426
494
|
|
|
427
495
|
|
|
428
|
-
class
|
|
496
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
429
497
|
id: str
|
|
430
498
|
ref_id: str = Field(alias="refId")
|
|
431
499
|
display_name: str = Field(alias="displayName")
|
|
432
500
|
|
|
433
501
|
|
|
434
|
-
class
|
|
502
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
435
503
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
436
504
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
437
505
|
new_quantity: float = Field(alias="newQuantity")
|
|
438
506
|
|
|
439
507
|
|
|
440
|
-
class
|
|
508
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
441
509
|
BaseModel
|
|
442
510
|
):
|
|
443
511
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -445,55 +513,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
445
513
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
446
514
|
|
|
447
515
|
|
|
448
|
-
class
|
|
516
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
449
517
|
BaseModel
|
|
450
518
|
):
|
|
451
519
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
452
520
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
453
521
|
|
|
454
522
|
|
|
455
|
-
class
|
|
523
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
456
524
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
457
525
|
|
|
458
526
|
|
|
459
|
-
class
|
|
460
|
-
BaseModel
|
|
461
|
-
):
|
|
527
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
462
528
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
463
529
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
464
530
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
465
531
|
billable_features: Optional[
|
|
466
532
|
List[
|
|
467
|
-
"
|
|
533
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
468
534
|
]
|
|
469
535
|
] = Field(alias="billableFeatures", default=None)
|
|
470
536
|
addons: Optional[
|
|
471
537
|
List[
|
|
472
|
-
"
|
|
538
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
473
539
|
]
|
|
474
540
|
] = Field(default=None)
|
|
475
541
|
price_overrides: Optional[
|
|
476
542
|
List[
|
|
477
|
-
"
|
|
543
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
478
544
|
]
|
|
479
545
|
] = Field(alias="priceOverrides", default=None)
|
|
480
546
|
|
|
481
547
|
|
|
482
|
-
class
|
|
548
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
483
549
|
BaseModel
|
|
484
550
|
):
|
|
485
551
|
feature_id: str = Field(alias="featureId")
|
|
486
552
|
quantity: float
|
|
487
553
|
|
|
488
554
|
|
|
489
|
-
class
|
|
555
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
490
556
|
BaseModel
|
|
491
557
|
):
|
|
492
558
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
493
559
|
quantity: float
|
|
494
560
|
|
|
495
561
|
|
|
496
|
-
class
|
|
562
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
497
563
|
BaseModel
|
|
498
564
|
):
|
|
499
565
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -501,43 +567,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
501
567
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
502
568
|
|
|
503
569
|
|
|
504
|
-
class
|
|
570
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
505
571
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
506
572
|
plan_ref_id: str = Field(alias="planRefId")
|
|
507
573
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
508
574
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
509
575
|
billable_features: Optional[
|
|
510
576
|
List[
|
|
511
|
-
"
|
|
577
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
512
578
|
]
|
|
513
579
|
] = Field(alias="billableFeatures", default=None)
|
|
514
580
|
addons: Optional[
|
|
515
|
-
List[
|
|
516
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
517
|
-
]
|
|
581
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
518
582
|
] = Field(default=None)
|
|
519
583
|
price_overrides: Optional[
|
|
520
584
|
List[
|
|
521
|
-
"
|
|
585
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
522
586
|
]
|
|
523
587
|
] = Field(alias="priceOverrides", default=None)
|
|
524
588
|
|
|
525
589
|
|
|
526
|
-
class
|
|
590
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
527
591
|
BaseModel
|
|
528
592
|
):
|
|
529
593
|
feature_id: str = Field(alias="featureId")
|
|
530
594
|
quantity: float
|
|
531
595
|
|
|
532
596
|
|
|
533
|
-
class
|
|
534
|
-
BaseModel
|
|
535
|
-
):
|
|
597
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
536
598
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
537
599
|
quantity: float
|
|
538
600
|
|
|
539
601
|
|
|
540
|
-
class
|
|
602
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
541
603
|
BaseModel
|
|
542
604
|
):
|
|
543
605
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -545,7 +607,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
545
607
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
546
608
|
|
|
547
609
|
|
|
548
|
-
class
|
|
610
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
549
611
|
BaseModel
|
|
550
612
|
):
|
|
551
613
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -553,57 +615,51 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
553
615
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
554
616
|
|
|
555
617
|
|
|
556
|
-
class
|
|
557
|
-
BaseModel
|
|
558
|
-
):
|
|
618
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
559
619
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
560
620
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
561
621
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
562
622
|
|
|
563
623
|
|
|
564
|
-
class
|
|
565
|
-
resource_id: str = Field(alias="resourceId")
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
624
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
569
625
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
570
626
|
alias="subscriptionScheduleType"
|
|
571
627
|
)
|
|
572
628
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
573
629
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
574
|
-
target_package: Optional["
|
|
630
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
575
631
|
alias="targetPackage", default=None
|
|
576
632
|
)
|
|
577
633
|
schedule_variables: Optional[
|
|
578
634
|
Annotated[
|
|
579
635
|
Union[
|
|
580
|
-
"
|
|
581
|
-
"
|
|
582
|
-
"
|
|
583
|
-
"
|
|
584
|
-
"
|
|
585
|
-
"
|
|
586
|
-
"
|
|
587
|
-
"
|
|
636
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
637
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
638
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
639
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
640
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
641
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
642
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
643
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
588
644
|
],
|
|
589
645
|
Field(discriminator="typename__"),
|
|
590
646
|
]
|
|
591
647
|
] = Field(alias="scheduleVariables", default=None)
|
|
592
648
|
|
|
593
649
|
|
|
594
|
-
class
|
|
650
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
595
651
|
id: str
|
|
596
652
|
ref_id: str = Field(alias="refId")
|
|
597
653
|
display_name: str = Field(alias="displayName")
|
|
598
654
|
|
|
599
655
|
|
|
600
|
-
class
|
|
656
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
601
657
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
602
658
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
603
659
|
new_quantity: float = Field(alias="newQuantity")
|
|
604
660
|
|
|
605
661
|
|
|
606
|
-
class
|
|
662
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
607
663
|
BaseModel
|
|
608
664
|
):
|
|
609
665
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -611,53 +667,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
611
667
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
612
668
|
|
|
613
669
|
|
|
614
|
-
class
|
|
670
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
615
671
|
BaseModel
|
|
616
672
|
):
|
|
617
673
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
618
674
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
619
675
|
|
|
620
676
|
|
|
621
|
-
class
|
|
677
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
622
678
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
623
679
|
|
|
624
680
|
|
|
625
|
-
class
|
|
681
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
682
|
+
BaseModel
|
|
683
|
+
):
|
|
626
684
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
627
685
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
628
686
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
629
687
|
billable_features: Optional[
|
|
630
688
|
List[
|
|
631
|
-
"
|
|
689
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
632
690
|
]
|
|
633
691
|
] = Field(alias="billableFeatures", default=None)
|
|
634
692
|
addons: Optional[
|
|
635
693
|
List[
|
|
636
|
-
"
|
|
694
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
637
695
|
]
|
|
638
696
|
] = Field(default=None)
|
|
639
697
|
price_overrides: Optional[
|
|
640
698
|
List[
|
|
641
|
-
"
|
|
699
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
642
700
|
]
|
|
643
701
|
] = Field(alias="priceOverrides", default=None)
|
|
644
702
|
|
|
645
703
|
|
|
646
|
-
class
|
|
704
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
647
705
|
BaseModel
|
|
648
706
|
):
|
|
649
707
|
feature_id: str = Field(alias="featureId")
|
|
650
708
|
quantity: float
|
|
651
709
|
|
|
652
710
|
|
|
653
|
-
class
|
|
711
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
654
712
|
BaseModel
|
|
655
713
|
):
|
|
656
714
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
657
715
|
quantity: float
|
|
658
716
|
|
|
659
717
|
|
|
660
|
-
class
|
|
718
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
661
719
|
BaseModel
|
|
662
720
|
):
|
|
663
721
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -665,39 +723,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
665
723
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
666
724
|
|
|
667
725
|
|
|
668
|
-
class
|
|
726
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
669
727
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
670
728
|
plan_ref_id: str = Field(alias="planRefId")
|
|
671
729
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
672
730
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
673
731
|
billable_features: Optional[
|
|
674
732
|
List[
|
|
675
|
-
"
|
|
733
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
676
734
|
]
|
|
677
735
|
] = Field(alias="billableFeatures", default=None)
|
|
678
736
|
addons: Optional[
|
|
679
|
-
List[
|
|
737
|
+
List[
|
|
738
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
739
|
+
]
|
|
680
740
|
] = Field(default=None)
|
|
681
741
|
price_overrides: Optional[
|
|
682
742
|
List[
|
|
683
|
-
"
|
|
743
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
684
744
|
]
|
|
685
745
|
] = Field(alias="priceOverrides", default=None)
|
|
686
746
|
|
|
687
747
|
|
|
688
|
-
class
|
|
748
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
689
749
|
BaseModel
|
|
690
750
|
):
|
|
691
751
|
feature_id: str = Field(alias="featureId")
|
|
692
752
|
quantity: float
|
|
693
753
|
|
|
694
754
|
|
|
695
|
-
class
|
|
755
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
756
|
+
BaseModel
|
|
757
|
+
):
|
|
696
758
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
697
759
|
quantity: float
|
|
698
760
|
|
|
699
761
|
|
|
700
|
-
class
|
|
762
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
701
763
|
BaseModel
|
|
702
764
|
):
|
|
703
765
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -705,7 +767,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
705
767
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
706
768
|
|
|
707
769
|
|
|
708
|
-
class
|
|
770
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
709
771
|
BaseModel
|
|
710
772
|
):
|
|
711
773
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -713,12 +775,33 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
713
775
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
714
776
|
|
|
715
777
|
|
|
716
|
-
class
|
|
778
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
779
|
+
BaseModel
|
|
780
|
+
):
|
|
717
781
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
718
782
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
719
783
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
720
784
|
|
|
721
785
|
|
|
786
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
787
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
class TotalPriceFragment(BaseModel):
|
|
791
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
792
|
+
total: "TotalPriceFragmentTotal"
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
796
|
+
amount: float
|
|
797
|
+
currency: Currency
|
|
798
|
+
|
|
799
|
+
|
|
800
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
801
|
+
amount: float
|
|
802
|
+
currency: Currency
|
|
803
|
+
|
|
804
|
+
|
|
722
805
|
class SubscriptionFragment(BaseModel):
|
|
723
806
|
id: str
|
|
724
807
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -794,120 +877,37 @@ class SubscriptionFragmentPrices(BaseModel):
|
|
|
794
877
|
price: Optional["SubscriptionFragmentPricesPrice"] = Field(default=None)
|
|
795
878
|
|
|
796
879
|
|
|
797
|
-
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
798
|
-
pass
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
802
|
-
pass
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
class SubscriptionFragmentPlan(PlanFragment):
|
|
806
|
-
pass
|
|
807
|
-
|
|
808
|
-
|
|
809
|
-
class SubscriptionFragmentAddons(BaseModel):
|
|
810
|
-
id: str
|
|
811
|
-
quantity: float
|
|
812
|
-
addon: "SubscriptionFragmentAddonsAddon"
|
|
813
|
-
|
|
814
|
-
|
|
815
|
-
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
816
|
-
pass
|
|
817
|
-
|
|
818
|
-
|
|
819
|
-
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
820
|
-
pass
|
|
821
|
-
|
|
822
|
-
|
|
823
|
-
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
824
|
-
pass
|
|
825
|
-
|
|
826
|
-
|
|
827
|
-
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
828
|
-
pass
|
|
829
|
-
|
|
830
|
-
|
|
831
|
-
class FeatureFragment(BaseModel):
|
|
832
|
-
typename__: str = Field(alias="__typename")
|
|
833
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
834
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
835
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
836
|
-
feature_units_plural: Optional[str] = Field(
|
|
837
|
-
alias="featureUnitsPlural", default=None
|
|
838
|
-
)
|
|
839
|
-
description: Optional[str] = Field(default=None)
|
|
840
|
-
display_name: str = Field(alias="displayName")
|
|
841
|
-
ref_id: str = Field(alias="refId")
|
|
842
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
843
|
-
alias="unitTransformation", default=None
|
|
844
|
-
)
|
|
845
|
-
|
|
846
|
-
|
|
847
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
848
|
-
divide: float
|
|
849
|
-
round: UnitTransformationRound
|
|
850
|
-
|
|
851
|
-
|
|
852
|
-
class EntitlementFragment(BaseModel):
|
|
853
|
-
typename__: str = Field(alias="__typename")
|
|
854
|
-
is_granted: bool = Field(alias="isGranted")
|
|
855
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
856
|
-
alias="accessDeniedReason", default=None
|
|
857
|
-
)
|
|
858
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
859
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
860
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
861
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
862
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
863
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
864
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
865
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
866
|
-
alias="entitlementUpdatedAt", default=None
|
|
867
|
-
)
|
|
868
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
869
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
870
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
871
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
872
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
873
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
874
|
-
alias="resetPeriod", default=None
|
|
875
|
-
)
|
|
876
|
-
reset_period_configuration: Optional[
|
|
877
|
-
Annotated[
|
|
878
|
-
Union[
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
880
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
881
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
882
|
-
],
|
|
883
|
-
Field(discriminator="typename__"),
|
|
884
|
-
]
|
|
885
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
886
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
887
|
-
|
|
880
|
+
class SubscriptionFragmentPricesPrice(PriceFragment):
|
|
881
|
+
pass
|
|
888
882
|
|
|
889
|
-
|
|
890
|
-
|
|
891
|
-
|
|
892
|
-
alias="monthlyAccordingTo", default=None
|
|
893
|
-
)
|
|
883
|
+
|
|
884
|
+
class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
885
|
+
pass
|
|
894
886
|
|
|
895
887
|
|
|
896
|
-
class
|
|
897
|
-
|
|
898
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
899
|
-
alias="weeklyAccordingTo", default=None
|
|
900
|
-
)
|
|
888
|
+
class SubscriptionFragmentPlan(PlanFragment):
|
|
889
|
+
pass
|
|
901
890
|
|
|
902
891
|
|
|
903
|
-
class
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
)
|
|
892
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
893
|
+
id: str
|
|
894
|
+
quantity: float
|
|
895
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
908
896
|
|
|
909
897
|
|
|
910
|
-
class
|
|
898
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
899
|
+
pass
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
903
|
+
pass
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
907
|
+
pass
|
|
908
|
+
|
|
909
|
+
|
|
910
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
911
911
|
pass
|
|
912
912
|
|
|
913
913
|
|
|
@@ -988,35 +988,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
988
988
|
)
|
|
989
989
|
|
|
990
990
|
|
|
991
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
992
|
-
status: PromotionalEntitlementStatus
|
|
993
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
994
|
-
feature_id: str = Field(alias="featureId")
|
|
995
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
996
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
997
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
998
|
-
alias="resetPeriod", default=None
|
|
999
|
-
)
|
|
1000
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1001
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1002
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1003
|
-
|
|
1004
|
-
|
|
1005
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1006
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1007
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1008
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1009
|
-
feature_units_plural: Optional[str] = Field(
|
|
1010
|
-
alias="featureUnitsPlural", default=None
|
|
1011
|
-
)
|
|
1012
|
-
display_name: str = Field(alias="displayName")
|
|
1013
|
-
description: Optional[str] = Field(default=None)
|
|
1014
|
-
ref_id: str = Field(alias="refId")
|
|
1015
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1016
|
-
alias="additionalMetaData", default=None
|
|
1017
|
-
)
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
991
|
class CouponFragment(BaseModel):
|
|
1021
992
|
id: str
|
|
1022
993
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1051,6 +1022,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1051
1022
|
status: SyncStatus
|
|
1052
1023
|
|
|
1053
1024
|
|
|
1025
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1026
|
+
status: PromotionalEntitlementStatus
|
|
1027
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1028
|
+
feature_id: str = Field(alias="featureId")
|
|
1029
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1030
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1031
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1032
|
+
alias="resetPeriod", default=None
|
|
1033
|
+
)
|
|
1034
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1035
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1036
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1037
|
+
|
|
1038
|
+
|
|
1039
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1040
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1041
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1042
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1043
|
+
feature_units_plural: Optional[str] = Field(
|
|
1044
|
+
alias="featureUnitsPlural", default=None
|
|
1045
|
+
)
|
|
1046
|
+
display_name: str = Field(alias="displayName")
|
|
1047
|
+
description: Optional[str] = Field(default=None)
|
|
1048
|
+
ref_id: str = Field(alias="refId")
|
|
1049
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1050
|
+
alias="additionalMetaData", default=None
|
|
1051
|
+
)
|
|
1052
|
+
|
|
1053
|
+
|
|
1054
1054
|
class CustomerFragment(SlimCustomerFragment):
|
|
1055
1055
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1056
1056
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1257,6 +1257,40 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1261
|
+
addon_id: str = Field(alias="addonId")
|
|
1262
|
+
description: Optional[str] = Field(default=None)
|
|
1263
|
+
display_name: str = Field(alias="displayName")
|
|
1264
|
+
quantity: int
|
|
1265
|
+
|
|
1266
|
+
|
|
1267
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1268
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1269
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1270
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1271
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1272
|
+
default=None
|
|
1273
|
+
)
|
|
1274
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1275
|
+
default=None
|
|
1276
|
+
)
|
|
1277
|
+
|
|
1278
|
+
|
|
1279
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1280
|
+
amount: float
|
|
1281
|
+
currency: Currency
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1285
|
+
id: str
|
|
1286
|
+
ref_id: str = Field(alias="refId")
|
|
1287
|
+
display_name: str = Field(alias="displayName")
|
|
1288
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1289
|
+
feature_units_plural: Optional[str] = Field(
|
|
1290
|
+
alias="featureUnitsPlural", default=None
|
|
1291
|
+
)
|
|
1292
|
+
|
|
1293
|
+
|
|
1260
1294
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1261
1295
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1262
1296
|
alias="subscriptionScheduleType"
|
|
@@ -1426,40 +1460,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1426
1460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1427
1461
|
|
|
1428
1462
|
|
|
1429
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1430
|
-
addon_id: str = Field(alias="addonId")
|
|
1431
|
-
description: Optional[str] = Field(default=None)
|
|
1432
|
-
display_name: str = Field(alias="displayName")
|
|
1433
|
-
quantity: int
|
|
1434
|
-
|
|
1435
|
-
|
|
1436
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1437
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1438
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1439
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1440
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1441
|
-
default=None
|
|
1442
|
-
)
|
|
1443
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1444
|
-
default=None
|
|
1445
|
-
)
|
|
1446
|
-
|
|
1447
|
-
|
|
1448
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1449
|
-
amount: float
|
|
1450
|
-
currency: Currency
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1454
|
-
id: str
|
|
1455
|
-
ref_id: str = Field(alias="refId")
|
|
1456
|
-
display_name: str = Field(alias="displayName")
|
|
1457
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1458
|
-
feature_units_plural: Optional[str] = Field(
|
|
1459
|
-
alias="featureUnitsPlural", default=None
|
|
1460
|
-
)
|
|
1461
|
-
|
|
1462
|
-
|
|
1463
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1464
1464
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1465
1465
|
plan_id: str = Field(alias="planId")
|
|
@@ -1793,6 +1793,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1793
1793
|
description: Optional[str] = Field(default=None)
|
|
1794
1794
|
|
|
1795
1795
|
|
|
1796
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1797
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1798
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1799
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1800
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1801
|
+
alias="resetPeriod", default=None
|
|
1802
|
+
)
|
|
1803
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1804
|
+
alias="hiddenFromWidgets", default=None
|
|
1805
|
+
)
|
|
1806
|
+
display_name_override: Optional[str] = Field(
|
|
1807
|
+
alias="displayNameOverride", default=None
|
|
1808
|
+
)
|
|
1809
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1810
|
+
default=None
|
|
1811
|
+
)
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1815
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1816
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1817
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1818
|
+
feature_units_plural: Optional[str] = Field(
|
|
1819
|
+
alias="featureUnitsPlural", default=None
|
|
1820
|
+
)
|
|
1821
|
+
display_name: str = Field(alias="displayName")
|
|
1822
|
+
description: Optional[str] = Field(default=None)
|
|
1823
|
+
ref_id: str = Field(alias="refId")
|
|
1824
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1825
|
+
alias="additionalMetaData", default=None
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
|
|
1796
1829
|
class MockPaywallPriceFragment(BaseModel):
|
|
1797
1830
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1798
1831
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1827,39 +1860,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1827
1860
|
display_name: str = Field(alias="displayName")
|
|
1828
1861
|
|
|
1829
1862
|
|
|
1830
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1831
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1832
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1833
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1834
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1835
|
-
alias="resetPeriod", default=None
|
|
1836
|
-
)
|
|
1837
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1838
|
-
alias="hiddenFromWidgets", default=None
|
|
1839
|
-
)
|
|
1840
|
-
display_name_override: Optional[str] = Field(
|
|
1841
|
-
alias="displayNameOverride", default=None
|
|
1842
|
-
)
|
|
1843
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1844
|
-
default=None
|
|
1845
|
-
)
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1849
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1850
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1851
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1852
|
-
feature_units_plural: Optional[str] = Field(
|
|
1853
|
-
alias="featureUnitsPlural", default=None
|
|
1854
|
-
)
|
|
1855
|
-
display_name: str = Field(alias="displayName")
|
|
1856
|
-
description: Optional[str] = Field(default=None)
|
|
1857
|
-
ref_id: str = Field(alias="refId")
|
|
1858
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1859
|
-
alias="additionalMetaData", default=None
|
|
1860
|
-
)
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
1863
|
class MockPaywallAddonFragment(BaseModel):
|
|
1864
1864
|
ref_id: str = Field(alias="refId")
|
|
1865
1865
|
display_name: str = Field(alias="displayName")
|
|
@@ -2829,37 +2829,37 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2829
2829
|
|
|
2830
2830
|
AddonDependencyFragment.model_rebuild()
|
|
2831
2831
|
PriceTierFragment.model_rebuild()
|
|
2832
|
-
PriceFragment.model_rebuild()
|
|
2833
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2834
2832
|
OveragePriceFragment.model_rebuild()
|
|
2833
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2834
|
+
PriceFragment.model_rebuild()
|
|
2835
2835
|
AddonFragment.model_rebuild()
|
|
2836
|
-
|
|
2837
|
-
|
|
2836
|
+
FeatureFragment.model_rebuild()
|
|
2837
|
+
EntitlementFragment.model_rebuild()
|
|
2838
2838
|
SlimCustomerFragment.model_rebuild()
|
|
2839
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2840
|
-
ProductFragment.model_rebuild()
|
|
2841
2839
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2840
|
+
ProductFragment.model_rebuild()
|
|
2842
2841
|
PlanFragment.model_rebuild()
|
|
2843
|
-
|
|
2842
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2844
2843
|
CustomerResourceFragment.model_rebuild()
|
|
2845
2844
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2845
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2846
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2847
|
+
TotalPriceFragment.model_rebuild()
|
|
2846
2848
|
SubscriptionFragment.model_rebuild()
|
|
2847
|
-
FeatureFragment.model_rebuild()
|
|
2848
|
-
EntitlementFragment.model_rebuild()
|
|
2849
2849
|
ApplySubscriptionFragment.model_rebuild()
|
|
2850
2850
|
FontVariantFragment.model_rebuild()
|
|
2851
2851
|
TypographyConfigurationFragment.model_rebuild()
|
|
2852
2852
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2853
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2854
2853
|
CouponFragment.model_rebuild()
|
|
2854
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2855
2855
|
CustomerFragment.model_rebuild()
|
|
2856
2856
|
CheckoutStateFragment.model_rebuild()
|
|
2857
2857
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2858
2858
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2859
2859
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2860
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2861
2860
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2862
2861
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2862
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2863
2863
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2864
2864
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2865
2865
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -2871,8 +2871,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2871
2871
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2872
2872
|
LayoutConfigurationFragment.model_rebuild()
|
|
2873
2873
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2874
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2875
2874
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2875
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2876
2876
|
MockPaywallAddonFragment.model_rebuild()
|
|
2877
2877
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2878
2878
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=Ax7idhOxqqwhmzBPImea0R-KRcq7j5EQNVAqUFbMl_8,3551
|
|
|
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=dI-CRq1RbiJACLH8acNlO7DZlJKpN8x6nemkJes9Lgg,103124
|
|
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
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.446.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.446.1.dist-info/METADATA,sha256=Vd2810WLFbhHn0ld5H-Z85MkycQT0oS0X2EIjceocwA,2258
|
|
166
|
+
stigg_api_client_v2-2.446.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.446.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|