stigg-api-client-v2 3.59.2__py3-none-any.whl → 3.61.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 -0
- stigg/generated/async_client.py +4 -0
- stigg/generated/client.py +4 -0
- stigg/generated/fragments.py +385 -377
- {stigg_api_client_v2-3.59.2.dist-info → stigg_api_client_v2-3.61.2.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.59.2.dist-info → stigg_api_client_v2-3.61.2.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.59.2.dist-info → stigg_api_client_v2-3.61.2.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.59.2.dist-info → stigg_api_client_v2-3.61.2.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -188,6 +188,7 @@ from .fragments import (
|
|
|
188
188
|
CreditsBalanceSummaryFragment,
|
|
189
189
|
CreditsBalanceSummaryFragmentBalances,
|
|
190
190
|
CreditsBalanceSummaryFragmentBalancesCurrency,
|
|
191
|
+
CreditsBalanceSummaryFragmentBalancesCurrencyUnits,
|
|
191
192
|
CustomerFragment,
|
|
192
193
|
CustomerFragmentCoupon,
|
|
193
194
|
CustomerFragmentEligibleForTrial,
|
|
@@ -1133,6 +1134,7 @@ __all__ = [
|
|
|
1133
1134
|
"CreditsBalanceSummaryFragment",
|
|
1134
1135
|
"CreditsBalanceSummaryFragmentBalances",
|
|
1135
1136
|
"CreditsBalanceSummaryFragmentBalancesCurrency",
|
|
1137
|
+
"CreditsBalanceSummaryFragmentBalancesCurrencyUnits",
|
|
1136
1138
|
"Currency",
|
|
1137
1139
|
"CursorPaging",
|
|
1138
1140
|
"CustomCurrencyInput",
|
stigg/generated/async_client.py
CHANGED
stigg/generated/client.py
CHANGED
stigg/generated/fragments.py
CHANGED
|
@@ -61,41 +61,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
-
class PackageEntitlementFragment(BaseModel):
|
|
65
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
67
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
68
|
-
feature_id: str = Field(alias="featureId")
|
|
69
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
70
|
-
alias="resetPeriod", default=None
|
|
71
|
-
)
|
|
72
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
73
|
-
alias="hiddenFromWidgets", default=None
|
|
74
|
-
)
|
|
75
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
76
|
-
display_name_override: Optional[str] = Field(
|
|
77
|
-
alias="displayNameOverride", default=None
|
|
78
|
-
)
|
|
79
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
80
|
-
is_granted: bool = Field(alias="isGranted")
|
|
81
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
85
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
86
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
87
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
88
|
-
feature_units_plural: Optional[str] = Field(
|
|
89
|
-
alias="featureUnitsPlural", default=None
|
|
90
|
-
)
|
|
91
|
-
display_name: str = Field(alias="displayName")
|
|
92
|
-
description: Optional[str] = Field(default=None)
|
|
93
|
-
ref_id: str = Field(alias="refId")
|
|
94
|
-
additional_meta_data: Optional[Any] = Field(
|
|
95
|
-
alias="additionalMetaData", default=None
|
|
96
|
-
)
|
|
97
|
-
|
|
98
|
-
|
|
99
64
|
class PriceTierFragment(BaseModel):
|
|
100
65
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
101
66
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -160,6 +125,41 @@ class PriceFragmentFeature(BaseModel):
|
|
|
160
125
|
description: Optional[str] = Field(default=None)
|
|
161
126
|
|
|
162
127
|
|
|
128
|
+
class PackageEntitlementFragment(BaseModel):
|
|
129
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
130
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
131
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
132
|
+
feature_id: str = Field(alias="featureId")
|
|
133
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
134
|
+
alias="resetPeriod", default=None
|
|
135
|
+
)
|
|
136
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
137
|
+
alias="hiddenFromWidgets", default=None
|
|
138
|
+
)
|
|
139
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
140
|
+
display_name_override: Optional[str] = Field(
|
|
141
|
+
alias="displayNameOverride", default=None
|
|
142
|
+
)
|
|
143
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
144
|
+
is_granted: bool = Field(alias="isGranted")
|
|
145
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
149
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
150
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
151
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
152
|
+
feature_units_plural: Optional[str] = Field(
|
|
153
|
+
alias="featureUnitsPlural", default=None
|
|
154
|
+
)
|
|
155
|
+
display_name: str = Field(alias="displayName")
|
|
156
|
+
description: Optional[str] = Field(default=None)
|
|
157
|
+
ref_id: str = Field(alias="refId")
|
|
158
|
+
additional_meta_data: Optional[Any] = Field(
|
|
159
|
+
alias="additionalMetaData", default=None
|
|
160
|
+
)
|
|
161
|
+
|
|
162
|
+
|
|
163
163
|
class OveragePriceFragment(BaseModel):
|
|
164
164
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
165
165
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -230,215 +230,89 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
)
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
alias="targetPackage", default=None
|
|
233
|
+
class FeatureFragment(BaseModel):
|
|
234
|
+
typename__: str = Field(alias="__typename")
|
|
235
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
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
|
|
241
240
|
)
|
|
242
|
-
|
|
243
|
-
Annotated[
|
|
244
|
-
Union[
|
|
245
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
246
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
247
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
248
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
249
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
250
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
251
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
252
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
253
|
-
],
|
|
254
|
-
Field(discriminator="typename__"),
|
|
255
|
-
]
|
|
256
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
260
|
-
id: Any
|
|
261
|
-
ref_id: str = Field(alias="refId")
|
|
241
|
+
description: Optional[str] = Field(default=None)
|
|
262
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
|
+
)
|
|
263
247
|
|
|
264
248
|
|
|
265
|
-
class
|
|
266
|
-
|
|
267
|
-
|
|
268
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
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)
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
280
|
-
BaseModel
|
|
281
|
-
):
|
|
282
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
283
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
287
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
291
|
-
BaseModel
|
|
292
|
-
):
|
|
293
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
294
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
295
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
296
|
-
billable_features: Optional[
|
|
297
|
-
List[
|
|
298
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
299
|
-
]
|
|
300
|
-
] = Field(alias="billableFeatures", default=None)
|
|
301
|
-
addons: Optional[
|
|
302
|
-
List[
|
|
303
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
304
|
-
]
|
|
305
|
-
] = Field(default=None)
|
|
306
|
-
price_overrides: Optional[
|
|
307
|
-
List[
|
|
308
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
309
|
-
]
|
|
310
|
-
] = Field(alias="priceOverrides", default=None)
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
314
|
-
BaseModel
|
|
315
|
-
):
|
|
316
|
-
feature_id: str = Field(alias="featureId")
|
|
317
|
-
quantity: float
|
|
318
|
-
|
|
319
|
-
|
|
320
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
321
|
-
BaseModel
|
|
322
|
-
):
|
|
323
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
324
|
-
quantity: float
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
328
|
-
BaseModel
|
|
329
|
-
):
|
|
330
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
331
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
332
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
249
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
+
divide: float
|
|
251
|
+
round: UnitTransformationRound
|
|
333
252
|
|
|
334
253
|
|
|
335
|
-
class
|
|
336
|
-
typename__:
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
] = Field(default=None)
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
254
|
+
class EntitlementFragment(BaseModel):
|
|
255
|
+
typename__: str = Field(alias="__typename")
|
|
256
|
+
is_granted: bool = Field(alias="isGranted")
|
|
257
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
+
alias="accessDeniedReason", default=None
|
|
259
|
+
)
|
|
260
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
+
alias="entitlementUpdatedAt", default=None
|
|
271
|
+
)
|
|
272
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
273
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
274
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
+
alias="resetPeriod", default=None
|
|
279
|
+
)
|
|
280
|
+
reset_period_configuration: Optional[
|
|
281
|
+
Annotated[
|
|
282
|
+
Union[
|
|
283
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
+
],
|
|
287
|
+
Field(discriminator="typename__"),
|
|
353
288
|
]
|
|
354
|
-
] = Field(alias="
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
358
|
-
BaseModel
|
|
359
|
-
):
|
|
360
|
-
feature_id: str = Field(alias="featureId")
|
|
361
|
-
quantity: float
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
365
|
-
BaseModel
|
|
366
|
-
):
|
|
367
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
368
|
-
quantity: float
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
372
|
-
BaseModel
|
|
373
|
-
):
|
|
374
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
375
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
376
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
377
|
-
|
|
378
|
-
|
|
379
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
380
|
-
BaseModel
|
|
381
|
-
):
|
|
382
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
383
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
384
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
289
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
385
291
|
|
|
386
292
|
|
|
387
|
-
class
|
|
388
|
-
|
|
389
|
-
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
293
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
294
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
295
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
296
|
+
alias="monthlyAccordingTo", default=None
|
|
297
|
+
)
|
|
393
298
|
|
|
394
299
|
|
|
395
|
-
class
|
|
396
|
-
|
|
300
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
301
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
302
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
+
alias="weeklyAccordingTo", default=None
|
|
304
|
+
)
|
|
397
305
|
|
|
398
306
|
|
|
399
|
-
class
|
|
400
|
-
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
404
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
405
|
-
ref_id: str = Field(alias="refId")
|
|
406
|
-
customer_id: str = Field(alias="customerId")
|
|
407
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
408
|
-
additional_meta_data: Optional[Any] = Field(
|
|
409
|
-
alias="additionalMetaData", default=None
|
|
410
|
-
)
|
|
411
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
412
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
307
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
308
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
+
alias="yearlyAccordingTo", default=None
|
|
413
311
|
)
|
|
414
312
|
|
|
415
313
|
|
|
416
|
-
class
|
|
417
|
-
|
|
418
|
-
status: SubscriptionInvoiceStatus
|
|
419
|
-
created_at: Any = Field(alias="createdAt")
|
|
420
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
421
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
422
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
423
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
424
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
425
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
426
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
427
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
428
|
-
alias="billingReason", default=None
|
|
429
|
-
)
|
|
430
|
-
currency: Optional[str] = Field(default=None)
|
|
431
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
432
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
433
|
-
alias="subTotalExcludingTax", default=None
|
|
434
|
-
)
|
|
435
|
-
total: Optional[float] = Field(default=None)
|
|
436
|
-
total_excluding_tax: Optional[float] = Field(
|
|
437
|
-
alias="totalExcludingTax", default=None
|
|
438
|
-
)
|
|
439
|
-
tax: Optional[float] = Field(default=None)
|
|
440
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
441
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
314
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
315
|
+
pass
|
|
442
316
|
|
|
443
317
|
|
|
444
318
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -595,6 +469,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
595
469
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
596
470
|
|
|
597
471
|
|
|
472
|
+
class SlimCustomerFragment(BaseModel):
|
|
473
|
+
id: Any
|
|
474
|
+
name: Optional[str] = Field(default=None)
|
|
475
|
+
email: Optional[str] = Field(default=None)
|
|
476
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
477
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
478
|
+
ref_id: str = Field(alias="refId")
|
|
479
|
+
customer_id: str = Field(alias="customerId")
|
|
480
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
481
|
+
additional_meta_data: Optional[Any] = Field(
|
|
482
|
+
alias="additionalMetaData", default=None
|
|
483
|
+
)
|
|
484
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
485
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
486
|
+
)
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
490
|
+
billing_id: str = Field(alias="billingId")
|
|
491
|
+
status: SubscriptionInvoiceStatus
|
|
492
|
+
created_at: Any = Field(alias="createdAt")
|
|
493
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
494
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
495
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
496
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
497
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
498
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
499
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
500
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
501
|
+
alias="billingReason", default=None
|
|
502
|
+
)
|
|
503
|
+
currency: Optional[str] = Field(default=None)
|
|
504
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
505
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
506
|
+
alias="subTotalExcludingTax", default=None
|
|
507
|
+
)
|
|
508
|
+
total: Optional[float] = Field(default=None)
|
|
509
|
+
total_excluding_tax: Optional[float] = Field(
|
|
510
|
+
alias="totalExcludingTax", default=None
|
|
511
|
+
)
|
|
512
|
+
tax: Optional[float] = Field(default=None)
|
|
513
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
514
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
515
|
+
|
|
516
|
+
|
|
517
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
518
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
519
|
+
|
|
520
|
+
|
|
598
521
|
class TotalPriceFragment(BaseModel):
|
|
599
522
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
600
523
|
total: "TotalPriceFragmentTotal"
|
|
@@ -697,41 +620,203 @@ class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
|
697
620
|
pass
|
|
698
621
|
|
|
699
622
|
|
|
700
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
701
|
-
pass
|
|
623
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
624
|
+
pass
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
628
|
+
pass
|
|
629
|
+
|
|
630
|
+
|
|
631
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
632
|
+
pass
|
|
633
|
+
|
|
634
|
+
|
|
635
|
+
class PlanFragmentPrices(PriceFragment):
|
|
636
|
+
pass
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
640
|
+
pass
|
|
641
|
+
|
|
642
|
+
|
|
643
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
644
|
+
duration: float
|
|
645
|
+
units: TrialPeriodUnits
|
|
646
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
647
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
648
|
+
alias="trialEndBehavior", default=None
|
|
649
|
+
)
|
|
650
|
+
|
|
651
|
+
|
|
652
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
653
|
+
limit: float
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
class CustomerResourceFragment(BaseModel):
|
|
657
|
+
resource_id: str = Field(alias="resourceId")
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
661
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
662
|
+
alias="subscriptionScheduleType"
|
|
663
|
+
)
|
|
664
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
665
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
666
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
667
|
+
alias="targetPackage", default=None
|
|
668
|
+
)
|
|
669
|
+
schedule_variables: Optional[
|
|
670
|
+
Annotated[
|
|
671
|
+
Union[
|
|
672
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
673
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
674
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
675
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
676
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
677
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
678
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
679
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
680
|
+
],
|
|
681
|
+
Field(discriminator="typename__"),
|
|
682
|
+
]
|
|
683
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
684
|
+
|
|
685
|
+
|
|
686
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
687
|
+
id: Any
|
|
688
|
+
ref_id: str = Field(alias="refId")
|
|
689
|
+
display_name: str = Field(alias="displayName")
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
693
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
694
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
695
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
696
|
+
|
|
697
|
+
|
|
698
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
699
|
+
BaseModel
|
|
700
|
+
):
|
|
701
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
702
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
703
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
707
|
+
BaseModel
|
|
708
|
+
):
|
|
709
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
710
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
711
|
+
|
|
712
|
+
|
|
713
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
714
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
715
|
+
|
|
716
|
+
|
|
717
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
718
|
+
BaseModel
|
|
719
|
+
):
|
|
720
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
721
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
722
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
723
|
+
billable_features: Optional[
|
|
724
|
+
List[
|
|
725
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
726
|
+
]
|
|
727
|
+
] = Field(alias="billableFeatures", default=None)
|
|
728
|
+
addons: Optional[
|
|
729
|
+
List[
|
|
730
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
731
|
+
]
|
|
732
|
+
] = Field(default=None)
|
|
733
|
+
price_overrides: Optional[
|
|
734
|
+
List[
|
|
735
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
736
|
+
]
|
|
737
|
+
] = Field(alias="priceOverrides", default=None)
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
741
|
+
BaseModel
|
|
742
|
+
):
|
|
743
|
+
feature_id: str = Field(alias="featureId")
|
|
744
|
+
quantity: float
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
748
|
+
BaseModel
|
|
749
|
+
):
|
|
750
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
751
|
+
quantity: float
|
|
702
752
|
|
|
703
753
|
|
|
704
|
-
class
|
|
705
|
-
|
|
754
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
755
|
+
BaseModel
|
|
756
|
+
):
|
|
757
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
758
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
759
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
706
760
|
|
|
707
761
|
|
|
708
|
-
class
|
|
709
|
-
|
|
762
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
763
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
764
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
765
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
766
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
767
|
+
billable_features: Optional[
|
|
768
|
+
List[
|
|
769
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
770
|
+
]
|
|
771
|
+
] = Field(alias="billableFeatures", default=None)
|
|
772
|
+
addons: Optional[
|
|
773
|
+
List[
|
|
774
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
775
|
+
]
|
|
776
|
+
] = Field(default=None)
|
|
777
|
+
price_overrides: Optional[
|
|
778
|
+
List[
|
|
779
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
780
|
+
]
|
|
781
|
+
] = Field(alias="priceOverrides", default=None)
|
|
710
782
|
|
|
711
783
|
|
|
712
|
-
class
|
|
713
|
-
|
|
784
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
785
|
+
BaseModel
|
|
786
|
+
):
|
|
787
|
+
feature_id: str = Field(alias="featureId")
|
|
788
|
+
quantity: float
|
|
714
789
|
|
|
715
790
|
|
|
716
|
-
class
|
|
717
|
-
|
|
791
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
792
|
+
BaseModel
|
|
793
|
+
):
|
|
794
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
795
|
+
quantity: float
|
|
718
796
|
|
|
719
797
|
|
|
720
|
-
class
|
|
721
|
-
|
|
722
|
-
|
|
723
|
-
|
|
724
|
-
|
|
725
|
-
|
|
726
|
-
)
|
|
798
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
799
|
+
BaseModel
|
|
800
|
+
):
|
|
801
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
802
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
803
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
727
804
|
|
|
728
805
|
|
|
729
|
-
class
|
|
730
|
-
|
|
806
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
807
|
+
BaseModel
|
|
808
|
+
):
|
|
809
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
810
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
811
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
731
812
|
|
|
732
813
|
|
|
733
|
-
class
|
|
734
|
-
|
|
814
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
815
|
+
BaseModel
|
|
816
|
+
):
|
|
817
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
818
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
819
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
735
820
|
|
|
736
821
|
|
|
737
822
|
class SubscriptionFragment(BaseModel):
|
|
@@ -843,91 +928,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
843
928
|
pass
|
|
844
929
|
|
|
845
930
|
|
|
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
|
|
@@ -1212,6 +1212,14 @@ class CreditsBalanceSummaryFragmentBalancesCurrency(BaseModel):
|
|
|
1212
1212
|
currency_id: str = Field(alias="currencyId")
|
|
1213
1213
|
display_name: str = Field(alias="displayName")
|
|
1214
1214
|
symbol: Optional[str] = Field(default=None)
|
|
1215
|
+
units: Optional["CreditsBalanceSummaryFragmentBalancesCurrencyUnits"] = Field(
|
|
1216
|
+
default=None
|
|
1217
|
+
)
|
|
1218
|
+
|
|
1219
|
+
|
|
1220
|
+
class CreditsBalanceSummaryFragmentBalancesCurrencyUnits(BaseModel):
|
|
1221
|
+
singular: str
|
|
1222
|
+
plural: str
|
|
1215
1223
|
|
|
1216
1224
|
|
|
1217
1225
|
class CustomerPortalBillingInformationFragment(BaseModel):
|
|
@@ -1318,6 +1326,41 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1318
1326
|
pass
|
|
1319
1327
|
|
|
1320
1328
|
|
|
1329
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1330
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1331
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1332
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1333
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1334
|
+
default=None
|
|
1335
|
+
)
|
|
1336
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1337
|
+
alias="creditRate", default=None
|
|
1338
|
+
)
|
|
1339
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1340
|
+
default=None
|
|
1341
|
+
)
|
|
1342
|
+
|
|
1343
|
+
|
|
1344
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1345
|
+
amount: float
|
|
1346
|
+
currency: Currency
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1350
|
+
amount: float
|
|
1351
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1352
|
+
|
|
1353
|
+
|
|
1354
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1355
|
+
id: Any
|
|
1356
|
+
ref_id: str = Field(alias="refId")
|
|
1357
|
+
display_name: str = Field(alias="displayName")
|
|
1358
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1359
|
+
feature_units_plural: Optional[str] = Field(
|
|
1360
|
+
alias="featureUnitsPlural", default=None
|
|
1361
|
+
)
|
|
1362
|
+
|
|
1363
|
+
|
|
1321
1364
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1322
1365
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1323
1366
|
alias="subscriptionScheduleType"
|
|
@@ -1494,41 +1537,6 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1494
1537
|
quantity: int
|
|
1495
1538
|
|
|
1496
1539
|
|
|
1497
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1498
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1499
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1500
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1501
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1502
|
-
default=None
|
|
1503
|
-
)
|
|
1504
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1505
|
-
alias="creditRate", default=None
|
|
1506
|
-
)
|
|
1507
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1508
|
-
default=None
|
|
1509
|
-
)
|
|
1510
|
-
|
|
1511
|
-
|
|
1512
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1513
|
-
amount: float
|
|
1514
|
-
currency: Currency
|
|
1515
|
-
|
|
1516
|
-
|
|
1517
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1518
|
-
amount: float
|
|
1519
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1520
|
-
|
|
1521
|
-
|
|
1522
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1523
|
-
id: Any
|
|
1524
|
-
ref_id: str = Field(alias="refId")
|
|
1525
|
-
display_name: str = Field(alias="displayName")
|
|
1526
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1527
|
-
feature_units_plural: Optional[str] = Field(
|
|
1528
|
-
alias="featureUnitsPlural", default=None
|
|
1529
|
-
)
|
|
1530
|
-
|
|
1531
|
-
|
|
1532
1540
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1533
1541
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1534
1542
|
plan_id: str = Field(alias="planId")
|
|
@@ -2920,24 +2928,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2920
2928
|
|
|
2921
2929
|
|
|
2922
2930
|
AddonDependencyFragment.model_rebuild()
|
|
2923
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2924
2931
|
PriceTierFragment.model_rebuild()
|
|
2925
2932
|
PriceFragment.model_rebuild()
|
|
2933
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2926
2934
|
OveragePriceFragment.model_rebuild()
|
|
2927
2935
|
AddonFragment.model_rebuild()
|
|
2928
|
-
|
|
2929
|
-
|
|
2936
|
+
FeatureFragment.model_rebuild()
|
|
2937
|
+
EntitlementFragment.model_rebuild()
|
|
2938
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2930
2939
|
SlimCustomerFragment.model_rebuild()
|
|
2931
2940
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2932
|
-
|
|
2941
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2933
2942
|
TotalPriceFragment.model_rebuild()
|
|
2934
2943
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2935
2944
|
ProductFragment.model_rebuild()
|
|
2936
2945
|
PlanFragment.model_rebuild()
|
|
2937
|
-
|
|
2946
|
+
CustomerResourceFragment.model_rebuild()
|
|
2947
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2938
2948
|
SubscriptionFragment.model_rebuild()
|
|
2939
|
-
FeatureFragment.model_rebuild()
|
|
2940
|
-
EntitlementFragment.model_rebuild()
|
|
2941
2949
|
ApplySubscriptionFragment.model_rebuild()
|
|
2942
2950
|
FontVariantFragment.model_rebuild()
|
|
2943
2951
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2951,9 +2959,9 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2951
2959
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2952
2960
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2953
2961
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2962
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2954
2963
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2955
2964
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2956
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2957
2965
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2958
2966
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2959
2967
|
CustomerPortalFragment.model_rebuild()
|
|
@@ -106,16 +106,16 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=JOlfsbCpgVqxrsuD9UnuVMnFmjYvuXyV-gRsX6aZy2Q,74138
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
113
|
-
stigg/generated/async_client.py,sha256=
|
|
113
|
+
stigg/generated/async_client.py,sha256=_CA5WZZH5GK6R-t2Ea-Xu3wSlIDV6RuEzmyNAdUclZ4,179747
|
|
114
114
|
stigg/generated/base_client.py,sha256=nAto-nOqrOHFTLqdRy2ZDpT1afgsqCzf6hTeBh5MyPQ,6674
|
|
115
115
|
stigg/generated/base_model.py,sha256=0rs99bmZqPbltlPVMfhExeA5zD6ATQFaNZVsxGNonI4,635
|
|
116
116
|
stigg/generated/cancel_subscription.py,sha256=pKrMFmKjGIuWvnVCYQ8brWQO9_JeTnfScgGQjztuN-o,457
|
|
117
117
|
stigg/generated/cancel_subscription_updates.py,sha256=T1C9vyppzZi_91pEnIGkHUL3GEsvtf5EMwr1f01tjbM,241
|
|
118
|
-
stigg/generated/client.py,sha256=
|
|
118
|
+
stigg/generated/client.py,sha256=bnZRTJbAlKpxFiTdvloJhvjXqnG9rNAHTmbVQPdDsRI,179108
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=4wSfEXeZZqMSjsCsSG8baVg3Si8sjzV3bp_unHWHBtQ,3800
|
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=MCfcL9f9LuOk8IW8mXbJuCUHbiNSyVlKBpuPmE4MbJk,107006
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -164,7 +164,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
164
164
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
165
165
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
166
166
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
167
|
-
stigg_api_client_v2-3.
|
|
168
|
-
stigg_api_client_v2-3.
|
|
169
|
-
stigg_api_client_v2-3.
|
|
170
|
-
stigg_api_client_v2-3.
|
|
167
|
+
stigg_api_client_v2-3.61.2.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
168
|
+
stigg_api_client_v2-3.61.2.dist-info/METADATA,sha256=Yctxau9B1L5MqtIFAIldLI6N4fbqgeTmt3jxKksCgf0,2257
|
|
169
|
+
stigg_api_client_v2-3.61.2.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
170
|
+
stigg_api_client_v2-3.61.2.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|