stigg-api-client-v2 3.70.0__py3-none-any.whl → 3.70.1__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 +446 -446
- {stigg_api_client_v2-3.70.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.70.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-3.70.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.70.0.dist-info → stigg_api_client_v2-3.70.1.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -81,29 +81,41 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
81
81
|
currency: Currency
|
|
82
82
|
|
|
83
83
|
|
|
84
|
-
class
|
|
84
|
+
class PriceFragment(BaseModel):
|
|
85
85
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
86
86
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
87
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
87
88
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
89
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
90
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
88
91
|
billing_country_code: Optional[str] = Field(
|
|
89
92
|
alias="billingCountryCode", default=None
|
|
90
93
|
)
|
|
91
|
-
price: Optional["
|
|
94
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
95
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
96
|
+
alias="creditRate", default=None
|
|
97
|
+
)
|
|
92
98
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
93
|
-
tiers: Optional[List["
|
|
94
|
-
feature: Optional["
|
|
99
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
100
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
101
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
95
102
|
|
|
96
103
|
|
|
97
|
-
class
|
|
104
|
+
class PriceFragmentPrice(BaseModel):
|
|
98
105
|
amount: float
|
|
99
106
|
currency: Currency
|
|
100
107
|
|
|
101
108
|
|
|
102
|
-
class
|
|
109
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
110
|
+
amount: float
|
|
111
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
112
|
+
|
|
113
|
+
|
|
114
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
103
115
|
pass
|
|
104
116
|
|
|
105
117
|
|
|
106
|
-
class
|
|
118
|
+
class PriceFragmentFeature(BaseModel):
|
|
107
119
|
ref_id: str = Field(alias="refId")
|
|
108
120
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
109
121
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -148,41 +160,29 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
160
|
)
|
|
149
161
|
|
|
150
162
|
|
|
151
|
-
class
|
|
163
|
+
class OveragePriceFragment(BaseModel):
|
|
152
164
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
165
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
155
166
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
157
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
158
167
|
billing_country_code: Optional[str] = Field(
|
|
159
168
|
alias="billingCountryCode", default=None
|
|
160
169
|
)
|
|
161
|
-
price: Optional["
|
|
162
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
163
|
-
alias="creditRate", default=None
|
|
164
|
-
)
|
|
170
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
165
171
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
166
|
-
tiers: Optional[List["
|
|
167
|
-
feature: Optional["
|
|
168
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
172
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
173
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
169
174
|
|
|
170
175
|
|
|
171
|
-
class
|
|
176
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
172
177
|
amount: float
|
|
173
178
|
currency: Currency
|
|
174
179
|
|
|
175
180
|
|
|
176
|
-
class
|
|
177
|
-
amount: float
|
|
178
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
181
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
182
182
|
pass
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
class
|
|
185
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
187
187
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
188
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -230,262 +230,162 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
237
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
238
|
-
feature_units_plural: Optional[str] = Field(
|
|
239
|
-
alias="featureUnitsPlural", default=None
|
|
240
|
-
)
|
|
241
|
-
description: Optional[str] = Field(default=None)
|
|
242
|
-
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
|
|
233
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
234
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
235
|
+
alias="subscriptionScheduleType"
|
|
271
236
|
)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
-
alias="resetPeriod", default=None
|
|
237
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
238
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
239
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
240
|
+
alias="targetPackage", default=None
|
|
279
241
|
)
|
|
280
|
-
|
|
242
|
+
schedule_variables: Optional[
|
|
281
243
|
Annotated[
|
|
282
244
|
Union[
|
|
283
|
-
"
|
|
284
|
-
"
|
|
285
|
-
"
|
|
245
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
246
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
247
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
248
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
249
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
250
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
251
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
252
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
286
253
|
],
|
|
287
254
|
Field(discriminator="typename__"),
|
|
288
255
|
]
|
|
289
|
-
] = Field(alias="
|
|
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 SubscriptionTrialConfigurationFragment(BaseModel):
|
|
319
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
256
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
320
257
|
|
|
321
258
|
|
|
322
|
-
class
|
|
259
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
323
260
|
id: Any
|
|
324
|
-
name: Optional[str] = Field(default=None)
|
|
325
|
-
email: Optional[str] = Field(default=None)
|
|
326
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
327
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
328
261
|
ref_id: str = Field(alias="refId")
|
|
329
|
-
customer_id: str = Field(alias="customerId")
|
|
330
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
331
|
-
additional_meta_data: Optional[Any] = Field(
|
|
332
|
-
alias="additionalMetaData", default=None
|
|
333
|
-
)
|
|
334
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
335
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
336
|
-
)
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
class CustomerResourceFragment(BaseModel):
|
|
340
|
-
resource_id: str = Field(alias="resourceId")
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
344
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
345
262
|
display_name: str = Field(alias="displayName")
|
|
346
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
347
|
-
default=None
|
|
348
|
-
)
|
|
349
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
353
|
-
pass
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
357
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
358
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
class ProductFragment(BaseModel):
|
|
362
|
-
ref_id: str = Field(alias="refId")
|
|
363
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
364
|
-
description: Optional[str] = Field(default=None)
|
|
365
|
-
additional_meta_data: Optional[Any] = Field(
|
|
366
|
-
alias="additionalMetaData", default=None
|
|
367
|
-
)
|
|
368
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
369
263
|
|
|
370
264
|
|
|
371
|
-
class
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
)
|
|
265
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
266
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
267
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
268
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
375
269
|
|
|
376
270
|
|
|
377
|
-
class
|
|
378
|
-
|
|
379
|
-
|
|
271
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
272
|
+
BaseModel
|
|
273
|
+
):
|
|
274
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
275
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
276
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
380
277
|
|
|
381
278
|
|
|
382
|
-
class
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
388
|
-
version_number: int = Field(alias="versionNumber")
|
|
389
|
-
additional_meta_data: Optional[Any] = Field(
|
|
390
|
-
alias="additionalMetaData", default=None
|
|
391
|
-
)
|
|
392
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
393
|
-
alias="hiddenFromWidgets", default=None
|
|
394
|
-
)
|
|
395
|
-
product: "PlanFragmentProduct"
|
|
396
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
397
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
398
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
399
|
-
alias="inheritedEntitlements", default=None
|
|
400
|
-
)
|
|
401
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
402
|
-
alias="compatibleAddons", default=None
|
|
403
|
-
)
|
|
404
|
-
compatible_package_groups: Optional[
|
|
405
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
406
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
407
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
408
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
409
|
-
alias="overagePrices", default=None
|
|
410
|
-
)
|
|
411
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
412
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
413
|
-
alias="defaultTrialConfig", default=None
|
|
414
|
-
)
|
|
279
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
280
|
+
BaseModel
|
|
281
|
+
):
|
|
282
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
283
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
415
284
|
|
|
416
285
|
|
|
417
|
-
class
|
|
418
|
-
|
|
286
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
287
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
419
288
|
|
|
420
289
|
|
|
421
|
-
class
|
|
422
|
-
|
|
423
|
-
|
|
290
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
291
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
292
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
293
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
294
|
+
billable_features: Optional[
|
|
295
|
+
List[
|
|
296
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
297
|
+
]
|
|
298
|
+
] = Field(alias="billableFeatures", default=None)
|
|
299
|
+
addons: Optional[
|
|
300
|
+
List[
|
|
301
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
302
|
+
]
|
|
303
|
+
] = Field(default=None)
|
|
304
|
+
price_overrides: Optional[
|
|
305
|
+
List[
|
|
306
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
307
|
+
]
|
|
308
|
+
] = Field(alias="priceOverrides", default=None)
|
|
424
309
|
|
|
425
310
|
|
|
426
|
-
class
|
|
427
|
-
|
|
311
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
312
|
+
BaseModel
|
|
313
|
+
):
|
|
314
|
+
feature_id: str = Field(alias="featureId")
|
|
315
|
+
quantity: float
|
|
428
316
|
|
|
429
317
|
|
|
430
|
-
class
|
|
431
|
-
|
|
318
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
319
|
+
BaseModel
|
|
320
|
+
):
|
|
321
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
322
|
+
quantity: float
|
|
432
323
|
|
|
433
324
|
|
|
434
|
-
class
|
|
435
|
-
|
|
325
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
326
|
+
BaseModel
|
|
327
|
+
):
|
|
328
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
329
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
330
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
436
331
|
|
|
437
332
|
|
|
438
|
-
class
|
|
439
|
-
|
|
333
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
334
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
335
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
336
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
337
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
338
|
+
billable_features: Optional[
|
|
339
|
+
List[
|
|
340
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
341
|
+
]
|
|
342
|
+
] = Field(alias="billableFeatures", default=None)
|
|
343
|
+
addons: Optional[
|
|
344
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
345
|
+
] = Field(default=None)
|
|
346
|
+
price_overrides: Optional[
|
|
347
|
+
List[
|
|
348
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
349
|
+
]
|
|
350
|
+
] = Field(alias="priceOverrides", default=None)
|
|
440
351
|
|
|
441
352
|
|
|
442
|
-
class
|
|
443
|
-
|
|
353
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
354
|
+
BaseModel
|
|
355
|
+
):
|
|
356
|
+
feature_id: str = Field(alias="featureId")
|
|
357
|
+
quantity: float
|
|
444
358
|
|
|
445
359
|
|
|
446
|
-
class
|
|
447
|
-
|
|
360
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
361
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
362
|
+
quantity: float
|
|
448
363
|
|
|
449
364
|
|
|
450
|
-
class
|
|
451
|
-
|
|
452
|
-
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
)
|
|
365
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
366
|
+
BaseModel
|
|
367
|
+
):
|
|
368
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
369
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
370
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
457
371
|
|
|
458
372
|
|
|
459
|
-
class
|
|
460
|
-
|
|
373
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
374
|
+
BaseModel
|
|
375
|
+
):
|
|
376
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
377
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
378
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
461
379
|
|
|
462
380
|
|
|
463
|
-
class
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
472
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
473
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
474
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
475
|
-
alias="billingReason", default=None
|
|
476
|
-
)
|
|
477
|
-
currency: Optional[str] = Field(default=None)
|
|
478
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
479
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
480
|
-
alias="subTotalExcludingTax", default=None
|
|
481
|
-
)
|
|
482
|
-
total: Optional[float] = Field(default=None)
|
|
483
|
-
total_excluding_tax: Optional[float] = Field(
|
|
484
|
-
alias="totalExcludingTax", default=None
|
|
485
|
-
)
|
|
486
|
-
tax: Optional[float] = Field(default=None)
|
|
487
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
488
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
381
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
382
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
383
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
384
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
385
|
+
|
|
386
|
+
|
|
387
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
388
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
489
389
|
|
|
490
390
|
|
|
491
391
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -650,158 +550,128 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
650
550
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
651
551
|
|
|
652
552
|
|
|
653
|
-
class
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
659
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
660
|
-
alias="targetPackage", default=None
|
|
553
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
554
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
555
|
+
display_name: str = Field(alias="displayName")
|
|
556
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
557
|
+
default=None
|
|
661
558
|
)
|
|
662
|
-
|
|
663
|
-
Annotated[
|
|
664
|
-
Union[
|
|
665
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
666
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
667
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
668
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
669
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
670
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
671
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
672
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
673
|
-
],
|
|
674
|
-
Field(discriminator="typename__"),
|
|
675
|
-
]
|
|
676
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
559
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
677
560
|
|
|
678
561
|
|
|
679
|
-
class
|
|
680
|
-
|
|
562
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
563
|
+
pass
|
|
564
|
+
|
|
565
|
+
|
|
566
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
567
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
568
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class ProductFragment(BaseModel):
|
|
681
572
|
ref_id: str = Field(alias="refId")
|
|
682
|
-
display_name: str = Field(alias="displayName")
|
|
573
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
574
|
+
description: Optional[str] = Field(default=None)
|
|
575
|
+
additional_meta_data: Optional[Any] = Field(
|
|
576
|
+
alias="additionalMetaData", default=None
|
|
577
|
+
)
|
|
578
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
683
579
|
|
|
684
580
|
|
|
685
|
-
class
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
581
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
582
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
583
|
+
alias="downgradePlan", default=None
|
|
584
|
+
)
|
|
689
585
|
|
|
690
586
|
|
|
691
|
-
class
|
|
692
|
-
|
|
693
|
-
)
|
|
694
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
695
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
696
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
587
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
588
|
+
ref_id: str = Field(alias="refId")
|
|
589
|
+
display_name: str = Field(alias="displayName")
|
|
697
590
|
|
|
698
591
|
|
|
699
|
-
class
|
|
700
|
-
|
|
701
|
-
)
|
|
702
|
-
|
|
703
|
-
|
|
592
|
+
class PlanFragment(BaseModel):
|
|
593
|
+
id: Any
|
|
594
|
+
ref_id: str = Field(alias="refId")
|
|
595
|
+
display_name: str = Field(alias="displayName")
|
|
596
|
+
description: Optional[str] = Field(default=None)
|
|
597
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
598
|
+
version_number: int = Field(alias="versionNumber")
|
|
599
|
+
additional_meta_data: Optional[Any] = Field(
|
|
600
|
+
alias="additionalMetaData", default=None
|
|
601
|
+
)
|
|
602
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
603
|
+
alias="hiddenFromWidgets", default=None
|
|
604
|
+
)
|
|
605
|
+
product: "PlanFragmentProduct"
|
|
606
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
607
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
608
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
609
|
+
alias="inheritedEntitlements", default=None
|
|
610
|
+
)
|
|
611
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
612
|
+
alias="compatibleAddons", default=None
|
|
613
|
+
)
|
|
614
|
+
compatible_package_groups: Optional[
|
|
615
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
616
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
617
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
618
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
619
|
+
alias="overagePrices", default=None
|
|
620
|
+
)
|
|
621
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
622
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
623
|
+
alias="defaultTrialConfig", default=None
|
|
624
|
+
)
|
|
704
625
|
|
|
705
626
|
|
|
706
|
-
class
|
|
707
|
-
|
|
627
|
+
class PlanFragmentProduct(ProductFragment):
|
|
628
|
+
pass
|
|
708
629
|
|
|
709
630
|
|
|
710
|
-
class
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
714
|
-
billable_features: Optional[
|
|
715
|
-
List[
|
|
716
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
717
|
-
]
|
|
718
|
-
] = Field(alias="billableFeatures", default=None)
|
|
719
|
-
addons: Optional[
|
|
720
|
-
List[
|
|
721
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
722
|
-
]
|
|
723
|
-
] = Field(default=None)
|
|
724
|
-
price_overrides: Optional[
|
|
725
|
-
List[
|
|
726
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
727
|
-
]
|
|
728
|
-
] = Field(alias="priceOverrides", default=None)
|
|
631
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
632
|
+
ref_id: str = Field(alias="refId")
|
|
633
|
+
display_name: str = Field(alias="displayName")
|
|
729
634
|
|
|
730
635
|
|
|
731
|
-
class
|
|
732
|
-
|
|
733
|
-
):
|
|
734
|
-
feature_id: str = Field(alias="featureId")
|
|
735
|
-
quantity: float
|
|
636
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
637
|
+
pass
|
|
736
638
|
|
|
737
639
|
|
|
738
|
-
class
|
|
739
|
-
|
|
740
|
-
):
|
|
741
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
742
|
-
quantity: float
|
|
640
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
641
|
+
pass
|
|
743
642
|
|
|
744
643
|
|
|
745
|
-
class
|
|
746
|
-
|
|
747
|
-
):
|
|
748
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
749
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
750
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
644
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
645
|
+
pass
|
|
751
646
|
|
|
752
647
|
|
|
753
|
-
class
|
|
754
|
-
|
|
755
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
756
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
757
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
758
|
-
billable_features: Optional[
|
|
759
|
-
List[
|
|
760
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
761
|
-
]
|
|
762
|
-
] = Field(alias="billableFeatures", default=None)
|
|
763
|
-
addons: Optional[
|
|
764
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
765
|
-
] = Field(default=None)
|
|
766
|
-
price_overrides: Optional[
|
|
767
|
-
List[
|
|
768
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
769
|
-
]
|
|
770
|
-
] = Field(alias="priceOverrides", default=None)
|
|
648
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
649
|
+
pass
|
|
771
650
|
|
|
772
651
|
|
|
773
|
-
class
|
|
774
|
-
|
|
775
|
-
):
|
|
776
|
-
feature_id: str = Field(alias="featureId")
|
|
777
|
-
quantity: float
|
|
652
|
+
class PlanFragmentPrices(PriceFragment):
|
|
653
|
+
pass
|
|
778
654
|
|
|
779
655
|
|
|
780
|
-
class
|
|
781
|
-
|
|
782
|
-
quantity: float
|
|
656
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
657
|
+
pass
|
|
783
658
|
|
|
784
659
|
|
|
785
|
-
class
|
|
786
|
-
|
|
787
|
-
|
|
788
|
-
|
|
789
|
-
|
|
790
|
-
|
|
660
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
661
|
+
duration: float
|
|
662
|
+
units: TrialPeriodUnits
|
|
663
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
664
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
665
|
+
alias="trialEndBehavior", default=None
|
|
666
|
+
)
|
|
791
667
|
|
|
792
668
|
|
|
793
|
-
class
|
|
794
|
-
|
|
795
|
-
):
|
|
796
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
797
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
798
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
669
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
670
|
+
limit: float
|
|
799
671
|
|
|
800
672
|
|
|
801
|
-
class
|
|
802
|
-
|
|
803
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
804
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
673
|
+
class CustomerResourceFragment(BaseModel):
|
|
674
|
+
resource_id: str = Field(alias="resourceId")
|
|
805
675
|
|
|
806
676
|
|
|
807
677
|
class TotalPriceFragment(BaseModel):
|
|
@@ -819,6 +689,51 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
819
689
|
currency: Currency
|
|
820
690
|
|
|
821
691
|
|
|
692
|
+
class SlimCustomerFragment(BaseModel):
|
|
693
|
+
id: Any
|
|
694
|
+
name: Optional[str] = Field(default=None)
|
|
695
|
+
email: Optional[str] = Field(default=None)
|
|
696
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
697
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
698
|
+
ref_id: str = Field(alias="refId")
|
|
699
|
+
customer_id: str = Field(alias="customerId")
|
|
700
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
701
|
+
additional_meta_data: Optional[Any] = Field(
|
|
702
|
+
alias="additionalMetaData", default=None
|
|
703
|
+
)
|
|
704
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
705
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
706
|
+
)
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
710
|
+
billing_id: str = Field(alias="billingId")
|
|
711
|
+
status: SubscriptionInvoiceStatus
|
|
712
|
+
created_at: Any = Field(alias="createdAt")
|
|
713
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
714
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
715
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
716
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
717
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
718
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
719
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
720
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
721
|
+
alias="billingReason", default=None
|
|
722
|
+
)
|
|
723
|
+
currency: Optional[str] = Field(default=None)
|
|
724
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
725
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
726
|
+
alias="subTotalExcludingTax", default=None
|
|
727
|
+
)
|
|
728
|
+
total: Optional[float] = Field(default=None)
|
|
729
|
+
total_excluding_tax: Optional[float] = Field(
|
|
730
|
+
alias="totalExcludingTax", default=None
|
|
731
|
+
)
|
|
732
|
+
tax: Optional[float] = Field(default=None)
|
|
733
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
734
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
735
|
+
|
|
736
|
+
|
|
822
737
|
class SubscriptionFragment(BaseModel):
|
|
823
738
|
id: Any
|
|
824
739
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -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
|
|
@@ -1009,41 +1009,6 @@ class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
|
1009
1009
|
publishable_key: str = Field(alias="publishableKey")
|
|
1010
1010
|
|
|
1011
1011
|
|
|
1012
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1013
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1014
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1015
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1019
|
-
status: PromotionalEntitlementStatus
|
|
1020
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1021
|
-
feature_id: Any = Field(alias="featureId")
|
|
1022
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1023
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1024
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1025
|
-
alias="resetPeriod", default=None
|
|
1026
|
-
)
|
|
1027
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1028
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1029
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1030
|
-
|
|
1031
|
-
|
|
1032
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1033
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1034
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1035
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1036
|
-
feature_units_plural: Optional[str] = Field(
|
|
1037
|
-
alias="featureUnitsPlural", default=None
|
|
1038
|
-
)
|
|
1039
|
-
display_name: str = Field(alias="displayName")
|
|
1040
|
-
description: Optional[str] = Field(default=None)
|
|
1041
|
-
ref_id: str = Field(alias="refId")
|
|
1042
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1043
|
-
alias="additionalMetaData", default=None
|
|
1044
|
-
)
|
|
1045
|
-
|
|
1046
|
-
|
|
1047
1012
|
class CouponFragment(BaseModel):
|
|
1048
1013
|
id: Any
|
|
1049
1014
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1078,6 +1043,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1078
1043
|
status: SyncStatus
|
|
1079
1044
|
|
|
1080
1045
|
|
|
1046
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1047
|
+
status: PromotionalEntitlementStatus
|
|
1048
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1049
|
+
feature_id: Any = Field(alias="featureId")
|
|
1050
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1051
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1052
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1053
|
+
alias="resetPeriod", default=None
|
|
1054
|
+
)
|
|
1055
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1056
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1057
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1058
|
+
|
|
1059
|
+
|
|
1060
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1061
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1062
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1063
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1064
|
+
feature_units_plural: Optional[str] = Field(
|
|
1065
|
+
alias="featureUnitsPlural", default=None
|
|
1066
|
+
)
|
|
1067
|
+
display_name: str = Field(alias="displayName")
|
|
1068
|
+
description: Optional[str] = Field(default=None)
|
|
1069
|
+
ref_id: str = Field(alias="refId")
|
|
1070
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1071
|
+
alias="additionalMetaData", default=None
|
|
1072
|
+
)
|
|
1073
|
+
|
|
1074
|
+
|
|
1081
1075
|
class CustomerFragment(SlimCustomerFragment):
|
|
1082
1076
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1083
1077
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1136,6 +1130,12 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1136
1130
|
pass
|
|
1137
1131
|
|
|
1138
1132
|
|
|
1133
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1134
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1135
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1136
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
1139
|
class CheckoutStateFragment(BaseModel):
|
|
1140
1140
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1141
1141
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1362,39 +1362,11 @@ class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
|
1362
1362
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1363
1363
|
|
|
1364
1364
|
|
|
1365
|
-
class
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1369
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1370
|
-
default=None
|
|
1371
|
-
)
|
|
1372
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1373
|
-
alias="creditRate", default=None
|
|
1374
|
-
)
|
|
1375
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1376
|
-
default=None
|
|
1377
|
-
)
|
|
1378
|
-
|
|
1379
|
-
|
|
1380
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1381
|
-
amount: float
|
|
1382
|
-
currency: Currency
|
|
1383
|
-
|
|
1384
|
-
|
|
1385
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1386
|
-
amount: float
|
|
1387
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1388
|
-
|
|
1389
|
-
|
|
1390
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1391
|
-
id: Any
|
|
1392
|
-
ref_id: str = Field(alias="refId")
|
|
1365
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1366
|
+
addon_id: str = Field(alias="addonId")
|
|
1367
|
+
description: Optional[str] = Field(default=None)
|
|
1393
1368
|
display_name: str = Field(alias="displayName")
|
|
1394
|
-
|
|
1395
|
-
feature_units_plural: Optional[str] = Field(
|
|
1396
|
-
alias="featureUnitsPlural", default=None
|
|
1397
|
-
)
|
|
1369
|
+
quantity: int
|
|
1398
1370
|
|
|
1399
1371
|
|
|
1400
1372
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1566,11 +1538,39 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1566
1538
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1567
1539
|
|
|
1568
1540
|
|
|
1569
|
-
class
|
|
1570
|
-
|
|
1571
|
-
|
|
1541
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1542
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1543
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1544
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1545
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1546
|
+
default=None
|
|
1547
|
+
)
|
|
1548
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1549
|
+
alias="creditRate", default=None
|
|
1550
|
+
)
|
|
1551
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1552
|
+
default=None
|
|
1553
|
+
)
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1557
|
+
amount: float
|
|
1558
|
+
currency: Currency
|
|
1559
|
+
|
|
1560
|
+
|
|
1561
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1562
|
+
amount: float
|
|
1563
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1564
|
+
|
|
1565
|
+
|
|
1566
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1567
|
+
id: Any
|
|
1568
|
+
ref_id: str = Field(alias="refId")
|
|
1572
1569
|
display_name: str = Field(alias="displayName")
|
|
1573
|
-
|
|
1570
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1571
|
+
feature_units_plural: Optional[str] = Field(
|
|
1572
|
+
alias="featureUnitsPlural", default=None
|
|
1573
|
+
)
|
|
1574
1574
|
|
|
1575
1575
|
|
|
1576
1576
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
@@ -2959,32 +2959,32 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2959
2959
|
|
|
2960
2960
|
AddonDependencyFragment.model_rebuild()
|
|
2961
2961
|
PriceTierFragment.model_rebuild()
|
|
2962
|
-
OveragePriceFragment.model_rebuild()
|
|
2963
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2964
2962
|
PriceFragment.model_rebuild()
|
|
2963
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2964
|
+
OveragePriceFragment.model_rebuild()
|
|
2965
2965
|
AddonFragment.model_rebuild()
|
|
2966
|
-
|
|
2967
|
-
EntitlementFragment.model_rebuild()
|
|
2966
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2968
2967
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2969
|
-
|
|
2970
|
-
CustomerResourceFragment.model_rebuild()
|
|
2968
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2971
2969
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2972
2970
|
ProductFragment.model_rebuild()
|
|
2973
2971
|
PlanFragment.model_rebuild()
|
|
2974
|
-
|
|
2975
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2976
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2972
|
+
CustomerResourceFragment.model_rebuild()
|
|
2977
2973
|
TotalPriceFragment.model_rebuild()
|
|
2974
|
+
SlimCustomerFragment.model_rebuild()
|
|
2975
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2978
2976
|
SubscriptionFragment.model_rebuild()
|
|
2977
|
+
FeatureFragment.model_rebuild()
|
|
2978
|
+
EntitlementFragment.model_rebuild()
|
|
2979
2979
|
ApplySubscriptionFragment.model_rebuild()
|
|
2980
2980
|
FontVariantFragment.model_rebuild()
|
|
2981
2981
|
TypographyConfigurationFragment.model_rebuild()
|
|
2982
2982
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2983
2983
|
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2984
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2985
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2986
2984
|
CouponFragment.model_rebuild()
|
|
2985
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2987
2986
|
CustomerFragment.model_rebuild()
|
|
2987
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2988
2988
|
CheckoutStateFragment.model_rebuild()
|
|
2989
2989
|
CreditGrantFragment.model_rebuild()
|
|
2990
2990
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
@@ -2992,9 +2992,9 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
2992
2992
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2993
2993
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2994
2994
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2995
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2996
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2997
2995
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2996
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2997
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2998
2998
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2999
2999
|
CustomerPortalFragment.model_rebuild()
|
|
3000
3000
|
CustomerStatisticsFragment.model_rebuild()
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=HPIePI-595qtOG4D8Ca9GwvOQYLXGAv7auER5fYzS9Q,3854
|
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=u_bA6vsoUnCTzNUX4YKNb2k0Km7BKsNLIrhfbAYkqJA,108321
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -168,7 +168,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
168
168
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
169
169
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
170
170
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
171
|
-
stigg_api_client_v2-3.70.
|
|
172
|
-
stigg_api_client_v2-3.70.
|
|
173
|
-
stigg_api_client_v2-3.70.
|
|
174
|
-
stigg_api_client_v2-3.70.
|
|
171
|
+
stigg_api_client_v2-3.70.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
172
|
+
stigg_api_client_v2-3.70.1.dist-info/METADATA,sha256=_BuGmZH8f8zCrGF8fokXjCl54IA5WJmRT-ifJuTY6kU,2257
|
|
173
|
+
stigg_api_client_v2-3.70.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
174
|
+
stigg_api_client_v2-3.70.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|