stigg-api-client-v2 3.9.0__py3-none-any.whl → 3.10.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/fragments.py +288 -288
- stigg/generated/input_types.py +1 -0
- {stigg_api_client_v2-3.9.0.dist-info → stigg_api_client_v2-3.10.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.9.0.dist-info → stigg_api_client_v2-3.10.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.9.0.dist-info → stigg_api_client_v2-3.10.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.9.0.dist-info → stigg_api_client_v2-3.10.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -116,38 +116,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
116
116
|
description: Optional[str] = Field(default=None)
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
class OveragePriceFragment(BaseModel):
|
|
120
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
123
|
-
billing_country_code: Optional[str] = Field(
|
|
124
|
-
alias="billingCountryCode", default=None
|
|
125
|
-
)
|
|
126
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
133
|
-
amount: float
|
|
134
|
-
currency: Currency
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
138
|
-
pass
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
142
|
-
ref_id: str = Field(alias="refId")
|
|
143
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
|
-
feature_units_plural: Optional[str] = Field(
|
|
145
|
-
alias="featureUnitsPlural", default=None
|
|
146
|
-
)
|
|
147
|
-
display_name: str = Field(alias="displayName")
|
|
148
|
-
description: Optional[str] = Field(default=None)
|
|
149
|
-
|
|
150
|
-
|
|
151
119
|
class PackageEntitlementFragment(BaseModel):
|
|
152
120
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
153
121
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -182,6 +150,38 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
182
150
|
)
|
|
183
151
|
|
|
184
152
|
|
|
153
|
+
class OveragePriceFragment(BaseModel):
|
|
154
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
155
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
156
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
157
|
+
billing_country_code: Optional[str] = Field(
|
|
158
|
+
alias="billingCountryCode", default=None
|
|
159
|
+
)
|
|
160
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
161
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
162
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
163
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
164
|
+
|
|
165
|
+
|
|
166
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
167
|
+
amount: float
|
|
168
|
+
currency: Currency
|
|
169
|
+
|
|
170
|
+
|
|
171
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
172
|
+
pass
|
|
173
|
+
|
|
174
|
+
|
|
175
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
176
|
+
ref_id: str = Field(alias="refId")
|
|
177
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
178
|
+
feature_units_plural: Optional[str] = Field(
|
|
179
|
+
alias="featureUnitsPlural", default=None
|
|
180
|
+
)
|
|
181
|
+
display_name: str = Field(alias="displayName")
|
|
182
|
+
description: Optional[str] = Field(default=None)
|
|
183
|
+
|
|
184
|
+
|
|
185
185
|
class AddonFragment(BaseModel):
|
|
186
186
|
id: Any
|
|
187
187
|
ref_id: str = Field(alias="refId")
|
|
@@ -220,93 +220,25 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
220
220
|
pass
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
class
|
|
224
|
-
typename__: str = Field(alias="__typename")
|
|
225
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
226
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
227
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
228
|
-
feature_units_plural: Optional[str] = Field(
|
|
229
|
-
alias="featureUnitsPlural", default=None
|
|
230
|
-
)
|
|
231
|
-
description: Optional[str] = Field(default=None)
|
|
232
|
-
display_name: str = Field(alias="displayName")
|
|
223
|
+
class ProductFragment(BaseModel):
|
|
233
224
|
ref_id: str = Field(alias="refId")
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
240
|
-
divide: float
|
|
241
|
-
round: UnitTransformationRound
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
class EntitlementFragment(BaseModel):
|
|
245
|
-
typename__: str = Field(alias="__typename")
|
|
246
|
-
is_granted: bool = Field(alias="isGranted")
|
|
247
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
248
|
-
alias="accessDeniedReason", default=None
|
|
249
|
-
)
|
|
250
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
251
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
252
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
253
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
254
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
255
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
256
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
257
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
258
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
259
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
260
|
-
alias="entitlementUpdatedAt", default=None
|
|
261
|
-
)
|
|
262
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
263
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
264
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
265
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
266
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
267
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
268
|
-
alias="resetPeriod", default=None
|
|
269
|
-
)
|
|
270
|
-
reset_period_configuration: Optional[
|
|
271
|
-
Annotated[
|
|
272
|
-
Union[
|
|
273
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
274
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
275
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
276
|
-
],
|
|
277
|
-
Field(discriminator="typename__"),
|
|
278
|
-
]
|
|
279
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
280
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
284
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
286
|
-
alias="monthlyAccordingTo", default=None
|
|
287
|
-
)
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
291
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
293
|
-
alias="weeklyAccordingTo", default=None
|
|
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
|
|
294
229
|
)
|
|
230
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
295
231
|
|
|
296
232
|
|
|
297
|
-
class
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
alias="yearlyAccordingTo", default=None
|
|
233
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
234
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
235
|
+
alias="downgradePlan", default=None
|
|
301
236
|
)
|
|
302
237
|
|
|
303
238
|
|
|
304
|
-
class
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
class CustomerResourceFragment(BaseModel):
|
|
309
|
-
resource_id: str = Field(alias="resourceId")
|
|
239
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
240
|
+
ref_id: str = Field(alias="refId")
|
|
241
|
+
display_name: str = Field(alias="displayName")
|
|
310
242
|
|
|
311
243
|
|
|
312
244
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -327,27 +259,6 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
327
259
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
328
260
|
|
|
329
261
|
|
|
330
|
-
class ProductFragment(BaseModel):
|
|
331
|
-
ref_id: str = Field(alias="refId")
|
|
332
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
333
|
-
description: Optional[str] = Field(default=None)
|
|
334
|
-
additional_meta_data: Optional[Any] = Field(
|
|
335
|
-
alias="additionalMetaData", default=None
|
|
336
|
-
)
|
|
337
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
341
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
342
|
-
alias="downgradePlan", default=None
|
|
343
|
-
)
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
347
|
-
ref_id: str = Field(alias="refId")
|
|
348
|
-
display_name: str = Field(alias="displayName")
|
|
349
|
-
|
|
350
|
-
|
|
351
262
|
class PlanFragment(BaseModel):
|
|
352
263
|
id: Any
|
|
353
264
|
ref_id: str = Field(alias="refId")
|
|
@@ -429,45 +340,81 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
429
340
|
limit: float
|
|
430
341
|
|
|
431
342
|
|
|
432
|
-
class
|
|
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
|
+
class SlimCustomerFragment(BaseModel):
|
|
359
|
+
id: Any
|
|
360
|
+
name: Optional[str] = Field(default=None)
|
|
361
|
+
email: Optional[str] = Field(default=None)
|
|
362
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
363
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
364
|
+
ref_id: str = Field(alias="refId")
|
|
365
|
+
customer_id: str = Field(alias="customerId")
|
|
366
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
367
|
+
additional_meta_data: Optional[Any] = Field(
|
|
368
|
+
alias="additionalMetaData", default=None
|
|
369
|
+
)
|
|
370
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
371
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
372
|
+
)
|
|
373
|
+
|
|
374
|
+
|
|
375
|
+
class CustomerResourceFragment(BaseModel):
|
|
376
|
+
resource_id: str = Field(alias="resourceId")
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
433
380
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
434
381
|
alias="subscriptionScheduleType"
|
|
435
382
|
)
|
|
436
383
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
437
384
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
438
|
-
target_package: Optional["
|
|
385
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
439
386
|
alias="targetPackage", default=None
|
|
440
387
|
)
|
|
441
388
|
schedule_variables: Optional[
|
|
442
389
|
Annotated[
|
|
443
390
|
Union[
|
|
444
|
-
"
|
|
445
|
-
"
|
|
446
|
-
"
|
|
447
|
-
"
|
|
448
|
-
"
|
|
449
|
-
"
|
|
450
|
-
"
|
|
451
|
-
"
|
|
391
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
392
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
393
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
394
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
395
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
396
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
397
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
398
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
452
399
|
],
|
|
453
400
|
Field(discriminator="typename__"),
|
|
454
401
|
]
|
|
455
402
|
] = Field(alias="scheduleVariables", default=None)
|
|
456
403
|
|
|
457
404
|
|
|
458
|
-
class
|
|
405
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
459
406
|
id: Any
|
|
460
407
|
ref_id: str = Field(alias="refId")
|
|
461
408
|
display_name: str = Field(alias="displayName")
|
|
462
409
|
|
|
463
410
|
|
|
464
|
-
class
|
|
411
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
465
412
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
466
413
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
467
414
|
new_quantity: float = Field(alias="newQuantity")
|
|
468
415
|
|
|
469
416
|
|
|
470
|
-
class
|
|
417
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
471
418
|
BaseModel
|
|
472
419
|
):
|
|
473
420
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -475,53 +422,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
475
422
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
476
423
|
|
|
477
424
|
|
|
478
|
-
class
|
|
425
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
479
426
|
BaseModel
|
|
480
427
|
):
|
|
481
428
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
482
429
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
483
430
|
|
|
484
431
|
|
|
485
|
-
class
|
|
432
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
486
433
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
487
434
|
|
|
488
435
|
|
|
489
|
-
class
|
|
436
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
437
|
+
BaseModel
|
|
438
|
+
):
|
|
490
439
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
491
440
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
492
441
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
493
442
|
billable_features: Optional[
|
|
494
443
|
List[
|
|
495
|
-
"
|
|
444
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
496
445
|
]
|
|
497
446
|
] = Field(alias="billableFeatures", default=None)
|
|
498
447
|
addons: Optional[
|
|
499
448
|
List[
|
|
500
|
-
"
|
|
449
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
501
450
|
]
|
|
502
451
|
] = Field(default=None)
|
|
503
452
|
price_overrides: Optional[
|
|
504
453
|
List[
|
|
505
|
-
"
|
|
454
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
506
455
|
]
|
|
507
456
|
] = Field(alias="priceOverrides", default=None)
|
|
508
457
|
|
|
509
458
|
|
|
510
|
-
class
|
|
459
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
511
460
|
BaseModel
|
|
512
461
|
):
|
|
513
462
|
feature_id: str = Field(alias="featureId")
|
|
514
463
|
quantity: float
|
|
515
464
|
|
|
516
465
|
|
|
517
|
-
class
|
|
466
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
518
467
|
BaseModel
|
|
519
468
|
):
|
|
520
469
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
521
470
|
quantity: float
|
|
522
471
|
|
|
523
472
|
|
|
524
|
-
class
|
|
473
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
525
474
|
BaseModel
|
|
526
475
|
):
|
|
527
476
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -529,39 +478,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
529
478
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
530
479
|
|
|
531
480
|
|
|
532
|
-
class
|
|
481
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
533
482
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
534
483
|
plan_ref_id: str = Field(alias="planRefId")
|
|
535
484
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
536
485
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
537
486
|
billable_features: Optional[
|
|
538
487
|
List[
|
|
539
|
-
"
|
|
488
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
540
489
|
]
|
|
541
490
|
] = Field(alias="billableFeatures", default=None)
|
|
542
491
|
addons: Optional[
|
|
543
|
-
List[
|
|
492
|
+
List[
|
|
493
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
494
|
+
]
|
|
544
495
|
] = Field(default=None)
|
|
545
496
|
price_overrides: Optional[
|
|
546
497
|
List[
|
|
547
|
-
"
|
|
498
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
548
499
|
]
|
|
549
500
|
] = Field(alias="priceOverrides", default=None)
|
|
550
501
|
|
|
551
502
|
|
|
552
|
-
class
|
|
503
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
553
504
|
BaseModel
|
|
554
505
|
):
|
|
555
506
|
feature_id: str = Field(alias="featureId")
|
|
556
507
|
quantity: float
|
|
557
508
|
|
|
558
509
|
|
|
559
|
-
class
|
|
510
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
511
|
+
BaseModel
|
|
512
|
+
):
|
|
560
513
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
561
514
|
quantity: float
|
|
562
515
|
|
|
563
516
|
|
|
564
|
-
class
|
|
517
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
565
518
|
BaseModel
|
|
566
519
|
):
|
|
567
520
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -569,7 +522,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
569
522
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
570
523
|
|
|
571
524
|
|
|
572
|
-
class
|
|
525
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
573
526
|
BaseModel
|
|
574
527
|
):
|
|
575
528
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -577,72 +530,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
577
530
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
578
531
|
|
|
579
532
|
|
|
580
|
-
class
|
|
533
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
534
|
+
BaseModel
|
|
535
|
+
):
|
|
581
536
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
582
537
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
583
538
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
584
539
|
|
|
585
540
|
|
|
586
|
-
class
|
|
587
|
-
id: Any
|
|
588
|
-
name: Optional[str] = Field(default=None)
|
|
589
|
-
email: Optional[str] = Field(default=None)
|
|
590
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
591
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
592
|
-
ref_id: str = Field(alias="refId")
|
|
593
|
-
customer_id: str = Field(alias="customerId")
|
|
594
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
595
|
-
additional_meta_data: Optional[Any] = Field(
|
|
596
|
-
alias="additionalMetaData", default=None
|
|
597
|
-
)
|
|
598
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
599
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
600
|
-
)
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
604
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
541
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
608
542
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
609
543
|
alias="subscriptionScheduleType"
|
|
610
544
|
)
|
|
611
545
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
612
546
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
613
|
-
target_package: Optional["
|
|
547
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
614
548
|
alias="targetPackage", default=None
|
|
615
549
|
)
|
|
616
550
|
schedule_variables: Optional[
|
|
617
551
|
Annotated[
|
|
618
552
|
Union[
|
|
619
|
-
"
|
|
620
|
-
"
|
|
621
|
-
"
|
|
622
|
-
"
|
|
623
|
-
"
|
|
624
|
-
"
|
|
625
|
-
"
|
|
626
|
-
"
|
|
553
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
554
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
555
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
556
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
557
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
558
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
559
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
560
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
627
561
|
],
|
|
628
562
|
Field(discriminator="typename__"),
|
|
629
563
|
]
|
|
630
564
|
] = Field(alias="scheduleVariables", default=None)
|
|
631
565
|
|
|
632
566
|
|
|
633
|
-
class
|
|
567
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
634
568
|
id: Any
|
|
635
569
|
ref_id: str = Field(alias="refId")
|
|
636
570
|
display_name: str = Field(alias="displayName")
|
|
637
571
|
|
|
638
572
|
|
|
639
|
-
class
|
|
573
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
640
574
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
641
575
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
642
576
|
new_quantity: float = Field(alias="newQuantity")
|
|
643
577
|
|
|
644
578
|
|
|
645
|
-
class
|
|
579
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
646
580
|
BaseModel
|
|
647
581
|
):
|
|
648
582
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -650,55 +584,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
650
584
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
651
585
|
|
|
652
586
|
|
|
653
|
-
class
|
|
587
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
654
588
|
BaseModel
|
|
655
589
|
):
|
|
656
590
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
657
591
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
658
592
|
|
|
659
593
|
|
|
660
|
-
class
|
|
594
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
661
595
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
662
596
|
|
|
663
597
|
|
|
664
|
-
class
|
|
665
|
-
BaseModel
|
|
666
|
-
):
|
|
598
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
667
599
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
668
600
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
669
601
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
670
602
|
billable_features: Optional[
|
|
671
603
|
List[
|
|
672
|
-
"
|
|
604
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
673
605
|
]
|
|
674
606
|
] = Field(alias="billableFeatures", default=None)
|
|
675
607
|
addons: Optional[
|
|
676
608
|
List[
|
|
677
|
-
"
|
|
609
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
678
610
|
]
|
|
679
611
|
] = Field(default=None)
|
|
680
612
|
price_overrides: Optional[
|
|
681
613
|
List[
|
|
682
|
-
"
|
|
614
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
683
615
|
]
|
|
684
616
|
] = Field(alias="priceOverrides", default=None)
|
|
685
617
|
|
|
686
618
|
|
|
687
|
-
class
|
|
619
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
688
620
|
BaseModel
|
|
689
621
|
):
|
|
690
622
|
feature_id: str = Field(alias="featureId")
|
|
691
623
|
quantity: float
|
|
692
624
|
|
|
693
625
|
|
|
694
|
-
class
|
|
626
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
695
627
|
BaseModel
|
|
696
628
|
):
|
|
697
629
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
698
630
|
quantity: float
|
|
699
631
|
|
|
700
632
|
|
|
701
|
-
class
|
|
633
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
702
634
|
BaseModel
|
|
703
635
|
):
|
|
704
636
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -706,43 +638,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
706
638
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
707
639
|
|
|
708
640
|
|
|
709
|
-
class
|
|
641
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
710
642
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
711
643
|
plan_ref_id: str = Field(alias="planRefId")
|
|
712
644
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
713
645
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
714
646
|
billable_features: Optional[
|
|
715
647
|
List[
|
|
716
|
-
"
|
|
648
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
717
649
|
]
|
|
718
650
|
] = Field(alias="billableFeatures", default=None)
|
|
719
651
|
addons: Optional[
|
|
720
|
-
List[
|
|
721
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
722
|
-
]
|
|
652
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
723
653
|
] = Field(default=None)
|
|
724
654
|
price_overrides: Optional[
|
|
725
655
|
List[
|
|
726
|
-
"
|
|
656
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
727
657
|
]
|
|
728
658
|
] = Field(alias="priceOverrides", default=None)
|
|
729
659
|
|
|
730
660
|
|
|
731
|
-
class
|
|
661
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
732
662
|
BaseModel
|
|
733
663
|
):
|
|
734
664
|
feature_id: str = Field(alias="featureId")
|
|
735
665
|
quantity: float
|
|
736
666
|
|
|
737
667
|
|
|
738
|
-
class
|
|
739
|
-
BaseModel
|
|
740
|
-
):
|
|
668
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
741
669
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
742
670
|
quantity: float
|
|
743
671
|
|
|
744
672
|
|
|
745
|
-
class
|
|
673
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
746
674
|
BaseModel
|
|
747
675
|
):
|
|
748
676
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -750,7 +678,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
750
678
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
751
679
|
|
|
752
680
|
|
|
753
|
-
class
|
|
681
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
754
682
|
BaseModel
|
|
755
683
|
):
|
|
756
684
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -758,9 +686,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
758
686
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
759
687
|
|
|
760
688
|
|
|
761
|
-
class
|
|
762
|
-
BaseModel
|
|
763
|
-
):
|
|
689
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
764
690
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
765
691
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
766
692
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
@@ -793,19 +719,8 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
793
719
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
794
720
|
|
|
795
721
|
|
|
796
|
-
class
|
|
797
|
-
|
|
798
|
-
total: "TotalPriceFragmentTotal"
|
|
799
|
-
|
|
800
|
-
|
|
801
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
802
|
-
amount: float
|
|
803
|
-
currency: Currency
|
|
804
|
-
|
|
805
|
-
|
|
806
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
807
|
-
amount: float
|
|
808
|
-
currency: Currency
|
|
722
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
723
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
809
724
|
|
|
810
725
|
|
|
811
726
|
class SubscriptionFragment(BaseModel):
|
|
@@ -917,6 +832,91 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
917
832
|
pass
|
|
918
833
|
|
|
919
834
|
|
|
835
|
+
class FeatureFragment(BaseModel):
|
|
836
|
+
typename__: str = Field(alias="__typename")
|
|
837
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
838
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
839
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
840
|
+
feature_units_plural: Optional[str] = Field(
|
|
841
|
+
alias="featureUnitsPlural", default=None
|
|
842
|
+
)
|
|
843
|
+
description: Optional[str] = Field(default=None)
|
|
844
|
+
display_name: str = Field(alias="displayName")
|
|
845
|
+
ref_id: str = Field(alias="refId")
|
|
846
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
847
|
+
alias="unitTransformation", default=None
|
|
848
|
+
)
|
|
849
|
+
|
|
850
|
+
|
|
851
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
852
|
+
divide: float
|
|
853
|
+
round: UnitTransformationRound
|
|
854
|
+
|
|
855
|
+
|
|
856
|
+
class EntitlementFragment(BaseModel):
|
|
857
|
+
typename__: str = Field(alias="__typename")
|
|
858
|
+
is_granted: bool = Field(alias="isGranted")
|
|
859
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
860
|
+
alias="accessDeniedReason", default=None
|
|
861
|
+
)
|
|
862
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
863
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
864
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
865
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
866
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
867
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
868
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
869
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
870
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
871
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
872
|
+
alias="entitlementUpdatedAt", default=None
|
|
873
|
+
)
|
|
874
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
875
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
876
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
877
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
878
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
879
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
880
|
+
alias="resetPeriod", default=None
|
|
881
|
+
)
|
|
882
|
+
reset_period_configuration: Optional[
|
|
883
|
+
Annotated[
|
|
884
|
+
Union[
|
|
885
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
886
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
887
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
888
|
+
],
|
|
889
|
+
Field(discriminator="typename__"),
|
|
890
|
+
]
|
|
891
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
892
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
893
|
+
|
|
894
|
+
|
|
895
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
896
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
898
|
+
alias="monthlyAccordingTo", default=None
|
|
899
|
+
)
|
|
900
|
+
|
|
901
|
+
|
|
902
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
903
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
905
|
+
alias="weeklyAccordingTo", default=None
|
|
906
|
+
)
|
|
907
|
+
|
|
908
|
+
|
|
909
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
910
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
911
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
912
|
+
alias="yearlyAccordingTo", default=None
|
|
913
|
+
)
|
|
914
|
+
|
|
915
|
+
|
|
916
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
917
|
+
pass
|
|
918
|
+
|
|
919
|
+
|
|
920
920
|
class ApplySubscriptionFragment(BaseModel):
|
|
921
921
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
922
922
|
default=None
|
|
@@ -1263,6 +1263,13 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1263
1263
|
pass
|
|
1264
1264
|
|
|
1265
1265
|
|
|
1266
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1267
|
+
addon_id: str = Field(alias="addonId")
|
|
1268
|
+
description: Optional[str] = Field(default=None)
|
|
1269
|
+
display_name: str = Field(alias="displayName")
|
|
1270
|
+
quantity: int
|
|
1271
|
+
|
|
1272
|
+
|
|
1266
1273
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1267
1274
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1268
1275
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1290,13 +1297,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1290
1297
|
)
|
|
1291
1298
|
|
|
1292
1299
|
|
|
1293
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1294
|
-
addon_id: str = Field(alias="addonId")
|
|
1295
|
-
description: Optional[str] = Field(default=None)
|
|
1296
|
-
display_name: str = Field(alias="displayName")
|
|
1297
|
-
quantity: int
|
|
1298
|
-
|
|
1299
|
-
|
|
1300
1300
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1301
1301
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1302
1302
|
alias="subscriptionScheduleType"
|
|
@@ -1799,40 +1799,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1799
1799
|
description: Optional[str] = Field(default=None)
|
|
1800
1800
|
|
|
1801
1801
|
|
|
1802
|
-
class MockPaywallPriceFragment(BaseModel):
|
|
1803
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
1804
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
1805
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
1806
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
1807
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
1808
|
-
billing_country_code: Optional[str] = Field(
|
|
1809
|
-
alias="billingCountryCode", default=None
|
|
1810
|
-
)
|
|
1811
|
-
price: Optional["MockPaywallPriceFragmentPrice"] = Field(default=None)
|
|
1812
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
1813
|
-
tiers: Optional[List["MockPaywallPriceFragmentTiers"]] = Field(default=None)
|
|
1814
|
-
feature: Optional["MockPaywallPriceFragmentFeature"] = Field(default=None)
|
|
1815
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
class MockPaywallPriceFragmentPrice(BaseModel):
|
|
1819
|
-
amount: float
|
|
1820
|
-
currency: Currency
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
class MockPaywallPriceFragmentTiers(PriceTierFragment):
|
|
1824
|
-
pass
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
class MockPaywallPriceFragmentFeature(BaseModel):
|
|
1828
|
-
ref_id: str = Field(alias="refId")
|
|
1829
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1830
|
-
feature_units_plural: Optional[str] = Field(
|
|
1831
|
-
alias="featureUnitsPlural", default=None
|
|
1832
|
-
)
|
|
1833
|
-
display_name: str = Field(alias="displayName")
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
1802
|
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1837
1803
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1838
1804
|
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
@@ -1867,6 +1833,40 @@ class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
|
1867
1833
|
)
|
|
1868
1834
|
|
|
1869
1835
|
|
|
1836
|
+
class MockPaywallPriceFragment(BaseModel):
|
|
1837
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
1838
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
1839
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
1840
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
1841
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
1842
|
+
billing_country_code: Optional[str] = Field(
|
|
1843
|
+
alias="billingCountryCode", default=None
|
|
1844
|
+
)
|
|
1845
|
+
price: Optional["MockPaywallPriceFragmentPrice"] = Field(default=None)
|
|
1846
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
1847
|
+
tiers: Optional[List["MockPaywallPriceFragmentTiers"]] = Field(default=None)
|
|
1848
|
+
feature: Optional["MockPaywallPriceFragmentFeature"] = Field(default=None)
|
|
1849
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1850
|
+
|
|
1851
|
+
|
|
1852
|
+
class MockPaywallPriceFragmentPrice(BaseModel):
|
|
1853
|
+
amount: float
|
|
1854
|
+
currency: Currency
|
|
1855
|
+
|
|
1856
|
+
|
|
1857
|
+
class MockPaywallPriceFragmentTiers(PriceTierFragment):
|
|
1858
|
+
pass
|
|
1859
|
+
|
|
1860
|
+
|
|
1861
|
+
class MockPaywallPriceFragmentFeature(BaseModel):
|
|
1862
|
+
ref_id: str = Field(alias="refId")
|
|
1863
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1864
|
+
feature_units_plural: Optional[str] = Field(
|
|
1865
|
+
alias="featureUnitsPlural", default=None
|
|
1866
|
+
)
|
|
1867
|
+
display_name: str = Field(alias="displayName")
|
|
1868
|
+
|
|
1869
|
+
|
|
1870
1870
|
class MockPaywallAddonFragment(BaseModel):
|
|
1871
1871
|
ref_id: str = Field(alias="refId")
|
|
1872
1872
|
display_name: str = Field(alias="displayName")
|
|
@@ -2842,22 +2842,22 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2842
2842
|
AddonDependencyFragment.model_rebuild()
|
|
2843
2843
|
PriceTierFragment.model_rebuild()
|
|
2844
2844
|
PriceFragment.model_rebuild()
|
|
2845
|
-
OveragePriceFragment.model_rebuild()
|
|
2846
2845
|
PackageEntitlementFragment.model_rebuild()
|
|
2846
|
+
OveragePriceFragment.model_rebuild()
|
|
2847
2847
|
AddonFragment.model_rebuild()
|
|
2848
|
-
FeatureFragment.model_rebuild()
|
|
2849
|
-
EntitlementFragment.model_rebuild()
|
|
2850
|
-
CustomerResourceFragment.model_rebuild()
|
|
2851
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2852
2848
|
ProductFragment.model_rebuild()
|
|
2849
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2853
2850
|
PlanFragment.model_rebuild()
|
|
2854
|
-
|
|
2851
|
+
TotalPriceFragment.model_rebuild()
|
|
2855
2852
|
SlimCustomerFragment.model_rebuild()
|
|
2856
|
-
|
|
2853
|
+
CustomerResourceFragment.model_rebuild()
|
|
2857
2854
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2855
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2858
2856
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2859
|
-
|
|
2857
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2860
2858
|
SubscriptionFragment.model_rebuild()
|
|
2859
|
+
FeatureFragment.model_rebuild()
|
|
2860
|
+
EntitlementFragment.model_rebuild()
|
|
2861
2861
|
ApplySubscriptionFragment.model_rebuild()
|
|
2862
2862
|
FontVariantFragment.model_rebuild()
|
|
2863
2863
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2869,8 +2869,8 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2869
2869
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2870
2870
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2872
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2873
2872
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2873
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2874
2874
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2875
2875
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2876
2876
|
CustomerPortalPromotionalEntitlementFragment.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
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2887
2886
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2887
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2888
2888
|
MockPaywallAddonFragment.model_rebuild()
|
|
2889
2889
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2890
2890
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -253,6 +253,7 @@ class ApplySubscriptionInput(BaseModel):
|
|
|
253
253
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
254
254
|
budget: Optional["BudgetConfigurationInput"] = None
|
|
255
255
|
customer_id: str = Field(alias="customerId")
|
|
256
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
256
257
|
minimum_spend: Optional["SubscriptionMinimumSpendValueInput"] = Field(
|
|
257
258
|
alias="minimumSpend", default=None
|
|
258
259
|
)
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=Q8Po8_Wmdxjpc5xevWh2mBx2SoemvHwq5jGyLn8QwUg,3729
|
|
|
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=CB_SHiPmmtCuN7FlNURlN-uJA2FJV5i1dg0MWtjSHjI,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=WEYa9D2cw-Dd-XDLbuIcSVWfiLFVPcgZ67cgCMp3ESo,204758
|
|
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.10.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.10.0.dist-info/METADATA,sha256=7748sZmIG9KmnUfMdzgakvnTaNKpxctgqJUOV_ysh9U,2257
|
|
166
|
+
stigg_api_client_v2-3.10.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.10.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|