stigg-api-client-v2 2.367.0__py3-none-any.whl → 2.374.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 +433 -433
- {stigg_api_client_v2-2.367.0.dist-info → stigg_api_client_v2-2.374.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.367.0.dist-info → stigg_api_client_v2-2.374.0.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.367.0.dist-info → stigg_api_client_v2-2.374.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.367.0.dist-info → stigg_api_client_v2-2.374.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -60,6 +60,39 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
+
class PackageEntitlementFragment(BaseModel):
|
|
64
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
+
feature_id: str = Field(alias="featureId")
|
|
68
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
+
alias="resetPeriod", default=None
|
|
70
|
+
)
|
|
71
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
+
alias="hiddenFromWidgets", default=None
|
|
73
|
+
)
|
|
74
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
+
display_name_override: Optional[str] = Field(
|
|
76
|
+
alias="displayNameOverride", default=None
|
|
77
|
+
)
|
|
78
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
+
feature_units_plural: Optional[str] = Field(
|
|
86
|
+
alias="featureUnitsPlural", default=None
|
|
87
|
+
)
|
|
88
|
+
display_name: str = Field(alias="displayName")
|
|
89
|
+
description: Optional[str] = Field(default=None)
|
|
90
|
+
ref_id: str = Field(alias="refId")
|
|
91
|
+
additional_meta_data: Optional[Any] = Field(
|
|
92
|
+
alias="additionalMetaData", default=None
|
|
93
|
+
)
|
|
94
|
+
|
|
95
|
+
|
|
63
96
|
class PriceTierFragment(BaseModel):
|
|
64
97
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
65
98
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -112,39 +145,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
112
145
|
description: Optional[str] = Field(default=None)
|
|
113
146
|
|
|
114
147
|
|
|
115
|
-
class PackageEntitlementFragment(BaseModel):
|
|
116
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
-
feature_id: str = Field(alias="featureId")
|
|
120
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
-
alias="resetPeriod", default=None
|
|
122
|
-
)
|
|
123
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
-
alias="hiddenFromWidgets", default=None
|
|
125
|
-
)
|
|
126
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
-
display_name_override: Optional[str] = Field(
|
|
128
|
-
alias="displayNameOverride", default=None
|
|
129
|
-
)
|
|
130
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
134
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
135
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
136
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
137
|
-
feature_units_plural: Optional[str] = Field(
|
|
138
|
-
alias="featureUnitsPlural", default=None
|
|
139
|
-
)
|
|
140
|
-
display_name: str = Field(alias="displayName")
|
|
141
|
-
description: Optional[str] = Field(default=None)
|
|
142
|
-
ref_id: str = Field(alias="refId")
|
|
143
|
-
additional_meta_data: Optional[Any] = Field(
|
|
144
|
-
alias="additionalMetaData", default=None
|
|
145
|
-
)
|
|
146
|
-
|
|
147
|
-
|
|
148
148
|
class PriceFragment(BaseModel):
|
|
149
149
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
150
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -204,16 +204,320 @@ class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
|
204
204
|
pass
|
|
205
205
|
|
|
206
206
|
|
|
207
|
-
class AddonFragmentPrices(PriceFragment):
|
|
208
|
-
pass
|
|
207
|
+
class AddonFragmentPrices(PriceFragment):
|
|
208
|
+
pass
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
212
|
+
pass
|
|
213
|
+
|
|
214
|
+
|
|
215
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
216
|
+
pass
|
|
217
|
+
|
|
218
|
+
|
|
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
|
+
)
|
|
233
|
+
|
|
234
|
+
|
|
235
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
236
|
+
divide: float
|
|
237
|
+
round: UnitTransformationRound
|
|
238
|
+
|
|
239
|
+
|
|
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)
|
|
275
|
+
|
|
276
|
+
|
|
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
|
|
300
|
+
|
|
301
|
+
|
|
302
|
+
class SlimCustomerFragment(BaseModel):
|
|
303
|
+
id: str
|
|
304
|
+
name: Optional[str] = Field(default=None)
|
|
305
|
+
email: Optional[str] = Field(default=None)
|
|
306
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
307
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
308
|
+
ref_id: str = Field(alias="refId")
|
|
309
|
+
customer_id: str = Field(alias="customerId")
|
|
310
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
311
|
+
additional_meta_data: Optional[Any] = Field(
|
|
312
|
+
alias="additionalMetaData", default=None
|
|
313
|
+
)
|
|
314
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
315
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
316
|
+
)
|
|
317
|
+
|
|
318
|
+
|
|
319
|
+
class TotalPriceFragment(BaseModel):
|
|
320
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
321
|
+
total: "TotalPriceFragmentTotal"
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
325
|
+
amount: float
|
|
326
|
+
currency: Currency
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
330
|
+
amount: float
|
|
331
|
+
currency: Currency
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
335
|
+
billing_id: str = Field(alias="billingId")
|
|
336
|
+
status: SubscriptionInvoiceStatus
|
|
337
|
+
created_at: Any = Field(alias="createdAt")
|
|
338
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
339
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
340
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
341
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
342
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
343
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
344
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
345
|
+
alias="billingReason", default=None
|
|
346
|
+
)
|
|
347
|
+
currency: Optional[str] = Field(default=None)
|
|
348
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
349
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
350
|
+
alias="subTotalExcludingTax", default=None
|
|
351
|
+
)
|
|
352
|
+
total: Optional[float] = Field(default=None)
|
|
353
|
+
total_excluding_tax: Optional[float] = Field(
|
|
354
|
+
alias="totalExcludingTax", default=None
|
|
355
|
+
)
|
|
356
|
+
tax: Optional[float] = Field(default=None)
|
|
357
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
358
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
359
|
+
|
|
360
|
+
|
|
361
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
362
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
363
|
+
alias="subscriptionScheduleType"
|
|
364
|
+
)
|
|
365
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
366
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
367
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
368
|
+
alias="targetPackage", default=None
|
|
369
|
+
)
|
|
370
|
+
schedule_variables: Optional[
|
|
371
|
+
Annotated[
|
|
372
|
+
Union[
|
|
373
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
374
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
375
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
376
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
377
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
378
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
379
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
380
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
381
|
+
],
|
|
382
|
+
Field(discriminator="typename__"),
|
|
383
|
+
]
|
|
384
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
388
|
+
id: str
|
|
389
|
+
ref_id: str = Field(alias="refId")
|
|
390
|
+
display_name: str = Field(alias="displayName")
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
394
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
395
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
396
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
400
|
+
BaseModel
|
|
401
|
+
):
|
|
402
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
403
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
404
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
408
|
+
BaseModel
|
|
409
|
+
):
|
|
410
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
411
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
415
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
419
|
+
BaseModel
|
|
420
|
+
):
|
|
421
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
422
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
423
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
424
|
+
billable_features: Optional[
|
|
425
|
+
List[
|
|
426
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
427
|
+
]
|
|
428
|
+
] = Field(alias="billableFeatures", default=None)
|
|
429
|
+
addons: Optional[
|
|
430
|
+
List[
|
|
431
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
432
|
+
]
|
|
433
|
+
] = Field(default=None)
|
|
434
|
+
price_overrides: Optional[
|
|
435
|
+
List[
|
|
436
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
437
|
+
]
|
|
438
|
+
] = Field(alias="priceOverrides", default=None)
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
442
|
+
BaseModel
|
|
443
|
+
):
|
|
444
|
+
feature_id: str = Field(alias="featureId")
|
|
445
|
+
quantity: float
|
|
446
|
+
|
|
447
|
+
|
|
448
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
449
|
+
BaseModel
|
|
450
|
+
):
|
|
451
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
452
|
+
quantity: float
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
456
|
+
BaseModel
|
|
457
|
+
):
|
|
458
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
459
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
460
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
461
|
+
|
|
462
|
+
|
|
463
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
464
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
465
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
466
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
467
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
468
|
+
billable_features: Optional[
|
|
469
|
+
List[
|
|
470
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
471
|
+
]
|
|
472
|
+
] = Field(alias="billableFeatures", default=None)
|
|
473
|
+
addons: Optional[
|
|
474
|
+
List[
|
|
475
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
476
|
+
]
|
|
477
|
+
] = Field(default=None)
|
|
478
|
+
price_overrides: Optional[
|
|
479
|
+
List[
|
|
480
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
481
|
+
]
|
|
482
|
+
] = Field(alias="priceOverrides", default=None)
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
486
|
+
BaseModel
|
|
487
|
+
):
|
|
488
|
+
feature_id: str = Field(alias="featureId")
|
|
489
|
+
quantity: float
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
493
|
+
BaseModel
|
|
494
|
+
):
|
|
495
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
496
|
+
quantity: float
|
|
497
|
+
|
|
498
|
+
|
|
499
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
500
|
+
BaseModel
|
|
501
|
+
):
|
|
502
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
503
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
504
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
209
505
|
|
|
210
506
|
|
|
211
|
-
class
|
|
212
|
-
|
|
507
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
508
|
+
BaseModel
|
|
509
|
+
):
|
|
510
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
511
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
512
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
213
513
|
|
|
214
514
|
|
|
215
|
-
class
|
|
216
|
-
|
|
515
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
516
|
+
BaseModel
|
|
517
|
+
):
|
|
518
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
519
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
520
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
217
521
|
|
|
218
522
|
|
|
219
523
|
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
@@ -378,38 +682,27 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
378
682
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
379
683
|
|
|
380
684
|
|
|
381
|
-
class
|
|
382
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
383
|
-
total: "TotalPriceFragmentTotal"
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
387
|
-
amount: float
|
|
388
|
-
currency: Currency
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
392
|
-
amount: float
|
|
393
|
-
currency: Currency
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
class SlimCustomerFragment(BaseModel):
|
|
397
|
-
id: str
|
|
398
|
-
name: Optional[str] = Field(default=None)
|
|
399
|
-
email: Optional[str] = Field(default=None)
|
|
400
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
401
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
685
|
+
class ProductFragment(BaseModel):
|
|
402
686
|
ref_id: str = Field(alias="refId")
|
|
403
|
-
|
|
404
|
-
|
|
687
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
688
|
+
description: Optional[str] = Field(default=None)
|
|
405
689
|
additional_meta_data: Optional[Any] = Field(
|
|
406
690
|
alias="additionalMetaData", default=None
|
|
407
691
|
)
|
|
408
|
-
|
|
409
|
-
|
|
692
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
696
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
697
|
+
alias="downgradePlan", default=None
|
|
410
698
|
)
|
|
411
699
|
|
|
412
700
|
|
|
701
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
702
|
+
ref_id: str = Field(alias="refId")
|
|
703
|
+
display_name: str = Field(alias="displayName")
|
|
704
|
+
|
|
705
|
+
|
|
413
706
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
414
707
|
package_group_id: str = Field(alias="packageGroupId")
|
|
415
708
|
display_name: str = Field(alias="displayName")
|
|
@@ -428,27 +721,6 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
428
721
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
429
722
|
|
|
430
723
|
|
|
431
|
-
class ProductFragment(BaseModel):
|
|
432
|
-
ref_id: str = Field(alias="refId")
|
|
433
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
434
|
-
description: Optional[str] = Field(default=None)
|
|
435
|
-
additional_meta_data: Optional[Any] = Field(
|
|
436
|
-
alias="additionalMetaData", default=None
|
|
437
|
-
)
|
|
438
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
442
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
443
|
-
alias="downgradePlan", default=None
|
|
444
|
-
)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
448
|
-
ref_id: str = Field(alias="refId")
|
|
449
|
-
display_name: str = Field(alias="displayName")
|
|
450
|
-
|
|
451
|
-
|
|
452
724
|
class PlanFragment(BaseModel):
|
|
453
725
|
id: str
|
|
454
726
|
ref_id: str = Field(alias="refId")
|
|
@@ -506,217 +778,28 @@ class PlanFragmentCompatibleAddons(AddonFragment):
|
|
|
506
778
|
|
|
507
779
|
|
|
508
780
|
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
509
|
-
pass
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
class PlanFragmentPrices(PriceFragment):
|
|
513
|
-
pass
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
517
|
-
pass
|
|
518
|
-
|
|
519
|
-
|
|
520
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
521
|
-
duration: float
|
|
522
|
-
units: TrialPeriodUnits
|
|
523
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
524
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
525
|
-
alias="trialEndBehavior", default=None
|
|
526
|
-
)
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
530
|
-
limit: float
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
534
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
535
|
-
alias="subscriptionScheduleType"
|
|
536
|
-
)
|
|
537
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
538
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
539
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
540
|
-
alias="targetPackage", default=None
|
|
541
|
-
)
|
|
542
|
-
schedule_variables: Optional[
|
|
543
|
-
Annotated[
|
|
544
|
-
Union[
|
|
545
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
546
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
547
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
548
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
549
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
550
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
551
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
552
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
553
|
-
],
|
|
554
|
-
Field(discriminator="typename__"),
|
|
555
|
-
]
|
|
556
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
560
|
-
id: str
|
|
561
|
-
ref_id: str = Field(alias="refId")
|
|
562
|
-
display_name: str = Field(alias="displayName")
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
566
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
567
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
568
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
572
|
-
BaseModel
|
|
573
|
-
):
|
|
574
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
575
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
576
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
580
|
-
BaseModel
|
|
581
|
-
):
|
|
582
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
583
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
587
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
591
|
-
BaseModel
|
|
592
|
-
):
|
|
593
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
594
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
595
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
596
|
-
billable_features: Optional[
|
|
597
|
-
List[
|
|
598
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
599
|
-
]
|
|
600
|
-
] = Field(alias="billableFeatures", default=None)
|
|
601
|
-
addons: Optional[
|
|
602
|
-
List[
|
|
603
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
604
|
-
]
|
|
605
|
-
] = Field(default=None)
|
|
606
|
-
price_overrides: Optional[
|
|
607
|
-
List[
|
|
608
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
609
|
-
]
|
|
610
|
-
] = Field(alias="priceOverrides", default=None)
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
614
|
-
BaseModel
|
|
615
|
-
):
|
|
616
|
-
feature_id: str = Field(alias="featureId")
|
|
617
|
-
quantity: float
|
|
618
|
-
|
|
619
|
-
|
|
620
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
621
|
-
BaseModel
|
|
622
|
-
):
|
|
623
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
624
|
-
quantity: float
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
628
|
-
BaseModel
|
|
629
|
-
):
|
|
630
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
631
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
632
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
636
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
637
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
638
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
639
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
640
|
-
billable_features: Optional[
|
|
641
|
-
List[
|
|
642
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
643
|
-
]
|
|
644
|
-
] = Field(alias="billableFeatures", default=None)
|
|
645
|
-
addons: Optional[
|
|
646
|
-
List[
|
|
647
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
648
|
-
]
|
|
649
|
-
] = Field(default=None)
|
|
650
|
-
price_overrides: Optional[
|
|
651
|
-
List[
|
|
652
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
653
|
-
]
|
|
654
|
-
] = Field(alias="priceOverrides", default=None)
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
658
|
-
BaseModel
|
|
659
|
-
):
|
|
660
|
-
feature_id: str = Field(alias="featureId")
|
|
661
|
-
quantity: float
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
665
|
-
BaseModel
|
|
666
|
-
):
|
|
667
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
668
|
-
quantity: float
|
|
669
|
-
|
|
670
|
-
|
|
671
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
672
|
-
BaseModel
|
|
673
|
-
):
|
|
674
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
675
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
676
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
781
|
+
pass
|
|
677
782
|
|
|
678
783
|
|
|
679
|
-
class
|
|
680
|
-
|
|
681
|
-
):
|
|
682
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
683
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
684
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
784
|
+
class PlanFragmentPrices(PriceFragment):
|
|
785
|
+
pass
|
|
685
786
|
|
|
686
787
|
|
|
687
|
-
class
|
|
688
|
-
|
|
689
|
-
):
|
|
690
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
691
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
692
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
788
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
789
|
+
pass
|
|
693
790
|
|
|
694
791
|
|
|
695
|
-
class
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
|
|
699
|
-
|
|
700
|
-
|
|
701
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
702
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
703
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
704
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
705
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
706
|
-
alias="billingReason", default=None
|
|
707
|
-
)
|
|
708
|
-
currency: Optional[str] = Field(default=None)
|
|
709
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
710
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
711
|
-
alias="subTotalExcludingTax", default=None
|
|
712
|
-
)
|
|
713
|
-
total: Optional[float] = Field(default=None)
|
|
714
|
-
total_excluding_tax: Optional[float] = Field(
|
|
715
|
-
alias="totalExcludingTax", default=None
|
|
792
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
793
|
+
duration: float
|
|
794
|
+
units: TrialPeriodUnits
|
|
795
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
796
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
797
|
+
alias="trialEndBehavior", default=None
|
|
716
798
|
)
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
802
|
+
limit: float
|
|
720
803
|
|
|
721
804
|
|
|
722
805
|
class SubscriptionFragment(BaseModel):
|
|
@@ -828,89 +911,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
828
911
|
pass
|
|
829
912
|
|
|
830
913
|
|
|
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
|
-
|
|
888
|
-
|
|
889
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
890
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
891
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
892
|
-
alias="monthlyAccordingTo", default=None
|
|
893
|
-
)
|
|
894
|
-
|
|
895
|
-
|
|
896
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
897
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
898
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
899
|
-
alias="weeklyAccordingTo", default=None
|
|
900
|
-
)
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
904
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
905
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
906
|
-
alias="yearlyAccordingTo", default=None
|
|
907
|
-
)
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
911
|
-
pass
|
|
912
|
-
|
|
913
|
-
|
|
914
914
|
class ApplySubscriptionFragment(BaseModel):
|
|
915
915
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
916
916
|
default=None
|
|
@@ -1257,23 +1257,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1261
|
-
display_name: str = Field(alias="displayName")
|
|
1262
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1263
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1264
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1265
|
-
period: PromotionalEntitlementPeriod
|
|
1266
|
-
start_date: Any = Field(alias="startDate")
|
|
1267
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1271
|
-
addon_id: str = Field(alias="addonId")
|
|
1272
|
-
description: Optional[str] = Field(default=None)
|
|
1273
|
-
display_name: str = Field(alias="displayName")
|
|
1274
|
-
quantity: int
|
|
1275
|
-
|
|
1276
|
-
|
|
1277
1260
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1278
1261
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1279
1262
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1470,6 +1453,13 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1470
1453
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1471
1454
|
|
|
1472
1455
|
|
|
1456
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1457
|
+
addon_id: str = Field(alias="addonId")
|
|
1458
|
+
description: Optional[str] = Field(default=None)
|
|
1459
|
+
display_name: str = Field(alias="displayName")
|
|
1460
|
+
quantity: int
|
|
1461
|
+
|
|
1462
|
+
|
|
1473
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1474
1464
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1475
1465
|
plan_id: str = Field(alias="planId")
|
|
@@ -1566,6 +1556,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1566
1556
|
pass
|
|
1567
1557
|
|
|
1568
1558
|
|
|
1559
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1560
|
+
display_name: str = Field(alias="displayName")
|
|
1561
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1562
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1563
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1564
|
+
period: PromotionalEntitlementPeriod
|
|
1565
|
+
start_date: Any = Field(alias="startDate")
|
|
1566
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
1569
|
class CustomerPortalFragment(BaseModel):
|
|
1570
1570
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1571
1571
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1793,39 +1793,6 @@ 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
|
-
|
|
1829
1796
|
class MockPaywallPriceFragment(BaseModel):
|
|
1830
1797
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1831
1798
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1860,6 +1827,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1860
1827
|
display_name: str = Field(alias="displayName")
|
|
1861
1828
|
|
|
1862
1829
|
|
|
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")
|
|
@@ -2770,24 +2770,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2770
2770
|
|
|
2771
2771
|
|
|
2772
2772
|
AddonDependencyFragment.model_rebuild()
|
|
2773
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2773
2774
|
PriceTierFragment.model_rebuild()
|
|
2774
2775
|
OveragePriceFragment.model_rebuild()
|
|
2775
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2776
2776
|
PriceFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
|
+
FeatureFragment.model_rebuild()
|
|
2779
|
+
EntitlementFragment.model_rebuild()
|
|
2780
|
+
SlimCustomerFragment.model_rebuild()
|
|
2781
|
+
TotalPriceFragment.model_rebuild()
|
|
2782
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2783
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2778
2784
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2779
2785
|
CustomerResourceFragment.model_rebuild()
|
|
2780
2786
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2781
|
-
TotalPriceFragment.model_rebuild()
|
|
2782
|
-
SlimCustomerFragment.model_rebuild()
|
|
2783
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2784
2787
|
ProductFragment.model_rebuild()
|
|
2788
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2785
2789
|
PlanFragment.model_rebuild()
|
|
2786
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2787
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2788
2790
|
SubscriptionFragment.model_rebuild()
|
|
2789
|
-
FeatureFragment.model_rebuild()
|
|
2790
|
-
EntitlementFragment.model_rebuild()
|
|
2791
2791
|
ApplySubscriptionFragment.model_rebuild()
|
|
2792
2792
|
FontVariantFragment.model_rebuild()
|
|
2793
2793
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2799,11 +2799,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2799
2799
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2801
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2803
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2804
2802
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2805
2803
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2804
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2806
2805
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2806
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2807
|
CustomerPortalFragment.model_rebuild()
|
|
2808
2808
|
CustomerStatisticsFragment.model_rebuild()
|
|
2809
2809
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2813,8 +2813,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2813
2813
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2814
2814
|
LayoutConfigurationFragment.model_rebuild()
|
|
2815
2815
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2816
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2817
2816
|
MockPaywallPriceFragment.model_rebuild()
|
|
2817
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2818
2818
|
MockPaywallAddonFragment.model_rebuild()
|
|
2819
2819
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2820
2820
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=t6q4y-5cKBmgLTrf_2YWXkNvmclEjnvBos1Ycd0aomI,3521
|
|
|
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=pnWZxa-ZKruuUiRIzn4WGM5XdlhANMaShhWGqd1oQvc,100917
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.374.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.374.0.dist-info/METADATA,sha256=koVWmRNE4IOyV3gm2Yr266VspUBanynoJK0PhFb6YEs,2258
|
|
165
|
+
stigg_api_client_v2-2.374.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.374.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|