stigg-api-client-v2 3.111.0__py3-none-any.whl → 3.113.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 +406 -406
- stigg/generated/input_types.py +3 -0
- {stigg_api_client_v2-3.111.0.dist-info → stigg_api_client_v2-3.113.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.111.0.dist-info → stigg_api_client_v2-3.113.0.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-3.111.0.dist-info → stigg_api_client_v2-3.113.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.111.0.dist-info → stigg_api_client_v2-3.113.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -62,6 +62,41 @@ class AddonDependencyFragment(BaseModel):
|
|
|
62
62
|
description: Optional[str] = Field(default=None)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
class PackageEntitlementFragment(BaseModel):
|
|
66
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
67
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
68
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
69
|
+
feature_id: str = Field(alias="featureId")
|
|
70
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
71
|
+
alias="resetPeriod", default=None
|
|
72
|
+
)
|
|
73
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
74
|
+
alias="hiddenFromWidgets", default=None
|
|
75
|
+
)
|
|
76
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
77
|
+
display_name_override: Optional[str] = Field(
|
|
78
|
+
alias="displayNameOverride", default=None
|
|
79
|
+
)
|
|
80
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
81
|
+
is_granted: bool = Field(alias="isGranted")
|
|
82
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
86
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
87
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
88
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
89
|
+
feature_units_plural: Optional[str] = Field(
|
|
90
|
+
alias="featureUnitsPlural", default=None
|
|
91
|
+
)
|
|
92
|
+
display_name: str = Field(alias="displayName")
|
|
93
|
+
description: Optional[str] = Field(default=None)
|
|
94
|
+
ref_id: str = Field(alias="refId")
|
|
95
|
+
additional_meta_data: Optional[Any] = Field(
|
|
96
|
+
alias="additionalMetaData", default=None
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
|
|
65
100
|
class PriceTierFragment(BaseModel):
|
|
66
101
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
67
102
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -114,41 +149,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
114
149
|
description: Optional[str] = Field(default=None)
|
|
115
150
|
|
|
116
151
|
|
|
117
|
-
class PackageEntitlementFragment(BaseModel):
|
|
118
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
119
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
120
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
121
|
-
feature_id: str = Field(alias="featureId")
|
|
122
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
123
|
-
alias="resetPeriod", default=None
|
|
124
|
-
)
|
|
125
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
126
|
-
alias="hiddenFromWidgets", default=None
|
|
127
|
-
)
|
|
128
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
129
|
-
display_name_override: Optional[str] = Field(
|
|
130
|
-
alias="displayNameOverride", default=None
|
|
131
|
-
)
|
|
132
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
133
|
-
is_granted: bool = Field(alias="isGranted")
|
|
134
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
138
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
139
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
140
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
141
|
-
feature_units_plural: Optional[str] = Field(
|
|
142
|
-
alias="featureUnitsPlural", default=None
|
|
143
|
-
)
|
|
144
|
-
display_name: str = Field(alias="displayName")
|
|
145
|
-
description: Optional[str] = Field(default=None)
|
|
146
|
-
ref_id: str = Field(alias="refId")
|
|
147
|
-
additional_meta_data: Optional[Any] = Field(
|
|
148
|
-
alias="additionalMetaData", default=None
|
|
149
|
-
)
|
|
150
|
-
|
|
151
|
-
|
|
152
152
|
class PriceFragment(BaseModel):
|
|
153
153
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
154
154
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -232,6 +232,128 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
232
232
|
pass
|
|
233
233
|
|
|
234
234
|
|
|
235
|
+
class FeatureFragment(BaseModel):
|
|
236
|
+
typename__: str = Field(alias="__typename")
|
|
237
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
238
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
239
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
240
|
+
feature_units_plural: Optional[str] = Field(
|
|
241
|
+
alias="featureUnitsPlural", default=None
|
|
242
|
+
)
|
|
243
|
+
description: Optional[str] = Field(default=None)
|
|
244
|
+
display_name: str = Field(alias="displayName")
|
|
245
|
+
ref_id: str = Field(alias="refId")
|
|
246
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
247
|
+
alias="unitTransformation", default=None
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
252
|
+
divide: float
|
|
253
|
+
round: UnitTransformationRound
|
|
254
|
+
|
|
255
|
+
|
|
256
|
+
class EntitlementFragment(BaseModel):
|
|
257
|
+
typename__: str = Field(alias="__typename")
|
|
258
|
+
is_granted: bool = Field(alias="isGranted")
|
|
259
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
260
|
+
alias="accessDeniedReason", default=None
|
|
261
|
+
)
|
|
262
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
263
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
264
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
265
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
266
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
267
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
268
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
269
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
270
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
271
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
272
|
+
alias="entitlementUpdatedAt", default=None
|
|
273
|
+
)
|
|
274
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
275
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
276
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
277
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
278
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
279
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
280
|
+
alias="resetPeriod", default=None
|
|
281
|
+
)
|
|
282
|
+
reset_period_configuration: Optional[
|
|
283
|
+
Annotated[
|
|
284
|
+
Union[
|
|
285
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
286
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
287
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
288
|
+
],
|
|
289
|
+
Field(discriminator="typename__"),
|
|
290
|
+
]
|
|
291
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
292
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
293
|
+
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
294
|
+
alias="creditRate", default=None
|
|
295
|
+
)
|
|
296
|
+
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
300
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
301
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
302
|
+
alias="monthlyAccordingTo", default=None
|
|
303
|
+
)
|
|
304
|
+
|
|
305
|
+
|
|
306
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
307
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
308
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
309
|
+
alias="weeklyAccordingTo", default=None
|
|
310
|
+
)
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
314
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
315
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
316
|
+
alias="yearlyAccordingTo", default=None
|
|
317
|
+
)
|
|
318
|
+
|
|
319
|
+
|
|
320
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
321
|
+
pass
|
|
322
|
+
|
|
323
|
+
|
|
324
|
+
class EntitlementFragmentCreditRate(BaseModel):
|
|
325
|
+
amount: float
|
|
326
|
+
currency_id: str = Field(alias="currencyId")
|
|
327
|
+
|
|
328
|
+
|
|
329
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
330
|
+
billing_id: str = Field(alias="billingId")
|
|
331
|
+
status: SubscriptionInvoiceStatus
|
|
332
|
+
created_at: Any = Field(alias="createdAt")
|
|
333
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
334
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
335
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
336
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
337
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
338
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
339
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
340
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
341
|
+
alias="billingReason", default=None
|
|
342
|
+
)
|
|
343
|
+
currency: Optional[str] = Field(default=None)
|
|
344
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
345
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
346
|
+
alias="subTotalExcludingTax", default=None
|
|
347
|
+
)
|
|
348
|
+
total: Optional[float] = Field(default=None)
|
|
349
|
+
total_excluding_tax: Optional[float] = Field(
|
|
350
|
+
alias="totalExcludingTax", default=None
|
|
351
|
+
)
|
|
352
|
+
tax: Optional[float] = Field(default=None)
|
|
353
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
354
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
355
|
+
|
|
356
|
+
|
|
235
357
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
236
358
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
237
359
|
alias="subscriptionScheduleType"
|
|
@@ -394,57 +516,158 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
394
516
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
395
517
|
|
|
396
518
|
|
|
397
|
-
class
|
|
398
|
-
|
|
399
|
-
|
|
400
|
-
created_at: Any = Field(alias="createdAt")
|
|
401
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
402
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
403
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
404
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
405
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
406
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
407
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
408
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
409
|
-
alias="billingReason", default=None
|
|
410
|
-
)
|
|
411
|
-
currency: Optional[str] = Field(default=None)
|
|
412
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
413
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
414
|
-
alias="subTotalExcludingTax", default=None
|
|
519
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
520
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
521
|
+
alias="subscriptionScheduleType"
|
|
415
522
|
)
|
|
416
|
-
|
|
417
|
-
|
|
418
|
-
|
|
523
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
524
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
525
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
526
|
+
alias="targetPackage", default=None
|
|
419
527
|
)
|
|
420
|
-
|
|
421
|
-
|
|
422
|
-
|
|
528
|
+
schedule_variables: Optional[
|
|
529
|
+
Annotated[
|
|
530
|
+
Union[
|
|
531
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
532
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
533
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
534
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
535
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
536
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
537
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
538
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
539
|
+
],
|
|
540
|
+
Field(discriminator="typename__"),
|
|
541
|
+
]
|
|
542
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
423
543
|
|
|
424
544
|
|
|
425
|
-
class
|
|
426
|
-
|
|
545
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
546
|
+
id: Any
|
|
547
|
+
ref_id: str = Field(alias="refId")
|
|
548
|
+
display_name: str = Field(alias="displayName")
|
|
427
549
|
|
|
428
550
|
|
|
429
|
-
class
|
|
430
|
-
|
|
551
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
552
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
553
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
554
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
431
555
|
|
|
432
556
|
|
|
433
|
-
class
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
|
-
|
|
438
|
-
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
557
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
558
|
+
BaseModel
|
|
559
|
+
):
|
|
560
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
561
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
562
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
563
|
+
|
|
564
|
+
|
|
565
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
566
|
+
BaseModel
|
|
567
|
+
):
|
|
568
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
569
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
570
|
+
|
|
571
|
+
|
|
572
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
573
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
574
|
+
|
|
575
|
+
|
|
576
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
577
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
578
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
579
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
580
|
+
billable_features: Optional[
|
|
581
|
+
List[
|
|
582
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
583
|
+
]
|
|
584
|
+
] = Field(alias="billableFeatures", default=None)
|
|
585
|
+
addons: Optional[
|
|
586
|
+
List[
|
|
587
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
588
|
+
]
|
|
589
|
+
] = Field(default=None)
|
|
590
|
+
price_overrides: Optional[
|
|
591
|
+
List[
|
|
592
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
593
|
+
]
|
|
594
|
+
] = Field(alias="priceOverrides", default=None)
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
598
|
+
BaseModel
|
|
599
|
+
):
|
|
600
|
+
feature_id: str = Field(alias="featureId")
|
|
601
|
+
quantity: float
|
|
602
|
+
|
|
603
|
+
|
|
604
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
605
|
+
BaseModel
|
|
606
|
+
):
|
|
607
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
608
|
+
quantity: float
|
|
609
|
+
|
|
610
|
+
|
|
611
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
612
|
+
BaseModel
|
|
613
|
+
):
|
|
614
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
615
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
616
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
617
|
+
|
|
618
|
+
|
|
619
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
620
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
621
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
622
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
623
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
624
|
+
billable_features: Optional[
|
|
625
|
+
List[
|
|
626
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
627
|
+
]
|
|
628
|
+
] = Field(alias="billableFeatures", default=None)
|
|
629
|
+
addons: Optional[
|
|
630
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
631
|
+
] = Field(default=None)
|
|
632
|
+
price_overrides: Optional[
|
|
633
|
+
List[
|
|
634
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
635
|
+
]
|
|
636
|
+
] = Field(alias="priceOverrides", default=None)
|
|
637
|
+
|
|
638
|
+
|
|
639
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
640
|
+
BaseModel
|
|
641
|
+
):
|
|
642
|
+
feature_id: str = Field(alias="featureId")
|
|
643
|
+
quantity: float
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
647
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
648
|
+
quantity: float
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
652
|
+
BaseModel
|
|
653
|
+
):
|
|
654
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
655
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
656
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
657
|
+
|
|
658
|
+
|
|
659
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
660
|
+
BaseModel
|
|
661
|
+
):
|
|
662
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
663
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
664
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
668
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
669
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
670
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
448
671
|
|
|
449
672
|
|
|
450
673
|
class TotalPriceFragment(BaseModel):
|
|
@@ -462,22 +685,8 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
462
685
|
currency: Currency
|
|
463
686
|
|
|
464
687
|
|
|
465
|
-
class
|
|
466
|
-
|
|
467
|
-
display_name: str = Field(alias="displayName")
|
|
468
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
469
|
-
default=None
|
|
470
|
-
)
|
|
471
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
472
|
-
|
|
473
|
-
|
|
474
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
475
|
-
pass
|
|
476
|
-
|
|
477
|
-
|
|
478
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
479
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
480
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
688
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
689
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
481
690
|
|
|
482
691
|
|
|
483
692
|
class ProductFragment(BaseModel):
|
|
@@ -501,6 +710,24 @@ class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
|
501
710
|
display_name: str = Field(alias="displayName")
|
|
502
711
|
|
|
503
712
|
|
|
713
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
714
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
715
|
+
display_name: str = Field(alias="displayName")
|
|
716
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
717
|
+
default=None
|
|
718
|
+
)
|
|
719
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
723
|
+
pass
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
727
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
728
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
729
|
+
|
|
730
|
+
|
|
504
731
|
class PlanFragment(BaseModel):
|
|
505
732
|
id: Any
|
|
506
733
|
ref_id: str = Field(alias="refId")
|
|
@@ -571,169 +798,36 @@ class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
|
571
798
|
|
|
572
799
|
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
573
800
|
duration: float
|
|
574
|
-
units: TrialPeriodUnits
|
|
575
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
576
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
577
|
-
alias="trialEndBehavior", default=None
|
|
578
|
-
)
|
|
579
|
-
|
|
580
|
-
|
|
581
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
582
|
-
limit: float
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
586
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
587
|
-
alias="subscriptionScheduleType"
|
|
588
|
-
)
|
|
589
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
590
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
591
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
592
|
-
alias="targetPackage", default=None
|
|
593
|
-
)
|
|
594
|
-
schedule_variables: Optional[
|
|
595
|
-
Annotated[
|
|
596
|
-
Union[
|
|
597
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
598
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
599
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
600
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
601
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
602
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
603
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
604
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
605
|
-
],
|
|
606
|
-
Field(discriminator="typename__"),
|
|
607
|
-
]
|
|
608
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
612
|
-
id: Any
|
|
613
|
-
ref_id: str = Field(alias="refId")
|
|
614
|
-
display_name: str = Field(alias="displayName")
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
618
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
619
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
620
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
624
|
-
BaseModel
|
|
625
|
-
):
|
|
626
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
627
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
628
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
632
|
-
BaseModel
|
|
633
|
-
):
|
|
634
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
635
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
639
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
643
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
644
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
645
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
646
|
-
billable_features: Optional[
|
|
647
|
-
List[
|
|
648
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
649
|
-
]
|
|
650
|
-
] = Field(alias="billableFeatures", default=None)
|
|
651
|
-
addons: Optional[
|
|
652
|
-
List[
|
|
653
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
654
|
-
]
|
|
655
|
-
] = Field(default=None)
|
|
656
|
-
price_overrides: Optional[
|
|
657
|
-
List[
|
|
658
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
659
|
-
]
|
|
660
|
-
] = Field(alias="priceOverrides", default=None)
|
|
661
|
-
|
|
662
|
-
|
|
663
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
664
|
-
BaseModel
|
|
665
|
-
):
|
|
666
|
-
feature_id: str = Field(alias="featureId")
|
|
667
|
-
quantity: float
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
671
|
-
BaseModel
|
|
672
|
-
):
|
|
673
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
674
|
-
quantity: float
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
678
|
-
BaseModel
|
|
679
|
-
):
|
|
680
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
681
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
682
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
683
|
-
|
|
684
|
-
|
|
685
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
686
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
687
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
688
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
689
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
690
|
-
billable_features: Optional[
|
|
691
|
-
List[
|
|
692
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
693
|
-
]
|
|
694
|
-
] = Field(alias="billableFeatures", default=None)
|
|
695
|
-
addons: Optional[
|
|
696
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
697
|
-
] = Field(default=None)
|
|
698
|
-
price_overrides: Optional[
|
|
699
|
-
List[
|
|
700
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
701
|
-
]
|
|
702
|
-
] = Field(alias="priceOverrides", default=None)
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
706
|
-
BaseModel
|
|
707
|
-
):
|
|
708
|
-
feature_id: str = Field(alias="featureId")
|
|
709
|
-
quantity: float
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
713
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
714
|
-
quantity: float
|
|
801
|
+
units: TrialPeriodUnits
|
|
802
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
803
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
804
|
+
alias="trialEndBehavior", default=None
|
|
805
|
+
)
|
|
715
806
|
|
|
716
807
|
|
|
717
|
-
class
|
|
718
|
-
|
|
719
|
-
):
|
|
720
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
721
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
722
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
808
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
809
|
+
limit: float
|
|
723
810
|
|
|
724
811
|
|
|
725
|
-
class
|
|
726
|
-
|
|
727
|
-
)
|
|
728
|
-
|
|
729
|
-
|
|
730
|
-
|
|
812
|
+
class SlimCustomerFragment(BaseModel):
|
|
813
|
+
id: Any
|
|
814
|
+
name: Optional[str] = Field(default=None)
|
|
815
|
+
email: Optional[str] = Field(default=None)
|
|
816
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
817
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
818
|
+
ref_id: str = Field(alias="refId")
|
|
819
|
+
customer_id: str = Field(alias="customerId")
|
|
820
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
821
|
+
additional_meta_data: Optional[Any] = Field(
|
|
822
|
+
alias="additionalMetaData", default=None
|
|
823
|
+
)
|
|
824
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
825
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
826
|
+
)
|
|
731
827
|
|
|
732
828
|
|
|
733
|
-
class
|
|
734
|
-
|
|
735
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
736
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
829
|
+
class CustomerResourceFragment(BaseModel):
|
|
830
|
+
resource_id: str = Field(alias="resourceId")
|
|
737
831
|
|
|
738
832
|
|
|
739
833
|
class SubscriptionFragment(BaseModel):
|
|
@@ -845,100 +939,6 @@ class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragm
|
|
|
845
939
|
pass
|
|
846
940
|
|
|
847
941
|
|
|
848
|
-
class FeatureFragment(BaseModel):
|
|
849
|
-
typename__: str = Field(alias="__typename")
|
|
850
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
851
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
852
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
853
|
-
feature_units_plural: Optional[str] = Field(
|
|
854
|
-
alias="featureUnitsPlural", default=None
|
|
855
|
-
)
|
|
856
|
-
description: Optional[str] = Field(default=None)
|
|
857
|
-
display_name: str = Field(alias="displayName")
|
|
858
|
-
ref_id: str = Field(alias="refId")
|
|
859
|
-
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
860
|
-
alias="unitTransformation", default=None
|
|
861
|
-
)
|
|
862
|
-
|
|
863
|
-
|
|
864
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
865
|
-
divide: float
|
|
866
|
-
round: UnitTransformationRound
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
class EntitlementFragment(BaseModel):
|
|
870
|
-
typename__: str = Field(alias="__typename")
|
|
871
|
-
is_granted: bool = Field(alias="isGranted")
|
|
872
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
873
|
-
alias="accessDeniedReason", default=None
|
|
874
|
-
)
|
|
875
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
876
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
877
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
878
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
879
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
880
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
881
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
882
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
883
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
884
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
885
|
-
alias="entitlementUpdatedAt", default=None
|
|
886
|
-
)
|
|
887
|
-
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
888
|
-
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
889
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
890
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
891
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
892
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
893
|
-
alias="resetPeriod", default=None
|
|
894
|
-
)
|
|
895
|
-
reset_period_configuration: Optional[
|
|
896
|
-
Annotated[
|
|
897
|
-
Union[
|
|
898
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
899
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
900
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
901
|
-
],
|
|
902
|
-
Field(discriminator="typename__"),
|
|
903
|
-
]
|
|
904
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
905
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
906
|
-
credit_rate: Optional["EntitlementFragmentCreditRate"] = Field(
|
|
907
|
-
alias="creditRate", default=None
|
|
908
|
-
)
|
|
909
|
-
valid_until: Optional[float] = Field(alias="validUntil", default=None)
|
|
910
|
-
|
|
911
|
-
|
|
912
|
-
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
913
|
-
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
914
|
-
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
915
|
-
alias="monthlyAccordingTo", default=None
|
|
916
|
-
)
|
|
917
|
-
|
|
918
|
-
|
|
919
|
-
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
920
|
-
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
921
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
922
|
-
alias="weeklyAccordingTo", default=None
|
|
923
|
-
)
|
|
924
|
-
|
|
925
|
-
|
|
926
|
-
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
927
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
928
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
929
|
-
alias="yearlyAccordingTo", default=None
|
|
930
|
-
)
|
|
931
|
-
|
|
932
|
-
|
|
933
|
-
class EntitlementFragmentFeature(FeatureFragment):
|
|
934
|
-
pass
|
|
935
|
-
|
|
936
|
-
|
|
937
|
-
class EntitlementFragmentCreditRate(BaseModel):
|
|
938
|
-
amount: float
|
|
939
|
-
currency_id: str = Field(alias="currencyId")
|
|
940
|
-
|
|
941
|
-
|
|
942
942
|
class ApplySubscriptionFragment(BaseModel):
|
|
943
943
|
subscription: Optional["ApplySubscriptionFragmentSubscription"] = Field(
|
|
944
944
|
default=None
|
|
@@ -1016,16 +1016,16 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
1019
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1024
1020
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1025
1021
|
setup_secret: str = Field(alias="setupSecret")
|
|
1026
1022
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1027
1023
|
|
|
1028
1024
|
|
|
1025
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1026
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1027
|
+
|
|
1028
|
+
|
|
1029
1029
|
class CouponFragment(BaseModel):
|
|
1030
1030
|
id: Any
|
|
1031
1031
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1435,6 +1435,16 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1435
1435
|
pass
|
|
1436
1436
|
|
|
1437
1437
|
|
|
1438
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1439
|
+
display_name: str = Field(alias="displayName")
|
|
1440
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1441
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1442
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1443
|
+
period: PromotionalEntitlementPeriod
|
|
1444
|
+
start_date: Any = Field(alias="startDate")
|
|
1445
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1446
|
+
|
|
1447
|
+
|
|
1438
1448
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1439
1449
|
addon_id: str = Field(alias="addonId")
|
|
1440
1450
|
description: Optional[str] = Field(default=None)
|
|
@@ -1442,6 +1452,41 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1442
1452
|
quantity: int
|
|
1443
1453
|
|
|
1444
1454
|
|
|
1455
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1456
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1457
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1458
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1459
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1460
|
+
default=None
|
|
1461
|
+
)
|
|
1462
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1463
|
+
alias="creditRate", default=None
|
|
1464
|
+
)
|
|
1465
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1466
|
+
default=None
|
|
1467
|
+
)
|
|
1468
|
+
|
|
1469
|
+
|
|
1470
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1471
|
+
amount: float
|
|
1472
|
+
currency: Currency
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1476
|
+
amount: float
|
|
1477
|
+
currency_id: str = Field(alias="currencyId")
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1481
|
+
id: Any
|
|
1482
|
+
ref_id: str = Field(alias="refId")
|
|
1483
|
+
display_name: str = Field(alias="displayName")
|
|
1484
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1485
|
+
feature_units_plural: Optional[str] = Field(
|
|
1486
|
+
alias="featureUnitsPlural", default=None
|
|
1487
|
+
)
|
|
1488
|
+
|
|
1489
|
+
|
|
1445
1490
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1446
1491
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1447
1492
|
alias="subscriptionScheduleType"
|
|
@@ -1611,41 +1656,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1611
1656
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1612
1657
|
|
|
1613
1658
|
|
|
1614
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1615
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1616
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1617
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1618
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1619
|
-
default=None
|
|
1620
|
-
)
|
|
1621
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1622
|
-
alias="creditRate", default=None
|
|
1623
|
-
)
|
|
1624
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1625
|
-
default=None
|
|
1626
|
-
)
|
|
1627
|
-
|
|
1628
|
-
|
|
1629
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1630
|
-
amount: float
|
|
1631
|
-
currency: Currency
|
|
1632
|
-
|
|
1633
|
-
|
|
1634
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1635
|
-
amount: float
|
|
1636
|
-
currency_id: str = Field(alias="currencyId")
|
|
1637
|
-
|
|
1638
|
-
|
|
1639
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1640
|
-
id: Any
|
|
1641
|
-
ref_id: str = Field(alias="refId")
|
|
1642
|
-
display_name: str = Field(alias="displayName")
|
|
1643
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1644
|
-
feature_units_plural: Optional[str] = Field(
|
|
1645
|
-
alias="featureUnitsPlural", default=None
|
|
1646
|
-
)
|
|
1647
|
-
|
|
1648
|
-
|
|
1649
1659
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1650
1660
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1651
1661
|
plan_id: str = Field(alias="planId")
|
|
@@ -1750,16 +1760,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1750
1760
|
pass
|
|
1751
1761
|
|
|
1752
1762
|
|
|
1753
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1754
|
-
display_name: str = Field(alias="displayName")
|
|
1755
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1756
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1757
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1758
|
-
period: PromotionalEntitlementPeriod
|
|
1759
|
-
start_date: Any = Field(alias="startDate")
|
|
1760
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1761
|
-
|
|
1762
|
-
|
|
1763
1763
|
class CustomerPortalFragment(BaseModel):
|
|
1764
1764
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1765
1765
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -3041,30 +3041,30 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3041
3041
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
|
+
PackageEntitlementFragment.model_rebuild()
|
|
3044
3045
|
PriceTierFragment.model_rebuild()
|
|
3045
3046
|
OveragePriceFragment.model_rebuild()
|
|
3046
|
-
PackageEntitlementFragment.model_rebuild()
|
|
3047
3047
|
PriceFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
-
|
|
3049
|
+
FeatureFragment.model_rebuild()
|
|
3050
|
+
EntitlementFragment.model_rebuild()
|
|
3050
3051
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
3051
|
-
|
|
3052
|
-
|
|
3053
|
-
SlimCustomerFragment.model_rebuild()
|
|
3052
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3053
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
3054
3054
|
TotalPriceFragment.model_rebuild()
|
|
3055
|
-
|
|
3055
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3056
3056
|
ProductFragment.model_rebuild()
|
|
3057
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3057
3058
|
PlanFragment.model_rebuild()
|
|
3058
|
-
|
|
3059
|
+
SlimCustomerFragment.model_rebuild()
|
|
3060
|
+
CustomerResourceFragment.model_rebuild()
|
|
3059
3061
|
SubscriptionFragment.model_rebuild()
|
|
3060
|
-
FeatureFragment.model_rebuild()
|
|
3061
|
-
EntitlementFragment.model_rebuild()
|
|
3062
3062
|
ApplySubscriptionFragment.model_rebuild()
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3067
3066
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3068
3068
|
CouponFragment.model_rebuild()
|
|
3069
3069
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3070
3070
|
CustomerFragment.model_rebuild()
|
|
@@ -3079,11 +3079,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
3079
3079
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3082
3083
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3083
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3084
3084
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3085
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3085
3086
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
|
3088
3088
|
CustomerStatisticsFragment.model_rebuild()
|
|
3089
3089
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -5295,6 +5295,9 @@ class ZuoraCredentialsInput(BaseModel):
|
|
|
5295
5295
|
base_url: str = Field(alias="baseUrl")
|
|
5296
5296
|
client_id: str = Field(alias="clientId")
|
|
5297
5297
|
client_secret: str = Field(alias="clientSecret")
|
|
5298
|
+
invoice_settlement_enabled: Optional[bool] = Field(
|
|
5299
|
+
alias="invoiceSettlementEnabled", default=None
|
|
5300
|
+
)
|
|
5298
5301
|
payment_gateway_id: Optional[str] = Field(alias="paymentGatewayId", default=None)
|
|
5299
5302
|
payment_page_id: Optional[str] = Field(alias="paymentPageId", default=None)
|
|
5300
5303
|
publishable_key: Optional[str] = Field(alias="publishableKey", default=None)
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=Z9XgOXbMjHdnVwI9E8CocPDVWx1TEFWwUzvwvnaeUOY,3985
|
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=qCKWXefM1dgxu7sFRfrZQRjrahLqt7RNxLjyeIZ_QDo,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=wd5EmpeTAZ5SUXqqH7tvUApHFYXkc8BS2jWBIv-Gihk,217782
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.113.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.113.0.dist-info/METADATA,sha256=_holGCK2LWrHQcu-YwNt5t5zRLbr09JfejY6pfu6tKk,2258
|
|
177
|
+
stigg_api_client_v2-3.113.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.113.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|