stigg-api-client-v2 2.488.0__py3-none-any.whl → 2.492.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +2 -2
- stigg/generated/enums.py +1 -0
- stigg/generated/fragments.py +379 -379
- stigg/generated/input_types.py +1 -1
- {stigg_api_client_v2-2.488.0.dist-info → stigg_api_client_v2-2.492.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.488.0.dist-info → stigg_api_client_v2-2.492.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.488.0.dist-info → stigg_api_client_v2-2.492.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.488.0.dist-info → stigg_api_client_v2-2.492.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -893,7 +893,7 @@ from .input_types import (
|
|
|
893
893
|
UnArchiveFeatureInput,
|
|
894
894
|
UnArchivePlanInput,
|
|
895
895
|
UnitTransformationInput,
|
|
896
|
-
|
|
896
|
+
UnlinkFeatureGroupFromPackageInput,
|
|
897
897
|
UpdateAccountInput,
|
|
898
898
|
UpdateCouponInput,
|
|
899
899
|
UpdateCustomerInput,
|
|
@@ -1842,7 +1842,7 @@ __all__ = [
|
|
|
1842
1842
|
"UnarchiveEnvironmentInput",
|
|
1843
1843
|
"UnitTransformationInput",
|
|
1844
1844
|
"UnitTransformationRound",
|
|
1845
|
-
"
|
|
1845
|
+
"UnlinkFeatureGroupFromPackageInput",
|
|
1846
1846
|
"UpdateAccountInput",
|
|
1847
1847
|
"UpdateCouponInput",
|
|
1848
1848
|
"UpdateCustomer",
|
stigg/generated/enums.py
CHANGED
|
@@ -456,6 +456,7 @@ class ErrorCode(str, Enum):
|
|
|
456
456
|
DuplicateProductValidationError = "DuplicateProductValidationError"
|
|
457
457
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed"
|
|
458
458
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError"
|
|
459
|
+
EntitlementBelongsToFeatureGroupError = "EntitlementBelongsToFeatureGroupError"
|
|
459
460
|
EntitlementLimitExceededError = "EntitlementLimitExceededError"
|
|
460
461
|
EntitlementUsageOutOfRangeError = "EntitlementUsageOutOfRangeError"
|
|
461
462
|
EntitlementsMustBelongToSamePackage = "EntitlementsMustBelongToSamePackage"
|
stigg/generated/fragments.py
CHANGED
|
@@ -116,6 +116,38 @@ class PriceFragmentFeature(BaseModel):
|
|
|
116
116
|
description: Optional[str] = Field(default=None)
|
|
117
117
|
|
|
118
118
|
|
|
119
|
+
class OveragePriceFragment(BaseModel):
|
|
120
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
121
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
122
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
123
|
+
billing_country_code: Optional[str] = Field(
|
|
124
|
+
alias="billingCountryCode", default=None
|
|
125
|
+
)
|
|
126
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
127
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
128
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
133
|
+
amount: float
|
|
134
|
+
currency: Currency
|
|
135
|
+
|
|
136
|
+
|
|
137
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
138
|
+
pass
|
|
139
|
+
|
|
140
|
+
|
|
141
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
142
|
+
ref_id: str = Field(alias="refId")
|
|
143
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
144
|
+
feature_units_plural: Optional[str] = Field(
|
|
145
|
+
alias="featureUnitsPlural", default=None
|
|
146
|
+
)
|
|
147
|
+
display_name: str = Field(alias="displayName")
|
|
148
|
+
description: Optional[str] = Field(default=None)
|
|
149
|
+
|
|
150
|
+
|
|
119
151
|
class PackageEntitlementFragment(BaseModel):
|
|
120
152
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
121
153
|
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
@@ -150,38 +182,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
150
182
|
)
|
|
151
183
|
|
|
152
184
|
|
|
153
|
-
class OveragePriceFragment(BaseModel):
|
|
154
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
155
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
156
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
157
|
-
billing_country_code: Optional[str] = Field(
|
|
158
|
-
alias="billingCountryCode", default=None
|
|
159
|
-
)
|
|
160
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
161
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
162
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
163
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
167
|
-
amount: float
|
|
168
|
-
currency: Currency
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
172
|
-
pass
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
176
|
-
ref_id: str = Field(alias="refId")
|
|
177
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
178
|
-
feature_units_plural: Optional[str] = Field(
|
|
179
|
-
alias="featureUnitsPlural", default=None
|
|
180
|
-
)
|
|
181
|
-
display_name: str = Field(alias="displayName")
|
|
182
|
-
description: Optional[str] = Field(default=None)
|
|
183
|
-
|
|
184
|
-
|
|
185
185
|
class AddonFragment(BaseModel):
|
|
186
186
|
id: Any
|
|
187
187
|
ref_id: str = Field(alias="refId")
|
|
@@ -220,6 +220,114 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
220
220
|
pass
|
|
221
221
|
|
|
222
222
|
|
|
223
|
+
class FeatureFragment(BaseModel):
|
|
224
|
+
typename__: str = Field(alias="__typename")
|
|
225
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
226
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
227
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
228
|
+
feature_units_plural: Optional[str] = Field(
|
|
229
|
+
alias="featureUnitsPlural", default=None
|
|
230
|
+
)
|
|
231
|
+
description: Optional[str] = Field(default=None)
|
|
232
|
+
display_name: str = Field(alias="displayName")
|
|
233
|
+
ref_id: str = Field(alias="refId")
|
|
234
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
235
|
+
alias="unitTransformation", default=None
|
|
236
|
+
)
|
|
237
|
+
|
|
238
|
+
|
|
239
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
240
|
+
divide: float
|
|
241
|
+
round: UnitTransformationRound
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
class EntitlementFragment(BaseModel):
|
|
245
|
+
typename__: str = Field(alias="__typename")
|
|
246
|
+
is_granted: bool = Field(alias="isGranted")
|
|
247
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
248
|
+
alias="accessDeniedReason", default=None
|
|
249
|
+
)
|
|
250
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
251
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
252
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
253
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
254
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
255
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
256
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
257
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
258
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
259
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
260
|
+
alias="entitlementUpdatedAt", default=None
|
|
261
|
+
)
|
|
262
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
263
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
264
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
265
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
266
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
267
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
268
|
+
alias="resetPeriod", default=None
|
|
269
|
+
)
|
|
270
|
+
reset_period_configuration: Optional[
|
|
271
|
+
Annotated[
|
|
272
|
+
Union[
|
|
273
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
274
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
275
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
276
|
+
],
|
|
277
|
+
Field(discriminator="typename__"),
|
|
278
|
+
]
|
|
279
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
280
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
286
|
+
alias="monthlyAccordingTo", default=None
|
|
287
|
+
)
|
|
288
|
+
|
|
289
|
+
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
293
|
+
alias="weeklyAccordingTo", default=None
|
|
294
|
+
)
|
|
295
|
+
|
|
296
|
+
|
|
297
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
298
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
299
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
300
|
+
alias="yearlyAccordingTo", default=None
|
|
301
|
+
)
|
|
302
|
+
|
|
303
|
+
|
|
304
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
305
|
+
pass
|
|
306
|
+
|
|
307
|
+
|
|
308
|
+
class TotalPriceFragment(BaseModel):
|
|
309
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
310
|
+
total: "TotalPriceFragmentTotal"
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
314
|
+
amount: float
|
|
315
|
+
currency: Currency
|
|
316
|
+
|
|
317
|
+
|
|
318
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
319
|
+
amount: float
|
|
320
|
+
currency: Currency
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
class CustomerResourceFragment(BaseModel):
|
|
324
|
+
resource_id: str = Field(alias="resourceId")
|
|
325
|
+
|
|
326
|
+
|
|
327
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
328
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
329
|
+
|
|
330
|
+
|
|
223
331
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
224
332
|
billing_id: str = Field(alias="billingId")
|
|
225
333
|
status: SubscriptionInvoiceStatus
|
|
@@ -264,166 +372,124 @@ class SlimCustomerFragment(BaseModel):
|
|
|
264
372
|
)
|
|
265
373
|
|
|
266
374
|
|
|
267
|
-
class
|
|
268
|
-
|
|
269
|
-
|
|
270
|
-
|
|
271
|
-
|
|
272
|
-
|
|
375
|
+
class ProductFragment(BaseModel):
|
|
376
|
+
ref_id: str = Field(alias="refId")
|
|
377
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
378
|
+
description: Optional[str] = Field(default=None)
|
|
379
|
+
additional_meta_data: Optional[Any] = Field(
|
|
380
|
+
alias="additionalMetaData", default=None
|
|
381
|
+
)
|
|
382
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
273
383
|
|
|
274
384
|
|
|
275
|
-
class
|
|
276
|
-
|
|
277
|
-
alias="
|
|
278
|
-
)
|
|
279
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
280
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
281
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
282
|
-
alias="targetPackage", default=None
|
|
385
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
386
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
387
|
+
alias="downgradePlan", default=None
|
|
283
388
|
)
|
|
284
|
-
schedule_variables: Optional[
|
|
285
|
-
Annotated[
|
|
286
|
-
Union[
|
|
287
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
288
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
289
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
290
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
291
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
292
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
293
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
294
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
295
|
-
],
|
|
296
|
-
Field(discriminator="typename__"),
|
|
297
|
-
]
|
|
298
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
299
389
|
|
|
300
390
|
|
|
301
|
-
class
|
|
302
|
-
id: Any
|
|
391
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
303
392
|
ref_id: str = Field(alias="refId")
|
|
304
393
|
display_name: str = Field(alias="displayName")
|
|
305
394
|
|
|
306
395
|
|
|
307
|
-
class
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
396
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
397
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
398
|
+
display_name: str = Field(alias="displayName")
|
|
399
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
400
|
+
default=None
|
|
401
|
+
)
|
|
402
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
311
403
|
|
|
312
404
|
|
|
313
|
-
class
|
|
314
|
-
|
|
315
|
-
):
|
|
316
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
317
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
318
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
405
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
406
|
+
pass
|
|
319
407
|
|
|
320
408
|
|
|
321
|
-
class
|
|
322
|
-
|
|
323
|
-
)
|
|
324
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
325
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
409
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
410
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
411
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
326
412
|
|
|
327
413
|
|
|
328
|
-
class
|
|
329
|
-
|
|
414
|
+
class PlanFragment(BaseModel):
|
|
415
|
+
id: Any
|
|
416
|
+
ref_id: str = Field(alias="refId")
|
|
417
|
+
display_name: str = Field(alias="displayName")
|
|
418
|
+
description: Optional[str] = Field(default=None)
|
|
419
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
420
|
+
version_number: int = Field(alias="versionNumber")
|
|
421
|
+
additional_meta_data: Optional[Any] = Field(
|
|
422
|
+
alias="additionalMetaData", default=None
|
|
423
|
+
)
|
|
424
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
425
|
+
alias="hiddenFromWidgets", default=None
|
|
426
|
+
)
|
|
427
|
+
product: "PlanFragmentProduct"
|
|
428
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
429
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
430
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
431
|
+
alias="inheritedEntitlements", default=None
|
|
432
|
+
)
|
|
433
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
434
|
+
alias="compatibleAddons", default=None
|
|
435
|
+
)
|
|
436
|
+
compatible_package_groups: Optional[
|
|
437
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
438
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
439
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
440
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
441
|
+
alias="overagePrices", default=None
|
|
442
|
+
)
|
|
443
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
444
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
445
|
+
alias="defaultTrialConfig", default=None
|
|
446
|
+
)
|
|
330
447
|
|
|
331
448
|
|
|
332
|
-
class
|
|
333
|
-
|
|
334
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
335
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
336
|
-
billable_features: Optional[
|
|
337
|
-
List[
|
|
338
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
339
|
-
]
|
|
340
|
-
] = Field(alias="billableFeatures", default=None)
|
|
341
|
-
addons: Optional[
|
|
342
|
-
List[
|
|
343
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
344
|
-
]
|
|
345
|
-
] = Field(default=None)
|
|
346
|
-
price_overrides: Optional[
|
|
347
|
-
List[
|
|
348
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
349
|
-
]
|
|
350
|
-
] = Field(alias="priceOverrides", default=None)
|
|
449
|
+
class PlanFragmentProduct(ProductFragment):
|
|
450
|
+
pass
|
|
351
451
|
|
|
352
452
|
|
|
353
|
-
class
|
|
354
|
-
|
|
355
|
-
)
|
|
356
|
-
feature_id: str = Field(alias="featureId")
|
|
357
|
-
quantity: float
|
|
453
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
454
|
+
ref_id: str = Field(alias="refId")
|
|
455
|
+
display_name: str = Field(alias="displayName")
|
|
358
456
|
|
|
359
457
|
|
|
360
|
-
class
|
|
361
|
-
|
|
362
|
-
):
|
|
363
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
364
|
-
quantity: float
|
|
458
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
459
|
+
pass
|
|
365
460
|
|
|
366
461
|
|
|
367
|
-
class
|
|
368
|
-
|
|
369
|
-
):
|
|
370
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
371
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
372
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
462
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
463
|
+
pass
|
|
373
464
|
|
|
374
465
|
|
|
375
|
-
class
|
|
376
|
-
|
|
377
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
378
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
379
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
380
|
-
billable_features: Optional[
|
|
381
|
-
List[
|
|
382
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
383
|
-
]
|
|
384
|
-
] = Field(alias="billableFeatures", default=None)
|
|
385
|
-
addons: Optional[
|
|
386
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
387
|
-
] = Field(default=None)
|
|
388
|
-
price_overrides: Optional[
|
|
389
|
-
List[
|
|
390
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
391
|
-
]
|
|
392
|
-
] = Field(alias="priceOverrides", default=None)
|
|
466
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
467
|
+
pass
|
|
393
468
|
|
|
394
469
|
|
|
395
|
-
class
|
|
396
|
-
|
|
397
|
-
):
|
|
398
|
-
feature_id: str = Field(alias="featureId")
|
|
399
|
-
quantity: float
|
|
470
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
471
|
+
pass
|
|
400
472
|
|
|
401
473
|
|
|
402
|
-
class
|
|
403
|
-
|
|
404
|
-
quantity: float
|
|
474
|
+
class PlanFragmentPrices(PriceFragment):
|
|
475
|
+
pass
|
|
405
476
|
|
|
406
477
|
|
|
407
|
-
class
|
|
408
|
-
|
|
409
|
-
):
|
|
410
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
411
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
412
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
478
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
479
|
+
pass
|
|
413
480
|
|
|
414
481
|
|
|
415
|
-
class
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
419
|
-
|
|
420
|
-
|
|
482
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
483
|
+
duration: float
|
|
484
|
+
units: TrialPeriodUnits
|
|
485
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
486
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
487
|
+
alias="trialEndBehavior", default=None
|
|
488
|
+
)
|
|
421
489
|
|
|
422
490
|
|
|
423
|
-
class
|
|
424
|
-
|
|
425
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
426
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
491
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
492
|
+
limit: float
|
|
427
493
|
|
|
428
494
|
|
|
429
495
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -588,139 +654,158 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
588
654
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
589
655
|
|
|
590
656
|
|
|
591
|
-
class
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
597
|
-
amount: float
|
|
598
|
-
currency: Currency
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
602
|
-
amount: float
|
|
603
|
-
currency: Currency
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class ProductFragment(BaseModel):
|
|
607
|
-
ref_id: str = Field(alias="refId")
|
|
608
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
609
|
-
description: Optional[str] = Field(default=None)
|
|
610
|
-
additional_meta_data: Optional[Any] = Field(
|
|
611
|
-
alias="additionalMetaData", default=None
|
|
657
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
658
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
659
|
+
alias="subscriptionScheduleType"
|
|
612
660
|
)
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
618
|
-
alias="downgradePlan", default=None
|
|
661
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
662
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
663
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
664
|
+
alias="targetPackage", default=None
|
|
619
665
|
)
|
|
666
|
+
schedule_variables: Optional[
|
|
667
|
+
Annotated[
|
|
668
|
+
Union[
|
|
669
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
670
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
671
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
672
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
673
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
674
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
675
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
676
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
677
|
+
],
|
|
678
|
+
Field(discriminator="typename__"),
|
|
679
|
+
]
|
|
680
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
620
681
|
|
|
621
682
|
|
|
622
|
-
class
|
|
683
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
684
|
+
id: Any
|
|
623
685
|
ref_id: str = Field(alias="refId")
|
|
624
686
|
display_name: str = Field(alias="displayName")
|
|
625
687
|
|
|
626
688
|
|
|
627
|
-
class
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
default=None
|
|
632
|
-
)
|
|
633
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
689
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
690
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
691
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
692
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
634
693
|
|
|
635
694
|
|
|
636
|
-
class
|
|
637
|
-
|
|
695
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
696
|
+
BaseModel
|
|
697
|
+
):
|
|
698
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
699
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
700
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
638
701
|
|
|
639
702
|
|
|
640
|
-
class
|
|
641
|
-
|
|
642
|
-
|
|
703
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
704
|
+
BaseModel
|
|
705
|
+
):
|
|
706
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
707
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
643
708
|
|
|
644
709
|
|
|
645
|
-
class
|
|
646
|
-
|
|
647
|
-
ref_id: str = Field(alias="refId")
|
|
648
|
-
display_name: str = Field(alias="displayName")
|
|
649
|
-
description: Optional[str] = Field(default=None)
|
|
650
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
651
|
-
version_number: int = Field(alias="versionNumber")
|
|
652
|
-
additional_meta_data: Optional[Any] = Field(
|
|
653
|
-
alias="additionalMetaData", default=None
|
|
654
|
-
)
|
|
655
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
656
|
-
alias="hiddenFromWidgets", default=None
|
|
657
|
-
)
|
|
658
|
-
product: "PlanFragmentProduct"
|
|
659
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
660
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
661
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
662
|
-
alias="inheritedEntitlements", default=None
|
|
663
|
-
)
|
|
664
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
665
|
-
alias="compatibleAddons", default=None
|
|
666
|
-
)
|
|
667
|
-
compatible_package_groups: Optional[
|
|
668
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
669
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
670
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
671
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
672
|
-
alias="overagePrices", default=None
|
|
673
|
-
)
|
|
674
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
675
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
676
|
-
alias="defaultTrialConfig", default=None
|
|
677
|
-
)
|
|
710
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
711
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
678
712
|
|
|
679
713
|
|
|
680
|
-
class
|
|
681
|
-
|
|
714
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
715
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
716
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
717
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
718
|
+
billable_features: Optional[
|
|
719
|
+
List[
|
|
720
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
721
|
+
]
|
|
722
|
+
] = Field(alias="billableFeatures", default=None)
|
|
723
|
+
addons: Optional[
|
|
724
|
+
List[
|
|
725
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
726
|
+
]
|
|
727
|
+
] = Field(default=None)
|
|
728
|
+
price_overrides: Optional[
|
|
729
|
+
List[
|
|
730
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
731
|
+
]
|
|
732
|
+
] = Field(alias="priceOverrides", default=None)
|
|
682
733
|
|
|
683
734
|
|
|
684
|
-
class
|
|
685
|
-
|
|
686
|
-
|
|
735
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
736
|
+
BaseModel
|
|
737
|
+
):
|
|
738
|
+
feature_id: str = Field(alias="featureId")
|
|
739
|
+
quantity: float
|
|
687
740
|
|
|
688
741
|
|
|
689
|
-
class
|
|
690
|
-
|
|
742
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
743
|
+
BaseModel
|
|
744
|
+
):
|
|
745
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
746
|
+
quantity: float
|
|
691
747
|
|
|
692
748
|
|
|
693
|
-
class
|
|
694
|
-
|
|
749
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
750
|
+
BaseModel
|
|
751
|
+
):
|
|
752
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
753
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
754
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
695
755
|
|
|
696
756
|
|
|
697
|
-
class
|
|
698
|
-
|
|
757
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
758
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
759
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
760
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
761
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
762
|
+
billable_features: Optional[
|
|
763
|
+
List[
|
|
764
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
765
|
+
]
|
|
766
|
+
] = Field(alias="billableFeatures", default=None)
|
|
767
|
+
addons: Optional[
|
|
768
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
769
|
+
] = Field(default=None)
|
|
770
|
+
price_overrides: Optional[
|
|
771
|
+
List[
|
|
772
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
773
|
+
]
|
|
774
|
+
] = Field(alias="priceOverrides", default=None)
|
|
699
775
|
|
|
700
776
|
|
|
701
|
-
class
|
|
702
|
-
|
|
777
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
778
|
+
BaseModel
|
|
779
|
+
):
|
|
780
|
+
feature_id: str = Field(alias="featureId")
|
|
781
|
+
quantity: float
|
|
703
782
|
|
|
704
783
|
|
|
705
|
-
class
|
|
706
|
-
|
|
784
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
785
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
786
|
+
quantity: float
|
|
707
787
|
|
|
708
788
|
|
|
709
|
-
class
|
|
710
|
-
|
|
789
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
790
|
+
BaseModel
|
|
791
|
+
):
|
|
792
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
793
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
794
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
711
795
|
|
|
712
796
|
|
|
713
|
-
class
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
718
|
-
|
|
719
|
-
)
|
|
797
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
798
|
+
BaseModel
|
|
799
|
+
):
|
|
800
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
801
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
802
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
720
803
|
|
|
721
804
|
|
|
722
|
-
class
|
|
723
|
-
|
|
805
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
806
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
807
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
808
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
724
809
|
|
|
725
810
|
|
|
726
811
|
class SubscriptionFragment(BaseModel):
|
|
@@ -832,91 +917,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
832
917
|
pass
|
|
833
918
|
|
|
834
919
|
|
|
835
|
-
class FeatureFragment(BaseModel):
|
|
836
|
-
typename__: str = Field(alias="__typename")
|
|
837
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
838
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
839
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
840
|
-
feature_units_plural: Optional[str] = Field(
|
|
841
|
-
alias="featureUnitsPlural", default=None
|
|
842
|
-
)
|
|
843
|
-
description: Optional[str] = Field(default=None)
|
|
844
|
-
display_name: str = Field(alias="displayName")
|
|
845
|
-
ref_id: str = Field(alias="refId")
|
|
846
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
847
|
-
alias="unitTransformation", default=None
|
|
848
|
-
)
|
|
849
|
-
|
|
850
|
-
|
|
851
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
852
|
-
divide: float
|
|
853
|
-
round: UnitTransformationRound
|
|
854
|
-
|
|
855
|
-
|
|
856
|
-
class EntitlementFragment(BaseModel):
|
|
857
|
-
typename__: str = Field(alias="__typename")
|
|
858
|
-
is_granted: bool = Field(alias="isGranted")
|
|
859
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
860
|
-
alias="accessDeniedReason", default=None
|
|
861
|
-
)
|
|
862
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
863
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
864
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
865
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
866
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
867
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
868
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
869
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
870
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
871
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
872
|
-
alias="entitlementUpdatedAt", default=None
|
|
873
|
-
)
|
|
874
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
875
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
876
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
877
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
878
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
879
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
880
|
-
alias="resetPeriod", default=None
|
|
881
|
-
)
|
|
882
|
-
reset_period_configuration: Optional[
|
|
883
|
-
Annotated[
|
|
884
|
-
Union[
|
|
885
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
886
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
887
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
888
|
-
],
|
|
889
|
-
Field(discriminator="typename__"),
|
|
890
|
-
]
|
|
891
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
892
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
893
|
-
|
|
894
|
-
|
|
895
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
896
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
897
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
898
|
-
alias="monthlyAccordingTo", default=None
|
|
899
|
-
)
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
903
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
904
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
905
|
-
alias="weeklyAccordingTo", default=None
|
|
906
|
-
)
|
|
907
|
-
|
|
908
|
-
|
|
909
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
910
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
911
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
912
|
-
alias="yearlyAccordingTo", default=None
|
|
913
|
-
)
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
917
|
-
pass
|
|
918
|
-
|
|
919
|
-
|
|
920
920
|
class ApplySubscriptionFragment(BaseModel):
|
|
921
921
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
922
922
|
default=None
|
|
@@ -994,6 +994,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
994
994
|
)
|
|
995
995
|
|
|
996
996
|
|
|
997
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
998
|
+
status: PromotionalEntitlementStatus
|
|
999
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1000
|
+
feature_id: Any = Field(alias="featureId")
|
|
1001
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1002
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1003
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1004
|
+
alias="resetPeriod", default=None
|
|
1005
|
+
)
|
|
1006
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1007
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1008
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1009
|
+
|
|
1010
|
+
|
|
1011
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1012
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1013
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1014
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1015
|
+
feature_units_plural: Optional[str] = Field(
|
|
1016
|
+
alias="featureUnitsPlural", default=None
|
|
1017
|
+
)
|
|
1018
|
+
display_name: str = Field(alias="displayName")
|
|
1019
|
+
description: Optional[str] = Field(default=None)
|
|
1020
|
+
ref_id: str = Field(alias="refId")
|
|
1021
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1022
|
+
alias="additionalMetaData", default=None
|
|
1023
|
+
)
|
|
1024
|
+
|
|
1025
|
+
|
|
997
1026
|
class CouponFragment(BaseModel):
|
|
998
1027
|
id: Any
|
|
999
1028
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1028,35 +1057,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1028
1057
|
status: SyncStatus
|
|
1029
1058
|
|
|
1030
1059
|
|
|
1031
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1032
|
-
status: PromotionalEntitlementStatus
|
|
1033
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1034
|
-
feature_id: Any = Field(alias="featureId")
|
|
1035
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1036
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1037
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1038
|
-
alias="resetPeriod", default=None
|
|
1039
|
-
)
|
|
1040
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1041
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1042
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1046
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1047
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1048
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1049
|
-
feature_units_plural: Optional[str] = Field(
|
|
1050
|
-
alias="featureUnitsPlural", default=None
|
|
1051
|
-
)
|
|
1052
|
-
display_name: str = Field(alias="displayName")
|
|
1053
|
-
description: Optional[str] = Field(default=None)
|
|
1054
|
-
ref_id: str = Field(alias="refId")
|
|
1055
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1056
|
-
alias="additionalMetaData", default=None
|
|
1057
|
-
)
|
|
1058
|
-
|
|
1059
|
-
|
|
1060
1060
|
class CustomerFragment(SlimCustomerFragment):
|
|
1061
1061
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1062
1062
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -2842,28 +2842,28 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2842
2842
|
AddonDependencyFragment.model_rebuild()
|
|
2843
2843
|
PriceTierFragment.model_rebuild()
|
|
2844
2844
|
PriceFragment.model_rebuild()
|
|
2845
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2846
2845
|
OveragePriceFragment.model_rebuild()
|
|
2846
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2847
2847
|
AddonFragment.model_rebuild()
|
|
2848
|
-
|
|
2849
|
-
|
|
2848
|
+
FeatureFragment.model_rebuild()
|
|
2849
|
+
EntitlementFragment.model_rebuild()
|
|
2850
|
+
TotalPriceFragment.model_rebuild()
|
|
2850
2851
|
CustomerResourceFragment.model_rebuild()
|
|
2851
2852
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2852
|
-
|
|
2853
|
-
|
|
2854
|
-
TotalPriceFragment.model_rebuild()
|
|
2853
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2854
|
+
SlimCustomerFragment.model_rebuild()
|
|
2855
2855
|
ProductFragment.model_rebuild()
|
|
2856
2856
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2857
2857
|
PlanFragment.model_rebuild()
|
|
2858
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2859
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2858
2860
|
SubscriptionFragment.model_rebuild()
|
|
2859
|
-
FeatureFragment.model_rebuild()
|
|
2860
|
-
EntitlementFragment.model_rebuild()
|
|
2861
2861
|
ApplySubscriptionFragment.model_rebuild()
|
|
2862
2862
|
FontVariantFragment.model_rebuild()
|
|
2863
2863
|
TypographyConfigurationFragment.model_rebuild()
|
|
2864
2864
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2865
|
-
CouponFragment.model_rebuild()
|
|
2866
2865
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2866
|
+
CouponFragment.model_rebuild()
|
|
2867
2867
|
CustomerFragment.model_rebuild()
|
|
2868
2868
|
CheckoutStateFragment.model_rebuild()
|
|
2869
2869
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -4462,7 +4462,7 @@ class UnitTransformationInput(BaseModel):
|
|
|
4462
4462
|
round: Optional[UnitTransformationRound] = UnitTransformationRound.UP
|
|
4463
4463
|
|
|
4464
4464
|
|
|
4465
|
-
class
|
|
4465
|
+
class UnlinkFeatureGroupFromPackageInput(BaseModel):
|
|
4466
4466
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
4467
4467
|
feature_group_id: Any = Field(alias="featureGroupId")
|
|
4468
4468
|
package_id: Any = Field(alias="packageId")
|
|
@@ -106,7 +106,7 @@ 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=vlLeLOVc7thTyseqkEd6Gf_NjFRWvHwzUItaDU9zroQ,71687
|
|
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
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=tGqbCewOFV2YP6igue7hQZghW3XraHyV0OXcoKfsssE,173
|
|
|
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=LNYmJArnO1NejmLy-MhcZzdxPIRXDuKv2cYXTMxoDDk,36766
|
|
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=PPtpYpir9AA-HNYqONlHssRUSZcYBB_vf1eGHvcZ6Kw,103850
|
|
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
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=ABA8suyocvdVov0LKq4LP3fQ028f_60RnM1g8PQNTY0,201534
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
167
|
-
stigg_api_client_v2-2.
|
|
164
|
+
stigg_api_client_v2-2.492.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-2.492.0.dist-info/METADATA,sha256=Unms1Y4zggB573emmTooA_pDrnVLIWt42HusjBn--j8,2258
|
|
166
|
+
stigg_api_client_v2-2.492.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-2.492.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|