stigg-api-client-v2 2.479.0__py3-none-any.whl → 2.480.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 +401 -401
- {stigg_api_client_v2-2.479.0.dist-info → stigg_api_client_v2-2.480.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.479.0.dist-info → stigg_api_client_v2-2.480.0.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.479.0.dist-info → stigg_api_client_v2-2.480.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.479.0.dist-info → stigg_api_client_v2-2.480.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -80,33 +80,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
80
|
currency: Currency
|
|
81
81
|
|
|
82
82
|
|
|
83
|
-
class
|
|
83
|
+
class OveragePriceFragment(BaseModel):
|
|
84
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
87
86
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
89
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
90
87
|
billing_country_code: Optional[str] = Field(
|
|
91
88
|
alias="billingCountryCode", default=None
|
|
92
89
|
)
|
|
93
|
-
price: Optional["
|
|
90
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
94
91
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
95
|
-
tiers: Optional[List["
|
|
96
|
-
feature: Optional["
|
|
97
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
92
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
98
94
|
|
|
99
95
|
|
|
100
|
-
class
|
|
96
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
101
97
|
amount: float
|
|
102
98
|
currency: Currency
|
|
103
99
|
|
|
104
100
|
|
|
105
|
-
class
|
|
101
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
106
102
|
pass
|
|
107
103
|
|
|
108
104
|
|
|
109
|
-
class
|
|
105
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
110
106
|
ref_id: str = Field(alias="refId")
|
|
111
107
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
112
108
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -116,29 +112,33 @@ class PriceFragmentFeature(BaseModel):
|
|
|
116
112
|
description: Optional[str] = Field(default=None)
|
|
117
113
|
|
|
118
114
|
|
|
119
|
-
class
|
|
115
|
+
class PriceFragment(BaseModel):
|
|
120
116
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
117
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
118
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
122
119
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
120
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
121
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
123
122
|
billing_country_code: Optional[str] = Field(
|
|
124
123
|
alias="billingCountryCode", default=None
|
|
125
124
|
)
|
|
126
|
-
price: Optional["
|
|
125
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
127
126
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["
|
|
129
|
-
feature: Optional["
|
|
127
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
128
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
129
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
130
130
|
|
|
131
131
|
|
|
132
|
-
class
|
|
132
|
+
class PriceFragmentPrice(BaseModel):
|
|
133
133
|
amount: float
|
|
134
134
|
currency: Currency
|
|
135
135
|
|
|
136
136
|
|
|
137
|
-
class
|
|
137
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
138
138
|
pass
|
|
139
139
|
|
|
140
140
|
|
|
141
|
-
class
|
|
141
|
+
class PriceFragmentFeature(BaseModel):
|
|
142
142
|
ref_id: str = Field(alias="refId")
|
|
143
143
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
144
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -199,279 +199,24 @@ class AddonFragment(BaseModel):
|
|
|
199
199
|
alias="overagePrices", default=None
|
|
200
200
|
)
|
|
201
201
|
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
202
|
-
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
203
|
-
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
207
|
-
pass
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
class AddonFragmentPrices(PriceFragment):
|
|
211
|
-
pass
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
215
|
-
pass
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
219
|
-
pass
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
class FeatureFragment(BaseModel):
|
|
223
|
-
typename__: str = Field(alias="__typename")
|
|
224
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
225
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
226
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
227
|
-
feature_units_plural: Optional[str] = Field(
|
|
228
|
-
alias="featureUnitsPlural", default=None
|
|
229
|
-
)
|
|
230
|
-
description: Optional[str] = Field(default=None)
|
|
231
|
-
display_name: str = Field(alias="displayName")
|
|
232
|
-
ref_id: str = Field(alias="refId")
|
|
233
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
234
|
-
alias="unitTransformation", default=None
|
|
235
|
-
)
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
239
|
-
divide: float
|
|
240
|
-
round: UnitTransformationRound
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
class EntitlementFragment(BaseModel):
|
|
244
|
-
typename__: str = Field(alias="__typename")
|
|
245
|
-
is_granted: bool = Field(alias="isGranted")
|
|
246
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
247
|
-
alias="accessDeniedReason", default=None
|
|
248
|
-
)
|
|
249
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
250
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
251
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
252
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
253
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
254
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
255
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
256
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
257
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
258
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
259
|
-
alias="entitlementUpdatedAt", default=None
|
|
260
|
-
)
|
|
261
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
262
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
263
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
264
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
265
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
266
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
267
|
-
alias="resetPeriod", default=None
|
|
268
|
-
)
|
|
269
|
-
reset_period_configuration: Optional[
|
|
270
|
-
Annotated[
|
|
271
|
-
Union[
|
|
272
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
273
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
274
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
275
|
-
],
|
|
276
|
-
Field(discriminator="typename__"),
|
|
277
|
-
]
|
|
278
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
279
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
283
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
284
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
285
|
-
alias="monthlyAccordingTo", default=None
|
|
286
|
-
)
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
290
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
291
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
292
|
-
alias="weeklyAccordingTo", default=None
|
|
293
|
-
)
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
297
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
298
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
299
|
-
alias="yearlyAccordingTo", default=None
|
|
300
|
-
)
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
304
|
-
pass
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
308
|
-
billing_id: str = Field(alias="billingId")
|
|
309
|
-
status: SubscriptionInvoiceStatus
|
|
310
|
-
created_at: Any = Field(alias="createdAt")
|
|
311
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
312
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
313
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
314
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
315
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
316
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
317
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
318
|
-
alias="billingReason", default=None
|
|
319
|
-
)
|
|
320
|
-
currency: Optional[str] = Field(default=None)
|
|
321
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
322
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
323
|
-
alias="subTotalExcludingTax", default=None
|
|
324
|
-
)
|
|
325
|
-
total: Optional[float] = Field(default=None)
|
|
326
|
-
total_excluding_tax: Optional[float] = Field(
|
|
327
|
-
alias="totalExcludingTax", default=None
|
|
328
|
-
)
|
|
329
|
-
tax: Optional[float] = Field(default=None)
|
|
330
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
331
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
335
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
336
|
-
display_name: str = Field(alias="displayName")
|
|
337
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
338
|
-
default=None
|
|
339
|
-
)
|
|
340
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
344
|
-
pass
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
348
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
349
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
class ProductFragment(BaseModel):
|
|
353
|
-
ref_id: str = Field(alias="refId")
|
|
354
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
355
|
-
description: Optional[str] = Field(default=None)
|
|
356
|
-
additional_meta_data: Optional[Any] = Field(
|
|
357
|
-
alias="additionalMetaData", default=None
|
|
358
|
-
)
|
|
359
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
363
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
364
|
-
alias="downgradePlan", default=None
|
|
365
|
-
)
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
369
|
-
ref_id: str = Field(alias="refId")
|
|
370
|
-
display_name: str = Field(alias="displayName")
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
class PlanFragment(BaseModel):
|
|
374
|
-
id: Any
|
|
375
|
-
ref_id: str = Field(alias="refId")
|
|
376
|
-
display_name: str = Field(alias="displayName")
|
|
377
|
-
description: Optional[str] = Field(default=None)
|
|
378
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
379
|
-
version_number: int = Field(alias="versionNumber")
|
|
380
|
-
additional_meta_data: Optional[Any] = Field(
|
|
381
|
-
alias="additionalMetaData", default=None
|
|
382
|
-
)
|
|
383
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
384
|
-
alias="hiddenFromWidgets", default=None
|
|
385
|
-
)
|
|
386
|
-
product: "PlanFragmentProduct"
|
|
387
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
388
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
389
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
390
|
-
alias="inheritedEntitlements", default=None
|
|
391
|
-
)
|
|
392
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
393
|
-
alias="compatibleAddons", default=None
|
|
394
|
-
)
|
|
395
|
-
compatible_package_groups: Optional[
|
|
396
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
397
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
398
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
399
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
400
|
-
alias="overagePrices", default=None
|
|
401
|
-
)
|
|
402
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
403
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
404
|
-
alias="defaultTrialConfig", default=None
|
|
405
|
-
)
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
class PlanFragmentProduct(ProductFragment):
|
|
409
|
-
pass
|
|
410
|
-
|
|
411
|
-
|
|
412
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
413
|
-
ref_id: str = Field(alias="refId")
|
|
414
|
-
display_name: str = Field(alias="displayName")
|
|
415
|
-
|
|
416
|
-
|
|
417
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
418
|
-
pass
|
|
419
|
-
|
|
420
|
-
|
|
421
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
422
|
-
pass
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
426
|
-
pass
|
|
427
|
-
|
|
428
|
-
|
|
429
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
430
|
-
pass
|
|
431
|
-
|
|
432
|
-
|
|
433
|
-
class PlanFragmentPrices(PriceFragment):
|
|
434
|
-
pass
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
438
|
-
pass
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
442
|
-
duration: float
|
|
443
|
-
units: TrialPeriodUnits
|
|
444
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
445
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
446
|
-
alias="trialEndBehavior", default=None
|
|
447
|
-
)
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
451
|
-
limit: float
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
class CustomerResourceFragment(BaseModel):
|
|
455
|
-
resource_id: str = Field(alias="resourceId")
|
|
202
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
203
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
456
204
|
|
|
457
205
|
|
|
458
|
-
class
|
|
459
|
-
|
|
460
|
-
total: "TotalPriceFragmentTotal"
|
|
206
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
207
|
+
pass
|
|
461
208
|
|
|
462
209
|
|
|
463
|
-
class
|
|
464
|
-
|
|
465
|
-
currency: Currency
|
|
210
|
+
class AddonFragmentPrices(PriceFragment):
|
|
211
|
+
pass
|
|
466
212
|
|
|
467
213
|
|
|
468
|
-
class
|
|
469
|
-
|
|
470
|
-
currency: Currency
|
|
214
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
215
|
+
pass
|
|
471
216
|
|
|
472
217
|
|
|
473
|
-
class
|
|
474
|
-
|
|
218
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
219
|
+
pass
|
|
475
220
|
|
|
476
221
|
|
|
477
222
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -653,6 +398,145 @@ class SlimCustomerFragment(BaseModel):
|
|
|
653
398
|
)
|
|
654
399
|
|
|
655
400
|
|
|
401
|
+
class ProductFragment(BaseModel):
|
|
402
|
+
ref_id: str = Field(alias="refId")
|
|
403
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
404
|
+
description: Optional[str] = Field(default=None)
|
|
405
|
+
additional_meta_data: Optional[Any] = Field(
|
|
406
|
+
alias="additionalMetaData", default=None
|
|
407
|
+
)
|
|
408
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
412
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
413
|
+
alias="downgradePlan", default=None
|
|
414
|
+
)
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
418
|
+
ref_id: str = Field(alias="refId")
|
|
419
|
+
display_name: str = Field(alias="displayName")
|
|
420
|
+
|
|
421
|
+
|
|
422
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
423
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
424
|
+
display_name: str = Field(alias="displayName")
|
|
425
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
426
|
+
default=None
|
|
427
|
+
)
|
|
428
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
429
|
+
|
|
430
|
+
|
|
431
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
432
|
+
pass
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
436
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
437
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
class PlanFragment(BaseModel):
|
|
441
|
+
id: Any
|
|
442
|
+
ref_id: str = Field(alias="refId")
|
|
443
|
+
display_name: str = Field(alias="displayName")
|
|
444
|
+
description: Optional[str] = Field(default=None)
|
|
445
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
446
|
+
version_number: int = Field(alias="versionNumber")
|
|
447
|
+
additional_meta_data: Optional[Any] = Field(
|
|
448
|
+
alias="additionalMetaData", default=None
|
|
449
|
+
)
|
|
450
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
451
|
+
alias="hiddenFromWidgets", default=None
|
|
452
|
+
)
|
|
453
|
+
product: "PlanFragmentProduct"
|
|
454
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
455
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
456
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
457
|
+
alias="inheritedEntitlements", default=None
|
|
458
|
+
)
|
|
459
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
460
|
+
alias="compatibleAddons", default=None
|
|
461
|
+
)
|
|
462
|
+
compatible_package_groups: Optional[
|
|
463
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
464
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
465
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
466
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
467
|
+
alias="overagePrices", default=None
|
|
468
|
+
)
|
|
469
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
470
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
471
|
+
alias="defaultTrialConfig", default=None
|
|
472
|
+
)
|
|
473
|
+
|
|
474
|
+
|
|
475
|
+
class PlanFragmentProduct(ProductFragment):
|
|
476
|
+
pass
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
480
|
+
ref_id: str = Field(alias="refId")
|
|
481
|
+
display_name: str = Field(alias="displayName")
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
485
|
+
pass
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
489
|
+
pass
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
493
|
+
pass
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
497
|
+
pass
|
|
498
|
+
|
|
499
|
+
|
|
500
|
+
class PlanFragmentPrices(PriceFragment):
|
|
501
|
+
pass
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
505
|
+
pass
|
|
506
|
+
|
|
507
|
+
|
|
508
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
509
|
+
duration: float
|
|
510
|
+
units: TrialPeriodUnits
|
|
511
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
512
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
513
|
+
alias="trialEndBehavior", default=None
|
|
514
|
+
)
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
518
|
+
limit: float
|
|
519
|
+
|
|
520
|
+
|
|
521
|
+
class CustomerResourceFragment(BaseModel):
|
|
522
|
+
resource_id: str = Field(alias="resourceId")
|
|
523
|
+
|
|
524
|
+
|
|
525
|
+
class TotalPriceFragment(BaseModel):
|
|
526
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
527
|
+
total: "TotalPriceFragmentTotal"
|
|
528
|
+
|
|
529
|
+
|
|
530
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
531
|
+
amount: float
|
|
532
|
+
currency: Currency
|
|
533
|
+
|
|
534
|
+
|
|
535
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
536
|
+
amount: float
|
|
537
|
+
currency: Currency
|
|
538
|
+
|
|
539
|
+
|
|
656
540
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
657
541
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
658
542
|
alias="subscriptionScheduleType"
|
|
@@ -807,6 +691,37 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
807
691
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
808
692
|
|
|
809
693
|
|
|
694
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
695
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
699
|
+
billing_id: str = Field(alias="billingId")
|
|
700
|
+
status: SubscriptionInvoiceStatus
|
|
701
|
+
created_at: Any = Field(alias="createdAt")
|
|
702
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
703
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
704
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
705
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
706
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
707
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
708
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
709
|
+
alias="billingReason", default=None
|
|
710
|
+
)
|
|
711
|
+
currency: Optional[str] = Field(default=None)
|
|
712
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
713
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
714
|
+
alias="subTotalExcludingTax", default=None
|
|
715
|
+
)
|
|
716
|
+
total: Optional[float] = Field(default=None)
|
|
717
|
+
total_excluding_tax: Optional[float] = Field(
|
|
718
|
+
alias="totalExcludingTax", default=None
|
|
719
|
+
)
|
|
720
|
+
tax: Optional[float] = Field(default=None)
|
|
721
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
722
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
723
|
+
|
|
724
|
+
|
|
810
725
|
class SubscriptionFragment(BaseModel):
|
|
811
726
|
id: Any
|
|
812
727
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -900,19 +815,104 @@ class SubscriptionFragmentAddons(BaseModel):
|
|
|
900
815
|
addon: "SubscriptionFragmentAddonsAddon"
|
|
901
816
|
|
|
902
817
|
|
|
903
|
-
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
904
|
-
pass
|
|
818
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
819
|
+
pass
|
|
820
|
+
|
|
821
|
+
|
|
822
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
823
|
+
pass
|
|
824
|
+
|
|
825
|
+
|
|
826
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
827
|
+
pass
|
|
828
|
+
|
|
829
|
+
|
|
830
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
831
|
+
pass
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
class FeatureFragment(BaseModel):
|
|
835
|
+
typename__: str = Field(alias="__typename")
|
|
836
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
837
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
838
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
839
|
+
feature_units_plural: Optional[str] = Field(
|
|
840
|
+
alias="featureUnitsPlural", default=None
|
|
841
|
+
)
|
|
842
|
+
description: Optional[str] = Field(default=None)
|
|
843
|
+
display_name: str = Field(alias="displayName")
|
|
844
|
+
ref_id: str = Field(alias="refId")
|
|
845
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
846
|
+
alias="unitTransformation", default=None
|
|
847
|
+
)
|
|
848
|
+
|
|
849
|
+
|
|
850
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
851
|
+
divide: float
|
|
852
|
+
round: UnitTransformationRound
|
|
853
|
+
|
|
854
|
+
|
|
855
|
+
class EntitlementFragment(BaseModel):
|
|
856
|
+
typename__: str = Field(alias="__typename")
|
|
857
|
+
is_granted: bool = Field(alias="isGranted")
|
|
858
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
859
|
+
alias="accessDeniedReason", default=None
|
|
860
|
+
)
|
|
861
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
862
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
863
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
864
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
865
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
866
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
867
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
868
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
869
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
870
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
871
|
+
alias="entitlementUpdatedAt", default=None
|
|
872
|
+
)
|
|
873
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
874
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
875
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
876
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
877
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
878
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
879
|
+
alias="resetPeriod", default=None
|
|
880
|
+
)
|
|
881
|
+
reset_period_configuration: Optional[
|
|
882
|
+
Annotated[
|
|
883
|
+
Union[
|
|
884
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
885
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
886
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
887
|
+
],
|
|
888
|
+
Field(discriminator="typename__"),
|
|
889
|
+
]
|
|
890
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
891
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
895
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
897
|
+
alias="monthlyAccordingTo", default=None
|
|
898
|
+
)
|
|
905
899
|
|
|
906
900
|
|
|
907
|
-
class
|
|
908
|
-
|
|
901
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
902
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
903
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
904
|
+
alias="weeklyAccordingTo", default=None
|
|
905
|
+
)
|
|
909
906
|
|
|
910
907
|
|
|
911
|
-
class
|
|
912
|
-
|
|
908
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
909
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
910
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
911
|
+
alias="yearlyAccordingTo", default=None
|
|
912
|
+
)
|
|
913
913
|
|
|
914
914
|
|
|
915
|
-
class
|
|
915
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
916
916
|
pass
|
|
917
917
|
|
|
918
918
|
|
|
@@ -993,35 +993,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
993
993
|
)
|
|
994
994
|
|
|
995
995
|
|
|
996
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
997
|
-
status: PromotionalEntitlementStatus
|
|
998
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
999
|
-
feature_id: Any = Field(alias="featureId")
|
|
1000
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1001
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1002
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1003
|
-
alias="resetPeriod", default=None
|
|
1004
|
-
)
|
|
1005
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1006
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1007
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1008
|
-
|
|
1009
|
-
|
|
1010
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1011
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1012
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1013
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1014
|
-
feature_units_plural: Optional[str] = Field(
|
|
1015
|
-
alias="featureUnitsPlural", default=None
|
|
1016
|
-
)
|
|
1017
|
-
display_name: str = Field(alias="displayName")
|
|
1018
|
-
description: Optional[str] = Field(default=None)
|
|
1019
|
-
ref_id: str = Field(alias="refId")
|
|
1020
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1021
|
-
alias="additionalMetaData", default=None
|
|
1022
|
-
)
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
996
|
class CouponFragment(BaseModel):
|
|
1026
997
|
id: Any
|
|
1027
998
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1056,6 +1027,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1056
1027
|
status: SyncStatus
|
|
1057
1028
|
|
|
1058
1029
|
|
|
1030
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1031
|
+
status: PromotionalEntitlementStatus
|
|
1032
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1033
|
+
feature_id: Any = Field(alias="featureId")
|
|
1034
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1035
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1036
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1037
|
+
alias="resetPeriod", default=None
|
|
1038
|
+
)
|
|
1039
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1040
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1041
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1042
|
+
|
|
1043
|
+
|
|
1044
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1045
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1046
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1047
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1048
|
+
feature_units_plural: Optional[str] = Field(
|
|
1049
|
+
alias="featureUnitsPlural", default=None
|
|
1050
|
+
)
|
|
1051
|
+
display_name: str = Field(alias="displayName")
|
|
1052
|
+
description: Optional[str] = Field(default=None)
|
|
1053
|
+
ref_id: str = Field(alias="refId")
|
|
1054
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1055
|
+
alias="additionalMetaData", default=None
|
|
1056
|
+
)
|
|
1057
|
+
|
|
1058
|
+
|
|
1059
1059
|
class CustomerFragment(SlimCustomerFragment):
|
|
1060
1060
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1061
1061
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1262,6 +1262,43 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1262
1262
|
pass
|
|
1263
1263
|
|
|
1264
1264
|
|
|
1265
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1266
|
+
display_name: str = Field(alias="displayName")
|
|
1267
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1268
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1269
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1270
|
+
period: PromotionalEntitlementPeriod
|
|
1271
|
+
start_date: Any = Field(alias="startDate")
|
|
1272
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1276
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1277
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1278
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1279
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1280
|
+
default=None
|
|
1281
|
+
)
|
|
1282
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1283
|
+
default=None
|
|
1284
|
+
)
|
|
1285
|
+
|
|
1286
|
+
|
|
1287
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1288
|
+
amount: float
|
|
1289
|
+
currency: Currency
|
|
1290
|
+
|
|
1291
|
+
|
|
1292
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1293
|
+
id: Any
|
|
1294
|
+
ref_id: str = Field(alias="refId")
|
|
1295
|
+
display_name: str = Field(alias="displayName")
|
|
1296
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1297
|
+
feature_units_plural: Optional[str] = Field(
|
|
1298
|
+
alias="featureUnitsPlural", default=None
|
|
1299
|
+
)
|
|
1300
|
+
|
|
1301
|
+
|
|
1265
1302
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1266
1303
|
addon_id: str = Field(alias="addonId")
|
|
1267
1304
|
description: Optional[str] = Field(default=None)
|
|
@@ -1438,33 +1475,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1438
1475
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1439
1476
|
|
|
1440
1477
|
|
|
1441
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1442
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1443
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1444
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1445
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1446
|
-
default=None
|
|
1447
|
-
)
|
|
1448
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1449
|
-
default=None
|
|
1450
|
-
)
|
|
1451
|
-
|
|
1452
|
-
|
|
1453
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1454
|
-
amount: float
|
|
1455
|
-
currency: Currency
|
|
1456
|
-
|
|
1457
|
-
|
|
1458
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1459
|
-
id: Any
|
|
1460
|
-
ref_id: str = Field(alias="refId")
|
|
1461
|
-
display_name: str = Field(alias="displayName")
|
|
1462
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1463
|
-
feature_units_plural: Optional[str] = Field(
|
|
1464
|
-
alias="featureUnitsPlural", default=None
|
|
1465
|
-
)
|
|
1466
|
-
|
|
1467
|
-
|
|
1468
1478
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1469
1479
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1470
1480
|
plan_id: str = Field(alias="planId")
|
|
@@ -1561,16 +1571,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1561
1571
|
pass
|
|
1562
1572
|
|
|
1563
1573
|
|
|
1564
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1565
|
-
display_name: str = Field(alias="displayName")
|
|
1566
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1567
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1568
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1569
|
-
period: PromotionalEntitlementPeriod
|
|
1570
|
-
start_date: Any = Field(alias="startDate")
|
|
1571
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1572
|
-
|
|
1573
|
-
|
|
1574
1574
|
class CustomerPortalFragment(BaseModel):
|
|
1575
1575
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1576
1576
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1798,39 +1798,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1798
1798
|
description: Optional[str] = Field(default=None)
|
|
1799
1799
|
|
|
1800
1800
|
|
|
1801
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1802
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1803
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1804
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1805
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1806
|
-
alias="resetPeriod", default=None
|
|
1807
|
-
)
|
|
1808
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1809
|
-
alias="hiddenFromWidgets", default=None
|
|
1810
|
-
)
|
|
1811
|
-
display_name_override: Optional[str] = Field(
|
|
1812
|
-
alias="displayNameOverride", default=None
|
|
1813
|
-
)
|
|
1814
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1815
|
-
default=None
|
|
1816
|
-
)
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1820
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1821
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1822
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1823
|
-
feature_units_plural: Optional[str] = Field(
|
|
1824
|
-
alias="featureUnitsPlural", default=None
|
|
1825
|
-
)
|
|
1826
|
-
display_name: str = Field(alias="displayName")
|
|
1827
|
-
description: Optional[str] = Field(default=None)
|
|
1828
|
-
ref_id: str = Field(alias="refId")
|
|
1829
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1830
|
-
alias="additionalMetaData", default=None
|
|
1831
|
-
)
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
1801
|
class MockPaywallPriceFragment(BaseModel):
|
|
1835
1802
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1836
1803
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1865,6 +1832,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1865
1832
|
display_name: str = Field(alias="displayName")
|
|
1866
1833
|
|
|
1867
1834
|
|
|
1835
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1836
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1837
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1838
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1839
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1840
|
+
alias="resetPeriod", default=None
|
|
1841
|
+
)
|
|
1842
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1843
|
+
alias="hiddenFromWidgets", default=None
|
|
1844
|
+
)
|
|
1845
|
+
display_name_override: Optional[str] = Field(
|
|
1846
|
+
alias="displayNameOverride", default=None
|
|
1847
|
+
)
|
|
1848
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1849
|
+
default=None
|
|
1850
|
+
)
|
|
1851
|
+
|
|
1852
|
+
|
|
1853
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1854
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1855
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1856
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1857
|
+
feature_units_plural: Optional[str] = Field(
|
|
1858
|
+
alias="featureUnitsPlural", default=None
|
|
1859
|
+
)
|
|
1860
|
+
display_name: str = Field(alias="displayName")
|
|
1861
|
+
description: Optional[str] = Field(default=None)
|
|
1862
|
+
ref_id: str = Field(alias="refId")
|
|
1863
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1864
|
+
alias="additionalMetaData", default=None
|
|
1865
|
+
)
|
|
1866
|
+
|
|
1867
|
+
|
|
1868
1868
|
class MockPaywallAddonFragment(BaseModel):
|
|
1869
1869
|
ref_id: str = Field(alias="refId")
|
|
1870
1870
|
display_name: str = Field(alias="displayName")
|
|
@@ -2839,39 +2839,39 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2839
2839
|
|
|
2840
2840
|
AddonDependencyFragment.model_rebuild()
|
|
2841
2841
|
PriceTierFragment.model_rebuild()
|
|
2842
|
-
PriceFragment.model_rebuild()
|
|
2843
2842
|
OveragePriceFragment.model_rebuild()
|
|
2843
|
+
PriceFragment.model_rebuild()
|
|
2844
2844
|
PackageEntitlementFragment.model_rebuild()
|
|
2845
2845
|
AddonFragment.model_rebuild()
|
|
2846
|
-
|
|
2847
|
-
|
|
2848
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2849
|
-
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2846
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2847
|
+
SlimCustomerFragment.model_rebuild()
|
|
2850
2848
|
ProductFragment.model_rebuild()
|
|
2849
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2851
2850
|
PlanFragment.model_rebuild()
|
|
2852
2851
|
CustomerResourceFragment.model_rebuild()
|
|
2853
2852
|
TotalPriceFragment.model_rebuild()
|
|
2854
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2855
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2856
|
-
SlimCustomerFragment.model_rebuild()
|
|
2857
2853
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2854
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2855
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2858
2856
|
SubscriptionFragment.model_rebuild()
|
|
2857
|
+
FeatureFragment.model_rebuild()
|
|
2858
|
+
EntitlementFragment.model_rebuild()
|
|
2859
2859
|
ApplySubscriptionFragment.model_rebuild()
|
|
2860
2860
|
FontVariantFragment.model_rebuild()
|
|
2861
2861
|
TypographyConfigurationFragment.model_rebuild()
|
|
2862
2862
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2863
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2864
2863
|
CouponFragment.model_rebuild()
|
|
2864
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2865
2865
|
CustomerFragment.model_rebuild()
|
|
2866
2866
|
CheckoutStateFragment.model_rebuild()
|
|
2867
2867
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2868
2868
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2869
2869
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2870
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2871
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2870
2872
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2871
2873
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2872
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2873
2874
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2874
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2875
2875
|
CustomerPortalFragment.model_rebuild()
|
|
2876
2876
|
CustomerStatisticsFragment.model_rebuild()
|
|
2877
2877
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2881,8 +2881,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2881
2881
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2882
2882
|
LayoutConfigurationFragment.model_rebuild()
|
|
2883
2883
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2884
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2885
2884
|
MockPaywallPriceFragment.model_rebuild()
|
|
2885
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2886
2886
|
MockPaywallAddonFragment.model_rebuild()
|
|
2887
2887
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2888
2888
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=oBfmlp2nHkpkNzYzCrfjUlNxhMQwC4uys5UidfwhSgw,3631
|
|
|
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=NurmvOc4pwP4aW6Z7MAgqMHLvhVCz6G3KL_uIyxNUjo,103692
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.480.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.480.0.dist-info/METADATA,sha256=xjgfSgmLlkCmTFBm5CeZaNkwBqllBVa4dHvqf6C5YDY,2258
|
|
166
|
+
stigg_api_client_v2-2.480.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.480.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|