stigg-api-client-v2 3.57.0__py3-none-any.whl → 3.59.2__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 +370 -370
- stigg/generated/input_types.py +3 -0
- {stigg_api_client_v2-3.57.0.dist-info → stigg_api_client_v2-3.59.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.57.0.dist-info → stigg_api_client_v2-3.59.2.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.57.0.dist-info → stigg_api_client_v2-3.59.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.57.0.dist-info → stigg_api_client_v2-3.59.2.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -116,38 +116,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
116
116
|
currency: Currency
|
|
117
117
|
|
|
118
118
|
|
|
119
|
-
class OveragePriceFragment(BaseModel):
|
|
120
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
123
|
-
billing_country_code: Optional[str] = Field(
|
|
124
|
-
alias="billingCountryCode", default=None
|
|
125
|
-
)
|
|
126
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
133
|
-
amount: float
|
|
134
|
-
currency: Currency
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
138
|
-
pass
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
142
|
-
ref_id: str = Field(alias="refId")
|
|
143
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
|
-
feature_units_plural: Optional[str] = Field(
|
|
145
|
-
alias="featureUnitsPlural", default=None
|
|
146
|
-
)
|
|
147
|
-
display_name: str = Field(alias="displayName")
|
|
148
|
-
description: Optional[str] = Field(default=None)
|
|
149
|
-
|
|
150
|
-
|
|
151
119
|
class PriceFragment(BaseModel):
|
|
152
120
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
121
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -192,272 +160,76 @@ class PriceFragmentFeature(BaseModel):
|
|
|
192
160
|
description: Optional[str] = Field(default=None)
|
|
193
161
|
|
|
194
162
|
|
|
195
|
-
class
|
|
196
|
-
|
|
197
|
-
|
|
163
|
+
class OveragePriceFragment(BaseModel):
|
|
164
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
165
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
198
166
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
additional_meta_data: Optional[Any] = Field(
|
|
202
|
-
alias="additionalMetaData", default=None
|
|
203
|
-
)
|
|
204
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
205
|
-
alias="hiddenFromWidgets", default=None
|
|
206
|
-
)
|
|
207
|
-
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
208
|
-
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
209
|
-
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
210
|
-
alias="overagePrices", default=None
|
|
167
|
+
billing_country_code: Optional[str] = Field(
|
|
168
|
+
alias="billingCountryCode", default=None
|
|
211
169
|
)
|
|
212
|
-
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
216
|
-
|
|
217
|
-
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
218
|
-
pass
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
class AddonFragmentPrices(PriceFragment):
|
|
222
|
-
pass
|
|
170
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
171
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
172
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
173
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
223
174
|
|
|
224
175
|
|
|
225
|
-
class
|
|
226
|
-
|
|
176
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
177
|
+
amount: float
|
|
178
|
+
currency: Currency
|
|
227
179
|
|
|
228
180
|
|
|
229
|
-
class
|
|
181
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
230
182
|
pass
|
|
231
183
|
|
|
232
184
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
236
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
185
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
186
|
+
ref_id: str = Field(alias="refId")
|
|
237
187
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
188
|
feature_units_plural: Optional[str] = Field(
|
|
239
189
|
alias="featureUnitsPlural", default=None
|
|
240
190
|
)
|
|
241
|
-
description: Optional[str] = Field(default=None)
|
|
242
191
|
display_name: str = Field(alias="displayName")
|
|
243
|
-
ref_id: str = Field(alias="refId")
|
|
244
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
245
|
-
alias="unitTransformation", default=None
|
|
246
|
-
)
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
-
divide: float
|
|
251
|
-
round: UnitTransformationRound
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
class EntitlementFragment(BaseModel):
|
|
255
|
-
typename__: str = Field(alias="__typename")
|
|
256
|
-
is_granted: bool = Field(alias="isGranted")
|
|
257
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
-
alias="accessDeniedReason", default=None
|
|
259
|
-
)
|
|
260
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
-
alias="entitlementUpdatedAt", default=None
|
|
271
|
-
)
|
|
272
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
-
alias="resetPeriod", default=None
|
|
279
|
-
)
|
|
280
|
-
reset_period_configuration: Optional[
|
|
281
|
-
Annotated[
|
|
282
|
-
Union[
|
|
283
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
-
],
|
|
287
|
-
Field(discriminator="typename__"),
|
|
288
|
-
]
|
|
289
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
-
alias="monthlyAccordingTo", default=None
|
|
297
|
-
)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
-
alias="weeklyAccordingTo", default=None
|
|
304
|
-
)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
-
alias="yearlyAccordingTo", default=None
|
|
311
|
-
)
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
-
pass
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
class TotalPriceFragment(BaseModel):
|
|
319
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
320
|
-
total: "TotalPriceFragmentTotal"
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
324
|
-
amount: float
|
|
325
|
-
currency: Currency
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
329
|
-
amount: float
|
|
330
|
-
currency: Currency
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class CustomerResourceFragment(BaseModel):
|
|
334
|
-
resource_id: str = Field(alias="resourceId")
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
class ProductFragment(BaseModel):
|
|
338
|
-
ref_id: str = Field(alias="refId")
|
|
339
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
340
192
|
description: Optional[str] = Field(default=None)
|
|
341
|
-
additional_meta_data: Optional[Any] = Field(
|
|
342
|
-
alias="additionalMetaData", default=None
|
|
343
|
-
)
|
|
344
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
345
193
|
|
|
346
194
|
|
|
347
|
-
class
|
|
348
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
349
|
-
alias="downgradePlan", default=None
|
|
350
|
-
)
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
354
|
-
ref_id: str = Field(alias="refId")
|
|
355
|
-
display_name: str = Field(alias="displayName")
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
359
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
360
|
-
display_name: str = Field(alias="displayName")
|
|
361
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
362
|
-
default=None
|
|
363
|
-
)
|
|
364
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
368
|
-
pass
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
372
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
373
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
class PlanFragment(BaseModel):
|
|
195
|
+
class AddonFragment(BaseModel):
|
|
377
196
|
id: Any
|
|
378
197
|
ref_id: str = Field(alias="refId")
|
|
198
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
379
199
|
display_name: str = Field(alias="displayName")
|
|
380
200
|
description: Optional[str] = Field(default=None)
|
|
381
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
382
|
-
version_number: int = Field(alias="versionNumber")
|
|
383
201
|
additional_meta_data: Optional[Any] = Field(
|
|
384
202
|
alias="additionalMetaData", default=None
|
|
385
203
|
)
|
|
386
204
|
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
387
205
|
alias="hiddenFromWidgets", default=None
|
|
388
206
|
)
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
393
|
-
alias="inheritedEntitlements", default=None
|
|
394
|
-
)
|
|
395
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
396
|
-
alias="compatibleAddons", default=None
|
|
397
|
-
)
|
|
398
|
-
compatible_package_groups: Optional[
|
|
399
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
400
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
401
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
402
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
207
|
+
entitlements: Optional[List["AddonFragmentEntitlements"]] = Field(default=None)
|
|
208
|
+
prices: Optional[List["AddonFragmentPrices"]] = Field(default=None)
|
|
209
|
+
overage_prices: Optional[List["AddonFragmentOveragePrices"]] = Field(
|
|
403
210
|
alias="overagePrices", default=None
|
|
404
211
|
)
|
|
405
212
|
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
406
|
-
|
|
407
|
-
|
|
408
|
-
)
|
|
409
|
-
|
|
410
|
-
|
|
411
|
-
class PlanFragmentProduct(ProductFragment):
|
|
412
|
-
pass
|
|
413
|
-
|
|
414
|
-
|
|
415
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
416
|
-
ref_id: str = Field(alias="refId")
|
|
417
|
-
display_name: str = Field(alias="displayName")
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
421
|
-
pass
|
|
422
|
-
|
|
423
|
-
|
|
424
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
425
|
-
pass
|
|
213
|
+
max_quantity: Optional[float] = Field(alias="maxQuantity", default=None)
|
|
214
|
+
dependencies: Optional[List["AddonFragmentDependencies"]] = Field(default=None)
|
|
426
215
|
|
|
427
216
|
|
|
428
|
-
class
|
|
217
|
+
class AddonFragmentEntitlements(PackageEntitlementFragment):
|
|
429
218
|
pass
|
|
430
219
|
|
|
431
220
|
|
|
432
|
-
class
|
|
221
|
+
class AddonFragmentPrices(PriceFragment):
|
|
433
222
|
pass
|
|
434
223
|
|
|
435
224
|
|
|
436
|
-
class
|
|
225
|
+
class AddonFragmentOveragePrices(OveragePriceFragment):
|
|
437
226
|
pass
|
|
438
227
|
|
|
439
228
|
|
|
440
|
-
class
|
|
229
|
+
class AddonFragmentDependencies(AddonDependencyFragment):
|
|
441
230
|
pass
|
|
442
231
|
|
|
443
232
|
|
|
444
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
445
|
-
duration: float
|
|
446
|
-
units: TrialPeriodUnits
|
|
447
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
448
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
449
|
-
alias="trialEndBehavior", default=None
|
|
450
|
-
)
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
454
|
-
limit: float
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
458
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
459
|
-
|
|
460
|
-
|
|
461
233
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
462
234
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
463
235
|
alias="subscriptionScheduleType"
|
|
@@ -620,6 +392,27 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
620
392
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
621
393
|
|
|
622
394
|
|
|
395
|
+
class CustomerResourceFragment(BaseModel):
|
|
396
|
+
resource_id: str = Field(alias="resourceId")
|
|
397
|
+
|
|
398
|
+
|
|
399
|
+
class SlimCustomerFragment(BaseModel):
|
|
400
|
+
id: Any
|
|
401
|
+
name: Optional[str] = Field(default=None)
|
|
402
|
+
email: Optional[str] = Field(default=None)
|
|
403
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
404
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
405
|
+
ref_id: str = Field(alias="refId")
|
|
406
|
+
customer_id: str = Field(alias="customerId")
|
|
407
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
408
|
+
additional_meta_data: Optional[Any] = Field(
|
|
409
|
+
alias="additionalMetaData", default=None
|
|
410
|
+
)
|
|
411
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
412
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
413
|
+
)
|
|
414
|
+
|
|
415
|
+
|
|
623
416
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
624
417
|
billing_id: str = Field(alias="billingId")
|
|
625
418
|
status: SubscriptionInvoiceStatus
|
|
@@ -648,23 +441,6 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
648
441
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
649
442
|
|
|
650
443
|
|
|
651
|
-
class SlimCustomerFragment(BaseModel):
|
|
652
|
-
id: Any
|
|
653
|
-
name: Optional[str] = Field(default=None)
|
|
654
|
-
email: Optional[str] = Field(default=None)
|
|
655
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
656
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
657
|
-
ref_id: str = Field(alias="refId")
|
|
658
|
-
customer_id: str = Field(alias="customerId")
|
|
659
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
660
|
-
additional_meta_data: Optional[Any] = Field(
|
|
661
|
-
alias="additionalMetaData", default=None
|
|
662
|
-
)
|
|
663
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
664
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
665
|
-
)
|
|
666
|
-
|
|
667
|
-
|
|
668
444
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
669
445
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
670
446
|
alias="subscriptionScheduleType"
|
|
@@ -718,105 +494,244 @@ class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
|
718
494
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
719
495
|
|
|
720
496
|
|
|
721
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
722
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
497
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
498
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
502
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
503
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
504
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
505
|
+
billable_features: Optional[
|
|
506
|
+
List[
|
|
507
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
508
|
+
]
|
|
509
|
+
] = Field(alias="billableFeatures", default=None)
|
|
510
|
+
addons: Optional[
|
|
511
|
+
List[
|
|
512
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
513
|
+
]
|
|
514
|
+
] = Field(default=None)
|
|
515
|
+
price_overrides: Optional[
|
|
516
|
+
List[
|
|
517
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
518
|
+
]
|
|
519
|
+
] = Field(alias="priceOverrides", default=None)
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
523
|
+
BaseModel
|
|
524
|
+
):
|
|
525
|
+
feature_id: str = Field(alias="featureId")
|
|
526
|
+
quantity: float
|
|
527
|
+
|
|
528
|
+
|
|
529
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
530
|
+
BaseModel
|
|
531
|
+
):
|
|
532
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
533
|
+
quantity: float
|
|
534
|
+
|
|
535
|
+
|
|
536
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
537
|
+
BaseModel
|
|
538
|
+
):
|
|
539
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
540
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
541
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
542
|
+
|
|
543
|
+
|
|
544
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
545
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
546
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
547
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
548
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
549
|
+
billable_features: Optional[
|
|
550
|
+
List[
|
|
551
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
552
|
+
]
|
|
553
|
+
] = Field(alias="billableFeatures", default=None)
|
|
554
|
+
addons: Optional[
|
|
555
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
556
|
+
] = Field(default=None)
|
|
557
|
+
price_overrides: Optional[
|
|
558
|
+
List[
|
|
559
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
560
|
+
]
|
|
561
|
+
] = Field(alias="priceOverrides", default=None)
|
|
562
|
+
|
|
563
|
+
|
|
564
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
565
|
+
BaseModel
|
|
566
|
+
):
|
|
567
|
+
feature_id: str = Field(alias="featureId")
|
|
568
|
+
quantity: float
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
572
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
573
|
+
quantity: float
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
577
|
+
BaseModel
|
|
578
|
+
):
|
|
579
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
580
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
581
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
582
|
+
|
|
583
|
+
|
|
584
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
585
|
+
BaseModel
|
|
586
|
+
):
|
|
587
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
588
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
589
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
590
|
+
|
|
591
|
+
|
|
592
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
593
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
594
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
595
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class TotalPriceFragment(BaseModel):
|
|
599
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
600
|
+
total: "TotalPriceFragmentTotal"
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
604
|
+
amount: float
|
|
605
|
+
currency: Currency
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
609
|
+
amount: float
|
|
610
|
+
currency: Currency
|
|
611
|
+
|
|
612
|
+
|
|
613
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
614
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
615
|
+
display_name: str = Field(alias="displayName")
|
|
616
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
617
|
+
default=None
|
|
618
|
+
)
|
|
619
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
620
|
+
|
|
621
|
+
|
|
622
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
623
|
+
pass
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
627
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
628
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
class ProductFragment(BaseModel):
|
|
632
|
+
ref_id: str = Field(alias="refId")
|
|
633
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
634
|
+
description: Optional[str] = Field(default=None)
|
|
635
|
+
additional_meta_data: Optional[Any] = Field(
|
|
636
|
+
alias="additionalMetaData", default=None
|
|
637
|
+
)
|
|
638
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
642
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
643
|
+
alias="downgradePlan", default=None
|
|
644
|
+
)
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
648
|
+
ref_id: str = Field(alias="refId")
|
|
649
|
+
display_name: str = Field(alias="displayName")
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
class PlanFragment(BaseModel):
|
|
653
|
+
id: Any
|
|
654
|
+
ref_id: str = Field(alias="refId")
|
|
655
|
+
display_name: str = Field(alias="displayName")
|
|
656
|
+
description: Optional[str] = Field(default=None)
|
|
657
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
658
|
+
version_number: int = Field(alias="versionNumber")
|
|
659
|
+
additional_meta_data: Optional[Any] = Field(
|
|
660
|
+
alias="additionalMetaData", default=None
|
|
661
|
+
)
|
|
662
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
663
|
+
alias="hiddenFromWidgets", default=None
|
|
664
|
+
)
|
|
665
|
+
product: "PlanFragmentProduct"
|
|
666
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
667
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
668
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
669
|
+
alias="inheritedEntitlements", default=None
|
|
670
|
+
)
|
|
671
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
672
|
+
alias="compatibleAddons", default=None
|
|
673
|
+
)
|
|
674
|
+
compatible_package_groups: Optional[
|
|
675
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
676
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
677
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
678
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
679
|
+
alias="overagePrices", default=None
|
|
680
|
+
)
|
|
681
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
682
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
683
|
+
alias="defaultTrialConfig", default=None
|
|
684
|
+
)
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
class PlanFragmentProduct(ProductFragment):
|
|
688
|
+
pass
|
|
723
689
|
|
|
724
690
|
|
|
725
|
-
class
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
729
|
-
billable_features: Optional[
|
|
730
|
-
List[
|
|
731
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
732
|
-
]
|
|
733
|
-
] = Field(alias="billableFeatures", default=None)
|
|
734
|
-
addons: Optional[
|
|
735
|
-
List[
|
|
736
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
737
|
-
]
|
|
738
|
-
] = Field(default=None)
|
|
739
|
-
price_overrides: Optional[
|
|
740
|
-
List[
|
|
741
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
742
|
-
]
|
|
743
|
-
] = Field(alias="priceOverrides", default=None)
|
|
691
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
692
|
+
ref_id: str = Field(alias="refId")
|
|
693
|
+
display_name: str = Field(alias="displayName")
|
|
744
694
|
|
|
745
695
|
|
|
746
|
-
class
|
|
747
|
-
|
|
748
|
-
):
|
|
749
|
-
feature_id: str = Field(alias="featureId")
|
|
750
|
-
quantity: float
|
|
696
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
697
|
+
pass
|
|
751
698
|
|
|
752
699
|
|
|
753
|
-
class
|
|
754
|
-
|
|
755
|
-
):
|
|
756
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
757
|
-
quantity: float
|
|
700
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
701
|
+
pass
|
|
758
702
|
|
|
759
703
|
|
|
760
|
-
class
|
|
761
|
-
|
|
762
|
-
):
|
|
763
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
764
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
765
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
704
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
705
|
+
pass
|
|
766
706
|
|
|
767
707
|
|
|
768
|
-
class
|
|
769
|
-
|
|
770
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
771
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
772
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
773
|
-
billable_features: Optional[
|
|
774
|
-
List[
|
|
775
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
776
|
-
]
|
|
777
|
-
] = Field(alias="billableFeatures", default=None)
|
|
778
|
-
addons: Optional[
|
|
779
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
780
|
-
] = Field(default=None)
|
|
781
|
-
price_overrides: Optional[
|
|
782
|
-
List[
|
|
783
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
784
|
-
]
|
|
785
|
-
] = Field(alias="priceOverrides", default=None)
|
|
708
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
709
|
+
pass
|
|
786
710
|
|
|
787
711
|
|
|
788
|
-
class
|
|
789
|
-
|
|
790
|
-
):
|
|
791
|
-
feature_id: str = Field(alias="featureId")
|
|
792
|
-
quantity: float
|
|
712
|
+
class PlanFragmentPrices(PriceFragment):
|
|
713
|
+
pass
|
|
793
714
|
|
|
794
715
|
|
|
795
|
-
class
|
|
796
|
-
|
|
797
|
-
quantity: float
|
|
716
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
717
|
+
pass
|
|
798
718
|
|
|
799
719
|
|
|
800
|
-
class
|
|
801
|
-
|
|
802
|
-
|
|
803
|
-
|
|
804
|
-
|
|
805
|
-
|
|
720
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
721
|
+
duration: float
|
|
722
|
+
units: TrialPeriodUnits
|
|
723
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
724
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
725
|
+
alias="trialEndBehavior", default=None
|
|
726
|
+
)
|
|
806
727
|
|
|
807
728
|
|
|
808
|
-
class
|
|
809
|
-
|
|
810
|
-
):
|
|
811
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
812
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
813
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
729
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
730
|
+
limit: float
|
|
814
731
|
|
|
815
732
|
|
|
816
|
-
class
|
|
817
|
-
|
|
818
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
819
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
733
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
734
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
820
735
|
|
|
821
736
|
|
|
822
737
|
class SubscriptionFragment(BaseModel):
|
|
@@ -928,6 +843,91 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
928
843
|
pass
|
|
929
844
|
|
|
930
845
|
|
|
846
|
+
class FeatureFragment(BaseModel):
|
|
847
|
+
typename__: str = Field(alias="__typename")
|
|
848
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
+
feature_units_plural: Optional[str] = Field(
|
|
852
|
+
alias="featureUnitsPlural", default=None
|
|
853
|
+
)
|
|
854
|
+
description: Optional[str] = Field(default=None)
|
|
855
|
+
display_name: str = Field(alias="displayName")
|
|
856
|
+
ref_id: str = Field(alias="refId")
|
|
857
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
+
alias="unitTransformation", default=None
|
|
859
|
+
)
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
+
divide: float
|
|
864
|
+
round: UnitTransformationRound
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
class EntitlementFragment(BaseModel):
|
|
868
|
+
typename__: str = Field(alias="__typename")
|
|
869
|
+
is_granted: bool = Field(alias="isGranted")
|
|
870
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
+
alias="accessDeniedReason", default=None
|
|
872
|
+
)
|
|
873
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
+
alias="entitlementUpdatedAt", default=None
|
|
884
|
+
)
|
|
885
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
+
alias="resetPeriod", default=None
|
|
892
|
+
)
|
|
893
|
+
reset_period_configuration: Optional[
|
|
894
|
+
Annotated[
|
|
895
|
+
Union[
|
|
896
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
+
],
|
|
900
|
+
Field(discriminator="typename__"),
|
|
901
|
+
]
|
|
902
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
907
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
+
alias="monthlyAccordingTo", default=None
|
|
910
|
+
)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
914
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
915
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
+
alias="weeklyAccordingTo", default=None
|
|
917
|
+
)
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
921
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
922
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
+
alias="yearlyAccordingTo", default=None
|
|
924
|
+
)
|
|
925
|
+
|
|
926
|
+
|
|
927
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
928
|
+
pass
|
|
929
|
+
|
|
930
|
+
|
|
931
931
|
class ApplySubscriptionFragment(BaseModel):
|
|
932
932
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
933
933
|
default=None
|
|
@@ -1318,16 +1318,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1318
1318
|
pass
|
|
1319
1319
|
|
|
1320
1320
|
|
|
1321
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1322
|
-
display_name: str = Field(alias="displayName")
|
|
1323
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1324
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1325
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1326
|
-
period: PromotionalEntitlementPeriod
|
|
1327
|
-
start_date: Any = Field(alias="startDate")
|
|
1328
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
1321
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1332
1322
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1333
1323
|
alias="subscriptionScheduleType"
|
|
@@ -1643,6 +1633,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1643
1633
|
pass
|
|
1644
1634
|
|
|
1645
1635
|
|
|
1636
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1637
|
+
display_name: str = Field(alias="displayName")
|
|
1638
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1639
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1640
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1641
|
+
period: PromotionalEntitlementPeriod
|
|
1642
|
+
start_date: Any = Field(alias="startDate")
|
|
1643
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1644
|
+
|
|
1645
|
+
|
|
1646
1646
|
class CustomerPortalFragment(BaseModel):
|
|
1647
1647
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1648
1648
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2922,22 +2922,22 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2922
2922
|
AddonDependencyFragment.model_rebuild()
|
|
2923
2923
|
PackageEntitlementFragment.model_rebuild()
|
|
2924
2924
|
PriceTierFragment.model_rebuild()
|
|
2925
|
-
OveragePriceFragment.model_rebuild()
|
|
2926
2925
|
PriceFragment.model_rebuild()
|
|
2926
|
+
OveragePriceFragment.model_rebuild()
|
|
2927
2927
|
AddonFragment.model_rebuild()
|
|
2928
|
-
|
|
2929
|
-
EntitlementFragment.model_rebuild()
|
|
2930
|
-
TotalPriceFragment.model_rebuild()
|
|
2928
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2931
2929
|
CustomerResourceFragment.model_rebuild()
|
|
2932
|
-
|
|
2930
|
+
SlimCustomerFragment.model_rebuild()
|
|
2931
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2932
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2933
|
+
TotalPriceFragment.model_rebuild()
|
|
2933
2934
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2935
|
+
ProductFragment.model_rebuild()
|
|
2934
2936
|
PlanFragment.model_rebuild()
|
|
2935
2937
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2936
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2937
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2938
|
-
SlimCustomerFragment.model_rebuild()
|
|
2939
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2940
2938
|
SubscriptionFragment.model_rebuild()
|
|
2939
|
+
FeatureFragment.model_rebuild()
|
|
2940
|
+
EntitlementFragment.model_rebuild()
|
|
2941
2941
|
ApplySubscriptionFragment.model_rebuild()
|
|
2942
2942
|
FontVariantFragment.model_rebuild()
|
|
2943
2943
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2951,11 +2951,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2951
2951
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2952
2952
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2953
2953
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2954
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2955
2954
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2956
2955
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2957
2956
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2958
2957
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2958
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2959
2959
|
CustomerPortalFragment.model_rebuild()
|
|
2960
2960
|
CustomerStatisticsFragment.model_rebuild()
|
|
2961
2961
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -3930,6 +3930,9 @@ class SubscriptionCancelReasonFilterComparison(BaseModel):
|
|
|
3930
3930
|
|
|
3931
3931
|
|
|
3932
3932
|
class SubscriptionCancellationInput(BaseModel):
|
|
3933
|
+
await_subscription_cancellation: Optional[bool] = Field(
|
|
3934
|
+
alias="awaitSubscriptionCancellation", default=True
|
|
3935
|
+
)
|
|
3933
3936
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
3934
3937
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
3935
3938
|
prorate: Optional[bool] = None
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=4wSfEXeZZqMSjsCsSG8baVg3Si8sjzV3bp_unHWHBtQ,3800
|
|
|
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=252lBJk5HFWUyekjBNRO50po4Q7n8B6JOJtb3yK4vs8,106791
|
|
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
|
|
@@ -148,7 +148,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
148
148
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
149
149
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
150
150
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
151
|
-
stigg/generated/input_types.py,sha256=
|
|
151
|
+
stigg/generated/input_types.py,sha256=I4wHmB3YgGbzLRfYbTBO11FC0Rhdcxj2L6Fx0j1bMpg,207301
|
|
152
152
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
153
153
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
154
154
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -164,7 +164,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
164
164
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
165
165
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
166
166
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
167
|
-
stigg_api_client_v2-3.
|
|
168
|
-
stigg_api_client_v2-3.
|
|
169
|
-
stigg_api_client_v2-3.
|
|
170
|
-
stigg_api_client_v2-3.
|
|
167
|
+
stigg_api_client_v2-3.59.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
168
|
+
stigg_api_client_v2-3.59.2.dist-info/METADATA,sha256=6Jxfn5OZEvu6beuLp8ztbiYjI55dWSJbddfXtM7XHSE,2257
|
|
169
|
+
stigg_api_client_v2-3.59.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
170
|
+
stigg_api_client_v2-3.59.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|