stigg-api-client-v2 3.10.0__py3-none-any.whl → 3.12.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 -0
- stigg/generated/enums.py +6 -0
- stigg/generated/fragments.py +379 -379
- stigg/generated/input_types.py +4 -0
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.12.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.12.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.12.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.10.0.dist-info → stigg_api_client_v2-3.12.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -99,6 +99,7 @@ from .enums import (
|
|
|
99
99
|
PromotionalEntitlementSortFields,
|
|
100
100
|
PromotionalEntitlementStatus,
|
|
101
101
|
ProrationBehavior,
|
|
102
|
+
ProrationBehaviorExtended,
|
|
102
103
|
ProvisionSubscriptionStatus,
|
|
103
104
|
PublishMigrationType,
|
|
104
105
|
ScheduleStrategy,
|
|
@@ -1569,6 +1570,7 @@ __all__ = [
|
|
|
1569
1570
|
"PromotionalEntitlementStatusFilterComparison",
|
|
1570
1571
|
"PromotionalEntitlementUpdateInput",
|
|
1571
1572
|
"ProrationBehavior",
|
|
1573
|
+
"ProrationBehaviorExtended",
|
|
1572
1574
|
"ProvisionCustomer",
|
|
1573
1575
|
"ProvisionCustomerFragment",
|
|
1574
1576
|
"ProvisionCustomerFragmentCustomer",
|
stigg/generated/enums.py
CHANGED
|
@@ -982,6 +982,12 @@ class ProrationBehavior(str, Enum):
|
|
|
982
982
|
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
983
983
|
|
|
984
984
|
|
|
985
|
+
class ProrationBehaviorExtended(str, Enum):
|
|
986
|
+
CREATE_PRORATIONS = "CREATE_PRORATIONS"
|
|
987
|
+
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
988
|
+
NONE = "NONE"
|
|
989
|
+
|
|
990
|
+
|
|
985
991
|
class ProvisionSubscriptionStatus(str, Enum):
|
|
986
992
|
PAYMENT_REQUIRED = "PAYMENT_REQUIRED"
|
|
987
993
|
SUCCESS = "SUCCESS"
|
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,124 +220,264 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
220
220
|
pass
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
class
|
|
224
|
-
|
|
225
|
-
|
|
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
|
+
)
|
|
226
231
|
description: Optional[str] = Field(default=None)
|
|
227
|
-
|
|
228
|
-
|
|
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
|
|
229
236
|
)
|
|
230
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
231
237
|
|
|
232
238
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
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
|
|
236
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)
|
|
237
281
|
|
|
238
282
|
|
|
239
|
-
class
|
|
240
|
-
|
|
241
|
-
|
|
283
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
284
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
286
|
+
alias="monthlyAccordingTo", default=None
|
|
287
|
+
)
|
|
242
288
|
|
|
243
289
|
|
|
244
|
-
class
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
default=None
|
|
290
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
291
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
293
|
+
alias="weeklyAccordingTo", default=None
|
|
249
294
|
)
|
|
250
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
251
295
|
|
|
252
296
|
|
|
253
|
-
class
|
|
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):
|
|
254
305
|
pass
|
|
255
306
|
|
|
256
307
|
|
|
257
|
-
class
|
|
258
|
-
|
|
259
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
308
|
+
class CustomerResourceFragment(BaseModel):
|
|
309
|
+
resource_id: str = Field(alias="resourceId")
|
|
260
310
|
|
|
261
311
|
|
|
262
|
-
class
|
|
312
|
+
class SlimCustomerFragment(BaseModel):
|
|
263
313
|
id: Any
|
|
314
|
+
name: Optional[str] = Field(default=None)
|
|
315
|
+
email: Optional[str] = Field(default=None)
|
|
316
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
317
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
264
318
|
ref_id: str = Field(alias="refId")
|
|
265
|
-
|
|
266
|
-
description: Optional[str] = Field(default=None)
|
|
319
|
+
customer_id: str = Field(alias="customerId")
|
|
267
320
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
268
|
-
version_number: int = Field(alias="versionNumber")
|
|
269
321
|
additional_meta_data: Optional[Any] = Field(
|
|
270
322
|
alias="additionalMetaData", default=None
|
|
271
323
|
)
|
|
272
|
-
|
|
273
|
-
alias="
|
|
274
|
-
)
|
|
275
|
-
product: "PlanFragmentProduct"
|
|
276
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
277
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
278
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
279
|
-
alias="inheritedEntitlements", default=None
|
|
280
|
-
)
|
|
281
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
282
|
-
alias="compatibleAddons", default=None
|
|
283
|
-
)
|
|
284
|
-
compatible_package_groups: Optional[
|
|
285
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
286
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
287
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
288
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
289
|
-
alias="overagePrices", default=None
|
|
290
|
-
)
|
|
291
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
292
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
293
|
-
alias="defaultTrialConfig", default=None
|
|
324
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
325
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
294
326
|
)
|
|
295
327
|
|
|
296
328
|
|
|
297
|
-
class
|
|
298
|
-
|
|
329
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
330
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
331
|
+
alias="subscriptionScheduleType"
|
|
332
|
+
)
|
|
333
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
334
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
335
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
336
|
+
alias="targetPackage", default=None
|
|
337
|
+
)
|
|
338
|
+
schedule_variables: Optional[
|
|
339
|
+
Annotated[
|
|
340
|
+
Union[
|
|
341
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
342
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
343
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
344
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
345
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
346
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
347
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
348
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
349
|
+
],
|
|
350
|
+
Field(discriminator="typename__"),
|
|
351
|
+
]
|
|
352
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
299
353
|
|
|
300
354
|
|
|
301
|
-
class
|
|
355
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
356
|
+
id: Any
|
|
302
357
|
ref_id: str = Field(alias="refId")
|
|
303
358
|
display_name: str = Field(alias="displayName")
|
|
304
359
|
|
|
305
360
|
|
|
306
|
-
class
|
|
307
|
-
|
|
361
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
362
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
363
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
364
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
308
365
|
|
|
309
366
|
|
|
310
|
-
class
|
|
311
|
-
|
|
367
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
368
|
+
BaseModel
|
|
369
|
+
):
|
|
370
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
371
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
372
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
312
373
|
|
|
313
374
|
|
|
314
|
-
class
|
|
315
|
-
|
|
375
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
376
|
+
BaseModel
|
|
377
|
+
):
|
|
378
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
379
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
316
380
|
|
|
317
381
|
|
|
318
|
-
class
|
|
319
|
-
|
|
382
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
383
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
320
384
|
|
|
321
385
|
|
|
322
|
-
class
|
|
323
|
-
|
|
386
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
387
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
388
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
389
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
390
|
+
billable_features: Optional[
|
|
391
|
+
List[
|
|
392
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
393
|
+
]
|
|
394
|
+
] = Field(alias="billableFeatures", default=None)
|
|
395
|
+
addons: Optional[
|
|
396
|
+
List[
|
|
397
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
398
|
+
]
|
|
399
|
+
] = Field(default=None)
|
|
400
|
+
price_overrides: Optional[
|
|
401
|
+
List[
|
|
402
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
403
|
+
]
|
|
404
|
+
] = Field(alias="priceOverrides", default=None)
|
|
324
405
|
|
|
325
406
|
|
|
326
|
-
class
|
|
327
|
-
|
|
407
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
408
|
+
BaseModel
|
|
409
|
+
):
|
|
410
|
+
feature_id: str = Field(alias="featureId")
|
|
411
|
+
quantity: float
|
|
328
412
|
|
|
329
413
|
|
|
330
|
-
class
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
alias="trialEndBehavior", default=None
|
|
336
|
-
)
|
|
414
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
415
|
+
BaseModel
|
|
416
|
+
):
|
|
417
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
418
|
+
quantity: float
|
|
337
419
|
|
|
338
420
|
|
|
339
|
-
class
|
|
340
|
-
|
|
421
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
422
|
+
BaseModel
|
|
423
|
+
):
|
|
424
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
425
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
426
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
430
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
431
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
432
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
433
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
434
|
+
billable_features: Optional[
|
|
435
|
+
List[
|
|
436
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
437
|
+
]
|
|
438
|
+
] = Field(alias="billableFeatures", default=None)
|
|
439
|
+
addons: Optional[
|
|
440
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
441
|
+
] = Field(default=None)
|
|
442
|
+
price_overrides: Optional[
|
|
443
|
+
List[
|
|
444
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
445
|
+
]
|
|
446
|
+
] = Field(alias="priceOverrides", default=None)
|
|
447
|
+
|
|
448
|
+
|
|
449
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
450
|
+
BaseModel
|
|
451
|
+
):
|
|
452
|
+
feature_id: str = Field(alias="featureId")
|
|
453
|
+
quantity: float
|
|
454
|
+
|
|
455
|
+
|
|
456
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
457
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
458
|
+
quantity: float
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
462
|
+
BaseModel
|
|
463
|
+
):
|
|
464
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
465
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
466
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
470
|
+
BaseModel
|
|
471
|
+
):
|
|
472
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
473
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
474
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
475
|
+
|
|
476
|
+
|
|
477
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
478
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
479
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
480
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
341
481
|
|
|
342
482
|
|
|
343
483
|
class TotalPriceFragment(BaseModel):
|
|
@@ -355,27 +495,6 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
355
495
|
currency: Currency
|
|
356
496
|
|
|
357
497
|
|
|
358
|
-
class SlimCustomerFragment(BaseModel):
|
|
359
|
-
id: Any
|
|
360
|
-
name: Optional[str] = Field(default=None)
|
|
361
|
-
email: Optional[str] = Field(default=None)
|
|
362
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
363
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
364
|
-
ref_id: str = Field(alias="refId")
|
|
365
|
-
customer_id: str = Field(alias="customerId")
|
|
366
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
367
|
-
additional_meta_data: Optional[Any] = Field(
|
|
368
|
-
alias="additionalMetaData", default=None
|
|
369
|
-
)
|
|
370
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
371
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
372
|
-
)
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class CustomerResourceFragment(BaseModel):
|
|
376
|
-
resource_id: str = Field(alias="resourceId")
|
|
377
|
-
|
|
378
|
-
|
|
379
498
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
380
499
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
381
500
|
alias="subscriptionScheduleType"
|
|
@@ -538,158 +657,124 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
538
657
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
539
658
|
|
|
540
659
|
|
|
541
|
-
class
|
|
542
|
-
|
|
543
|
-
|
|
660
|
+
class ProductFragment(BaseModel):
|
|
661
|
+
ref_id: str = Field(alias="refId")
|
|
662
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
663
|
+
description: Optional[str] = Field(default=None)
|
|
664
|
+
additional_meta_data: Optional[Any] = Field(
|
|
665
|
+
alias="additionalMetaData", default=None
|
|
544
666
|
)
|
|
545
|
-
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
|
|
667
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
668
|
+
|
|
669
|
+
|
|
670
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
671
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
672
|
+
alias="downgradePlan", default=None
|
|
549
673
|
)
|
|
550
|
-
schedule_variables: Optional[
|
|
551
|
-
Annotated[
|
|
552
|
-
Union[
|
|
553
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
554
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
555
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
556
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
557
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
558
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
559
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
560
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
561
|
-
],
|
|
562
|
-
Field(discriminator="typename__"),
|
|
563
|
-
]
|
|
564
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
565
674
|
|
|
566
675
|
|
|
567
|
-
class
|
|
568
|
-
id: Any
|
|
676
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
569
677
|
ref_id: str = Field(alias="refId")
|
|
570
678
|
display_name: str = Field(alias="displayName")
|
|
571
679
|
|
|
572
680
|
|
|
573
|
-
class
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
BaseModel
|
|
581
|
-
):
|
|
582
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
583
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
584
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
681
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
682
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
683
|
+
display_name: str = Field(alias="displayName")
|
|
684
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
685
|
+
default=None
|
|
686
|
+
)
|
|
687
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
585
688
|
|
|
586
689
|
|
|
587
|
-
class
|
|
588
|
-
|
|
589
|
-
):
|
|
590
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
591
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
690
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
691
|
+
pass
|
|
592
692
|
|
|
593
693
|
|
|
594
|
-
class
|
|
595
|
-
|
|
694
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
695
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
696
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
596
697
|
|
|
597
698
|
|
|
598
|
-
class
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
|
|
607
|
-
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
699
|
+
class PlanFragment(BaseModel):
|
|
700
|
+
id: Any
|
|
701
|
+
ref_id: str = Field(alias="refId")
|
|
702
|
+
display_name: str = Field(alias="displayName")
|
|
703
|
+
description: Optional[str] = Field(default=None)
|
|
704
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
705
|
+
version_number: int = Field(alias="versionNumber")
|
|
706
|
+
additional_meta_data: Optional[Any] = Field(
|
|
707
|
+
alias="additionalMetaData", default=None
|
|
708
|
+
)
|
|
709
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
710
|
+
alias="hiddenFromWidgets", default=None
|
|
711
|
+
)
|
|
712
|
+
product: "PlanFragmentProduct"
|
|
713
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
714
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
715
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
716
|
+
alias="inheritedEntitlements", default=None
|
|
717
|
+
)
|
|
718
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
719
|
+
alias="compatibleAddons", default=None
|
|
720
|
+
)
|
|
721
|
+
compatible_package_groups: Optional[
|
|
722
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
723
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
724
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
725
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
726
|
+
alias="overagePrices", default=None
|
|
727
|
+
)
|
|
728
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
729
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
730
|
+
alias="defaultTrialConfig", default=None
|
|
731
|
+
)
|
|
617
732
|
|
|
618
733
|
|
|
619
|
-
class
|
|
620
|
-
|
|
621
|
-
):
|
|
622
|
-
feature_id: str = Field(alias="featureId")
|
|
623
|
-
quantity: float
|
|
734
|
+
class PlanFragmentProduct(ProductFragment):
|
|
735
|
+
pass
|
|
624
736
|
|
|
625
737
|
|
|
626
|
-
class
|
|
627
|
-
|
|
628
|
-
)
|
|
629
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
630
|
-
quantity: float
|
|
738
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
739
|
+
ref_id: str = Field(alias="refId")
|
|
740
|
+
display_name: str = Field(alias="displayName")
|
|
631
741
|
|
|
632
742
|
|
|
633
|
-
class
|
|
634
|
-
|
|
635
|
-
):
|
|
636
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
637
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
638
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
743
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
744
|
+
pass
|
|
639
745
|
|
|
640
746
|
|
|
641
|
-
class
|
|
642
|
-
|
|
643
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
644
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
645
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
646
|
-
billable_features: Optional[
|
|
647
|
-
List[
|
|
648
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
649
|
-
]
|
|
650
|
-
] = Field(alias="billableFeatures", default=None)
|
|
651
|
-
addons: Optional[
|
|
652
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
653
|
-
] = Field(default=None)
|
|
654
|
-
price_overrides: Optional[
|
|
655
|
-
List[
|
|
656
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
657
|
-
]
|
|
658
|
-
] = Field(alias="priceOverrides", default=None)
|
|
747
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
748
|
+
pass
|
|
659
749
|
|
|
660
750
|
|
|
661
|
-
class
|
|
662
|
-
|
|
663
|
-
):
|
|
664
|
-
feature_id: str = Field(alias="featureId")
|
|
665
|
-
quantity: float
|
|
751
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
752
|
+
pass
|
|
666
753
|
|
|
667
754
|
|
|
668
|
-
class
|
|
669
|
-
|
|
670
|
-
quantity: float
|
|
755
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
756
|
+
pass
|
|
671
757
|
|
|
672
758
|
|
|
673
|
-
class
|
|
674
|
-
|
|
675
|
-
):
|
|
676
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
677
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
678
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
759
|
+
class PlanFragmentPrices(PriceFragment):
|
|
760
|
+
pass
|
|
679
761
|
|
|
680
762
|
|
|
681
|
-
class
|
|
682
|
-
|
|
683
|
-
):
|
|
684
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
685
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
686
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
763
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
764
|
+
pass
|
|
687
765
|
|
|
688
766
|
|
|
689
|
-
class
|
|
690
|
-
|
|
691
|
-
|
|
692
|
-
|
|
767
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
768
|
+
duration: float
|
|
769
|
+
units: TrialPeriodUnits
|
|
770
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
771
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
772
|
+
alias="trialEndBehavior", default=None
|
|
773
|
+
)
|
|
774
|
+
|
|
775
|
+
|
|
776
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
777
|
+
limit: float
|
|
693
778
|
|
|
694
779
|
|
|
695
780
|
class SubscriptionInvoiceFragment(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")
|
|
@@ -1263,6 +1263,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1263
1263
|
pass
|
|
1264
1264
|
|
|
1265
1265
|
|
|
1266
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1267
|
+
display_name: str = Field(alias="displayName")
|
|
1268
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1269
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1270
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1271
|
+
period: PromotionalEntitlementPeriod
|
|
1272
|
+
start_date: Any = Field(alias="startDate")
|
|
1273
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1274
|
+
|
|
1275
|
+
|
|
1266
1276
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1267
1277
|
addon_id: str = Field(alias="addonId")
|
|
1268
1278
|
description: Optional[str] = Field(default=None)
|
|
@@ -1562,16 +1572,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1562
1572
|
pass
|
|
1563
1573
|
|
|
1564
1574
|
|
|
1565
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1566
|
-
display_name: str = Field(alias="displayName")
|
|
1567
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1568
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1569
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1570
|
-
period: PromotionalEntitlementPeriod
|
|
1571
|
-
start_date: Any = Field(alias="startDate")
|
|
1572
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1573
|
-
|
|
1574
|
-
|
|
1575
1575
|
class CustomerPortalFragment(BaseModel):
|
|
1576
1576
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1577
1577
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2842,38 +2842,38 @@ 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
|
+
FeatureFragment.model_rebuild()
|
|
2849
|
+
EntitlementFragment.model_rebuild()
|
|
2850
|
+
CustomerResourceFragment.model_rebuild()
|
|
2851
|
+
SlimCustomerFragment.model_rebuild()
|
|
2852
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2853
|
+
TotalPriceFragment.model_rebuild()
|
|
2854
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2848
2855
|
ProductFragment.model_rebuild()
|
|
2849
2856
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2850
2857
|
PlanFragment.model_rebuild()
|
|
2851
|
-
TotalPriceFragment.model_rebuild()
|
|
2852
|
-
SlimCustomerFragment.model_rebuild()
|
|
2853
|
-
CustomerResourceFragment.model_rebuild()
|
|
2854
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2855
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2856
2858
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2857
2859
|
SubscriptionTrialConfigurationFragment.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()
|
|
2870
2870
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2871
2871
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2872
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2872
2873
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2873
2874
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2874
2875
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2875
2876
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2876
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2877
2877
|
CustomerPortalFragment.model_rebuild()
|
|
2878
2878
|
CustomerStatisticsFragment.model_rebuild()
|
|
2879
2879
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -70,6 +70,7 @@ from .enums import (
|
|
|
70
70
|
PromotionalEntitlementSortFields,
|
|
71
71
|
PromotionalEntitlementStatus,
|
|
72
72
|
ProrationBehavior,
|
|
73
|
+
ProrationBehaviorExtended,
|
|
73
74
|
PublishMigrationType,
|
|
74
75
|
ScheduleStrategy,
|
|
75
76
|
SortDirection,
|
|
@@ -3860,6 +3861,9 @@ class SubscriptionBillingInfo(BaseModel):
|
|
|
3860
3861
|
is_backdated: Optional[bool] = Field(alias="isBackdated", default=False)
|
|
3861
3862
|
is_invoice_paid: Optional[bool] = Field(alias="isInvoicePaid", default=False)
|
|
3862
3863
|
metadata: Optional[Any] = None
|
|
3864
|
+
proration_behavior: Optional[ProrationBehaviorExtended] = Field(
|
|
3865
|
+
alias="prorationBehavior", default=None
|
|
3866
|
+
)
|
|
3863
3867
|
tax_percentage: Optional[float] = Field(alias="taxPercentage", default=None)
|
|
3864
3868
|
tax_rate_ids: Optional[List[str]] = Field(alias="taxRateIds", default=None)
|
|
3865
3869
|
|
|
@@ -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=1NwSDRRF2Zck63DVg8bpqsho8-SNmD40eAjpihh1Y18,72323
|
|
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=olyRqMmQRfrZlZjKfswhvuelxgkIayxNRWnjyQ-gm1c,37452
|
|
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=0LNagQP2h-dvs1JxIuozMZ7_aLlMBkRZocvnETS2-dU,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=kW2dYYIEjDjeLaTm-rwEqzFuRcPpytVEGnrVldxHEig,204912
|
|
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-3.
|
|
165
|
-
stigg_api_client_v2-3.
|
|
166
|
-
stigg_api_client_v2-3.
|
|
167
|
-
stigg_api_client_v2-3.
|
|
164
|
+
stigg_api_client_v2-3.12.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.12.0.dist-info/METADATA,sha256=gUNUFWkvRZ0D9RcItOiFcm9Ovq-f2xFFj4onXf3Raf4,2257
|
|
166
|
+
stigg_api_client_v2-3.12.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.12.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|