stigg-api-client-v2 2.302.0__py3-none-any.whl → 2.303.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/fragments.py +382 -382
- {stigg_api_client_v2-2.302.0.dist-info → stigg_api_client_v2-2.303.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.302.0.dist-info → stigg_api_client_v2-2.303.0.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-2.302.0.dist-info → stigg_api_client_v2-2.303.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.302.0.dist-info → stigg_api_client_v2-2.303.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -79,6 +79,38 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
79
|
currency: Currency
|
|
80
80
|
|
|
81
81
|
|
|
82
|
+
class OveragePriceFragment(BaseModel):
|
|
83
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
86
|
+
billing_country_code: Optional[str] = Field(
|
|
87
|
+
alias="billingCountryCode", default=None
|
|
88
|
+
)
|
|
89
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
90
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
91
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
92
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
96
|
+
amount: float
|
|
97
|
+
currency: Currency
|
|
98
|
+
|
|
99
|
+
|
|
100
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
101
|
+
pass
|
|
102
|
+
|
|
103
|
+
|
|
104
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
105
|
+
ref_id: str = Field(alias="refId")
|
|
106
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
107
|
+
feature_units_plural: Optional[str] = Field(
|
|
108
|
+
alias="featureUnitsPlural", default=None
|
|
109
|
+
)
|
|
110
|
+
display_name: str = Field(alias="displayName")
|
|
111
|
+
description: Optional[str] = Field(default=None)
|
|
112
|
+
|
|
113
|
+
|
|
82
114
|
class PriceFragment(BaseModel):
|
|
83
115
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
116
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -148,38 +180,6 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
148
180
|
)
|
|
149
181
|
|
|
150
182
|
|
|
151
|
-
class OveragePriceFragment(BaseModel):
|
|
152
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
153
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
155
|
-
billing_country_code: Optional[str] = Field(
|
|
156
|
-
alias="billingCountryCode", default=None
|
|
157
|
-
)
|
|
158
|
-
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
161
|
-
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
class OveragePriceFragmentPrice(BaseModel):
|
|
165
|
-
amount: float
|
|
166
|
-
currency: Currency
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
170
|
-
pass
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
class OveragePriceFragmentFeature(BaseModel):
|
|
174
|
-
ref_id: str = Field(alias="refId")
|
|
175
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
176
|
-
feature_units_plural: Optional[str] = Field(
|
|
177
|
-
alias="featureUnitsPlural", default=None
|
|
178
|
-
)
|
|
179
|
-
display_name: str = Field(alias="displayName")
|
|
180
|
-
description: Optional[str] = Field(default=None)
|
|
181
|
-
|
|
182
|
-
|
|
183
183
|
class AddonFragment(BaseModel):
|
|
184
184
|
id: str
|
|
185
185
|
ref_id: str = Field(alias="refId")
|
|
@@ -215,108 +215,170 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
-
feature_units_plural: Optional[str] = Field(
|
|
224
|
-
alias="featureUnitsPlural", default=None
|
|
225
|
-
)
|
|
226
|
-
description: Optional[str] = Field(default=None)
|
|
227
|
-
display_name: str = Field(alias="displayName")
|
|
228
|
-
ref_id: str = Field(alias="refId")
|
|
229
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
230
|
-
alias="unitTransformation", default=None
|
|
231
|
-
)
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
235
|
-
divide: float
|
|
236
|
-
round: UnitTransformationRound
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class EntitlementFragment(BaseModel):
|
|
240
|
-
typename__: str = Field(alias="__typename")
|
|
241
|
-
is_granted: bool = Field(alias="isGranted")
|
|
242
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
243
|
-
alias="accessDeniedReason", default=None
|
|
244
|
-
)
|
|
245
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
246
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
247
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
248
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
249
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
250
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
251
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
252
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
253
|
-
alias="entitlementUpdatedAt", default=None
|
|
218
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
219
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
220
|
+
alias="subscriptionScheduleType"
|
|
254
221
|
)
|
|
255
|
-
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
-
alias="resetPeriod", default=None
|
|
222
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
223
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
224
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
225
|
+
alias="targetPackage", default=None
|
|
262
226
|
)
|
|
263
|
-
|
|
227
|
+
schedule_variables: Optional[
|
|
264
228
|
Annotated[
|
|
265
229
|
Union[
|
|
266
|
-
"
|
|
267
|
-
"
|
|
268
|
-
"
|
|
230
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
231
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
232
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
233
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
234
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
235
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
236
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
237
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
269
238
|
],
|
|
270
239
|
Field(discriminator="typename__"),
|
|
271
240
|
]
|
|
272
|
-
] = Field(alias="
|
|
273
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
241
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
274
242
|
|
|
275
243
|
|
|
276
|
-
class
|
|
277
|
-
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
)
|
|
244
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
245
|
+
id: str
|
|
246
|
+
ref_id: str = Field(alias="refId")
|
|
247
|
+
display_name: str = Field(alias="displayName")
|
|
281
248
|
|
|
282
249
|
|
|
283
|
-
class
|
|
284
|
-
typename__: Literal["
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
)
|
|
250
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
251
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
252
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
253
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
288
254
|
|
|
289
255
|
|
|
290
|
-
class
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
)
|
|
256
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
257
|
+
BaseModel
|
|
258
|
+
):
|
|
259
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
260
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
261
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
295
262
|
|
|
296
263
|
|
|
297
|
-
class
|
|
298
|
-
|
|
264
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
265
|
+
BaseModel
|
|
266
|
+
):
|
|
267
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
268
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
299
269
|
|
|
300
270
|
|
|
301
|
-
class
|
|
302
|
-
|
|
303
|
-
name: Optional[str] = Field(default=None)
|
|
304
|
-
email: Optional[str] = Field(default=None)
|
|
305
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
306
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
307
|
-
ref_id: str = Field(alias="refId")
|
|
308
|
-
customer_id: str = Field(alias="customerId")
|
|
309
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
310
|
-
additional_meta_data: Optional[Any] = Field(
|
|
311
|
-
alias="additionalMetaData", default=None
|
|
312
|
-
)
|
|
313
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
314
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
315
|
-
)
|
|
271
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
272
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
316
273
|
|
|
317
274
|
|
|
318
|
-
class
|
|
319
|
-
|
|
275
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
276
|
+
BaseModel
|
|
277
|
+
):
|
|
278
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
279
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
280
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
281
|
+
billable_features: Optional[
|
|
282
|
+
List[
|
|
283
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
284
|
+
]
|
|
285
|
+
] = Field(alias="billableFeatures", default=None)
|
|
286
|
+
addons: Optional[
|
|
287
|
+
List[
|
|
288
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
289
|
+
]
|
|
290
|
+
] = Field(default=None)
|
|
291
|
+
price_overrides: Optional[
|
|
292
|
+
List[
|
|
293
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
294
|
+
]
|
|
295
|
+
] = Field(alias="priceOverrides", default=None)
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
299
|
+
BaseModel
|
|
300
|
+
):
|
|
301
|
+
feature_id: str = Field(alias="featureId")
|
|
302
|
+
quantity: float
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
306
|
+
BaseModel
|
|
307
|
+
):
|
|
308
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
309
|
+
quantity: float
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
313
|
+
BaseModel
|
|
314
|
+
):
|
|
315
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
316
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
317
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
321
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
322
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
323
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
324
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
325
|
+
billable_features: Optional[
|
|
326
|
+
List[
|
|
327
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
328
|
+
]
|
|
329
|
+
] = Field(alias="billableFeatures", default=None)
|
|
330
|
+
addons: Optional[
|
|
331
|
+
List[
|
|
332
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
333
|
+
]
|
|
334
|
+
] = Field(default=None)
|
|
335
|
+
price_overrides: Optional[
|
|
336
|
+
List[
|
|
337
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
338
|
+
]
|
|
339
|
+
] = Field(alias="priceOverrides", default=None)
|
|
340
|
+
|
|
341
|
+
|
|
342
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
343
|
+
BaseModel
|
|
344
|
+
):
|
|
345
|
+
feature_id: str = Field(alias="featureId")
|
|
346
|
+
quantity: float
|
|
347
|
+
|
|
348
|
+
|
|
349
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
350
|
+
BaseModel
|
|
351
|
+
):
|
|
352
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
353
|
+
quantity: float
|
|
354
|
+
|
|
355
|
+
|
|
356
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
357
|
+
BaseModel
|
|
358
|
+
):
|
|
359
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
360
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
361
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
365
|
+
BaseModel
|
|
366
|
+
):
|
|
367
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
368
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
369
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
373
|
+
BaseModel
|
|
374
|
+
):
|
|
375
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
376
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
377
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
class CustomerResourceFragment(BaseModel):
|
|
381
|
+
resource_id: str = Field(alias="resourceId")
|
|
320
382
|
|
|
321
383
|
|
|
322
384
|
class TotalPriceFragment(BaseModel):
|
|
@@ -480,8 +542,25 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
480
542
|
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
481
543
|
|
|
482
544
|
|
|
483
|
-
class
|
|
484
|
-
|
|
545
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
546
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
class SlimCustomerFragment(BaseModel):
|
|
550
|
+
id: str
|
|
551
|
+
name: Optional[str] = Field(default=None)
|
|
552
|
+
email: Optional[str] = Field(default=None)
|
|
553
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
554
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
555
|
+
ref_id: str = Field(alias="refId")
|
|
556
|
+
customer_id: str = Field(alias="customerId")
|
|
557
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
558
|
+
additional_meta_data: Optional[Any] = Field(
|
|
559
|
+
alias="additionalMetaData", default=None
|
|
560
|
+
)
|
|
561
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
562
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
563
|
+
)
|
|
485
564
|
|
|
486
565
|
|
|
487
566
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
@@ -638,168 +717,6 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
638
717
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
639
718
|
|
|
640
719
|
|
|
641
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
642
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
643
|
-
alias="subscriptionScheduleType"
|
|
644
|
-
)
|
|
645
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
646
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
647
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
648
|
-
alias="targetPackage", default=None
|
|
649
|
-
)
|
|
650
|
-
schedule_variables: Optional[
|
|
651
|
-
Annotated[
|
|
652
|
-
Union[
|
|
653
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
654
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
655
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
656
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
657
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
658
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
659
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
660
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
661
|
-
],
|
|
662
|
-
Field(discriminator="typename__"),
|
|
663
|
-
]
|
|
664
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
668
|
-
id: str
|
|
669
|
-
ref_id: str = Field(alias="refId")
|
|
670
|
-
display_name: str = Field(alias="displayName")
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
674
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
675
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
676
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
680
|
-
BaseModel
|
|
681
|
-
):
|
|
682
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
683
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
684
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
685
|
-
|
|
686
|
-
|
|
687
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
688
|
-
BaseModel
|
|
689
|
-
):
|
|
690
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
691
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
695
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
696
|
-
|
|
697
|
-
|
|
698
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
699
|
-
BaseModel
|
|
700
|
-
):
|
|
701
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
702
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
703
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
704
|
-
billable_features: Optional[
|
|
705
|
-
List[
|
|
706
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
707
|
-
]
|
|
708
|
-
] = Field(alias="billableFeatures", default=None)
|
|
709
|
-
addons: Optional[
|
|
710
|
-
List[
|
|
711
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
712
|
-
]
|
|
713
|
-
] = Field(default=None)
|
|
714
|
-
price_overrides: Optional[
|
|
715
|
-
List[
|
|
716
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
717
|
-
]
|
|
718
|
-
] = Field(alias="priceOverrides", default=None)
|
|
719
|
-
|
|
720
|
-
|
|
721
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
722
|
-
BaseModel
|
|
723
|
-
):
|
|
724
|
-
feature_id: str = Field(alias="featureId")
|
|
725
|
-
quantity: float
|
|
726
|
-
|
|
727
|
-
|
|
728
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
729
|
-
BaseModel
|
|
730
|
-
):
|
|
731
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
732
|
-
quantity: float
|
|
733
|
-
|
|
734
|
-
|
|
735
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
736
|
-
BaseModel
|
|
737
|
-
):
|
|
738
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
739
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
740
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
741
|
-
|
|
742
|
-
|
|
743
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
744
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
745
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
746
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
747
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
748
|
-
billable_features: Optional[
|
|
749
|
-
List[
|
|
750
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
751
|
-
]
|
|
752
|
-
] = Field(alias="billableFeatures", default=None)
|
|
753
|
-
addons: Optional[
|
|
754
|
-
List[
|
|
755
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
756
|
-
]
|
|
757
|
-
] = Field(default=None)
|
|
758
|
-
price_overrides: Optional[
|
|
759
|
-
List[
|
|
760
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
761
|
-
]
|
|
762
|
-
] = Field(alias="priceOverrides", default=None)
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
766
|
-
BaseModel
|
|
767
|
-
):
|
|
768
|
-
feature_id: str = Field(alias="featureId")
|
|
769
|
-
quantity: float
|
|
770
|
-
|
|
771
|
-
|
|
772
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
773
|
-
BaseModel
|
|
774
|
-
):
|
|
775
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
776
|
-
quantity: float
|
|
777
|
-
|
|
778
|
-
|
|
779
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
780
|
-
BaseModel
|
|
781
|
-
):
|
|
782
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
783
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
784
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
785
|
-
|
|
786
|
-
|
|
787
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
788
|
-
BaseModel
|
|
789
|
-
):
|
|
790
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
791
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
792
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
793
|
-
|
|
794
|
-
|
|
795
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
796
|
-
BaseModel
|
|
797
|
-
):
|
|
798
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
799
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
800
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
801
|
-
|
|
802
|
-
|
|
803
720
|
class SubscriptionFragment(BaseModel):
|
|
804
721
|
id: str
|
|
805
722
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -883,29 +800,112 @@ class SubscriptionFragmentTotalPrice(TotalPriceFragment):
|
|
|
883
800
|
pass
|
|
884
801
|
|
|
885
802
|
|
|
886
|
-
class SubscriptionFragmentPlan(PlanFragment):
|
|
887
|
-
pass
|
|
803
|
+
class SubscriptionFragmentPlan(PlanFragment):
|
|
804
|
+
pass
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
class SubscriptionFragmentAddons(BaseModel):
|
|
808
|
+
id: str
|
|
809
|
+
quantity: float
|
|
810
|
+
addon: "SubscriptionFragmentAddonsAddon"
|
|
811
|
+
|
|
812
|
+
|
|
813
|
+
class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
814
|
+
pass
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
818
|
+
pass
|
|
819
|
+
|
|
820
|
+
|
|
821
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
822
|
+
pass
|
|
823
|
+
|
|
824
|
+
|
|
825
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
826
|
+
pass
|
|
827
|
+
|
|
828
|
+
|
|
829
|
+
class FeatureFragment(BaseModel):
|
|
830
|
+
typename__: str = Field(alias="__typename")
|
|
831
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
832
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
833
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
834
|
+
feature_units_plural: Optional[str] = Field(
|
|
835
|
+
alias="featureUnitsPlural", default=None
|
|
836
|
+
)
|
|
837
|
+
description: Optional[str] = Field(default=None)
|
|
838
|
+
display_name: str = Field(alias="displayName")
|
|
839
|
+
ref_id: str = Field(alias="refId")
|
|
840
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
841
|
+
alias="unitTransformation", default=None
|
|
842
|
+
)
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
846
|
+
divide: float
|
|
847
|
+
round: UnitTransformationRound
|
|
888
848
|
|
|
889
849
|
|
|
890
|
-
class
|
|
891
|
-
|
|
892
|
-
|
|
893
|
-
|
|
850
|
+
class EntitlementFragment(BaseModel):
|
|
851
|
+
typename__: str = Field(alias="__typename")
|
|
852
|
+
is_granted: bool = Field(alias="isGranted")
|
|
853
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
854
|
+
alias="accessDeniedReason", default=None
|
|
855
|
+
)
|
|
856
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
857
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
858
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
859
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
860
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
861
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
862
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
863
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
864
|
+
alias="entitlementUpdatedAt", default=None
|
|
865
|
+
)
|
|
866
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
867
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
868
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
869
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
870
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
871
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
872
|
+
alias="resetPeriod", default=None
|
|
873
|
+
)
|
|
874
|
+
reset_period_configuration: Optional[
|
|
875
|
+
Annotated[
|
|
876
|
+
Union[
|
|
877
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
878
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
879
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
880
|
+
],
|
|
881
|
+
Field(discriminator="typename__"),
|
|
882
|
+
]
|
|
883
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
884
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
894
885
|
|
|
895
886
|
|
|
896
|
-
class
|
|
897
|
-
|
|
887
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
888
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
889
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
890
|
+
alias="monthlyAccordingTo", default=None
|
|
891
|
+
)
|
|
898
892
|
|
|
899
893
|
|
|
900
|
-
class
|
|
901
|
-
|
|
894
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
895
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
897
|
+
alias="weeklyAccordingTo", default=None
|
|
898
|
+
)
|
|
902
899
|
|
|
903
900
|
|
|
904
|
-
class
|
|
905
|
-
|
|
901
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
902
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
903
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
904
|
+
alias="yearlyAccordingTo", default=None
|
|
905
|
+
)
|
|
906
906
|
|
|
907
907
|
|
|
908
|
-
class
|
|
908
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
909
909
|
pass
|
|
910
910
|
|
|
911
911
|
|
|
@@ -986,35 +986,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
986
986
|
)
|
|
987
987
|
|
|
988
988
|
|
|
989
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
990
|
-
status: PromotionalEntitlementStatus
|
|
991
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
992
|
-
feature_id: str = Field(alias="featureId")
|
|
993
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
994
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
995
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
996
|
-
alias="resetPeriod", default=None
|
|
997
|
-
)
|
|
998
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
999
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1000
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1001
|
-
|
|
1002
|
-
|
|
1003
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1004
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1005
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1006
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1007
|
-
feature_units_plural: Optional[str] = Field(
|
|
1008
|
-
alias="featureUnitsPlural", default=None
|
|
1009
|
-
)
|
|
1010
|
-
display_name: str = Field(alias="displayName")
|
|
1011
|
-
description: Optional[str] = Field(default=None)
|
|
1012
|
-
ref_id: str = Field(alias="refId")
|
|
1013
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1014
|
-
alias="additionalMetaData", default=None
|
|
1015
|
-
)
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
989
|
class CouponFragment(BaseModel):
|
|
1019
990
|
id: str
|
|
1020
991
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1049,6 +1020,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1049
1020
|
status: SyncStatus
|
|
1050
1021
|
|
|
1051
1022
|
|
|
1023
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1024
|
+
status: PromotionalEntitlementStatus
|
|
1025
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1026
|
+
feature_id: str = Field(alias="featureId")
|
|
1027
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1028
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1029
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1030
|
+
alias="resetPeriod", default=None
|
|
1031
|
+
)
|
|
1032
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1033
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1034
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1035
|
+
|
|
1036
|
+
|
|
1037
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1038
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1039
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1040
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1041
|
+
feature_units_plural: Optional[str] = Field(
|
|
1042
|
+
alias="featureUnitsPlural", default=None
|
|
1043
|
+
)
|
|
1044
|
+
display_name: str = Field(alias="displayName")
|
|
1045
|
+
description: Optional[str] = Field(default=None)
|
|
1046
|
+
ref_id: str = Field(alias="refId")
|
|
1047
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1048
|
+
alias="additionalMetaData", default=None
|
|
1049
|
+
)
|
|
1050
|
+
|
|
1051
|
+
|
|
1052
1052
|
class CustomerFragment(SlimCustomerFragment):
|
|
1053
1053
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1054
1054
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1249,6 +1249,23 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1249
1249
|
pass
|
|
1250
1250
|
|
|
1251
1251
|
|
|
1252
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1253
|
+
display_name: str = Field(alias="displayName")
|
|
1254
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1255
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1256
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1257
|
+
period: PromotionalEntitlementPeriod
|
|
1258
|
+
start_date: Any = Field(alias="startDate")
|
|
1259
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1263
|
+
addon_id: str = Field(alias="addonId")
|
|
1264
|
+
description: Optional[str] = Field(default=None)
|
|
1265
|
+
display_name: str = Field(alias="displayName")
|
|
1266
|
+
quantity: int
|
|
1267
|
+
|
|
1268
|
+
|
|
1252
1269
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1253
1270
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1254
1271
|
alias="subscriptionScheduleType"
|
|
@@ -1445,13 +1462,6 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1445
1462
|
)
|
|
1446
1463
|
|
|
1447
1464
|
|
|
1448
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1449
|
-
addon_id: str = Field(alias="addonId")
|
|
1450
|
-
description: Optional[str] = Field(default=None)
|
|
1451
|
-
display_name: str = Field(alias="displayName")
|
|
1452
|
-
quantity: int
|
|
1453
|
-
|
|
1454
|
-
|
|
1455
1465
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1456
1466
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1457
1467
|
plan_id: str = Field(alias="planId")
|
|
@@ -1548,16 +1558,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1548
1558
|
pass
|
|
1549
1559
|
|
|
1550
1560
|
|
|
1551
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1552
|
-
display_name: str = Field(alias="displayName")
|
|
1553
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1554
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1555
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1556
|
-
period: PromotionalEntitlementPeriod
|
|
1557
|
-
start_date: Any = Field(alias="startDate")
|
|
1558
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1559
|
-
|
|
1560
|
-
|
|
1561
1561
|
class CustomerPortalFragment(BaseModel):
|
|
1562
1562
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1563
1563
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1785,39 +1785,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1785
1785
|
description: Optional[str] = Field(default=None)
|
|
1786
1786
|
|
|
1787
1787
|
|
|
1788
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1789
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1790
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1791
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1792
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1793
|
-
alias="resetPeriod", default=None
|
|
1794
|
-
)
|
|
1795
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1796
|
-
alias="hiddenFromWidgets", default=None
|
|
1797
|
-
)
|
|
1798
|
-
display_name_override: Optional[str] = Field(
|
|
1799
|
-
alias="displayNameOverride", default=None
|
|
1800
|
-
)
|
|
1801
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1802
|
-
default=None
|
|
1803
|
-
)
|
|
1804
|
-
|
|
1805
|
-
|
|
1806
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1807
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1808
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1809
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1810
|
-
feature_units_plural: Optional[str] = Field(
|
|
1811
|
-
alias="featureUnitsPlural", default=None
|
|
1812
|
-
)
|
|
1813
|
-
display_name: str = Field(alias="displayName")
|
|
1814
|
-
description: Optional[str] = Field(default=None)
|
|
1815
|
-
ref_id: str = Field(alias="refId")
|
|
1816
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1817
|
-
alias="additionalMetaData", default=None
|
|
1818
|
-
)
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
1788
|
class MockPaywallPriceFragment(BaseModel):
|
|
1822
1789
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1823
1790
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1852,6 +1819,39 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1852
1819
|
display_name: str = Field(alias="displayName")
|
|
1853
1820
|
|
|
1854
1821
|
|
|
1822
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1823
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1824
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1825
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1826
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1827
|
+
alias="resetPeriod", default=None
|
|
1828
|
+
)
|
|
1829
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1830
|
+
alias="hiddenFromWidgets", default=None
|
|
1831
|
+
)
|
|
1832
|
+
display_name_override: Optional[str] = Field(
|
|
1833
|
+
alias="displayNameOverride", default=None
|
|
1834
|
+
)
|
|
1835
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1836
|
+
default=None
|
|
1837
|
+
)
|
|
1838
|
+
|
|
1839
|
+
|
|
1840
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1841
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1842
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1843
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1844
|
+
feature_units_plural: Optional[str] = Field(
|
|
1845
|
+
alias="featureUnitsPlural", default=None
|
|
1846
|
+
)
|
|
1847
|
+
display_name: str = Field(alias="displayName")
|
|
1848
|
+
description: Optional[str] = Field(default=None)
|
|
1849
|
+
ref_id: str = Field(alias="refId")
|
|
1850
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1851
|
+
alias="additionalMetaData", default=None
|
|
1852
|
+
)
|
|
1853
|
+
|
|
1854
|
+
|
|
1855
1855
|
class MockPaywallAddonFragment(BaseModel):
|
|
1856
1856
|
ref_id: str = Field(alias="refId")
|
|
1857
1857
|
display_name: str = Field(alias="displayName")
|
|
@@ -2763,39 +2763,39 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
2765
|
PriceTierFragment.model_rebuild()
|
|
2766
|
+
OveragePriceFragment.model_rebuild()
|
|
2766
2767
|
PriceFragment.model_rebuild()
|
|
2767
2768
|
PackageEntitlementFragment.model_rebuild()
|
|
2768
|
-
OveragePriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
|
-
|
|
2771
|
-
|
|
2772
|
-
SlimCustomerFragment.model_rebuild()
|
|
2773
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2770
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2771
|
+
CustomerResourceFragment.model_rebuild()
|
|
2774
2772
|
TotalPriceFragment.model_rebuild()
|
|
2775
2773
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2776
2774
|
ProductFragment.model_rebuild()
|
|
2777
2775
|
PlanFragment.model_rebuild()
|
|
2778
2776
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2779
|
-
|
|
2777
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2778
|
+
SlimCustomerFragment.model_rebuild()
|
|
2780
2779
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2781
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2782
2780
|
SubscriptionFragment.model_rebuild()
|
|
2781
|
+
FeatureFragment.model_rebuild()
|
|
2782
|
+
EntitlementFragment.model_rebuild()
|
|
2783
2783
|
ApplySubscriptionFragment.model_rebuild()
|
|
2784
2784
|
FontVariantFragment.model_rebuild()
|
|
2785
2785
|
TypographyConfigurationFragment.model_rebuild()
|
|
2786
2786
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2787
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2788
2787
|
CouponFragment.model_rebuild()
|
|
2788
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2789
2789
|
CustomerFragment.model_rebuild()
|
|
2790
2790
|
CheckoutStateFragment.model_rebuild()
|
|
2791
2791
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2792
2792
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2794
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2795
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2794
2796
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2795
2797
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2796
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2797
2798
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2798
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2799
2799
|
CustomerPortalFragment.model_rebuild()
|
|
2800
2800
|
CustomerStatisticsFragment.model_rebuild()
|
|
2801
2801
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2805,8 +2805,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2805
2805
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2806
2806
|
LayoutConfigurationFragment.model_rebuild()
|
|
2807
2807
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2808
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2809
2808
|
MockPaywallPriceFragment.model_rebuild()
|
|
2809
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
2810
|
MockPaywallAddonFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=pc9LCxX-JHp05iOwlZI6QCpzXH5kinzBRAvgTHMBXyE,3433
|
|
|
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=SbuJkcxrTCDiop_kx250Dy6_c6O5lv27SQccylnUFKs,100553
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.303.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.303.0.dist-info/METADATA,sha256=jLlXLqOYrT72g6h9GAWa_YOnJsLX7ma5QkUZITADNEI,2258
|
|
165
|
+
stigg_api_client_v2-2.303.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.303.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|