stigg-api-client-v2 2.324.0__py3-none-any.whl → 2.325.3__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/enums.py +1 -0
- stigg/generated/fragments.py +371 -371
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.325.3.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.325.3.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.325.3.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.324.0.dist-info → stigg_api_client_v2-2.325.3.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -452,6 +452,7 @@ class ErrorCode(str, Enum):
|
|
|
452
452
|
ExperimentStatusError = "ExperimentStatusError"
|
|
453
453
|
FailedToCreateCheckoutSessionError = "FailedToCreateCheckoutSessionError"
|
|
454
454
|
FailedToImportCustomer = "FailedToImportCustomer"
|
|
455
|
+
FailedToImportSubscriptions = "FailedToImportSubscriptions"
|
|
455
456
|
FeatureNotFound = "FeatureNotFound"
|
|
456
457
|
FetchAllCountriesPricesNotAllowed = "FetchAllCountriesPricesNotAllowed"
|
|
457
458
|
FreePlanCantHaveCompatiblePackageGroupError = (
|
stigg/generated/fragments.py
CHANGED
|
@@ -59,39 +59,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
59
59
|
description: Optional[str] = Field(default=None)
|
|
60
60
|
|
|
61
61
|
|
|
62
|
-
class PackageEntitlementFragment(BaseModel):
|
|
63
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
64
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
65
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
66
|
-
feature_id: str = Field(alias="featureId")
|
|
67
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
68
|
-
alias="resetPeriod", default=None
|
|
69
|
-
)
|
|
70
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
71
|
-
alias="hiddenFromWidgets", default=None
|
|
72
|
-
)
|
|
73
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
74
|
-
display_name_override: Optional[str] = Field(
|
|
75
|
-
alias="displayNameOverride", default=None
|
|
76
|
-
)
|
|
77
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
81
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
82
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
83
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
84
|
-
feature_units_plural: Optional[str] = Field(
|
|
85
|
-
alias="featureUnitsPlural", default=None
|
|
86
|
-
)
|
|
87
|
-
display_name: str = Field(alias="displayName")
|
|
88
|
-
description: Optional[str] = Field(default=None)
|
|
89
|
-
ref_id: str = Field(alias="refId")
|
|
90
|
-
additional_meta_data: Optional[Any] = Field(
|
|
91
|
-
alias="additionalMetaData", default=None
|
|
92
|
-
)
|
|
93
|
-
|
|
94
|
-
|
|
95
62
|
class PriceTierFragment(BaseModel):
|
|
96
63
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
97
64
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -180,6 +147,39 @@ class PriceFragmentFeature(BaseModel):
|
|
|
180
147
|
description: Optional[str] = Field(default=None)
|
|
181
148
|
|
|
182
149
|
|
|
150
|
+
class PackageEntitlementFragment(BaseModel):
|
|
151
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
152
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
153
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
154
|
+
feature_id: str = Field(alias="featureId")
|
|
155
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
156
|
+
alias="resetPeriod", default=None
|
|
157
|
+
)
|
|
158
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
159
|
+
alias="hiddenFromWidgets", default=None
|
|
160
|
+
)
|
|
161
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
162
|
+
display_name_override: Optional[str] = Field(
|
|
163
|
+
alias="displayNameOverride", default=None
|
|
164
|
+
)
|
|
165
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
166
|
+
|
|
167
|
+
|
|
168
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
169
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
170
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
171
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
172
|
+
feature_units_plural: Optional[str] = Field(
|
|
173
|
+
alias="featureUnitsPlural", default=None
|
|
174
|
+
)
|
|
175
|
+
display_name: str = Field(alias="displayName")
|
|
176
|
+
description: Optional[str] = Field(default=None)
|
|
177
|
+
ref_id: str = Field(alias="refId")
|
|
178
|
+
additional_meta_data: Optional[Any] = Field(
|
|
179
|
+
alias="additionalMetaData", default=None
|
|
180
|
+
)
|
|
181
|
+
|
|
182
|
+
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -215,158 +215,108 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
)
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
alias="targetPackage", default=None
|
|
218
|
+
class FeatureFragment(BaseModel):
|
|
219
|
+
typename__: str = Field(alias="__typename")
|
|
220
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
+
feature_units_plural: Optional[str] = Field(
|
|
224
|
+
alias="featureUnitsPlural", default=None
|
|
226
225
|
)
|
|
227
|
-
|
|
228
|
-
Annotated[
|
|
229
|
-
Union[
|
|
230
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
231
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
232
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
233
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
234
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
235
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
236
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
237
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
238
|
-
],
|
|
239
|
-
Field(discriminator="typename__"),
|
|
240
|
-
]
|
|
241
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
245
|
-
id: str
|
|
246
|
-
ref_id: str = Field(alias="refId")
|
|
226
|
+
description: Optional[str] = Field(default=None)
|
|
247
227
|
display_name: str = Field(alias="displayName")
|
|
228
|
+
ref_id: str = Field(alias="refId")
|
|
229
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
+
alias="unitTransformation", default=None
|
|
231
|
+
)
|
|
248
232
|
|
|
249
233
|
|
|
250
|
-
class
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
257
|
-
BaseModel
|
|
258
|
-
):
|
|
259
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
260
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
261
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
262
|
-
|
|
263
|
-
|
|
264
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
265
|
-
BaseModel
|
|
266
|
-
):
|
|
267
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
268
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
272
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
234
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
+
divide: float
|
|
236
|
+
round: UnitTransformationRound
|
|
273
237
|
|
|
274
238
|
|
|
275
|
-
class
|
|
276
|
-
typename__:
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
] = Field(alias="
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
] = Field(
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
239
|
+
class EntitlementFragment(BaseModel):
|
|
240
|
+
typename__: str = Field(alias="__typename")
|
|
241
|
+
is_granted: bool = Field(alias="isGranted")
|
|
242
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
+
alias="accessDeniedReason", default=None
|
|
244
|
+
)
|
|
245
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
+
alias="entitlementUpdatedAt", default=None
|
|
254
|
+
)
|
|
255
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
+
alias="resetPeriod", default=None
|
|
262
|
+
)
|
|
263
|
+
reset_period_configuration: Optional[
|
|
264
|
+
Annotated[
|
|
265
|
+
Union[
|
|
266
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
+
],
|
|
270
|
+
Field(discriminator="typename__"),
|
|
292
271
|
]
|
|
293
|
-
] = Field(alias="
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
297
|
-
BaseModel
|
|
298
|
-
):
|
|
299
|
-
feature_id: str = Field(alias="featureId")
|
|
300
|
-
quantity: float
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
304
|
-
BaseModel
|
|
305
|
-
):
|
|
306
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
307
|
-
quantity: float
|
|
272
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
308
274
|
|
|
309
275
|
|
|
310
|
-
class
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
276
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
+
alias="monthlyAccordingTo", default=None
|
|
280
|
+
)
|
|
316
281
|
|
|
317
282
|
|
|
318
|
-
class
|
|
319
|
-
typename__: Literal["
|
|
320
|
-
|
|
321
|
-
|
|
322
|
-
|
|
323
|
-
billable_features: Optional[
|
|
324
|
-
List[
|
|
325
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
326
|
-
]
|
|
327
|
-
] = Field(alias="billableFeatures", default=None)
|
|
328
|
-
addons: Optional[
|
|
329
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
330
|
-
] = Field(default=None)
|
|
331
|
-
price_overrides: Optional[
|
|
332
|
-
List[
|
|
333
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
334
|
-
]
|
|
335
|
-
] = Field(alias="priceOverrides", default=None)
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
+
alias="weeklyAccordingTo", default=None
|
|
287
|
+
)
|
|
336
288
|
|
|
337
289
|
|
|
338
|
-
class
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
+
alias="yearlyAccordingTo", default=None
|
|
294
|
+
)
|
|
343
295
|
|
|
344
296
|
|
|
345
|
-
class
|
|
346
|
-
|
|
347
|
-
quantity: float
|
|
297
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
+
pass
|
|
348
299
|
|
|
349
300
|
|
|
350
|
-
class
|
|
351
|
-
|
|
352
|
-
)
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
301
|
+
class ProductFragment(BaseModel):
|
|
302
|
+
ref_id: str = Field(alias="refId")
|
|
303
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
304
|
+
description: Optional[str] = Field(default=None)
|
|
305
|
+
additional_meta_data: Optional[Any] = Field(
|
|
306
|
+
alias="additionalMetaData", default=None
|
|
307
|
+
)
|
|
308
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
356
309
|
|
|
357
310
|
|
|
358
|
-
class
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
363
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
311
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
312
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
313
|
+
alias="downgradePlan", default=None
|
|
314
|
+
)
|
|
364
315
|
|
|
365
316
|
|
|
366
|
-
class
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
317
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
318
|
+
ref_id: str = Field(alias="refId")
|
|
319
|
+
display_name: str = Field(alias="displayName")
|
|
370
320
|
|
|
371
321
|
|
|
372
322
|
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
@@ -387,27 +337,6 @@ class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
|
387
337
|
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
388
338
|
|
|
389
339
|
|
|
390
|
-
class ProductFragment(BaseModel):
|
|
391
|
-
ref_id: str = Field(alias="refId")
|
|
392
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
393
|
-
description: Optional[str] = Field(default=None)
|
|
394
|
-
additional_meta_data: Optional[Any] = Field(
|
|
395
|
-
alias="additionalMetaData", default=None
|
|
396
|
-
)
|
|
397
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
401
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
402
|
-
alias="downgradePlan", default=None
|
|
403
|
-
)
|
|
404
|
-
|
|
405
|
-
|
|
406
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
407
|
-
ref_id: str = Field(alias="refId")
|
|
408
|
-
display_name: str = Field(alias="displayName")
|
|
409
|
-
|
|
410
|
-
|
|
411
340
|
class PlanFragment(BaseModel):
|
|
412
341
|
id: str
|
|
413
342
|
ref_id: str = Field(alias="refId")
|
|
@@ -489,40 +418,12 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
489
418
|
limit: float
|
|
490
419
|
|
|
491
420
|
|
|
492
|
-
class SlimCustomerFragment(BaseModel):
|
|
493
|
-
id: str
|
|
494
|
-
name: Optional[str] = Field(default=None)
|
|
495
|
-
email: Optional[str] = Field(default=None)
|
|
496
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
497
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
498
|
-
ref_id: str = Field(alias="refId")
|
|
499
|
-
customer_id: str = Field(alias="customerId")
|
|
500
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
501
|
-
additional_meta_data: Optional[Any] = Field(
|
|
502
|
-
alias="additionalMetaData", default=None
|
|
503
|
-
)
|
|
504
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
505
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
506
|
-
)
|
|
507
|
-
|
|
508
|
-
|
|
509
421
|
class CustomerResourceFragment(BaseModel):
|
|
510
422
|
resource_id: str = Field(alias="resourceId")
|
|
511
423
|
|
|
512
424
|
|
|
513
|
-
class
|
|
514
|
-
|
|
515
|
-
total: "TotalPriceFragmentTotal"
|
|
516
|
-
|
|
517
|
-
|
|
518
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
519
|
-
amount: float
|
|
520
|
-
currency: Currency
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
524
|
-
amount: float
|
|
525
|
-
currency: Currency
|
|
425
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
426
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
526
427
|
|
|
527
428
|
|
|
528
429
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -644,26 +545,182 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseMo
|
|
|
644
545
|
] = Field(default=None)
|
|
645
546
|
price_overrides: Optional[
|
|
646
547
|
List[
|
|
647
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
548
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
549
|
+
]
|
|
550
|
+
] = Field(alias="priceOverrides", default=None)
|
|
551
|
+
|
|
552
|
+
|
|
553
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
554
|
+
BaseModel
|
|
555
|
+
):
|
|
556
|
+
feature_id: str = Field(alias="featureId")
|
|
557
|
+
quantity: float
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
561
|
+
BaseModel
|
|
562
|
+
):
|
|
563
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
564
|
+
quantity: float
|
|
565
|
+
|
|
566
|
+
|
|
567
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
568
|
+
BaseModel
|
|
569
|
+
):
|
|
570
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
571
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
572
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
576
|
+
BaseModel
|
|
577
|
+
):
|
|
578
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
579
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
580
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
581
|
+
|
|
582
|
+
|
|
583
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
584
|
+
BaseModel
|
|
585
|
+
):
|
|
586
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
587
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
588
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
589
|
+
|
|
590
|
+
|
|
591
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
592
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
593
|
+
alias="subscriptionScheduleType"
|
|
594
|
+
)
|
|
595
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
596
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
597
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
598
|
+
alias="targetPackage", default=None
|
|
599
|
+
)
|
|
600
|
+
schedule_variables: Optional[
|
|
601
|
+
Annotated[
|
|
602
|
+
Union[
|
|
603
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
604
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
605
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
606
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
607
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
608
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
609
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
610
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
611
|
+
],
|
|
612
|
+
Field(discriminator="typename__"),
|
|
613
|
+
]
|
|
614
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
615
|
+
|
|
616
|
+
|
|
617
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
618
|
+
id: str
|
|
619
|
+
ref_id: str = Field(alias="refId")
|
|
620
|
+
display_name: str = Field(alias="displayName")
|
|
621
|
+
|
|
622
|
+
|
|
623
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
624
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
625
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
626
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
627
|
+
|
|
628
|
+
|
|
629
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
630
|
+
BaseModel
|
|
631
|
+
):
|
|
632
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
633
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
634
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
638
|
+
BaseModel
|
|
639
|
+
):
|
|
640
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
641
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
642
|
+
|
|
643
|
+
|
|
644
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
645
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
646
|
+
|
|
647
|
+
|
|
648
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
649
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
650
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
651
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
652
|
+
billable_features: Optional[
|
|
653
|
+
List[
|
|
654
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
655
|
+
]
|
|
656
|
+
] = Field(alias="billableFeatures", default=None)
|
|
657
|
+
addons: Optional[
|
|
658
|
+
List[
|
|
659
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
660
|
+
]
|
|
661
|
+
] = Field(default=None)
|
|
662
|
+
price_overrides: Optional[
|
|
663
|
+
List[
|
|
664
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
665
|
+
]
|
|
666
|
+
] = Field(alias="priceOverrides", default=None)
|
|
667
|
+
|
|
668
|
+
|
|
669
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
670
|
+
BaseModel
|
|
671
|
+
):
|
|
672
|
+
feature_id: str = Field(alias="featureId")
|
|
673
|
+
quantity: float
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
677
|
+
BaseModel
|
|
678
|
+
):
|
|
679
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
680
|
+
quantity: float
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
684
|
+
BaseModel
|
|
685
|
+
):
|
|
686
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
687
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
688
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
692
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
693
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
694
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
695
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
696
|
+
billable_features: Optional[
|
|
697
|
+
List[
|
|
698
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
699
|
+
]
|
|
700
|
+
] = Field(alias="billableFeatures", default=None)
|
|
701
|
+
addons: Optional[
|
|
702
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
703
|
+
] = Field(default=None)
|
|
704
|
+
price_overrides: Optional[
|
|
705
|
+
List[
|
|
706
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
648
707
|
]
|
|
649
708
|
] = Field(alias="priceOverrides", default=None)
|
|
650
709
|
|
|
651
710
|
|
|
652
|
-
class
|
|
711
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
653
712
|
BaseModel
|
|
654
713
|
):
|
|
655
714
|
feature_id: str = Field(alias="featureId")
|
|
656
715
|
quantity: float
|
|
657
716
|
|
|
658
717
|
|
|
659
|
-
class
|
|
660
|
-
BaseModel
|
|
661
|
-
):
|
|
718
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
662
719
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
663
720
|
quantity: float
|
|
664
721
|
|
|
665
722
|
|
|
666
|
-
class
|
|
723
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
667
724
|
BaseModel
|
|
668
725
|
):
|
|
669
726
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -671,7 +728,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
671
728
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
672
729
|
|
|
673
730
|
|
|
674
|
-
class
|
|
731
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
675
732
|
BaseModel
|
|
676
733
|
):
|
|
677
734
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -679,14 +736,27 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
679
736
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
680
737
|
|
|
681
738
|
|
|
682
|
-
class
|
|
683
|
-
BaseModel
|
|
684
|
-
):
|
|
739
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
685
740
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
686
741
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
687
742
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
688
743
|
|
|
689
744
|
|
|
745
|
+
class TotalPriceFragment(BaseModel):
|
|
746
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
747
|
+
total: "TotalPriceFragmentTotal"
|
|
748
|
+
|
|
749
|
+
|
|
750
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
751
|
+
amount: float
|
|
752
|
+
currency: Currency
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
756
|
+
amount: float
|
|
757
|
+
currency: Currency
|
|
758
|
+
|
|
759
|
+
|
|
690
760
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
691
761
|
billing_id: str = Field(alias="billingId")
|
|
692
762
|
status: SubscriptionInvoiceStatus
|
|
@@ -714,8 +784,21 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
714
784
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
715
785
|
|
|
716
786
|
|
|
717
|
-
class
|
|
718
|
-
|
|
787
|
+
class SlimCustomerFragment(BaseModel):
|
|
788
|
+
id: str
|
|
789
|
+
name: Optional[str] = Field(default=None)
|
|
790
|
+
email: Optional[str] = Field(default=None)
|
|
791
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
792
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
793
|
+
ref_id: str = Field(alias="refId")
|
|
794
|
+
customer_id: str = Field(alias="customerId")
|
|
795
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
796
|
+
additional_meta_data: Optional[Any] = Field(
|
|
797
|
+
alias="additionalMetaData", default=None
|
|
798
|
+
)
|
|
799
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
800
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
801
|
+
)
|
|
719
802
|
|
|
720
803
|
|
|
721
804
|
class SubscriptionFragment(BaseModel):
|
|
@@ -827,89 +910,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
827
910
|
pass
|
|
828
911
|
|
|
829
912
|
|
|
830
|
-
class FeatureFragment(BaseModel):
|
|
831
|
-
typename__: str = Field(alias="__typename")
|
|
832
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
833
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
834
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
835
|
-
feature_units_plural: Optional[str] = Field(
|
|
836
|
-
alias="featureUnitsPlural", default=None
|
|
837
|
-
)
|
|
838
|
-
description: Optional[str] = Field(default=None)
|
|
839
|
-
display_name: str = Field(alias="displayName")
|
|
840
|
-
ref_id: str = Field(alias="refId")
|
|
841
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
842
|
-
alias="unitTransformation", default=None
|
|
843
|
-
)
|
|
844
|
-
|
|
845
|
-
|
|
846
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
847
|
-
divide: float
|
|
848
|
-
round: UnitTransformationRound
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
class EntitlementFragment(BaseModel):
|
|
852
|
-
typename__: str = Field(alias="__typename")
|
|
853
|
-
is_granted: bool = Field(alias="isGranted")
|
|
854
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
855
|
-
alias="accessDeniedReason", default=None
|
|
856
|
-
)
|
|
857
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
858
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
859
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
860
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
861
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
862
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
863
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
864
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
865
|
-
alias="entitlementUpdatedAt", default=None
|
|
866
|
-
)
|
|
867
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
868
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
869
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
870
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
871
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
872
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
873
|
-
alias="resetPeriod", default=None
|
|
874
|
-
)
|
|
875
|
-
reset_period_configuration: Optional[
|
|
876
|
-
Annotated[
|
|
877
|
-
Union[
|
|
878
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
879
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
880
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
881
|
-
],
|
|
882
|
-
Field(discriminator="typename__"),
|
|
883
|
-
]
|
|
884
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
885
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
886
|
-
|
|
887
|
-
|
|
888
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
889
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
890
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
891
|
-
alias="monthlyAccordingTo", default=None
|
|
892
|
-
)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
896
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
898
|
-
alias="weeklyAccordingTo", default=None
|
|
899
|
-
)
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
903
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
905
|
-
alias="yearlyAccordingTo", default=None
|
|
906
|
-
)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
910
|
-
pass
|
|
911
|
-
|
|
912
|
-
|
|
913
913
|
class ApplySubscriptionFragment(BaseModel):
|
|
914
914
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
915
915
|
default=None
|
|
@@ -1250,6 +1250,23 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1254
|
+
display_name: str = Field(alias="displayName")
|
|
1255
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1256
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
+
period: PromotionalEntitlementPeriod
|
|
1259
|
+
start_date: Any = Field(alias="startDate")
|
|
1260
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1264
|
+
addon_id: str = Field(alias="addonId")
|
|
1265
|
+
description: Optional[str] = Field(default=None)
|
|
1266
|
+
display_name: str = Field(alias="displayName")
|
|
1267
|
+
quantity: int
|
|
1268
|
+
|
|
1269
|
+
|
|
1253
1270
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1254
1271
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1255
1272
|
alias="subscriptionScheduleType"
|
|
@@ -1446,13 +1463,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1446
1463
|
)
|
|
1447
1464
|
|
|
1448
1465
|
|
|
1449
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1450
|
-
addon_id: str = Field(alias="addonId")
|
|
1451
|
-
description: Optional[str] = Field(default=None)
|
|
1452
|
-
display_name: str = Field(alias="displayName")
|
|
1453
|
-
quantity: int
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1457
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1458
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1549,16 +1559,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1549
1559
|
pass
|
|
1550
1560
|
|
|
1551
1561
|
|
|
1552
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1553
|
-
display_name: str = Field(alias="displayName")
|
|
1554
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1555
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1556
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1557
|
-
period: PromotionalEntitlementPeriod
|
|
1558
|
-
start_date: Any = Field(alias="startDate")
|
|
1559
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1563
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1564
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1786,39 +1786,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
-
alias="resetPeriod", default=None
|
|
1795
|
-
)
|
|
1796
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
-
alias="hiddenFromWidgets", default=None
|
|
1798
|
-
)
|
|
1799
|
-
display_name_override: Optional[str] = Field(
|
|
1800
|
-
alias="displayNameOverride", default=None
|
|
1801
|
-
)
|
|
1802
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
-
default=None
|
|
1804
|
-
)
|
|
1805
|
-
|
|
1806
|
-
|
|
1807
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
-
feature_units_plural: Optional[str] = Field(
|
|
1812
|
-
alias="featureUnitsPlural", default=None
|
|
1813
|
-
)
|
|
1814
|
-
display_name: str = Field(alias="displayName")
|
|
1815
|
-
description: Optional[str] = Field(default=None)
|
|
1816
|
-
ref_id: str = Field(alias="refId")
|
|
1817
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
-
alias="additionalMetaData", default=None
|
|
1819
|
-
)
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
1789
|
class MockPaywallPriceFragment(BaseModel):
|
|
1823
1790
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1824
1791
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1853,6 +1820,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1853
1820
|
display_name: str = Field(alias="displayName")
|
|
1854
1821
|
|
|
1855
1822
|
|
|
1823
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
+
alias="resetPeriod", default=None
|
|
1829
|
+
)
|
|
1830
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
+
alias="hiddenFromWidgets", default=None
|
|
1832
|
+
)
|
|
1833
|
+
display_name_override: Optional[str] = Field(
|
|
1834
|
+
alias="displayNameOverride", default=None
|
|
1835
|
+
)
|
|
1836
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
+
default=None
|
|
1838
|
+
)
|
|
1839
|
+
|
|
1840
|
+
|
|
1841
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
+
feature_units_plural: Optional[str] = Field(
|
|
1846
|
+
alias="featureUnitsPlural", default=None
|
|
1847
|
+
)
|
|
1848
|
+
display_name: str = Field(alias="displayName")
|
|
1849
|
+
description: Optional[str] = Field(default=None)
|
|
1850
|
+
ref_id: str = Field(alias="refId")
|
|
1851
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
+
alias="additionalMetaData", default=None
|
|
1853
|
+
)
|
|
1854
|
+
|
|
1855
|
+
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2763,24 +2763,24 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
|
|
2765
2765
|
AddonDependencyFragment.model_rebuild()
|
|
2766
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2767
2766
|
PriceTierFragment.model_rebuild()
|
|
2768
2767
|
OveragePriceFragment.model_rebuild()
|
|
2769
2768
|
PriceFragment.model_rebuild()
|
|
2769
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
-
|
|
2772
|
-
|
|
2771
|
+
FeatureFragment.model_rebuild()
|
|
2772
|
+
EntitlementFragment.model_rebuild()
|
|
2773
2773
|
ProductFragment.model_rebuild()
|
|
2774
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2774
2775
|
PlanFragment.model_rebuild()
|
|
2775
|
-
SlimCustomerFragment.model_rebuild()
|
|
2776
2776
|
CustomerResourceFragment.model_rebuild()
|
|
2777
|
-
|
|
2777
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2778
2778
|
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2780
|
+
TotalPriceFragment.model_rebuild()
|
|
2779
2781
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2780
|
-
|
|
2782
|
+
SlimCustomerFragment.model_rebuild()
|
|
2781
2783
|
SubscriptionFragment.model_rebuild()
|
|
2782
|
-
FeatureFragment.model_rebuild()
|
|
2783
|
-
EntitlementFragment.model_rebuild()
|
|
2784
2784
|
ApplySubscriptionFragment.model_rebuild()
|
|
2785
2785
|
FontVariantFragment.model_rebuild()
|
|
2786
2786
|
TypographyConfigurationFragment.model_rebuild()
|
|
@@ -2792,11 +2792,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2796
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2795
2797
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2796
2798
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2802
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPriceFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
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
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=1Klqj6m2KUZluIbRnrmuorZWCrc2Blfxj1N_UT1042g,34674
|
|
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=bEGEMsLhfAzXC9zDVdN2EF0sjOIm9VCNKat4orlpieY,100632
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.325.3.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.325.3.dist-info/METADATA,sha256=79kHHHiPg9m32AnV2w0QR4DB62RwruEWCUOoz1x9FVI,2258
|
|
165
|
+
stigg_api_client_v2-2.325.3.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.325.3.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|