stigg-api-client-v2 2.289.0__py3-none-any.whl → 2.293.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 +374 -374
- stigg/generated/input_types.py +1 -0
- {stigg_api_client_v2-2.289.0.dist-info → stigg_api_client_v2-2.293.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.289.0.dist-info → stigg_api_client_v2-2.293.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.289.0.dist-info → stigg_api_client_v2-2.293.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.289.0.dist-info → stigg_api_client_v2-2.293.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -79,42 +79,6 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
79
79
|
currency: Currency
|
|
80
80
|
|
|
81
81
|
|
|
82
|
-
class PriceFragment(BaseModel):
|
|
83
|
-
billing_model: BillingModel = Field(alias="billingModel")
|
|
84
|
-
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
85
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
86
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
87
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
88
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
89
|
-
billing_country_code: Optional[str] = Field(
|
|
90
|
-
alias="billingCountryCode", default=None
|
|
91
|
-
)
|
|
92
|
-
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
93
|
-
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
94
|
-
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
95
|
-
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
96
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
class PriceFragmentPrice(BaseModel):
|
|
100
|
-
amount: float
|
|
101
|
-
currency: Currency
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
105
|
-
pass
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
class PriceFragmentFeature(BaseModel):
|
|
109
|
-
ref_id: str = Field(alias="refId")
|
|
110
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
111
|
-
feature_units_plural: Optional[str] = Field(
|
|
112
|
-
alias="featureUnitsPlural", default=None
|
|
113
|
-
)
|
|
114
|
-
display_name: str = Field(alias="displayName")
|
|
115
|
-
description: Optional[str] = Field(default=None)
|
|
116
|
-
|
|
117
|
-
|
|
118
82
|
class OveragePriceFragment(BaseModel):
|
|
119
83
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
120
84
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -180,6 +144,42 @@ class PackageEntitlementFragmentFeature(BaseModel):
|
|
|
180
144
|
)
|
|
181
145
|
|
|
182
146
|
|
|
147
|
+
class PriceFragment(BaseModel):
|
|
148
|
+
billing_model: BillingModel = Field(alias="billingModel")
|
|
149
|
+
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
150
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
151
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
152
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
153
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
154
|
+
billing_country_code: Optional[str] = Field(
|
|
155
|
+
alias="billingCountryCode", default=None
|
|
156
|
+
)
|
|
157
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
158
|
+
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
159
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
160
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
161
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
class PriceFragmentPrice(BaseModel):
|
|
165
|
+
amount: float
|
|
166
|
+
currency: Currency
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
170
|
+
pass
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
class PriceFragmentFeature(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,268 +215,6 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class FeatureFragment(BaseModel):
|
|
219
|
-
typename__: str = Field(alias="__typename")
|
|
220
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
221
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
222
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
223
|
-
feature_units_plural: Optional[str] = Field(
|
|
224
|
-
alias="featureUnitsPlural", default=None
|
|
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
|
|
254
|
-
)
|
|
255
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
256
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
257
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
258
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
259
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
260
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
261
|
-
alias="resetPeriod", default=None
|
|
262
|
-
)
|
|
263
|
-
reset_period_configuration: Optional[
|
|
264
|
-
Annotated[
|
|
265
|
-
Union[
|
|
266
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
267
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
268
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
269
|
-
],
|
|
270
|
-
Field(discriminator="typename__"),
|
|
271
|
-
]
|
|
272
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
273
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
277
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
278
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
279
|
-
alias="monthlyAccordingTo", default=None
|
|
280
|
-
)
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
284
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
285
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
286
|
-
alias="weeklyAccordingTo", default=None
|
|
287
|
-
)
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
291
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
292
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
293
|
-
alias="yearlyAccordingTo", default=None
|
|
294
|
-
)
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
298
|
-
pass
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
302
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
303
|
-
alias="subscriptionScheduleType"
|
|
304
|
-
)
|
|
305
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
306
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
307
|
-
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
308
|
-
alias="targetPackage", default=None
|
|
309
|
-
)
|
|
310
|
-
schedule_variables: Optional[
|
|
311
|
-
Annotated[
|
|
312
|
-
Union[
|
|
313
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
314
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
315
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
316
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
317
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
318
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
319
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
320
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
321
|
-
],
|
|
322
|
-
Field(discriminator="typename__"),
|
|
323
|
-
]
|
|
324
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
328
|
-
id: str
|
|
329
|
-
ref_id: str = Field(alias="refId")
|
|
330
|
-
display_name: str = Field(alias="displayName")
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
334
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
335
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
336
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
340
|
-
BaseModel
|
|
341
|
-
):
|
|
342
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
343
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
344
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
348
|
-
BaseModel
|
|
349
|
-
):
|
|
350
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
351
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
355
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
359
|
-
BaseModel
|
|
360
|
-
):
|
|
361
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
362
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
363
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
364
|
-
billable_features: Optional[
|
|
365
|
-
List[
|
|
366
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
367
|
-
]
|
|
368
|
-
] = Field(alias="billableFeatures", default=None)
|
|
369
|
-
addons: Optional[
|
|
370
|
-
List[
|
|
371
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
372
|
-
]
|
|
373
|
-
] = Field(default=None)
|
|
374
|
-
price_overrides: Optional[
|
|
375
|
-
List[
|
|
376
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
377
|
-
]
|
|
378
|
-
] = Field(alias="priceOverrides", default=None)
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
382
|
-
BaseModel
|
|
383
|
-
):
|
|
384
|
-
feature_id: str = Field(alias="featureId")
|
|
385
|
-
quantity: float
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
389
|
-
BaseModel
|
|
390
|
-
):
|
|
391
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
392
|
-
quantity: float
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
396
|
-
BaseModel
|
|
397
|
-
):
|
|
398
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
399
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
400
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
401
|
-
|
|
402
|
-
|
|
403
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
404
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
405
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
406
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
407
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
408
|
-
billable_features: Optional[
|
|
409
|
-
List[
|
|
410
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
411
|
-
]
|
|
412
|
-
] = Field(alias="billableFeatures", default=None)
|
|
413
|
-
addons: Optional[
|
|
414
|
-
List[
|
|
415
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
416
|
-
]
|
|
417
|
-
] = Field(default=None)
|
|
418
|
-
price_overrides: Optional[
|
|
419
|
-
List[
|
|
420
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
421
|
-
]
|
|
422
|
-
] = Field(alias="priceOverrides", default=None)
|
|
423
|
-
|
|
424
|
-
|
|
425
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
426
|
-
BaseModel
|
|
427
|
-
):
|
|
428
|
-
feature_id: str = Field(alias="featureId")
|
|
429
|
-
quantity: float
|
|
430
|
-
|
|
431
|
-
|
|
432
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
433
|
-
BaseModel
|
|
434
|
-
):
|
|
435
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
436
|
-
quantity: float
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
440
|
-
BaseModel
|
|
441
|
-
):
|
|
442
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
443
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
444
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
448
|
-
BaseModel
|
|
449
|
-
):
|
|
450
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
451
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
452
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
456
|
-
BaseModel
|
|
457
|
-
):
|
|
458
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
459
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
460
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
class SlimCustomerFragment(BaseModel):
|
|
464
|
-
id: str
|
|
465
|
-
name: Optional[str] = Field(default=None)
|
|
466
|
-
email: Optional[str] = Field(default=None)
|
|
467
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
468
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
469
|
-
ref_id: str = Field(alias="refId")
|
|
470
|
-
customer_id: str = Field(alias="customerId")
|
|
471
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
472
|
-
additional_meta_data: Optional[Any] = Field(
|
|
473
|
-
alias="additionalMetaData", default=None
|
|
474
|
-
)
|
|
475
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
476
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
477
|
-
)
|
|
478
|
-
|
|
479
|
-
|
|
480
218
|
class SubscriptionFutureUpdateData(BaseModel):
|
|
481
219
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
482
220
|
alias="subscriptionScheduleType"
|
|
@@ -631,14 +369,54 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
|
|
|
631
369
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
632
370
|
|
|
633
371
|
|
|
634
|
-
class
|
|
635
|
-
|
|
372
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
373
|
+
billing_id: str = Field(alias="billingId")
|
|
374
|
+
status: SubscriptionInvoiceStatus
|
|
375
|
+
created_at: Any = Field(alias="createdAt")
|
|
376
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
377
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
378
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
379
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
380
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
381
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
382
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
383
|
+
alias="billingReason", default=None
|
|
384
|
+
)
|
|
385
|
+
currency: Optional[str] = Field(default=None)
|
|
386
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
387
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
388
|
+
alias="subTotalExcludingTax", default=None
|
|
389
|
+
)
|
|
390
|
+
total: Optional[float] = Field(default=None)
|
|
391
|
+
total_excluding_tax: Optional[float] = Field(
|
|
392
|
+
alias="totalExcludingTax", default=None
|
|
393
|
+
)
|
|
394
|
+
tax: Optional[float] = Field(default=None)
|
|
395
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
636
396
|
|
|
637
397
|
|
|
638
398
|
class CustomerResourceFragment(BaseModel):
|
|
639
399
|
resource_id: str = Field(alias="resourceId")
|
|
640
400
|
|
|
641
401
|
|
|
402
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
403
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
404
|
+
display_name: str = Field(alias="displayName")
|
|
405
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
406
|
+
default=None
|
|
407
|
+
)
|
|
408
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
409
|
+
|
|
410
|
+
|
|
411
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
412
|
+
pass
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
416
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
417
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
418
|
+
|
|
419
|
+
|
|
642
420
|
class ProductFragment(BaseModel):
|
|
643
421
|
ref_id: str = Field(alias="refId")
|
|
644
422
|
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
@@ -660,24 +438,6 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
660
438
|
display_name: str = Field(alias="displayName")
|
|
661
439
|
|
|
662
440
|
|
|
663
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
664
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
665
|
-
display_name: str = Field(alias="displayName")
|
|
666
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
667
|
-
default=None
|
|
668
|
-
)
|
|
669
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
673
|
-
pass
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
677
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
678
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
679
|
-
|
|
680
|
-
|
|
681
441
|
class PlanFragment(BaseModel):
|
|
682
442
|
id: str
|
|
683
443
|
ref_id: str = Field(alias="refId")
|
|
@@ -717,72 +477,208 @@ class PlanFragmentProduct(ProductFragment):
|
|
|
717
477
|
pass
|
|
718
478
|
|
|
719
479
|
|
|
720
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
721
|
-
ref_id: str = Field(alias="refId")
|
|
722
|
-
display_name: str = Field(alias="displayName")
|
|
480
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
481
|
+
ref_id: str = Field(alias="refId")
|
|
482
|
+
display_name: str = Field(alias="displayName")
|
|
483
|
+
|
|
484
|
+
|
|
485
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
486
|
+
pass
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
490
|
+
pass
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
494
|
+
pass
|
|
495
|
+
|
|
496
|
+
|
|
497
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
498
|
+
pass
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
class PlanFragmentPrices(PriceFragment):
|
|
502
|
+
pass
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
506
|
+
pass
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
510
|
+
duration: float
|
|
511
|
+
units: TrialPeriodUnits
|
|
512
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
513
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
514
|
+
alias="trialEndBehavior", default=None
|
|
515
|
+
)
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
519
|
+
limit: float
|
|
520
|
+
|
|
521
|
+
|
|
522
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
523
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
524
|
+
alias="subscriptionScheduleType"
|
|
525
|
+
)
|
|
526
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
527
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
528
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
529
|
+
alias="targetPackage", default=None
|
|
530
|
+
)
|
|
531
|
+
schedule_variables: Optional[
|
|
532
|
+
Annotated[
|
|
533
|
+
Union[
|
|
534
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
535
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
536
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
537
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
538
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
539
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
540
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
541
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
542
|
+
],
|
|
543
|
+
Field(discriminator="typename__"),
|
|
544
|
+
]
|
|
545
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
549
|
+
id: str
|
|
550
|
+
ref_id: str = Field(alias="refId")
|
|
551
|
+
display_name: str = Field(alias="displayName")
|
|
552
|
+
|
|
553
|
+
|
|
554
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
555
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
556
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
557
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
561
|
+
BaseModel
|
|
562
|
+
):
|
|
563
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
564
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
565
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
566
|
+
|
|
567
|
+
|
|
568
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
569
|
+
BaseModel
|
|
570
|
+
):
|
|
571
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
572
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
573
|
+
|
|
574
|
+
|
|
575
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
576
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
577
|
+
|
|
723
578
|
|
|
579
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
580
|
+
BaseModel
|
|
581
|
+
):
|
|
582
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
583
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
584
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
585
|
+
billable_features: Optional[
|
|
586
|
+
List[
|
|
587
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
588
|
+
]
|
|
589
|
+
] = Field(alias="billableFeatures", default=None)
|
|
590
|
+
addons: Optional[
|
|
591
|
+
List[
|
|
592
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
593
|
+
]
|
|
594
|
+
] = Field(default=None)
|
|
595
|
+
price_overrides: Optional[
|
|
596
|
+
List[
|
|
597
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
598
|
+
]
|
|
599
|
+
] = Field(alias="priceOverrides", default=None)
|
|
724
600
|
|
|
725
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
726
|
-
pass
|
|
727
601
|
|
|
602
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
603
|
+
BaseModel
|
|
604
|
+
):
|
|
605
|
+
feature_id: str = Field(alias="featureId")
|
|
606
|
+
quantity: float
|
|
728
607
|
|
|
729
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
730
|
-
pass
|
|
731
608
|
|
|
609
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
610
|
+
BaseModel
|
|
611
|
+
):
|
|
612
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
613
|
+
quantity: float
|
|
732
614
|
|
|
733
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
734
|
-
pass
|
|
735
615
|
|
|
616
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
617
|
+
BaseModel
|
|
618
|
+
):
|
|
619
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
620
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
621
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
736
622
|
|
|
737
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
738
|
-
pass
|
|
739
623
|
|
|
624
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
625
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
626
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
627
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
628
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
629
|
+
billable_features: Optional[
|
|
630
|
+
List[
|
|
631
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
632
|
+
]
|
|
633
|
+
] = Field(alias="billableFeatures", default=None)
|
|
634
|
+
addons: Optional[
|
|
635
|
+
List[
|
|
636
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
637
|
+
]
|
|
638
|
+
] = Field(default=None)
|
|
639
|
+
price_overrides: Optional[
|
|
640
|
+
List[
|
|
641
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
642
|
+
]
|
|
643
|
+
] = Field(alias="priceOverrides", default=None)
|
|
740
644
|
|
|
741
|
-
class PlanFragmentPrices(PriceFragment):
|
|
742
|
-
pass
|
|
743
645
|
|
|
646
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
647
|
+
BaseModel
|
|
648
|
+
):
|
|
649
|
+
feature_id: str = Field(alias="featureId")
|
|
650
|
+
quantity: float
|
|
744
651
|
|
|
745
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
746
|
-
pass
|
|
747
652
|
|
|
653
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
654
|
+
BaseModel
|
|
655
|
+
):
|
|
656
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
657
|
+
quantity: float
|
|
748
658
|
|
|
749
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
750
|
-
duration: float
|
|
751
|
-
units: TrialPeriodUnits
|
|
752
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
753
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
754
|
-
alias="trialEndBehavior", default=None
|
|
755
|
-
)
|
|
756
659
|
|
|
660
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
661
|
+
BaseModel
|
|
662
|
+
):
|
|
663
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
664
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
665
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
757
666
|
|
|
758
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
759
|
-
limit: float
|
|
760
667
|
|
|
668
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
669
|
+
BaseModel
|
|
670
|
+
):
|
|
671
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
672
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
673
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
761
674
|
|
|
762
|
-
|
|
763
|
-
|
|
764
|
-
|
|
765
|
-
|
|
766
|
-
|
|
767
|
-
|
|
768
|
-
|
|
769
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
770
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
771
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
772
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
773
|
-
alias="billingReason", default=None
|
|
774
|
-
)
|
|
775
|
-
currency: Optional[str] = Field(default=None)
|
|
776
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
777
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
778
|
-
alias="subTotalExcludingTax", default=None
|
|
779
|
-
)
|
|
780
|
-
total: Optional[float] = Field(default=None)
|
|
781
|
-
total_excluding_tax: Optional[float] = Field(
|
|
782
|
-
alias="totalExcludingTax", default=None
|
|
783
|
-
)
|
|
784
|
-
tax: Optional[float] = Field(default=None)
|
|
785
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
675
|
+
|
|
676
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
677
|
+
BaseModel
|
|
678
|
+
):
|
|
679
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
680
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
681
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
786
682
|
|
|
787
683
|
|
|
788
684
|
class TotalPriceFragment(BaseModel):
|
|
@@ -800,6 +696,27 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
800
696
|
currency: Currency
|
|
801
697
|
|
|
802
698
|
|
|
699
|
+
class SlimCustomerFragment(BaseModel):
|
|
700
|
+
id: str
|
|
701
|
+
name: Optional[str] = Field(default=None)
|
|
702
|
+
email: Optional[str] = Field(default=None)
|
|
703
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
704
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
705
|
+
ref_id: str = Field(alias="refId")
|
|
706
|
+
customer_id: str = Field(alias="customerId")
|
|
707
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
708
|
+
additional_meta_data: Optional[Any] = Field(
|
|
709
|
+
alias="additionalMetaData", default=None
|
|
710
|
+
)
|
|
711
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
712
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
713
|
+
)
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
717
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
718
|
+
|
|
719
|
+
|
|
803
720
|
class SubscriptionFragment(BaseModel):
|
|
804
721
|
id: str
|
|
805
722
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -909,6 +826,89 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
909
826
|
pass
|
|
910
827
|
|
|
911
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
|
|
848
|
+
|
|
849
|
+
|
|
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)
|
|
885
|
+
|
|
886
|
+
|
|
887
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
888
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
889
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
890
|
+
alias="monthlyAccordingTo", default=None
|
|
891
|
+
)
|
|
892
|
+
|
|
893
|
+
|
|
894
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
895
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
896
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
897
|
+
alias="weeklyAccordingTo", default=None
|
|
898
|
+
)
|
|
899
|
+
|
|
900
|
+
|
|
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
|
+
|
|
907
|
+
|
|
908
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
909
|
+
pass
|
|
910
|
+
|
|
911
|
+
|
|
912
912
|
class ApplySubscriptionFragment(BaseModel):
|
|
913
913
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
914
914
|
default=None
|
|
@@ -2763,23 +2763,23 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2763
2763
|
|
|
2764
2764
|
AddonDependencyFragment.model_rebuild()
|
|
2765
2765
|
PriceTierFragment.model_rebuild()
|
|
2766
|
-
PriceFragment.model_rebuild()
|
|
2767
2766
|
OveragePriceFragment.model_rebuild()
|
|
2768
2767
|
PackageEntitlementFragment.model_rebuild()
|
|
2768
|
+
PriceFragment.model_rebuild()
|
|
2769
2769
|
AddonFragment.model_rebuild()
|
|
2770
|
-
FeatureFragment.model_rebuild()
|
|
2771
|
-
EntitlementFragment.model_rebuild()
|
|
2772
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2773
|
-
SlimCustomerFragment.model_rebuild()
|
|
2774
2770
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2775
|
-
|
|
2771
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2776
2772
|
CustomerResourceFragment.model_rebuild()
|
|
2777
|
-
ProductFragment.model_rebuild()
|
|
2778
2773
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2774
|
+
ProductFragment.model_rebuild()
|
|
2779
2775
|
PlanFragment.model_rebuild()
|
|
2780
|
-
|
|
2776
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2781
2777
|
TotalPriceFragment.model_rebuild()
|
|
2778
|
+
SlimCustomerFragment.model_rebuild()
|
|
2779
|
+
SubscriptionTrialConfigurationFragment.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()
|
stigg/generated/input_types.py
CHANGED
|
@@ -2007,6 +2007,7 @@ class ImportSubscriptionInput(BaseModel):
|
|
|
2007
2007
|
subscription_entitlements: Optional[List["SubscriptionEntitlementInput"]] = Field(
|
|
2008
2008
|
alias="subscriptionEntitlements", default=None
|
|
2009
2009
|
)
|
|
2010
|
+
subscription_id: Optional[str] = Field(alias="subscriptionId", default=None)
|
|
2010
2011
|
unit_quantity: Optional[float] = Field(alias="unitQuantity", default=None)
|
|
2011
2012
|
updated_at: Optional[Any] = Field(alias="updatedAt", default=None)
|
|
2012
2013
|
|
|
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=sAWkIRKUluDgemnIRIPpRnCf49mbnaTUKOc_OxDO3NY,3415
|
|
|
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=IoAqfFZtZ-KAzs7WhCRvDbBYP0b3jgdUC-GQ_C8nmy8,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
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=uAW8Sdg4EANvtUVy-9u6wnW7L0gsvHcPV-cbuIWPn44,189431
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -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.293.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.293.0.dist-info/METADATA,sha256=IrSwwj3yIxsYKFYcozoJgi_K3I7xJNRwrX9qh3MJn9Q,2258
|
|
165
|
+
stigg_api_client_v2-2.293.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.293.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|