stigg-api-client-v2 2.315.1__py3-none-any.whl → 2.315.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 +362 -362
- {stigg_api_client_v2-2.315.1.dist-info → stigg_api_client_v2-2.315.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.315.1.dist-info → stigg_api_client_v2-2.315.2.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.315.1.dist-info → stigg_api_client_v2-2.315.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.315.1.dist-info → stigg_api_client_v2-2.315.2.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -115,6 +115,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
115
115
|
description: Optional[str] = Field(default=None)
|
|
116
116
|
|
|
117
117
|
|
|
118
|
+
class OveragePriceFragment(BaseModel):
|
|
119
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
121
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
122
|
+
billing_country_code: Optional[str] = Field(
|
|
123
|
+
alias="billingCountryCode", default=None
|
|
124
|
+
)
|
|
125
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
126
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
127
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
128
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
129
|
+
|
|
130
|
+
|
|
131
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
132
|
+
amount: float
|
|
133
|
+
currency: Currency
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
137
|
+
pass
|
|
138
|
+
|
|
139
|
+
|
|
140
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
141
|
+
ref_id: str = Field(alias="refId")
|
|
142
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
143
|
+
feature_units_plural: Optional[str] = Field(
|
|
144
|
+
alias="featureUnitsPlural", default=None
|
|
145
|
+
)
|
|
146
|
+
display_name: str = Field(alias="displayName")
|
|
147
|
+
description: Optional[str] = Field(default=None)
|
|
148
|
+
|
|
149
|
+
|
|
118
150
|
class PackageEntitlementFragment(BaseModel):
|
|
119
151
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
120
152
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -148,38 +180,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
180
|
)
|
|
149
181
|
|
|
150
182
|
|
|
151
|
-
class OveragePriceFragment(BaseModel):
|
|
152
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
155
|
-
billing_country_code: Optional[str] = Field(
|
|
156
|
-
alias="billingCountryCode", default=None
|
|
157
|
-
)
|
|
158
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
165
|
-
amount: float
|
|
166
|
-
currency: Currency
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
|
-
pass
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
174
|
-
ref_id: str = Field(alias="refId")
|
|
175
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
|
-
feature_units_plural: Optional[str] = Field(
|
|
177
|
-
alias="featureUnitsPlural", default=None
|
|
178
|
-
)
|
|
179
|
-
display_name: str = Field(alias="displayName")
|
|
180
|
-
description: Optional[str] = Field(default=None)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -215,165 +215,128 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
229
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
230
|
-
alias="downgradePlan", default=None
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
231
225
|
)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
235
|
-
ref_id: str = Field(alias="refId")
|
|
236
|
-
display_name: str = Field(alias="displayName")
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
240
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
241
227
|
display_name: str = Field(alias="displayName")
|
|
242
|
-
|
|
243
|
-
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
244
231
|
)
|
|
245
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
246
232
|
|
|
247
233
|
|
|
248
|
-
class
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
253
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
254
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
255
237
|
|
|
256
238
|
|
|
257
|
-
class
|
|
258
|
-
|
|
259
|
-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
263
|
-
version_number: int = Field(alias="versionNumber")
|
|
264
|
-
additional_meta_data: Optional[Any] = Field(
|
|
265
|
-
alias="additionalMetaData", default=None
|
|
266
|
-
)
|
|
267
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
268
|
-
alias="hiddenFromWidgets", default=None
|
|
269
|
-
)
|
|
270
|
-
product: "PlanFragmentProduct"
|
|
271
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
272
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
273
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
274
|
-
alias="inheritedEntitlements", default=None
|
|
275
|
-
)
|
|
276
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
277
|
-
alias="compatibleAddons", default=None
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
240
|
+
typename__: str = Field(alias="__typename")
|
|
241
|
+
is_granted: bool = Field(alias="isGranted")
|
|
242
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
+
alias="accessDeniedReason", default=None
|
|
278
244
|
)
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
] = Field(alias="
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
245
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
+
alias="entitlementUpdatedAt", default=None
|
|
285
254
|
)
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
255
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
289
262
|
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
265
|
+
Union[
|
|
266
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
+
],
|
|
270
|
+
Field(discriminator="typename__"),
|
|
271
|
+
]
|
|
272
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
290
274
|
|
|
291
275
|
|
|
292
|
-
class
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
ref_id: str = Field(alias="refId")
|
|
298
|
-
display_name: str = Field(alias="displayName")
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
302
|
-
pass
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
306
|
-
pass
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
310
|
-
pass
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
314
|
-
pass
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
class PlanFragmentPrices(PriceFragment):
|
|
318
|
-
pass
|
|
276
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
+
alias="monthlyAccordingTo", default=None
|
|
280
|
+
)
|
|
319
281
|
|
|
320
282
|
|
|
321
|
-
class
|
|
322
|
-
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
323
288
|
|
|
324
289
|
|
|
325
|
-
class
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
330
|
-
alias="trialEndBehavior", default=None
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
331
294
|
)
|
|
332
295
|
|
|
333
296
|
|
|
334
|
-
class
|
|
335
|
-
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
336
299
|
|
|
337
300
|
|
|
338
|
-
class
|
|
301
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
339
302
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
340
303
|
alias="subscriptionScheduleType"
|
|
341
304
|
)
|
|
342
305
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
343
306
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
344
|
-
target_package: Optional["
|
|
307
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
345
308
|
alias="targetPackage", default=None
|
|
346
309
|
)
|
|
347
310
|
schedule_variables: Optional[
|
|
348
311
|
Annotated[
|
|
349
312
|
Union[
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
353
|
-
"
|
|
354
|
-
"
|
|
355
|
-
"
|
|
356
|
-
"
|
|
357
|
-
"
|
|
313
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
314
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
315
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
316
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
317
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
318
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
319
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
320
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
358
321
|
],
|
|
359
322
|
Field(discriminator="typename__"),
|
|
360
323
|
]
|
|
361
324
|
] = Field(alias="scheduleVariables", default=None)
|
|
362
325
|
|
|
363
326
|
|
|
364
|
-
class
|
|
327
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
365
328
|
id: str
|
|
366
329
|
ref_id: str = Field(alias="refId")
|
|
367
330
|
display_name: str = Field(alias="displayName")
|
|
368
331
|
|
|
369
332
|
|
|
370
|
-
class
|
|
333
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
371
334
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
372
335
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
373
336
|
new_quantity: float = Field(alias="newQuantity")
|
|
374
337
|
|
|
375
338
|
|
|
376
|
-
class
|
|
339
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
377
340
|
BaseModel
|
|
378
341
|
):
|
|
379
342
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -381,53 +344,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
381
344
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
382
345
|
|
|
383
346
|
|
|
384
|
-
class
|
|
347
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
385
348
|
BaseModel
|
|
386
349
|
):
|
|
387
350
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
388
351
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
389
352
|
|
|
390
353
|
|
|
391
|
-
class
|
|
354
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
392
355
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
393
356
|
|
|
394
357
|
|
|
395
|
-
class
|
|
358
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
359
|
+
BaseModel
|
|
360
|
+
):
|
|
396
361
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
397
362
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
398
363
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
399
364
|
billable_features: Optional[
|
|
400
365
|
List[
|
|
401
|
-
"
|
|
366
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
402
367
|
]
|
|
403
368
|
] = Field(alias="billableFeatures", default=None)
|
|
404
369
|
addons: Optional[
|
|
405
370
|
List[
|
|
406
|
-
"
|
|
371
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
407
372
|
]
|
|
408
373
|
] = Field(default=None)
|
|
409
374
|
price_overrides: Optional[
|
|
410
375
|
List[
|
|
411
|
-
"
|
|
376
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
412
377
|
]
|
|
413
378
|
] = Field(alias="priceOverrides", default=None)
|
|
414
379
|
|
|
415
380
|
|
|
416
|
-
class
|
|
381
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
417
382
|
BaseModel
|
|
418
383
|
):
|
|
419
384
|
feature_id: str = Field(alias="featureId")
|
|
420
385
|
quantity: float
|
|
421
386
|
|
|
422
387
|
|
|
423
|
-
class
|
|
388
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
424
389
|
BaseModel
|
|
425
390
|
):
|
|
426
391
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
427
392
|
quantity: float
|
|
428
393
|
|
|
429
394
|
|
|
430
|
-
class
|
|
395
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
431
396
|
BaseModel
|
|
432
397
|
):
|
|
433
398
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -435,39 +400,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
435
400
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
436
401
|
|
|
437
402
|
|
|
438
|
-
class
|
|
403
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
439
404
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
440
405
|
plan_ref_id: str = Field(alias="planRefId")
|
|
441
406
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
442
407
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
443
408
|
billable_features: Optional[
|
|
444
409
|
List[
|
|
445
|
-
"
|
|
410
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
446
411
|
]
|
|
447
412
|
] = Field(alias="billableFeatures", default=None)
|
|
448
413
|
addons: Optional[
|
|
449
|
-
List[
|
|
414
|
+
List[
|
|
415
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
416
|
+
]
|
|
450
417
|
] = Field(default=None)
|
|
451
418
|
price_overrides: Optional[
|
|
452
419
|
List[
|
|
453
|
-
"
|
|
420
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
454
421
|
]
|
|
455
422
|
] = Field(alias="priceOverrides", default=None)
|
|
456
423
|
|
|
457
424
|
|
|
458
|
-
class
|
|
425
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
459
426
|
BaseModel
|
|
460
427
|
):
|
|
461
428
|
feature_id: str = Field(alias="featureId")
|
|
462
429
|
quantity: float
|
|
463
430
|
|
|
464
431
|
|
|
465
|
-
class
|
|
432
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
433
|
+
BaseModel
|
|
434
|
+
):
|
|
466
435
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
467
436
|
quantity: float
|
|
468
437
|
|
|
469
438
|
|
|
470
|
-
class
|
|
439
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
471
440
|
BaseModel
|
|
472
441
|
):
|
|
473
442
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -475,7 +444,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
475
444
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
476
445
|
|
|
477
446
|
|
|
478
|
-
class
|
|
447
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
479
448
|
BaseModel
|
|
480
449
|
):
|
|
481
450
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -483,51 +452,198 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
483
452
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
484
453
|
|
|
485
454
|
|
|
486
|
-
class
|
|
455
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
456
|
+
BaseModel
|
|
457
|
+
):
|
|
487
458
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
488
459
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
489
460
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
490
461
|
|
|
491
462
|
|
|
492
|
-
class
|
|
463
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
464
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
class SlimCustomerFragment(BaseModel):
|
|
468
|
+
id: str
|
|
469
|
+
name: Optional[str] = Field(default=None)
|
|
470
|
+
email: Optional[str] = Field(default=None)
|
|
471
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
472
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
473
|
+
ref_id: str = Field(alias="refId")
|
|
474
|
+
customer_id: str = Field(alias="customerId")
|
|
475
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
476
|
+
additional_meta_data: Optional[Any] = Field(
|
|
477
|
+
alias="additionalMetaData", default=None
|
|
478
|
+
)
|
|
479
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
480
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
481
|
+
)
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
class CustomerResourceFragment(BaseModel):
|
|
485
|
+
resource_id: str = Field(alias="resourceId")
|
|
486
|
+
|
|
487
|
+
|
|
488
|
+
class ProductFragment(BaseModel):
|
|
489
|
+
ref_id: str = Field(alias="refId")
|
|
490
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
491
|
+
description: Optional[str] = Field(default=None)
|
|
492
|
+
additional_meta_data: Optional[Any] = Field(
|
|
493
|
+
alias="additionalMetaData", default=None
|
|
494
|
+
)
|
|
495
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
496
|
+
|
|
497
|
+
|
|
498
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
499
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
500
|
+
alias="downgradePlan", default=None
|
|
501
|
+
)
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
505
|
+
ref_id: str = Field(alias="refId")
|
|
506
|
+
display_name: str = Field(alias="displayName")
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
510
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
511
|
+
display_name: str = Field(alias="displayName")
|
|
512
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
513
|
+
default=None
|
|
514
|
+
)
|
|
515
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
519
|
+
pass
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
523
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
524
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
class PlanFragment(BaseModel):
|
|
528
|
+
id: str
|
|
529
|
+
ref_id: str = Field(alias="refId")
|
|
530
|
+
display_name: str = Field(alias="displayName")
|
|
531
|
+
description: Optional[str] = Field(default=None)
|
|
532
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
533
|
+
version_number: int = Field(alias="versionNumber")
|
|
534
|
+
additional_meta_data: Optional[Any] = Field(
|
|
535
|
+
alias="additionalMetaData", default=None
|
|
536
|
+
)
|
|
537
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
538
|
+
alias="hiddenFromWidgets", default=None
|
|
539
|
+
)
|
|
540
|
+
product: "PlanFragmentProduct"
|
|
541
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
542
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
543
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
544
|
+
alias="inheritedEntitlements", default=None
|
|
545
|
+
)
|
|
546
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
547
|
+
alias="compatibleAddons", default=None
|
|
548
|
+
)
|
|
549
|
+
compatible_package_groups: Optional[
|
|
550
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
551
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
552
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
553
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
554
|
+
alias="overagePrices", default=None
|
|
555
|
+
)
|
|
556
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
557
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
558
|
+
alias="defaultTrialConfig", default=None
|
|
559
|
+
)
|
|
560
|
+
|
|
561
|
+
|
|
562
|
+
class PlanFragmentProduct(ProductFragment):
|
|
563
|
+
pass
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
567
|
+
ref_id: str = Field(alias="refId")
|
|
568
|
+
display_name: str = Field(alias="displayName")
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
572
|
+
pass
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
576
|
+
pass
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
580
|
+
pass
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
584
|
+
pass
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
class PlanFragmentPrices(PriceFragment):
|
|
588
|
+
pass
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
592
|
+
pass
|
|
593
|
+
|
|
594
|
+
|
|
595
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
596
|
+
duration: float
|
|
597
|
+
units: TrialPeriodUnits
|
|
598
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
599
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
600
|
+
alias="trialEndBehavior", default=None
|
|
601
|
+
)
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
605
|
+
limit: float
|
|
606
|
+
|
|
607
|
+
|
|
608
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
493
609
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
494
610
|
alias="subscriptionScheduleType"
|
|
495
611
|
)
|
|
496
612
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
497
613
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
498
|
-
target_package: Optional["
|
|
614
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
499
615
|
alias="targetPackage", default=None
|
|
500
616
|
)
|
|
501
617
|
schedule_variables: Optional[
|
|
502
618
|
Annotated[
|
|
503
619
|
Union[
|
|
504
|
-
"
|
|
505
|
-
"
|
|
506
|
-
"
|
|
507
|
-
"
|
|
508
|
-
"
|
|
509
|
-
"
|
|
510
|
-
"
|
|
511
|
-
"
|
|
620
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
621
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
622
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
623
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
624
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
625
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
626
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
627
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
512
628
|
],
|
|
513
629
|
Field(discriminator="typename__"),
|
|
514
630
|
]
|
|
515
631
|
] = Field(alias="scheduleVariables", default=None)
|
|
516
632
|
|
|
517
633
|
|
|
518
|
-
class
|
|
634
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
519
635
|
id: str
|
|
520
636
|
ref_id: str = Field(alias="refId")
|
|
521
637
|
display_name: str = Field(alias="displayName")
|
|
522
638
|
|
|
523
639
|
|
|
524
|
-
class
|
|
640
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
525
641
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
526
642
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
527
643
|
new_quantity: float = Field(alias="newQuantity")
|
|
528
644
|
|
|
529
645
|
|
|
530
|
-
class
|
|
646
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
531
647
|
BaseModel
|
|
532
648
|
):
|
|
533
649
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -535,55 +651,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
535
651
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
536
652
|
|
|
537
653
|
|
|
538
|
-
class
|
|
654
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
539
655
|
BaseModel
|
|
540
656
|
):
|
|
541
657
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
542
658
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
543
659
|
|
|
544
660
|
|
|
545
|
-
class
|
|
661
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
546
662
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
547
663
|
|
|
548
664
|
|
|
549
|
-
class
|
|
550
|
-
BaseModel
|
|
551
|
-
):
|
|
665
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
552
666
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
553
667
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
554
668
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
555
669
|
billable_features: Optional[
|
|
556
670
|
List[
|
|
557
|
-
"
|
|
671
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
558
672
|
]
|
|
559
673
|
] = Field(alias="billableFeatures", default=None)
|
|
560
674
|
addons: Optional[
|
|
561
675
|
List[
|
|
562
|
-
"
|
|
676
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
563
677
|
]
|
|
564
678
|
] = Field(default=None)
|
|
565
679
|
price_overrides: Optional[
|
|
566
680
|
List[
|
|
567
|
-
"
|
|
681
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
568
682
|
]
|
|
569
683
|
] = Field(alias="priceOverrides", default=None)
|
|
570
684
|
|
|
571
685
|
|
|
572
|
-
class
|
|
686
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
573
687
|
BaseModel
|
|
574
688
|
):
|
|
575
689
|
feature_id: str = Field(alias="featureId")
|
|
576
690
|
quantity: float
|
|
577
691
|
|
|
578
692
|
|
|
579
|
-
class
|
|
693
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
580
694
|
BaseModel
|
|
581
695
|
):
|
|
582
696
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
583
697
|
quantity: float
|
|
584
698
|
|
|
585
699
|
|
|
586
|
-
class
|
|
700
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
587
701
|
BaseModel
|
|
588
702
|
):
|
|
589
703
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -591,43 +705,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
591
705
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
592
706
|
|
|
593
707
|
|
|
594
|
-
class
|
|
708
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
595
709
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
596
710
|
plan_ref_id: str = Field(alias="planRefId")
|
|
597
711
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
598
712
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
599
713
|
billable_features: Optional[
|
|
600
714
|
List[
|
|
601
|
-
"
|
|
715
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
602
716
|
]
|
|
603
717
|
] = Field(alias="billableFeatures", default=None)
|
|
604
718
|
addons: Optional[
|
|
605
|
-
List[
|
|
606
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
607
|
-
]
|
|
719
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
608
720
|
] = Field(default=None)
|
|
609
721
|
price_overrides: Optional[
|
|
610
722
|
List[
|
|
611
|
-
"
|
|
723
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
612
724
|
]
|
|
613
725
|
] = Field(alias="priceOverrides", default=None)
|
|
614
726
|
|
|
615
727
|
|
|
616
|
-
class
|
|
728
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
617
729
|
BaseModel
|
|
618
730
|
):
|
|
619
731
|
feature_id: str = Field(alias="featureId")
|
|
620
732
|
quantity: float
|
|
621
733
|
|
|
622
734
|
|
|
623
|
-
class
|
|
624
|
-
BaseModel
|
|
625
|
-
):
|
|
735
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
626
736
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
627
737
|
quantity: float
|
|
628
738
|
|
|
629
739
|
|
|
630
|
-
class
|
|
740
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
631
741
|
BaseModel
|
|
632
742
|
):
|
|
633
743
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -635,7 +745,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
635
745
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
636
746
|
|
|
637
747
|
|
|
638
|
-
class
|
|
748
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
639
749
|
BaseModel
|
|
640
750
|
):
|
|
641
751
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -643,18 +753,12 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
643
753
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
644
754
|
|
|
645
755
|
|
|
646
|
-
class
|
|
647
|
-
BaseModel
|
|
648
|
-
):
|
|
756
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
649
757
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
650
758
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
651
759
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
652
760
|
|
|
653
761
|
|
|
654
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
655
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
656
|
-
|
|
657
|
-
|
|
658
762
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
659
763
|
billing_id: str = Field(alias="billingId")
|
|
660
764
|
status: SubscriptionInvoiceStatus
|
|
@@ -697,27 +801,6 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
697
801
|
currency: Currency
|
|
698
802
|
|
|
699
803
|
|
|
700
|
-
class SlimCustomerFragment(BaseModel):
|
|
701
|
-
id: str
|
|
702
|
-
name: Optional[str] = Field(default=None)
|
|
703
|
-
email: Optional[str] = Field(default=None)
|
|
704
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
705
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
706
|
-
ref_id: str = Field(alias="refId")
|
|
707
|
-
customer_id: str = Field(alias="customerId")
|
|
708
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
709
|
-
additional_meta_data: Optional[Any] = Field(
|
|
710
|
-
alias="additionalMetaData", default=None
|
|
711
|
-
)
|
|
712
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
713
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
714
|
-
)
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
class CustomerResourceFragment(BaseModel):
|
|
718
|
-
resource_id: str = Field(alias="resourceId")
|
|
719
|
-
|
|
720
|
-
|
|
721
804
|
class SubscriptionFragment(BaseModel):
|
|
722
805
|
id: str
|
|
723
806
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -827,89 +910,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
827
910
|
pass
|
|
828
911
|
|
|
829
912
|
|
|
830
|
-
class FeatureFragment(BaseModel):
|
|
831
|
-
typename__: str = Field(alias="__typename")
|
|
832
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
833
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
834
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
835
|
-
feature_units_plural: Optional[str] = Field(
|
|
836
|
-
alias="featureUnitsPlural", default=None
|
|
837
|
-
)
|
|
838
|
-
description: Optional[str] = Field(default=None)
|
|
839
|
-
display_name: str = Field(alias="displayName")
|
|
840
|
-
ref_id: str = Field(alias="refId")
|
|
841
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
842
|
-
alias="unitTransformation", default=None
|
|
843
|
-
)
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
847
|
-
divide: float
|
|
848
|
-
round: UnitTransformationRound
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
class EntitlementFragment(BaseModel):
|
|
852
|
-
typename__: str = Field(alias="__typename")
|
|
853
|
-
is_granted: bool = Field(alias="isGranted")
|
|
854
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
855
|
-
alias="accessDeniedReason", default=None
|
|
856
|
-
)
|
|
857
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
858
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
859
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
860
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
861
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
862
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
863
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
864
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
865
|
-
alias="entitlementUpdatedAt", default=None
|
|
866
|
-
)
|
|
867
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
868
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
869
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
870
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
871
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
872
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
873
|
-
alias="resetPeriod", default=None
|
|
874
|
-
)
|
|
875
|
-
reset_period_configuration: Optional[
|
|
876
|
-
Annotated[
|
|
877
|
-
Union[
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
880
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
881
|
-
],
|
|
882
|
-
Field(discriminator="typename__"),
|
|
883
|
-
]
|
|
884
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
885
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
889
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
890
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
-
alias="monthlyAccordingTo", default=None
|
|
892
|
-
)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
896
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
-
alias="weeklyAccordingTo", default=None
|
|
899
|
-
)
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
903
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
-
alias="yearlyAccordingTo", default=None
|
|
906
|
-
)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
910
|
-
pass
|
|
911
|
-
|
|
912
|
-
|
|
913
913
|
class ApplySubscriptionFragment(BaseModel):
|
|
914
914
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
915
915
|
default=None
|
|
@@ -987,35 +987,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
987
987
|
)
|
|
988
988
|
|
|
989
989
|
|
|
990
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
991
|
-
status: PromotionalEntitlementStatus
|
|
992
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
993
|
-
feature_id: str = Field(alias="featureId")
|
|
994
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
995
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
996
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
997
|
-
alias="resetPeriod", default=None
|
|
998
|
-
)
|
|
999
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1000
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1001
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1002
|
-
|
|
1003
|
-
|
|
1004
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1005
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1006
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1007
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1008
|
-
feature_units_plural: Optional[str] = Field(
|
|
1009
|
-
alias="featureUnitsPlural", default=None
|
|
1010
|
-
)
|
|
1011
|
-
display_name: str = Field(alias="displayName")
|
|
1012
|
-
description: Optional[str] = Field(default=None)
|
|
1013
|
-
ref_id: str = Field(alias="refId")
|
|
1014
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1015
|
-
alias="additionalMetaData", default=None
|
|
1016
|
-
)
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
990
|
class CouponFragment(BaseModel):
|
|
1020
991
|
id: str
|
|
1021
992
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1050,6 +1021,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1050
1021
|
status: SyncStatus
|
|
1051
1022
|
|
|
1052
1023
|
|
|
1024
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1025
|
+
status: PromotionalEntitlementStatus
|
|
1026
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1027
|
+
feature_id: str = Field(alias="featureId")
|
|
1028
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1029
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1030
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1031
|
+
alias="resetPeriod", default=None
|
|
1032
|
+
)
|
|
1033
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1034
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1035
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1036
|
+
|
|
1037
|
+
|
|
1038
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1039
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1040
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1041
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1042
|
+
feature_units_plural: Optional[str] = Field(
|
|
1043
|
+
alias="featureUnitsPlural", default=None
|
|
1044
|
+
)
|
|
1045
|
+
display_name: str = Field(alias="displayName")
|
|
1046
|
+
description: Optional[str] = Field(default=None)
|
|
1047
|
+
ref_id: str = Field(alias="refId")
|
|
1048
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1049
|
+
alias="additionalMetaData", default=None
|
|
1050
|
+
)
|
|
1051
|
+
|
|
1052
|
+
|
|
1053
1053
|
class CustomerFragment(SlimCustomerFragment):
|
|
1054
1054
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1055
1055
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1250,14 +1250,11 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
-
class
|
|
1253
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1254
|
+
addon_id: str = Field(alias="addonId")
|
|
1255
|
+
description: Optional[str] = Field(default=None)
|
|
1254
1256
|
display_name: str = Field(alias="displayName")
|
|
1255
|
-
|
|
1256
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
-
period: PromotionalEntitlementPeriod
|
|
1259
|
-
start_date: Any = Field(alias="startDate")
|
|
1260
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1257
|
+
quantity: int
|
|
1261
1258
|
|
|
1262
1259
|
|
|
1263
1260
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
@@ -1287,13 +1284,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1287
1284
|
)
|
|
1288
1285
|
|
|
1289
1286
|
|
|
1290
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1291
|
-
addon_id: str = Field(alias="addonId")
|
|
1292
|
-
description: Optional[str] = Field(default=None)
|
|
1293
|
-
display_name: str = Field(alias="displayName")
|
|
1294
|
-
quantity: int
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
1287
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1298
1288
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1299
1289
|
alias="subscriptionScheduleType"
|
|
@@ -1559,6 +1549,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1559
1549
|
pass
|
|
1560
1550
|
|
|
1561
1551
|
|
|
1552
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1553
|
+
display_name: str = Field(alias="displayName")
|
|
1554
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1555
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1556
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1557
|
+
period: PromotionalEntitlementPeriod
|
|
1558
|
+
start_date: Any = Field(alias="startDate")
|
|
1559
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1560
|
+
|
|
1561
|
+
|
|
1562
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1563
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1564
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2765,38 +2765,38 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
2766
|
PriceTierFragment.model_rebuild()
|
|
2767
2767
|
PriceFragment.model_rebuild()
|
|
2768
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2769
2768
|
OveragePriceFragment.model_rebuild()
|
|
2769
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
+
FeatureFragment.model_rebuild()
|
|
2772
|
+
EntitlementFragment.model_rebuild()
|
|
2773
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2774
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2775
|
+
SlimCustomerFragment.model_rebuild()
|
|
2776
|
+
CustomerResourceFragment.model_rebuild()
|
|
2771
2777
|
ProductFragment.model_rebuild()
|
|
2772
2778
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2773
2779
|
PlanFragment.model_rebuild()
|
|
2774
2780
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2775
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2776
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2777
2781
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
2782
|
TotalPriceFragment.model_rebuild()
|
|
2779
|
-
SlimCustomerFragment.model_rebuild()
|
|
2780
|
-
CustomerResourceFragment.model_rebuild()
|
|
2781
2783
|
SubscriptionFragment.model_rebuild()
|
|
2782
|
-
FeatureFragment.model_rebuild()
|
|
2783
|
-
EntitlementFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
2787
2787
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2788
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
2788
|
CouponFragment.model_rebuild()
|
|
2789
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2790
2790
|
CustomerFragment.model_rebuild()
|
|
2791
2791
|
CheckoutStateFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
2795
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2796
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2798
2797
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2799
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2802
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=qWrohdIPTsA0omqBKnEiGAonNwjgF9yViJte1c9f5hM,3440
|
|
|
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=OtgGNY3L_qps5_Jz8vDb5pLxlt_o0uIYv1hUPWnirWE,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.315.
|
|
164
|
-
stigg_api_client_v2-2.315.
|
|
165
|
-
stigg_api_client_v2-2.315.
|
|
166
|
-
stigg_api_client_v2-2.315.
|
|
163
|
+
stigg_api_client_v2-2.315.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.315.2.dist-info/METADATA,sha256=iAIqRqfmhlItXQ9-74m741ervT0iVsTYSb2q668EjKc,2258
|
|
165
|
+
stigg_api_client_v2-2.315.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.315.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|