stigg-api-client-v2 3.17.0__py3-none-any.whl → 3.22.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/__init__.py +2 -2
- stigg/generated/enums.py +6 -6
- stigg/generated/fragments.py +603 -603
- stigg/generated/input_types.py +2 -2
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.22.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.22.2.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.22.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.22.2.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -60,6 +60,40 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
+
class PackageEntitlementFragment(BaseModel):
|
|
64
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
+
feature_id: str = Field(alias="featureId")
|
|
68
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
+
alias="resetPeriod", default=None
|
|
70
|
+
)
|
|
71
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
+
alias="hiddenFromWidgets", default=None
|
|
73
|
+
)
|
|
74
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
+
display_name_override: Optional[str] = Field(
|
|
76
|
+
alias="displayNameOverride", default=None
|
|
77
|
+
)
|
|
78
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
79
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
80
|
+
|
|
81
|
+
|
|
82
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
83
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
84
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
85
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
86
|
+
feature_units_plural: Optional[str] = Field(
|
|
87
|
+
alias="featureUnitsPlural", default=None
|
|
88
|
+
)
|
|
89
|
+
display_name: str = Field(alias="displayName")
|
|
90
|
+
description: Optional[str] = Field(default=None)
|
|
91
|
+
ref_id: str = Field(alias="refId")
|
|
92
|
+
additional_meta_data: Optional[Any] = Field(
|
|
93
|
+
alias="additionalMetaData", default=None
|
|
94
|
+
)
|
|
95
|
+
|
|
96
|
+
|
|
63
97
|
class PriceTierFragment(BaseModel):
|
|
64
98
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
65
99
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -80,38 +114,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
80
114
|
currency: Currency
|
|
81
115
|
|
|
82
116
|
|
|
83
|
-
class OveragePriceFragment(BaseModel):
|
|
84
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
85
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
billing_country_code: Optional[str] = Field(
|
|
88
|
-
alias="billingCountryCode", default=None
|
|
89
|
-
)
|
|
90
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
91
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
92
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
93
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
97
|
-
amount: float
|
|
98
|
-
currency: Currency
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
102
|
-
pass
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
106
|
-
ref_id: str = Field(alias="refId")
|
|
107
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
108
|
-
feature_units_plural: Optional[str] = Field(
|
|
109
|
-
alias="featureUnitsPlural", default=None
|
|
110
|
-
)
|
|
111
|
-
display_name: str = Field(alias="displayName")
|
|
112
|
-
description: Optional[str] = Field(default=None)
|
|
113
|
-
|
|
114
|
-
|
|
115
117
|
class PriceFragment(BaseModel):
|
|
116
118
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
119
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -156,38 +158,36 @@ class PriceFragmentFeature(BaseModel):
|
|
|
156
158
|
description: Optional[str] = Field(default=None)
|
|
157
159
|
|
|
158
160
|
|
|
159
|
-
class
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
alias="resetPeriod", default=None
|
|
166
|
-
)
|
|
167
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
168
|
-
alias="hiddenFromWidgets", default=None
|
|
169
|
-
)
|
|
170
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
171
|
-
display_name_override: Optional[str] = Field(
|
|
172
|
-
alias="displayNameOverride", default=None
|
|
161
|
+
class OveragePriceFragment(BaseModel):
|
|
162
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
163
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
164
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
165
|
+
billing_country_code: Optional[str] = Field(
|
|
166
|
+
alias="billingCountryCode", default=None
|
|
173
167
|
)
|
|
174
|
-
|
|
175
|
-
|
|
168
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
169
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
170
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
171
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
176
172
|
|
|
177
173
|
|
|
178
|
-
class
|
|
179
|
-
|
|
180
|
-
|
|
174
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
175
|
+
amount: float
|
|
176
|
+
currency: Currency
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
180
|
+
pass
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
184
|
+
ref_id: str = Field(alias="refId")
|
|
181
185
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
182
186
|
feature_units_plural: Optional[str] = Field(
|
|
183
187
|
alias="featureUnitsPlural", default=None
|
|
184
188
|
)
|
|
185
189
|
display_name: str = Field(alias="displayName")
|
|
186
190
|
description: Optional[str] = Field(default=None)
|
|
187
|
-
ref_id: str = Field(alias="refId")
|
|
188
|
-
additional_meta_data: Optional[Any] = Field(
|
|
189
|
-
alias="additionalMetaData", default=None
|
|
190
|
-
)
|
|
191
191
|
|
|
192
192
|
|
|
193
193
|
class AddonFragment(BaseModel):
|
|
@@ -228,337 +228,93 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
228
228
|
pass
|
|
229
229
|
|
|
230
230
|
|
|
231
|
-
class
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
customer_id: str = Field(alias="customerId")
|
|
239
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
240
|
-
additional_meta_data: Optional[Any] = Field(
|
|
241
|
-
alias="additionalMetaData", default=None
|
|
231
|
+
class FeatureFragment(BaseModel):
|
|
232
|
+
typename__: str = Field(alias="__typename")
|
|
233
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
234
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
235
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
236
|
+
feature_units_plural: Optional[str] = Field(
|
|
237
|
+
alias="featureUnitsPlural", default=None
|
|
242
238
|
)
|
|
243
|
-
|
|
244
|
-
|
|
239
|
+
description: Optional[str] = Field(default=None)
|
|
240
|
+
display_name: str = Field(alias="displayName")
|
|
241
|
+
ref_id: str = Field(alias="refId")
|
|
242
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
243
|
+
alias="unitTransformation", default=None
|
|
245
244
|
)
|
|
246
245
|
|
|
247
246
|
|
|
248
|
-
class
|
|
249
|
-
|
|
250
|
-
|
|
247
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
248
|
+
divide: float
|
|
249
|
+
round: UnitTransformationRound
|
|
250
|
+
|
|
251
|
+
|
|
252
|
+
class EntitlementFragment(BaseModel):
|
|
253
|
+
typename__: str = Field(alias="__typename")
|
|
254
|
+
is_granted: bool = Field(alias="isGranted")
|
|
255
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
256
|
+
alias="accessDeniedReason", default=None
|
|
251
257
|
)
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
258
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
259
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
260
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
261
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
262
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
263
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
264
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
265
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
266
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
267
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
268
|
+
alias="entitlementUpdatedAt", default=None
|
|
256
269
|
)
|
|
257
|
-
|
|
270
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
271
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
272
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
273
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
274
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
275
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
276
|
+
alias="resetPeriod", default=None
|
|
277
|
+
)
|
|
278
|
+
reset_period_configuration: Optional[
|
|
258
279
|
Annotated[
|
|
259
280
|
Union[
|
|
260
|
-
"
|
|
261
|
-
"
|
|
262
|
-
"
|
|
263
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
264
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
265
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
266
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
267
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
281
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
282
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
268
284
|
],
|
|
269
285
|
Field(discriminator="typename__"),
|
|
270
286
|
]
|
|
271
|
-
] = Field(alias="
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
275
|
-
id: Any
|
|
276
|
-
ref_id: str = Field(alias="refId")
|
|
277
|
-
display_name: str = Field(alias="displayName")
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
281
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
282
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
283
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
287
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
288
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
284
289
|
|
|
285
290
|
|
|
286
|
-
class
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
291
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
292
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
293
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
294
|
+
alias="monthlyAccordingTo", default=None
|
|
295
|
+
)
|
|
292
296
|
|
|
293
297
|
|
|
294
|
-
class
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
298
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
299
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
300
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
301
|
+
alias="weeklyAccordingTo", default=None
|
|
302
|
+
)
|
|
299
303
|
|
|
300
304
|
|
|
301
|
-
class
|
|
302
|
-
typename__: Literal["
|
|
305
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
306
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
307
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
308
|
+
alias="yearlyAccordingTo", default=None
|
|
309
|
+
)
|
|
303
310
|
|
|
304
311
|
|
|
305
|
-
class
|
|
306
|
-
|
|
307
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
308
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
309
|
-
billable_features: Optional[
|
|
310
|
-
List[
|
|
311
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
312
|
-
]
|
|
313
|
-
] = Field(alias="billableFeatures", default=None)
|
|
314
|
-
addons: Optional[
|
|
315
|
-
List[
|
|
316
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
317
|
-
]
|
|
318
|
-
] = Field(default=None)
|
|
319
|
-
price_overrides: Optional[
|
|
320
|
-
List[
|
|
321
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
322
|
-
]
|
|
323
|
-
] = Field(alias="priceOverrides", default=None)
|
|
312
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
313
|
+
pass
|
|
324
314
|
|
|
325
315
|
|
|
326
|
-
class
|
|
327
|
-
|
|
328
|
-
):
|
|
329
|
-
feature_id: str = Field(alias="featureId")
|
|
330
|
-
quantity: float
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
334
|
-
BaseModel
|
|
335
|
-
):
|
|
336
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
337
|
-
quantity: float
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
341
|
-
BaseModel
|
|
342
|
-
):
|
|
343
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
344
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
345
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
349
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
350
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
351
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
352
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
353
|
-
billable_features: Optional[
|
|
354
|
-
List[
|
|
355
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
356
|
-
]
|
|
357
|
-
] = Field(alias="billableFeatures", default=None)
|
|
358
|
-
addons: Optional[
|
|
359
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
360
|
-
] = Field(default=None)
|
|
361
|
-
price_overrides: Optional[
|
|
362
|
-
List[
|
|
363
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
364
|
-
]
|
|
365
|
-
] = Field(alias="priceOverrides", default=None)
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
369
|
-
BaseModel
|
|
370
|
-
):
|
|
371
|
-
feature_id: str = Field(alias="featureId")
|
|
372
|
-
quantity: float
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
376
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
377
|
-
quantity: float
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
381
|
-
BaseModel
|
|
382
|
-
):
|
|
383
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
384
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
385
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
389
|
-
BaseModel
|
|
390
|
-
):
|
|
391
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
392
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
393
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
397
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
398
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
399
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
403
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
404
|
-
alias="subscriptionScheduleType"
|
|
405
|
-
)
|
|
406
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
407
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
408
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
409
|
-
alias="targetPackage", default=None
|
|
410
|
-
)
|
|
411
|
-
schedule_variables: Optional[
|
|
412
|
-
Annotated[
|
|
413
|
-
Union[
|
|
414
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
415
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
416
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
417
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
418
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
419
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
420
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
421
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
422
|
-
],
|
|
423
|
-
Field(discriminator="typename__"),
|
|
424
|
-
]
|
|
425
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
426
|
-
|
|
427
|
-
|
|
428
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
429
|
-
id: Any
|
|
430
|
-
ref_id: str = Field(alias="refId")
|
|
431
|
-
display_name: str = Field(alias="displayName")
|
|
432
|
-
|
|
433
|
-
|
|
434
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
435
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
436
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
437
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
441
|
-
BaseModel
|
|
442
|
-
):
|
|
443
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
444
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
445
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
449
|
-
BaseModel
|
|
450
|
-
):
|
|
451
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
452
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
456
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
460
|
-
BaseModel
|
|
461
|
-
):
|
|
462
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
463
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
464
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
465
|
-
billable_features: Optional[
|
|
466
|
-
List[
|
|
467
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
468
|
-
]
|
|
469
|
-
] = Field(alias="billableFeatures", default=None)
|
|
470
|
-
addons: Optional[
|
|
471
|
-
List[
|
|
472
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
473
|
-
]
|
|
474
|
-
] = Field(default=None)
|
|
475
|
-
price_overrides: Optional[
|
|
476
|
-
List[
|
|
477
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
478
|
-
]
|
|
479
|
-
] = Field(alias="priceOverrides", default=None)
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
483
|
-
BaseModel
|
|
484
|
-
):
|
|
485
|
-
feature_id: str = Field(alias="featureId")
|
|
486
|
-
quantity: float
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
490
|
-
BaseModel
|
|
491
|
-
):
|
|
492
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
493
|
-
quantity: float
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
497
|
-
BaseModel
|
|
498
|
-
):
|
|
499
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
500
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
501
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
505
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
506
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
507
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
508
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
509
|
-
billable_features: Optional[
|
|
510
|
-
List[
|
|
511
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
512
|
-
]
|
|
513
|
-
] = Field(alias="billableFeatures", default=None)
|
|
514
|
-
addons: Optional[
|
|
515
|
-
List[
|
|
516
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
517
|
-
]
|
|
518
|
-
] = Field(default=None)
|
|
519
|
-
price_overrides: Optional[
|
|
520
|
-
List[
|
|
521
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
522
|
-
]
|
|
523
|
-
] = Field(alias="priceOverrides", default=None)
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
527
|
-
BaseModel
|
|
528
|
-
):
|
|
529
|
-
feature_id: str = Field(alias="featureId")
|
|
530
|
-
quantity: float
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
534
|
-
BaseModel
|
|
535
|
-
):
|
|
536
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
537
|
-
quantity: float
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
541
|
-
BaseModel
|
|
542
|
-
):
|
|
543
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
544
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
545
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
549
|
-
BaseModel
|
|
550
|
-
):
|
|
551
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
552
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
553
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
557
|
-
BaseModel
|
|
558
|
-
):
|
|
559
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
560
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
561
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
316
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
317
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
562
318
|
|
|
563
319
|
|
|
564
320
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
@@ -588,23 +344,8 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
588
344
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
589
345
|
|
|
590
346
|
|
|
591
|
-
class
|
|
592
|
-
|
|
593
|
-
total: "TotalPriceFragmentTotal"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
597
|
-
amount: float
|
|
598
|
-
currency: Currency
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
602
|
-
amount: float
|
|
603
|
-
currency: Currency
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
607
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
347
|
+
class CustomerResourceFragment(BaseModel):
|
|
348
|
+
resource_id: str = Field(alias="resourceId")
|
|
608
349
|
|
|
609
350
|
|
|
610
351
|
class ProductFragment(BaseModel):
|
|
@@ -727,13 +468,357 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
727
468
|
limit: float
|
|
728
469
|
|
|
729
470
|
|
|
730
|
-
class
|
|
731
|
-
|
|
732
|
-
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
|
|
736
|
-
|
|
471
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
472
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
473
|
+
alias="subscriptionScheduleType"
|
|
474
|
+
)
|
|
475
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
476
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
477
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
478
|
+
alias="targetPackage", default=None
|
|
479
|
+
)
|
|
480
|
+
schedule_variables: Optional[
|
|
481
|
+
Annotated[
|
|
482
|
+
Union[
|
|
483
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
484
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
485
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
486
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
487
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
488
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
489
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
490
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
491
|
+
],
|
|
492
|
+
Field(discriminator="typename__"),
|
|
493
|
+
]
|
|
494
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
498
|
+
id: Any
|
|
499
|
+
ref_id: str = Field(alias="refId")
|
|
500
|
+
display_name: str = Field(alias="displayName")
|
|
501
|
+
|
|
502
|
+
|
|
503
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
504
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
505
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
506
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
510
|
+
BaseModel
|
|
511
|
+
):
|
|
512
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
513
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
514
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
518
|
+
BaseModel
|
|
519
|
+
):
|
|
520
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
521
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
525
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
526
|
+
|
|
527
|
+
|
|
528
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
529
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
530
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
531
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
532
|
+
billable_features: Optional[
|
|
533
|
+
List[
|
|
534
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
535
|
+
]
|
|
536
|
+
] = Field(alias="billableFeatures", default=None)
|
|
537
|
+
addons: Optional[
|
|
538
|
+
List[
|
|
539
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
540
|
+
]
|
|
541
|
+
] = Field(default=None)
|
|
542
|
+
price_overrides: Optional[
|
|
543
|
+
List[
|
|
544
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
545
|
+
]
|
|
546
|
+
] = Field(alias="priceOverrides", default=None)
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
550
|
+
BaseModel
|
|
551
|
+
):
|
|
552
|
+
feature_id: str = Field(alias="featureId")
|
|
553
|
+
quantity: float
|
|
554
|
+
|
|
555
|
+
|
|
556
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
557
|
+
BaseModel
|
|
558
|
+
):
|
|
559
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
560
|
+
quantity: float
|
|
561
|
+
|
|
562
|
+
|
|
563
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
564
|
+
BaseModel
|
|
565
|
+
):
|
|
566
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
567
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
568
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
569
|
+
|
|
570
|
+
|
|
571
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
572
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
573
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
574
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
575
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
576
|
+
billable_features: Optional[
|
|
577
|
+
List[
|
|
578
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
579
|
+
]
|
|
580
|
+
] = Field(alias="billableFeatures", default=None)
|
|
581
|
+
addons: Optional[
|
|
582
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
583
|
+
] = Field(default=None)
|
|
584
|
+
price_overrides: Optional[
|
|
585
|
+
List[
|
|
586
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
587
|
+
]
|
|
588
|
+
] = Field(alias="priceOverrides", default=None)
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
592
|
+
BaseModel
|
|
593
|
+
):
|
|
594
|
+
feature_id: str = Field(alias="featureId")
|
|
595
|
+
quantity: float
|
|
596
|
+
|
|
597
|
+
|
|
598
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
599
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
600
|
+
quantity: float
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
604
|
+
BaseModel
|
|
605
|
+
):
|
|
606
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
607
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
608
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
612
|
+
BaseModel
|
|
613
|
+
):
|
|
614
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
615
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
616
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
620
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
621
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
622
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
623
|
+
|
|
624
|
+
|
|
625
|
+
class SlimCustomerFragment(BaseModel):
|
|
626
|
+
id: Any
|
|
627
|
+
name: Optional[str] = Field(default=None)
|
|
628
|
+
email: Optional[str] = Field(default=None)
|
|
629
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
630
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
631
|
+
ref_id: str = Field(alias="refId")
|
|
632
|
+
customer_id: str = Field(alias="customerId")
|
|
633
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
634
|
+
additional_meta_data: Optional[Any] = Field(
|
|
635
|
+
alias="additionalMetaData", default=None
|
|
636
|
+
)
|
|
637
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
638
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
639
|
+
)
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
class TotalPriceFragment(BaseModel):
|
|
643
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
644
|
+
total: "TotalPriceFragmentTotal"
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
648
|
+
amount: float
|
|
649
|
+
currency: Currency
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
653
|
+
amount: float
|
|
654
|
+
currency: Currency
|
|
655
|
+
|
|
656
|
+
|
|
657
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
658
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
659
|
+
alias="subscriptionScheduleType"
|
|
660
|
+
)
|
|
661
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
662
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
663
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
664
|
+
alias="targetPackage", default=None
|
|
665
|
+
)
|
|
666
|
+
schedule_variables: Optional[
|
|
667
|
+
Annotated[
|
|
668
|
+
Union[
|
|
669
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
670
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
671
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
672
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
673
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
674
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
675
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
676
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
677
|
+
],
|
|
678
|
+
Field(discriminator="typename__"),
|
|
679
|
+
]
|
|
680
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
684
|
+
id: Any
|
|
685
|
+
ref_id: str = Field(alias="refId")
|
|
686
|
+
display_name: str = Field(alias="displayName")
|
|
687
|
+
|
|
688
|
+
|
|
689
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
690
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
691
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
692
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
696
|
+
BaseModel
|
|
697
|
+
):
|
|
698
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
699
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
700
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
701
|
+
|
|
702
|
+
|
|
703
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
704
|
+
BaseModel
|
|
705
|
+
):
|
|
706
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
707
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
711
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
715
|
+
BaseModel
|
|
716
|
+
):
|
|
717
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
718
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
719
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
720
|
+
billable_features: Optional[
|
|
721
|
+
List[
|
|
722
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
723
|
+
]
|
|
724
|
+
] = Field(alias="billableFeatures", default=None)
|
|
725
|
+
addons: Optional[
|
|
726
|
+
List[
|
|
727
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
728
|
+
]
|
|
729
|
+
] = Field(default=None)
|
|
730
|
+
price_overrides: Optional[
|
|
731
|
+
List[
|
|
732
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
733
|
+
]
|
|
734
|
+
] = Field(alias="priceOverrides", default=None)
|
|
735
|
+
|
|
736
|
+
|
|
737
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
738
|
+
BaseModel
|
|
739
|
+
):
|
|
740
|
+
feature_id: str = Field(alias="featureId")
|
|
741
|
+
quantity: float
|
|
742
|
+
|
|
743
|
+
|
|
744
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
745
|
+
BaseModel
|
|
746
|
+
):
|
|
747
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
748
|
+
quantity: float
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
752
|
+
BaseModel
|
|
753
|
+
):
|
|
754
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
755
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
756
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
760
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
761
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
762
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
763
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
764
|
+
billable_features: Optional[
|
|
765
|
+
List[
|
|
766
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
767
|
+
]
|
|
768
|
+
] = Field(alias="billableFeatures", default=None)
|
|
769
|
+
addons: Optional[
|
|
770
|
+
List[
|
|
771
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
772
|
+
]
|
|
773
|
+
] = Field(default=None)
|
|
774
|
+
price_overrides: Optional[
|
|
775
|
+
List[
|
|
776
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
777
|
+
]
|
|
778
|
+
] = Field(alias="priceOverrides", default=None)
|
|
779
|
+
|
|
780
|
+
|
|
781
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
782
|
+
BaseModel
|
|
783
|
+
):
|
|
784
|
+
feature_id: str = Field(alias="featureId")
|
|
785
|
+
quantity: float
|
|
786
|
+
|
|
787
|
+
|
|
788
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
789
|
+
BaseModel
|
|
790
|
+
):
|
|
791
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
792
|
+
quantity: float
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
796
|
+
BaseModel
|
|
797
|
+
):
|
|
798
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
799
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
800
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
801
|
+
|
|
802
|
+
|
|
803
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
804
|
+
BaseModel
|
|
805
|
+
):
|
|
806
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
807
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
808
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
812
|
+
BaseModel
|
|
813
|
+
):
|
|
814
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
815
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
816
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
817
|
+
|
|
818
|
+
|
|
819
|
+
class SubscriptionFragment(BaseModel):
|
|
820
|
+
id: Any
|
|
821
|
+
subscription_id: str = Field(alias="subscriptionId")
|
|
737
822
|
paying_customer: Optional["SubscriptionFragmentPayingCustomer"] = Field(
|
|
738
823
|
alias="payingCustomer", default=None
|
|
739
824
|
)
|
|
@@ -832,96 +917,11 @@ class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
|
832
917
|
pass
|
|
833
918
|
|
|
834
919
|
|
|
835
|
-
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
836
|
-
pass
|
|
837
|
-
|
|
838
|
-
|
|
839
|
-
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
840
|
-
pass
|
|
841
|
-
|
|
842
|
-
|
|
843
|
-
class FeatureFragment(BaseModel):
|
|
844
|
-
typename__: str = Field(alias="__typename")
|
|
845
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
846
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
847
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
848
|
-
feature_units_plural: Optional[str] = Field(
|
|
849
|
-
alias="featureUnitsPlural", default=None
|
|
850
|
-
)
|
|
851
|
-
description: Optional[str] = Field(default=None)
|
|
852
|
-
display_name: str = Field(alias="displayName")
|
|
853
|
-
ref_id: str = Field(alias="refId")
|
|
854
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
855
|
-
alias="unitTransformation", default=None
|
|
856
|
-
)
|
|
857
|
-
|
|
858
|
-
|
|
859
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
860
|
-
divide: float
|
|
861
|
-
round: UnitTransformationRound
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
class EntitlementFragment(BaseModel):
|
|
865
|
-
typename__: str = Field(alias="__typename")
|
|
866
|
-
is_granted: bool = Field(alias="isGranted")
|
|
867
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
868
|
-
alias="accessDeniedReason", default=None
|
|
869
|
-
)
|
|
870
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
871
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
872
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
873
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
874
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
875
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
876
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
877
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
878
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
879
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
880
|
-
alias="entitlementUpdatedAt", default=None
|
|
881
|
-
)
|
|
882
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
883
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
884
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
885
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
886
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
887
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
888
|
-
alias="resetPeriod", default=None
|
|
889
|
-
)
|
|
890
|
-
reset_period_configuration: Optional[
|
|
891
|
-
Annotated[
|
|
892
|
-
Union[
|
|
893
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
894
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
895
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
896
|
-
],
|
|
897
|
-
Field(discriminator="typename__"),
|
|
898
|
-
]
|
|
899
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
900
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
904
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
905
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
906
|
-
alias="monthlyAccordingTo", default=None
|
|
907
|
-
)
|
|
908
|
-
|
|
909
|
-
|
|
910
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
911
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
912
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
913
|
-
alias="weeklyAccordingTo", default=None
|
|
914
|
-
)
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
918
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
919
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
920
|
-
alias="yearlyAccordingTo", default=None
|
|
921
|
-
)
|
|
920
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
921
|
+
pass
|
|
922
922
|
|
|
923
923
|
|
|
924
|
-
class
|
|
924
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
925
925
|
pass
|
|
926
926
|
|
|
927
927
|
|
|
@@ -1002,6 +1002,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1002
1002
|
)
|
|
1003
1003
|
|
|
1004
1004
|
|
|
1005
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1006
|
+
status: PromotionalEntitlementStatus
|
|
1007
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1008
|
+
feature_id: Any = Field(alias="featureId")
|
|
1009
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1010
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1011
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1012
|
+
alias="resetPeriod", default=None
|
|
1013
|
+
)
|
|
1014
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1015
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1016
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1020
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1021
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1022
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1023
|
+
feature_units_plural: Optional[str] = Field(
|
|
1024
|
+
alias="featureUnitsPlural", default=None
|
|
1025
|
+
)
|
|
1026
|
+
display_name: str = Field(alias="displayName")
|
|
1027
|
+
description: Optional[str] = Field(default=None)
|
|
1028
|
+
ref_id: str = Field(alias="refId")
|
|
1029
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1030
|
+
alias="additionalMetaData", default=None
|
|
1031
|
+
)
|
|
1032
|
+
|
|
1033
|
+
|
|
1005
1034
|
class CouponFragment(BaseModel):
|
|
1006
1035
|
id: Any
|
|
1007
1036
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1036,35 +1065,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1036
1065
|
status: SyncStatus
|
|
1037
1066
|
|
|
1038
1067
|
|
|
1039
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1040
|
-
status: PromotionalEntitlementStatus
|
|
1041
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1042
|
-
feature_id: Any = Field(alias="featureId")
|
|
1043
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1044
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1045
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1046
|
-
alias="resetPeriod", default=None
|
|
1047
|
-
)
|
|
1048
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1049
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1050
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1054
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1055
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1056
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1057
|
-
feature_units_plural: Optional[str] = Field(
|
|
1058
|
-
alias="featureUnitsPlural", default=None
|
|
1059
|
-
)
|
|
1060
|
-
display_name: str = Field(alias="displayName")
|
|
1061
|
-
description: Optional[str] = Field(default=None)
|
|
1062
|
-
ref_id: str = Field(alias="refId")
|
|
1063
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1064
|
-
alias="additionalMetaData", default=None
|
|
1065
|
-
)
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
1068
|
class CustomerFragment(SlimCustomerFragment):
|
|
1069
1069
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1070
1070
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1271,46 +1271,14 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1271
1271
|
pass
|
|
1272
1272
|
|
|
1273
1273
|
|
|
1274
|
-
class
|
|
1275
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1276
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1277
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1278
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1279
|
-
default=None
|
|
1280
|
-
)
|
|
1281
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1282
|
-
alias="creditRate", default=None
|
|
1283
|
-
)
|
|
1284
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1285
|
-
default=None
|
|
1286
|
-
)
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1290
|
-
amount: float
|
|
1291
|
-
currency: Currency
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1295
|
-
amount: float
|
|
1296
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1300
|
-
id: Any
|
|
1301
|
-
ref_id: str = Field(alias="refId")
|
|
1302
|
-
display_name: str = Field(alias="displayName")
|
|
1303
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1304
|
-
feature_units_plural: Optional[str] = Field(
|
|
1305
|
-
alias="featureUnitsPlural", default=None
|
|
1306
|
-
)
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1310
|
-
addon_id: str = Field(alias="addonId")
|
|
1311
|
-
description: Optional[str] = Field(default=None)
|
|
1274
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1312
1275
|
display_name: str = Field(alias="displayName")
|
|
1313
|
-
|
|
1276
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1277
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1278
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1279
|
+
period: PromotionalEntitlementPeriod
|
|
1280
|
+
start_date: Any = Field(alias="startDate")
|
|
1281
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1314
1282
|
|
|
1315
1283
|
|
|
1316
1284
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1482,6 +1450,48 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1482
1450
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1483
1451
|
|
|
1484
1452
|
|
|
1453
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1454
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1455
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1456
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1457
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1458
|
+
default=None
|
|
1459
|
+
)
|
|
1460
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1461
|
+
alias="creditRate", default=None
|
|
1462
|
+
)
|
|
1463
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1464
|
+
default=None
|
|
1465
|
+
)
|
|
1466
|
+
|
|
1467
|
+
|
|
1468
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1469
|
+
amount: float
|
|
1470
|
+
currency: Currency
|
|
1471
|
+
|
|
1472
|
+
|
|
1473
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1474
|
+
amount: float
|
|
1475
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1476
|
+
|
|
1477
|
+
|
|
1478
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1479
|
+
id: Any
|
|
1480
|
+
ref_id: str = Field(alias="refId")
|
|
1481
|
+
display_name: str = Field(alias="displayName")
|
|
1482
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1483
|
+
feature_units_plural: Optional[str] = Field(
|
|
1484
|
+
alias="featureUnitsPlural", default=None
|
|
1485
|
+
)
|
|
1486
|
+
|
|
1487
|
+
|
|
1488
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1489
|
+
addon_id: str = Field(alias="addonId")
|
|
1490
|
+
description: Optional[str] = Field(default=None)
|
|
1491
|
+
display_name: str = Field(alias="displayName")
|
|
1492
|
+
quantity: int
|
|
1493
|
+
|
|
1494
|
+
|
|
1485
1495
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1486
1496
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1487
1497
|
plan_id: str = Field(alias="planId")
|
|
@@ -1586,16 +1596,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1586
1596
|
pass
|
|
1587
1597
|
|
|
1588
1598
|
|
|
1589
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1590
|
-
display_name: str = Field(alias="displayName")
|
|
1591
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1592
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1593
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1594
|
-
period: PromotionalEntitlementPeriod
|
|
1595
|
-
start_date: Any = Field(alias="startDate")
|
|
1596
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
1599
|
class CustomerPortalFragment(BaseModel):
|
|
1600
1600
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1601
1601
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1823,40 +1823,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1823
1823
|
description: Optional[str] = Field(default=None)
|
|
1824
1824
|
|
|
1825
1825
|
|
|
1826
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1827
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1828
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1829
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1830
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1831
|
-
alias="resetPeriod", default=None
|
|
1832
|
-
)
|
|
1833
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1834
|
-
alias="hiddenFromWidgets", default=None
|
|
1835
|
-
)
|
|
1836
|
-
display_name_override: Optional[str] = Field(
|
|
1837
|
-
alias="displayNameOverride", default=None
|
|
1838
|
-
)
|
|
1839
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1840
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1841
|
-
default=None
|
|
1842
|
-
)
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1846
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1847
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1848
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1849
|
-
feature_units_plural: Optional[str] = Field(
|
|
1850
|
-
alias="featureUnitsPlural", default=None
|
|
1851
|
-
)
|
|
1852
|
-
display_name: str = Field(alias="displayName")
|
|
1853
|
-
description: Optional[str] = Field(default=None)
|
|
1854
|
-
ref_id: str = Field(alias="refId")
|
|
1855
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1856
|
-
alias="additionalMetaData", default=None
|
|
1857
|
-
)
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
1826
|
class MockPaywallPriceFragment(BaseModel):
|
|
1861
1827
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1862
1828
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1899,6 +1865,40 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1899
1865
|
display_name: str = Field(alias="displayName")
|
|
1900
1866
|
|
|
1901
1867
|
|
|
1868
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1869
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1870
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1871
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1872
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1873
|
+
alias="resetPeriod", default=None
|
|
1874
|
+
)
|
|
1875
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1876
|
+
alias="hiddenFromWidgets", default=None
|
|
1877
|
+
)
|
|
1878
|
+
display_name_override: Optional[str] = Field(
|
|
1879
|
+
alias="displayNameOverride", default=None
|
|
1880
|
+
)
|
|
1881
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1882
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1883
|
+
default=None
|
|
1884
|
+
)
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1888
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1889
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1890
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1891
|
+
feature_units_plural: Optional[str] = Field(
|
|
1892
|
+
alias="featureUnitsPlural", default=None
|
|
1893
|
+
)
|
|
1894
|
+
display_name: str = Field(alias="displayName")
|
|
1895
|
+
description: Optional[str] = Field(default=None)
|
|
1896
|
+
ref_id: str = Field(alias="refId")
|
|
1897
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1898
|
+
alias="additionalMetaData", default=None
|
|
1899
|
+
)
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
1902
|
class MockPaywallAddonFragment(BaseModel):
|
|
1903
1903
|
ref_id: str = Field(alias="refId")
|
|
1904
1904
|
display_name: str = Field(alias="displayName")
|
|
@@ -2872,40 +2872,40 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2872
2872
|
|
|
2873
2873
|
|
|
2874
2874
|
AddonDependencyFragment.model_rebuild()
|
|
2875
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2875
2876
|
PriceTierFragment.model_rebuild()
|
|
2876
|
-
OveragePriceFragment.model_rebuild()
|
|
2877
2877
|
PriceFragment.model_rebuild()
|
|
2878
|
-
|
|
2878
|
+
OveragePriceFragment.model_rebuild()
|
|
2879
2879
|
AddonFragment.model_rebuild()
|
|
2880
|
-
|
|
2881
|
-
|
|
2882
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2883
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2884
|
-
TotalPriceFragment.model_rebuild()
|
|
2880
|
+
FeatureFragment.model_rebuild()
|
|
2881
|
+
EntitlementFragment.model_rebuild()
|
|
2885
2882
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2883
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2884
|
+
CustomerResourceFragment.model_rebuild()
|
|
2886
2885
|
ProductFragment.model_rebuild()
|
|
2887
2886
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2888
2887
|
PlanFragment.model_rebuild()
|
|
2889
|
-
|
|
2888
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2889
|
+
SlimCustomerFragment.model_rebuild()
|
|
2890
|
+
TotalPriceFragment.model_rebuild()
|
|
2891
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2890
2892
|
SubscriptionFragment.model_rebuild()
|
|
2891
|
-
FeatureFragment.model_rebuild()
|
|
2892
|
-
EntitlementFragment.model_rebuild()
|
|
2893
2893
|
ApplySubscriptionFragment.model_rebuild()
|
|
2894
2894
|
FontVariantFragment.model_rebuild()
|
|
2895
2895
|
TypographyConfigurationFragment.model_rebuild()
|
|
2896
2896
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2897
|
-
CouponFragment.model_rebuild()
|
|
2898
2897
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2898
|
+
CouponFragment.model_rebuild()
|
|
2899
2899
|
CustomerFragment.model_rebuild()
|
|
2900
2900
|
CheckoutStateFragment.model_rebuild()
|
|
2901
2901
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2902
2902
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2903
2903
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2904
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2905
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2904
2906
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2905
2907
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2906
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2907
2908
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2908
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2909
2909
|
CustomerPortalFragment.model_rebuild()
|
|
2910
2910
|
CustomerStatisticsFragment.model_rebuild()
|
|
2911
2911
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2915,8 +2915,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2915
2915
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2916
2916
|
LayoutConfigurationFragment.model_rebuild()
|
|
2917
2917
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2918
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2919
2918
|
MockPaywallPriceFragment.model_rebuild()
|
|
2919
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2920
2920
|
MockPaywallAddonFragment.model_rebuild()
|
|
2921
2921
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2922
2922
|
MockPaywallPlanFragment.model_rebuild()
|