stigg-api-client-v2 3.61.2__py3-none-any.whl → 3.62.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of stigg-api-client-v2 might be problematic. Click here for more details.
- stigg/generated/__init__.py +18 -0
- stigg/generated/async_client.py +135 -0
- stigg/generated/client.py +135 -0
- stigg/generated/fragments.py +500 -500
- stigg/generated/grant_promotional_entitlements_group.py +24 -0
- stigg/generated/revoke_promotional_entitlements_group.py +24 -0
- stigg/generated/unlink_promotional_entitlements_group.py +24 -0
- {stigg_api_client_v2-3.61.2.dist-info → stigg_api_client_v2-3.62.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.61.2.dist-info → stigg_api_client_v2-3.62.0.dist-info}/RECORD +11 -8
- {stigg_api_client_v2-3.61.2.dist-info → stigg_api_client_v2-3.62.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.61.2.dist-info → stigg_api_client_v2-3.62.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -61,6 +61,41 @@ class AddonDependencyFragment(BaseModel):
|
|
|
61
61
|
description: Optional[str] = Field(default=None)
|
|
62
62
|
|
|
63
63
|
|
|
64
|
+
class PackageEntitlementFragment(BaseModel):
|
|
65
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
66
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
67
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
68
|
+
feature_id: str = Field(alias="featureId")
|
|
69
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
70
|
+
alias="resetPeriod", default=None
|
|
71
|
+
)
|
|
72
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
73
|
+
alias="hiddenFromWidgets", default=None
|
|
74
|
+
)
|
|
75
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
76
|
+
display_name_override: Optional[str] = Field(
|
|
77
|
+
alias="displayNameOverride", default=None
|
|
78
|
+
)
|
|
79
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
80
|
+
is_granted: bool = Field(alias="isGranted")
|
|
81
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
82
|
+
|
|
83
|
+
|
|
84
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
85
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
86
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
87
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
88
|
+
feature_units_plural: Optional[str] = Field(
|
|
89
|
+
alias="featureUnitsPlural", default=None
|
|
90
|
+
)
|
|
91
|
+
display_name: str = Field(alias="displayName")
|
|
92
|
+
description: Optional[str] = Field(default=None)
|
|
93
|
+
ref_id: str = Field(alias="refId")
|
|
94
|
+
additional_meta_data: Optional[Any] = Field(
|
|
95
|
+
alias="additionalMetaData", default=None
|
|
96
|
+
)
|
|
97
|
+
|
|
98
|
+
|
|
64
99
|
class PriceTierFragment(BaseModel):
|
|
65
100
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
66
101
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -81,41 +116,29 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
81
116
|
currency: Currency
|
|
82
117
|
|
|
83
118
|
|
|
84
|
-
class
|
|
119
|
+
class OveragePriceFragment(BaseModel):
|
|
85
120
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
86
121
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
87
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
88
122
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
89
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
90
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
91
123
|
billing_country_code: Optional[str] = Field(
|
|
92
124
|
alias="billingCountryCode", default=None
|
|
93
125
|
)
|
|
94
|
-
price: Optional["
|
|
95
|
-
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
96
|
-
alias="creditRate", default=None
|
|
97
|
-
)
|
|
126
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
98
127
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
99
|
-
tiers: Optional[List["
|
|
100
|
-
feature: Optional["
|
|
101
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
128
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
102
130
|
|
|
103
131
|
|
|
104
|
-
class
|
|
132
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
105
133
|
amount: float
|
|
106
134
|
currency: Currency
|
|
107
135
|
|
|
108
136
|
|
|
109
|
-
class
|
|
110
|
-
amount: float
|
|
111
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
class PriceFragmentTiers(PriceTierFragment):
|
|
137
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
115
138
|
pass
|
|
116
139
|
|
|
117
140
|
|
|
118
|
-
class
|
|
141
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
119
142
|
ref_id: str = Field(alias="refId")
|
|
120
143
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
121
144
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -125,64 +148,41 @@ class PriceFragmentFeature(BaseModel):
|
|
|
125
148
|
description: Optional[str] = Field(default=None)
|
|
126
149
|
|
|
127
150
|
|
|
128
|
-
class
|
|
129
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
130
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
131
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
132
|
-
feature_id: str = Field(alias="featureId")
|
|
133
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
134
|
-
alias="resetPeriod", default=None
|
|
135
|
-
)
|
|
136
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
137
|
-
alias="hiddenFromWidgets", default=None
|
|
138
|
-
)
|
|
139
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
140
|
-
display_name_override: Optional[str] = Field(
|
|
141
|
-
alias="displayNameOverride", default=None
|
|
142
|
-
)
|
|
143
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
144
|
-
is_granted: bool = Field(alias="isGranted")
|
|
145
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
149
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
150
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
151
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
152
|
-
feature_units_plural: Optional[str] = Field(
|
|
153
|
-
alias="featureUnitsPlural", default=None
|
|
154
|
-
)
|
|
155
|
-
display_name: str = Field(alias="displayName")
|
|
156
|
-
description: Optional[str] = Field(default=None)
|
|
157
|
-
ref_id: str = Field(alias="refId")
|
|
158
|
-
additional_meta_data: Optional[Any] = Field(
|
|
159
|
-
alias="additionalMetaData", default=None
|
|
160
|
-
)
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
class OveragePriceFragment(BaseModel):
|
|
151
|
+
class PriceFragment(BaseModel):
|
|
164
152
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
165
153
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
154
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
166
155
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
156
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
157
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
167
158
|
billing_country_code: Optional[str] = Field(
|
|
168
159
|
alias="billingCountryCode", default=None
|
|
169
160
|
)
|
|
170
|
-
price: Optional["
|
|
161
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
162
|
+
credit_rate: Optional["PriceFragmentCreditRate"] = Field(
|
|
163
|
+
alias="creditRate", default=None
|
|
164
|
+
)
|
|
171
165
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
172
|
-
tiers: Optional[List["
|
|
173
|
-
feature: Optional["
|
|
166
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
167
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
168
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
174
169
|
|
|
175
170
|
|
|
176
|
-
class
|
|
171
|
+
class PriceFragmentPrice(BaseModel):
|
|
177
172
|
amount: float
|
|
178
173
|
currency: Currency
|
|
179
174
|
|
|
180
175
|
|
|
181
|
-
class
|
|
176
|
+
class PriceFragmentCreditRate(BaseModel):
|
|
177
|
+
amount: float
|
|
178
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
179
|
+
|
|
180
|
+
|
|
181
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
182
182
|
pass
|
|
183
183
|
|
|
184
184
|
|
|
185
|
-
class
|
|
185
|
+
class PriceFragmentFeature(BaseModel):
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
187
187
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
188
188
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -230,130 +230,94 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
230
230
|
pass
|
|
231
231
|
|
|
232
232
|
|
|
233
|
-
class
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
alias="featureUnitsPlural", default=None
|
|
240
|
-
)
|
|
241
|
-
description: Optional[str] = Field(default=None)
|
|
242
|
-
display_name: str = Field(alias="displayName")
|
|
233
|
+
class SlimCustomerFragment(BaseModel):
|
|
234
|
+
id: Any
|
|
235
|
+
name: Optional[str] = Field(default=None)
|
|
236
|
+
email: Optional[str] = Field(default=None)
|
|
237
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
238
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
243
239
|
ref_id: str = Field(alias="refId")
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
class FeatureFragmentUnitTransformation(BaseModel):
|
|
250
|
-
divide: float
|
|
251
|
-
round: UnitTransformationRound
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
class EntitlementFragment(BaseModel):
|
|
255
|
-
typename__: str = Field(alias="__typename")
|
|
256
|
-
is_granted: bool = Field(alias="isGranted")
|
|
257
|
-
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
258
|
-
alias="accessDeniedReason", default=None
|
|
259
|
-
)
|
|
260
|
-
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
261
|
-
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
262
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
263
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
264
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
265
|
-
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
266
|
-
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
267
|
-
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
268
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
269
|
-
entitlement_updated_at: Optional[Any] = Field(
|
|
270
|
-
alias="entitlementUpdatedAt", default=None
|
|
240
|
+
customer_id: str = Field(alias="customerId")
|
|
241
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
242
|
+
additional_meta_data: Optional[Any] = Field(
|
|
243
|
+
alias="additionalMetaData", default=None
|
|
271
244
|
)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
275
|
-
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
276
|
-
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
277
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
278
|
-
alias="resetPeriod", default=None
|
|
245
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
246
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
279
247
|
)
|
|
280
|
-
reset_period_configuration: Optional[
|
|
281
|
-
Annotated[
|
|
282
|
-
Union[
|
|
283
|
-
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
284
|
-
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
285
|
-
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
286
|
-
],
|
|
287
|
-
Field(discriminator="typename__"),
|
|
288
|
-
]
|
|
289
|
-
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
290
|
-
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
291
248
|
|
|
292
249
|
|
|
293
|
-
class
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
250
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
251
|
+
billing_id: str = Field(alias="billingId")
|
|
252
|
+
status: SubscriptionInvoiceStatus
|
|
253
|
+
created_at: Any = Field(alias="createdAt")
|
|
254
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
255
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
256
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
257
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
258
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
259
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
260
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
261
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
262
|
+
alias="billingReason", default=None
|
|
297
263
|
)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
303
|
-
alias="weeklyAccordingTo", default=None
|
|
264
|
+
currency: Optional[str] = Field(default=None)
|
|
265
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
266
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
267
|
+
alias="subTotalExcludingTax", default=None
|
|
304
268
|
)
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
309
|
-
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
310
|
-
alias="yearlyAccordingTo", default=None
|
|
269
|
+
total: Optional[float] = Field(default=None)
|
|
270
|
+
total_excluding_tax: Optional[float] = Field(
|
|
271
|
+
alias="totalExcludingTax", default=None
|
|
311
272
|
)
|
|
273
|
+
tax: Optional[float] = Field(default=None)
|
|
274
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
275
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
312
276
|
|
|
313
277
|
|
|
314
|
-
class
|
|
315
|
-
|
|
278
|
+
class CustomerResourceFragment(BaseModel):
|
|
279
|
+
resource_id: str = Field(alias="resourceId")
|
|
316
280
|
|
|
317
281
|
|
|
318
|
-
class
|
|
282
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
319
283
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
320
284
|
alias="subscriptionScheduleType"
|
|
321
285
|
)
|
|
322
286
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
323
287
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
324
|
-
target_package: Optional["
|
|
288
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
325
289
|
alias="targetPackage", default=None
|
|
326
290
|
)
|
|
327
291
|
schedule_variables: Optional[
|
|
328
292
|
Annotated[
|
|
329
293
|
Union[
|
|
330
|
-
"
|
|
331
|
-
"
|
|
332
|
-
"
|
|
333
|
-
"
|
|
334
|
-
"
|
|
335
|
-
"
|
|
336
|
-
"
|
|
337
|
-
"
|
|
294
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
295
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
296
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
297
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
298
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
299
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
300
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
301
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
338
302
|
],
|
|
339
303
|
Field(discriminator="typename__"),
|
|
340
304
|
]
|
|
341
305
|
] = Field(alias="scheduleVariables", default=None)
|
|
342
306
|
|
|
343
307
|
|
|
344
|
-
class
|
|
308
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
345
309
|
id: Any
|
|
346
310
|
ref_id: str = Field(alias="refId")
|
|
347
311
|
display_name: str = Field(alias="displayName")
|
|
348
312
|
|
|
349
313
|
|
|
350
|
-
class
|
|
314
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
351
315
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
352
316
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
353
317
|
new_quantity: float = Field(alias="newQuantity")
|
|
354
318
|
|
|
355
319
|
|
|
356
|
-
class
|
|
320
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
357
321
|
BaseModel
|
|
358
322
|
):
|
|
359
323
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -361,53 +325,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
361
325
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
362
326
|
|
|
363
327
|
|
|
364
|
-
class
|
|
328
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
365
329
|
BaseModel
|
|
366
330
|
):
|
|
367
331
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
368
332
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
369
333
|
|
|
370
334
|
|
|
371
|
-
class
|
|
335
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
372
336
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
373
337
|
|
|
374
338
|
|
|
375
|
-
class
|
|
339
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
340
|
+
BaseModel
|
|
341
|
+
):
|
|
376
342
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
377
343
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
378
344
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
379
345
|
billable_features: Optional[
|
|
380
346
|
List[
|
|
381
|
-
"
|
|
347
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
382
348
|
]
|
|
383
349
|
] = Field(alias="billableFeatures", default=None)
|
|
384
350
|
addons: Optional[
|
|
385
351
|
List[
|
|
386
|
-
"
|
|
352
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
387
353
|
]
|
|
388
354
|
] = Field(default=None)
|
|
389
355
|
price_overrides: Optional[
|
|
390
356
|
List[
|
|
391
|
-
"
|
|
357
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
392
358
|
]
|
|
393
359
|
] = Field(alias="priceOverrides", default=None)
|
|
394
360
|
|
|
395
361
|
|
|
396
|
-
class
|
|
362
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
397
363
|
BaseModel
|
|
398
364
|
):
|
|
399
365
|
feature_id: str = Field(alias="featureId")
|
|
400
366
|
quantity: float
|
|
401
367
|
|
|
402
368
|
|
|
403
|
-
class
|
|
369
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
404
370
|
BaseModel
|
|
405
371
|
):
|
|
406
372
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
407
373
|
quantity: float
|
|
408
374
|
|
|
409
375
|
|
|
410
|
-
class
|
|
376
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
411
377
|
BaseModel
|
|
412
378
|
):
|
|
413
379
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -415,39 +381,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
415
381
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
416
382
|
|
|
417
383
|
|
|
418
|
-
class
|
|
384
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
419
385
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
420
386
|
plan_ref_id: str = Field(alias="planRefId")
|
|
421
387
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
422
388
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
423
389
|
billable_features: Optional[
|
|
424
390
|
List[
|
|
425
|
-
"
|
|
391
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
426
392
|
]
|
|
427
393
|
] = Field(alias="billableFeatures", default=None)
|
|
428
394
|
addons: Optional[
|
|
429
|
-
List[
|
|
395
|
+
List[
|
|
396
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
397
|
+
]
|
|
430
398
|
] = Field(default=None)
|
|
431
399
|
price_overrides: Optional[
|
|
432
400
|
List[
|
|
433
|
-
"
|
|
401
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
434
402
|
]
|
|
435
403
|
] = Field(alias="priceOverrides", default=None)
|
|
436
404
|
|
|
437
405
|
|
|
438
|
-
class
|
|
406
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
439
407
|
BaseModel
|
|
440
408
|
):
|
|
441
409
|
feature_id: str = Field(alias="featureId")
|
|
442
410
|
quantity: float
|
|
443
411
|
|
|
444
412
|
|
|
445
|
-
class
|
|
413
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
414
|
+
BaseModel
|
|
415
|
+
):
|
|
446
416
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
447
417
|
quantity: float
|
|
448
418
|
|
|
449
419
|
|
|
450
|
-
class
|
|
420
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
451
421
|
BaseModel
|
|
452
422
|
):
|
|
453
423
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -455,7 +425,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
455
425
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
456
426
|
|
|
457
427
|
|
|
458
|
-
class
|
|
428
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
459
429
|
BaseModel
|
|
460
430
|
):
|
|
461
431
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -463,61 +433,14 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
463
433
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
464
434
|
|
|
465
435
|
|
|
466
|
-
class
|
|
436
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
437
|
+
BaseModel
|
|
438
|
+
):
|
|
467
439
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
468
440
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
469
441
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
470
442
|
|
|
471
443
|
|
|
472
|
-
class SlimCustomerFragment(BaseModel):
|
|
473
|
-
id: Any
|
|
474
|
-
name: Optional[str] = Field(default=None)
|
|
475
|
-
email: Optional[str] = Field(default=None)
|
|
476
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
477
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
478
|
-
ref_id: str = Field(alias="refId")
|
|
479
|
-
customer_id: str = Field(alias="customerId")
|
|
480
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
481
|
-
additional_meta_data: Optional[Any] = Field(
|
|
482
|
-
alias="additionalMetaData", default=None
|
|
483
|
-
)
|
|
484
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
485
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
486
|
-
)
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
490
|
-
billing_id: str = Field(alias="billingId")
|
|
491
|
-
status: SubscriptionInvoiceStatus
|
|
492
|
-
created_at: Any = Field(alias="createdAt")
|
|
493
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
494
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
495
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
496
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
497
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
498
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
499
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
500
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
501
|
-
alias="billingReason", default=None
|
|
502
|
-
)
|
|
503
|
-
currency: Optional[str] = Field(default=None)
|
|
504
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
505
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
506
|
-
alias="subTotalExcludingTax", default=None
|
|
507
|
-
)
|
|
508
|
-
total: Optional[float] = Field(default=None)
|
|
509
|
-
total_excluding_tax: Optional[float] = Field(
|
|
510
|
-
alias="totalExcludingTax", default=None
|
|
511
|
-
)
|
|
512
|
-
tax: Optional[float] = Field(default=None)
|
|
513
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
514
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
515
|
-
|
|
516
|
-
|
|
517
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
518
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
519
|
-
|
|
520
|
-
|
|
521
444
|
class TotalPriceFragment(BaseModel):
|
|
522
445
|
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
523
446
|
total: "TotalPriceFragmentTotal"
|
|
@@ -533,169 +456,49 @@ class TotalPriceFragmentTotal(BaseModel):
|
|
|
533
456
|
currency: Currency
|
|
534
457
|
|
|
535
458
|
|
|
536
|
-
class
|
|
537
|
-
|
|
538
|
-
display_name: str = Field(alias="displayName")
|
|
539
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
540
|
-
default=None
|
|
541
|
-
)
|
|
542
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
546
|
-
pass
|
|
547
|
-
|
|
548
|
-
|
|
549
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
550
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
551
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
class ProductFragment(BaseModel):
|
|
555
|
-
ref_id: str = Field(alias="refId")
|
|
556
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
557
|
-
description: Optional[str] = Field(default=None)
|
|
558
|
-
additional_meta_data: Optional[Any] = Field(
|
|
559
|
-
alias="additionalMetaData", default=None
|
|
560
|
-
)
|
|
561
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
562
|
-
|
|
563
|
-
|
|
564
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
565
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
566
|
-
alias="downgradePlan", default=None
|
|
567
|
-
)
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
571
|
-
ref_id: str = Field(alias="refId")
|
|
572
|
-
display_name: str = Field(alias="displayName")
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
class PlanFragment(BaseModel):
|
|
576
|
-
id: Any
|
|
577
|
-
ref_id: str = Field(alias="refId")
|
|
578
|
-
display_name: str = Field(alias="displayName")
|
|
579
|
-
description: Optional[str] = Field(default=None)
|
|
580
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
581
|
-
version_number: int = Field(alias="versionNumber")
|
|
582
|
-
additional_meta_data: Optional[Any] = Field(
|
|
583
|
-
alias="additionalMetaData", default=None
|
|
584
|
-
)
|
|
585
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
586
|
-
alias="hiddenFromWidgets", default=None
|
|
587
|
-
)
|
|
588
|
-
product: "PlanFragmentProduct"
|
|
589
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
590
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
591
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
592
|
-
alias="inheritedEntitlements", default=None
|
|
593
|
-
)
|
|
594
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
595
|
-
alias="compatibleAddons", default=None
|
|
596
|
-
)
|
|
597
|
-
compatible_package_groups: Optional[
|
|
598
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
599
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
600
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
601
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
602
|
-
alias="overagePrices", default=None
|
|
603
|
-
)
|
|
604
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
605
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
606
|
-
alias="defaultTrialConfig", default=None
|
|
607
|
-
)
|
|
608
|
-
|
|
609
|
-
|
|
610
|
-
class PlanFragmentProduct(ProductFragment):
|
|
611
|
-
pass
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
615
|
-
ref_id: str = Field(alias="refId")
|
|
616
|
-
display_name: str = Field(alias="displayName")
|
|
617
|
-
|
|
618
|
-
|
|
619
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
620
|
-
pass
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
624
|
-
pass
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
628
|
-
pass
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
632
|
-
pass
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class PlanFragmentPrices(PriceFragment):
|
|
636
|
-
pass
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
640
|
-
pass
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
644
|
-
duration: float
|
|
645
|
-
units: TrialPeriodUnits
|
|
646
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
647
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
648
|
-
alias="trialEndBehavior", default=None
|
|
649
|
-
)
|
|
650
|
-
|
|
651
|
-
|
|
652
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
653
|
-
limit: float
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
class CustomerResourceFragment(BaseModel):
|
|
657
|
-
resource_id: str = Field(alias="resourceId")
|
|
459
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
460
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
658
461
|
|
|
659
462
|
|
|
660
|
-
class
|
|
463
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
661
464
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
662
465
|
alias="subscriptionScheduleType"
|
|
663
466
|
)
|
|
664
467
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
665
468
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
666
|
-
target_package: Optional["
|
|
469
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
667
470
|
alias="targetPackage", default=None
|
|
668
471
|
)
|
|
669
472
|
schedule_variables: Optional[
|
|
670
473
|
Annotated[
|
|
671
|
-
Union[
|
|
672
|
-
"
|
|
673
|
-
"
|
|
674
|
-
"
|
|
675
|
-
"
|
|
676
|
-
"
|
|
677
|
-
"
|
|
678
|
-
"
|
|
679
|
-
"
|
|
474
|
+
Union[
|
|
475
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
476
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
477
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
478
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
479
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
480
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
481
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
482
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
680
483
|
],
|
|
681
484
|
Field(discriminator="typename__"),
|
|
682
485
|
]
|
|
683
486
|
] = Field(alias="scheduleVariables", default=None)
|
|
684
487
|
|
|
685
488
|
|
|
686
|
-
class
|
|
489
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
687
490
|
id: Any
|
|
688
491
|
ref_id: str = Field(alias="refId")
|
|
689
492
|
display_name: str = Field(alias="displayName")
|
|
690
493
|
|
|
691
494
|
|
|
692
|
-
class
|
|
495
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
693
496
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
694
497
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
695
498
|
new_quantity: float = Field(alias="newQuantity")
|
|
696
499
|
|
|
697
500
|
|
|
698
|
-
class
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
699
502
|
BaseModel
|
|
700
503
|
):
|
|
701
504
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -703,55 +506,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
703
506
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
704
507
|
|
|
705
508
|
|
|
706
|
-
class
|
|
509
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
707
510
|
BaseModel
|
|
708
511
|
):
|
|
709
512
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
710
513
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
711
514
|
|
|
712
515
|
|
|
713
|
-
class
|
|
516
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
714
517
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
715
518
|
|
|
716
519
|
|
|
717
|
-
class
|
|
718
|
-
BaseModel
|
|
719
|
-
):
|
|
520
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
720
521
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
721
522
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
722
523
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
723
524
|
billable_features: Optional[
|
|
724
525
|
List[
|
|
725
|
-
"
|
|
526
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
726
527
|
]
|
|
727
528
|
] = Field(alias="billableFeatures", default=None)
|
|
728
529
|
addons: Optional[
|
|
729
530
|
List[
|
|
730
|
-
"
|
|
531
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
731
532
|
]
|
|
732
533
|
] = Field(default=None)
|
|
733
534
|
price_overrides: Optional[
|
|
734
535
|
List[
|
|
735
|
-
"
|
|
536
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
736
537
|
]
|
|
737
538
|
] = Field(alias="priceOverrides", default=None)
|
|
738
539
|
|
|
739
540
|
|
|
740
|
-
class
|
|
541
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
741
542
|
BaseModel
|
|
742
543
|
):
|
|
743
544
|
feature_id: str = Field(alias="featureId")
|
|
744
545
|
quantity: float
|
|
745
546
|
|
|
746
547
|
|
|
747
|
-
class
|
|
548
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
748
549
|
BaseModel
|
|
749
550
|
):
|
|
750
551
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
751
552
|
quantity: float
|
|
752
553
|
|
|
753
554
|
|
|
754
|
-
class
|
|
555
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
755
556
|
BaseModel
|
|
756
557
|
):
|
|
757
558
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -759,43 +560,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
759
560
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
760
561
|
|
|
761
562
|
|
|
762
|
-
class
|
|
563
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
763
564
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
764
565
|
plan_ref_id: str = Field(alias="planRefId")
|
|
765
566
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
766
567
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
767
568
|
billable_features: Optional[
|
|
768
569
|
List[
|
|
769
|
-
"
|
|
570
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
770
571
|
]
|
|
771
572
|
] = Field(alias="billableFeatures", default=None)
|
|
772
573
|
addons: Optional[
|
|
773
|
-
List[
|
|
774
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
775
|
-
]
|
|
574
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
776
575
|
] = Field(default=None)
|
|
777
576
|
price_overrides: Optional[
|
|
778
577
|
List[
|
|
779
|
-
"
|
|
578
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
780
579
|
]
|
|
781
580
|
] = Field(alias="priceOverrides", default=None)
|
|
782
581
|
|
|
783
582
|
|
|
784
|
-
class
|
|
583
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
785
584
|
BaseModel
|
|
786
585
|
):
|
|
787
586
|
feature_id: str = Field(alias="featureId")
|
|
788
587
|
quantity: float
|
|
789
588
|
|
|
790
589
|
|
|
791
|
-
class
|
|
792
|
-
BaseModel
|
|
793
|
-
):
|
|
590
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
794
591
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
795
592
|
quantity: float
|
|
796
593
|
|
|
797
594
|
|
|
798
|
-
class
|
|
595
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
799
596
|
BaseModel
|
|
800
597
|
):
|
|
801
598
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -803,7 +600,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
803
600
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
804
601
|
|
|
805
602
|
|
|
806
|
-
class
|
|
603
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
807
604
|
BaseModel
|
|
808
605
|
):
|
|
809
606
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -811,14 +608,132 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
811
608
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
812
609
|
|
|
813
610
|
|
|
814
|
-
class
|
|
815
|
-
BaseModel
|
|
816
|
-
):
|
|
611
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
817
612
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
818
613
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
819
614
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
820
615
|
|
|
821
616
|
|
|
617
|
+
class ProductFragment(BaseModel):
|
|
618
|
+
ref_id: str = Field(alias="refId")
|
|
619
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
620
|
+
description: Optional[str] = Field(default=None)
|
|
621
|
+
additional_meta_data: Optional[Any] = Field(
|
|
622
|
+
alias="additionalMetaData", default=None
|
|
623
|
+
)
|
|
624
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
628
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
629
|
+
alias="downgradePlan", default=None
|
|
630
|
+
)
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
634
|
+
ref_id: str = Field(alias="refId")
|
|
635
|
+
display_name: str = Field(alias="displayName")
|
|
636
|
+
|
|
637
|
+
|
|
638
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
639
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
640
|
+
display_name: str = Field(alias="displayName")
|
|
641
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
642
|
+
default=None
|
|
643
|
+
)
|
|
644
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
645
|
+
|
|
646
|
+
|
|
647
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
648
|
+
pass
|
|
649
|
+
|
|
650
|
+
|
|
651
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
652
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
653
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
654
|
+
|
|
655
|
+
|
|
656
|
+
class PlanFragment(BaseModel):
|
|
657
|
+
id: Any
|
|
658
|
+
ref_id: str = Field(alias="refId")
|
|
659
|
+
display_name: str = Field(alias="displayName")
|
|
660
|
+
description: Optional[str] = Field(default=None)
|
|
661
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
662
|
+
version_number: int = Field(alias="versionNumber")
|
|
663
|
+
additional_meta_data: Optional[Any] = Field(
|
|
664
|
+
alias="additionalMetaData", default=None
|
|
665
|
+
)
|
|
666
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
667
|
+
alias="hiddenFromWidgets", default=None
|
|
668
|
+
)
|
|
669
|
+
product: "PlanFragmentProduct"
|
|
670
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
671
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
672
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
673
|
+
alias="inheritedEntitlements", default=None
|
|
674
|
+
)
|
|
675
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
676
|
+
alias="compatibleAddons", default=None
|
|
677
|
+
)
|
|
678
|
+
compatible_package_groups: Optional[
|
|
679
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
680
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
681
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
682
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
683
|
+
alias="overagePrices", default=None
|
|
684
|
+
)
|
|
685
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
686
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
687
|
+
alias="defaultTrialConfig", default=None
|
|
688
|
+
)
|
|
689
|
+
|
|
690
|
+
|
|
691
|
+
class PlanFragmentProduct(ProductFragment):
|
|
692
|
+
pass
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
696
|
+
ref_id: str = Field(alias="refId")
|
|
697
|
+
display_name: str = Field(alias="displayName")
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
701
|
+
pass
|
|
702
|
+
|
|
703
|
+
|
|
704
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
705
|
+
pass
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
709
|
+
pass
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
713
|
+
pass
|
|
714
|
+
|
|
715
|
+
|
|
716
|
+
class PlanFragmentPrices(PriceFragment):
|
|
717
|
+
pass
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
721
|
+
pass
|
|
722
|
+
|
|
723
|
+
|
|
724
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
725
|
+
duration: float
|
|
726
|
+
units: TrialPeriodUnits
|
|
727
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
728
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
729
|
+
alias="trialEndBehavior", default=None
|
|
730
|
+
)
|
|
731
|
+
|
|
732
|
+
|
|
733
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
734
|
+
limit: float
|
|
735
|
+
|
|
736
|
+
|
|
822
737
|
class SubscriptionFragment(BaseModel):
|
|
823
738
|
id: Any
|
|
824
739
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -916,15 +831,100 @@ class SubscriptionFragmentAddonsAddon(AddonFragment):
|
|
|
916
831
|
pass
|
|
917
832
|
|
|
918
833
|
|
|
919
|
-
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
920
|
-
pass
|
|
834
|
+
class SubscriptionFragmentScheduledUpdates(SubscriptionScheduledUpdateData):
|
|
835
|
+
pass
|
|
836
|
+
|
|
837
|
+
|
|
838
|
+
class SubscriptionFragmentFutureUpdates(SubscriptionFutureUpdateData):
|
|
839
|
+
pass
|
|
840
|
+
|
|
841
|
+
|
|
842
|
+
class SubscriptionFragmentTrialConfiguration(SubscriptionTrialConfigurationFragment):
|
|
843
|
+
pass
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
class FeatureFragment(BaseModel):
|
|
847
|
+
typename__: str = Field(alias="__typename")
|
|
848
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
849
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
850
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
851
|
+
feature_units_plural: Optional[str] = Field(
|
|
852
|
+
alias="featureUnitsPlural", default=None
|
|
853
|
+
)
|
|
854
|
+
description: Optional[str] = Field(default=None)
|
|
855
|
+
display_name: str = Field(alias="displayName")
|
|
856
|
+
ref_id: str = Field(alias="refId")
|
|
857
|
+
unit_transformation: Optional["FeatureFragmentUnitTransformation"] = Field(
|
|
858
|
+
alias="unitTransformation", default=None
|
|
859
|
+
)
|
|
860
|
+
|
|
861
|
+
|
|
862
|
+
class FeatureFragmentUnitTransformation(BaseModel):
|
|
863
|
+
divide: float
|
|
864
|
+
round: UnitTransformationRound
|
|
865
|
+
|
|
866
|
+
|
|
867
|
+
class EntitlementFragment(BaseModel):
|
|
868
|
+
typename__: str = Field(alias="__typename")
|
|
869
|
+
is_granted: bool = Field(alias="isGranted")
|
|
870
|
+
access_denied_reason: Optional[AccessDeniedReason] = Field(
|
|
871
|
+
alias="accessDeniedReason", default=None
|
|
872
|
+
)
|
|
873
|
+
customer_id: Optional[str] = Field(alias="customerId", default=None)
|
|
874
|
+
resource_id: Optional[str] = Field(alias="resourceId", default=None)
|
|
875
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
876
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
877
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
878
|
+
current_usage: Optional[float] = Field(alias="currentUsage", default=None)
|
|
879
|
+
requested_usage: Optional[float] = Field(alias="requestedUsage", default=None)
|
|
880
|
+
requested_values: Optional[List[str]] = Field(alias="requestedValues", default=None)
|
|
881
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
882
|
+
entitlement_updated_at: Optional[Any] = Field(
|
|
883
|
+
alias="entitlementUpdatedAt", default=None
|
|
884
|
+
)
|
|
885
|
+
usage_updated_at: Optional[Any] = Field(alias="usageUpdatedAt", default=None)
|
|
886
|
+
usage_period_anchor: Optional[Any] = Field(alias="usagePeriodAnchor", default=None)
|
|
887
|
+
usage_period_start: Optional[Any] = Field(alias="usagePeriodStart", default=None)
|
|
888
|
+
usage_period_end: Optional[Any] = Field(alias="usagePeriodEnd", default=None)
|
|
889
|
+
next_reset_date: Optional[Any] = Field(alias="nextResetDate", default=None)
|
|
890
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
891
|
+
alias="resetPeriod", default=None
|
|
892
|
+
)
|
|
893
|
+
reset_period_configuration: Optional[
|
|
894
|
+
Annotated[
|
|
895
|
+
Union[
|
|
896
|
+
"EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig",
|
|
897
|
+
"EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig",
|
|
898
|
+
"EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig",
|
|
899
|
+
],
|
|
900
|
+
Field(discriminator="typename__"),
|
|
901
|
+
]
|
|
902
|
+
] = Field(alias="resetPeriodConfiguration", default=None)
|
|
903
|
+
feature: Optional["EntitlementFragmentFeature"] = Field(default=None)
|
|
904
|
+
|
|
905
|
+
|
|
906
|
+
class EntitlementFragmentResetPeriodConfigurationMonthlyResetPeriodConfig(BaseModel):
|
|
907
|
+
typename__: Literal["MonthlyResetPeriodConfig"] = Field(alias="__typename")
|
|
908
|
+
monthly_according_to: Optional[MonthlyAccordingTo] = Field(
|
|
909
|
+
alias="monthlyAccordingTo", default=None
|
|
910
|
+
)
|
|
911
|
+
|
|
912
|
+
|
|
913
|
+
class EntitlementFragmentResetPeriodConfigurationWeeklyResetPeriodConfig(BaseModel):
|
|
914
|
+
typename__: Literal["WeeklyResetPeriodConfig"] = Field(alias="__typename")
|
|
915
|
+
weekly_according_to: Optional[WeeklyAccordingTo] = Field(
|
|
916
|
+
alias="weeklyAccordingTo", default=None
|
|
917
|
+
)
|
|
921
918
|
|
|
922
919
|
|
|
923
|
-
class
|
|
924
|
-
|
|
920
|
+
class EntitlementFragmentResetPeriodConfigurationYearlyResetPeriodConfig(BaseModel):
|
|
921
|
+
typename__: Literal["YearlyResetPeriodConfig"] = Field(alias="__typename")
|
|
922
|
+
yearly_according_to: Optional[YearlyAccordingTo] = Field(
|
|
923
|
+
alias="yearlyAccordingTo", default=None
|
|
924
|
+
)
|
|
925
925
|
|
|
926
926
|
|
|
927
|
-
class
|
|
927
|
+
class EntitlementFragmentFeature(FeatureFragment):
|
|
928
928
|
pass
|
|
929
929
|
|
|
930
930
|
|
|
@@ -1005,35 +1005,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1009
|
-
status: PromotionalEntitlementStatus
|
|
1010
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1011
|
-
feature_id: Any = Field(alias="featureId")
|
|
1012
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1013
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1014
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1015
|
-
alias="resetPeriod", default=None
|
|
1016
|
-
)
|
|
1017
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1018
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1019
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1023
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1024
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1025
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1026
|
-
feature_units_plural: Optional[str] = Field(
|
|
1027
|
-
alias="featureUnitsPlural", default=None
|
|
1028
|
-
)
|
|
1029
|
-
display_name: str = Field(alias="displayName")
|
|
1030
|
-
description: Optional[str] = Field(default=None)
|
|
1031
|
-
ref_id: str = Field(alias="refId")
|
|
1032
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1033
|
-
alias="additionalMetaData", default=None
|
|
1034
|
-
)
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
1008
|
class CouponFragment(BaseModel):
|
|
1038
1009
|
id: Any
|
|
1039
1010
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1068,6 +1039,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1068
1039
|
status: SyncStatus
|
|
1069
1040
|
|
|
1070
1041
|
|
|
1042
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
+
status: PromotionalEntitlementStatus
|
|
1044
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
+
feature_id: Any = Field(alias="featureId")
|
|
1046
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
+
alias="resetPeriod", default=None
|
|
1050
|
+
)
|
|
1051
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
+
feature_units_plural: Optional[str] = Field(
|
|
1061
|
+
alias="featureUnitsPlural", default=None
|
|
1062
|
+
)
|
|
1063
|
+
display_name: str = Field(alias="displayName")
|
|
1064
|
+
description: Optional[str] = Field(default=None)
|
|
1065
|
+
ref_id: str = Field(alias="refId")
|
|
1066
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
+
alias="additionalMetaData", default=None
|
|
1068
|
+
)
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1072
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1073
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1326,39 +1326,14 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1326
1326
|
pass
|
|
1327
1327
|
|
|
1328
1328
|
|
|
1329
|
-
class
|
|
1330
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1331
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1332
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1333
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1334
|
-
default=None
|
|
1335
|
-
)
|
|
1336
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1337
|
-
alias="creditRate", default=None
|
|
1338
|
-
)
|
|
1339
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1340
|
-
default=None
|
|
1341
|
-
)
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1345
|
-
amount: float
|
|
1346
|
-
currency: Currency
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1350
|
-
amount: float
|
|
1351
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1355
|
-
id: Any
|
|
1356
|
-
ref_id: str = Field(alias="refId")
|
|
1329
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1357
1330
|
display_name: str = Field(alias="displayName")
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1331
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1332
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1333
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1334
|
+
period: PromotionalEntitlementPeriod
|
|
1335
|
+
start_date: Any = Field(alias="startDate")
|
|
1336
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1362
1337
|
|
|
1363
1338
|
|
|
1364
1339
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1530,6 +1505,41 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1530
1505
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1531
1506
|
|
|
1532
1507
|
|
|
1508
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1509
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1510
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1511
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1512
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1513
|
+
default=None
|
|
1514
|
+
)
|
|
1515
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1516
|
+
alias="creditRate", default=None
|
|
1517
|
+
)
|
|
1518
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1519
|
+
default=None
|
|
1520
|
+
)
|
|
1521
|
+
|
|
1522
|
+
|
|
1523
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1524
|
+
amount: float
|
|
1525
|
+
currency: Currency
|
|
1526
|
+
|
|
1527
|
+
|
|
1528
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1529
|
+
amount: float
|
|
1530
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1531
|
+
|
|
1532
|
+
|
|
1533
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1534
|
+
id: Any
|
|
1535
|
+
ref_id: str = Field(alias="refId")
|
|
1536
|
+
display_name: str = Field(alias="displayName")
|
|
1537
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1538
|
+
feature_units_plural: Optional[str] = Field(
|
|
1539
|
+
alias="featureUnitsPlural", default=None
|
|
1540
|
+
)
|
|
1541
|
+
|
|
1542
|
+
|
|
1533
1543
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1534
1544
|
addon_id: str = Field(alias="addonId")
|
|
1535
1545
|
description: Optional[str] = Field(default=None)
|
|
@@ -1641,16 +1651,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1641
1651
|
pass
|
|
1642
1652
|
|
|
1643
1653
|
|
|
1644
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1645
|
-
display_name: str = Field(alias="displayName")
|
|
1646
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1647
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1648
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1649
|
-
period: PromotionalEntitlementPeriod
|
|
1650
|
-
start_date: Any = Field(alias="startDate")
|
|
1651
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
1654
|
class CustomerPortalFragment(BaseModel):
|
|
1655
1655
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1656
1656
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1878,6 +1878,41 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1878
1878
|
description: Optional[str] = Field(default=None)
|
|
1879
1879
|
|
|
1880
1880
|
|
|
1881
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1882
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1883
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1884
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1885
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1886
|
+
alias="resetPeriod", default=None
|
|
1887
|
+
)
|
|
1888
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1889
|
+
alias="hiddenFromWidgets", default=None
|
|
1890
|
+
)
|
|
1891
|
+
display_name_override: Optional[str] = Field(
|
|
1892
|
+
alias="displayNameOverride", default=None
|
|
1893
|
+
)
|
|
1894
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1895
|
+
is_granted: bool = Field(alias="isGranted")
|
|
1896
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1897
|
+
default=None
|
|
1898
|
+
)
|
|
1899
|
+
|
|
1900
|
+
|
|
1901
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1902
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1903
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1904
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1905
|
+
feature_units_plural: Optional[str] = Field(
|
|
1906
|
+
alias="featureUnitsPlural", default=None
|
|
1907
|
+
)
|
|
1908
|
+
display_name: str = Field(alias="displayName")
|
|
1909
|
+
description: Optional[str] = Field(default=None)
|
|
1910
|
+
ref_id: str = Field(alias="refId")
|
|
1911
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1912
|
+
alias="additionalMetaData", default=None
|
|
1913
|
+
)
|
|
1914
|
+
|
|
1915
|
+
|
|
1881
1916
|
class MockPaywallPriceFragment(BaseModel):
|
|
1882
1917
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1883
1918
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1920,41 +1955,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1920
1955
|
display_name: str = Field(alias="displayName")
|
|
1921
1956
|
|
|
1922
1957
|
|
|
1923
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1924
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1925
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1926
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1927
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1928
|
-
alias="resetPeriod", default=None
|
|
1929
|
-
)
|
|
1930
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1931
|
-
alias="hiddenFromWidgets", default=None
|
|
1932
|
-
)
|
|
1933
|
-
display_name_override: Optional[str] = Field(
|
|
1934
|
-
alias="displayNameOverride", default=None
|
|
1935
|
-
)
|
|
1936
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1937
|
-
is_granted: bool = Field(alias="isGranted")
|
|
1938
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1939
|
-
default=None
|
|
1940
|
-
)
|
|
1941
|
-
|
|
1942
|
-
|
|
1943
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1944
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1945
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1946
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1947
|
-
feature_units_plural: Optional[str] = Field(
|
|
1948
|
-
alias="featureUnitsPlural", default=None
|
|
1949
|
-
)
|
|
1950
|
-
display_name: str = Field(alias="displayName")
|
|
1951
|
-
description: Optional[str] = Field(default=None)
|
|
1952
|
-
ref_id: str = Field(alias="refId")
|
|
1953
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1954
|
-
alias="additionalMetaData", default=None
|
|
1955
|
-
)
|
|
1956
|
-
|
|
1957
|
-
|
|
1958
1958
|
class MockPaywallAddonFragment(BaseModel):
|
|
1959
1959
|
ref_id: str = Field(alias="refId")
|
|
1960
1960
|
display_name: str = Field(alias="displayName")
|
|
@@ -2928,30 +2928,30 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2928
2928
|
|
|
2929
2929
|
|
|
2930
2930
|
AddonDependencyFragment.model_rebuild()
|
|
2931
|
-
PriceTierFragment.model_rebuild()
|
|
2932
|
-
PriceFragment.model_rebuild()
|
|
2933
2931
|
PackageEntitlementFragment.model_rebuild()
|
|
2932
|
+
PriceTierFragment.model_rebuild()
|
|
2934
2933
|
OveragePriceFragment.model_rebuild()
|
|
2934
|
+
PriceFragment.model_rebuild()
|
|
2935
2935
|
AddonFragment.model_rebuild()
|
|
2936
|
-
FeatureFragment.model_rebuild()
|
|
2937
|
-
EntitlementFragment.model_rebuild()
|
|
2938
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2939
2936
|
SlimCustomerFragment.model_rebuild()
|
|
2940
2937
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2941
|
-
|
|
2938
|
+
CustomerResourceFragment.model_rebuild()
|
|
2939
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2942
2940
|
TotalPriceFragment.model_rebuild()
|
|
2943
|
-
|
|
2941
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2942
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2944
2943
|
ProductFragment.model_rebuild()
|
|
2944
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2945
2945
|
PlanFragment.model_rebuild()
|
|
2946
|
-
CustomerResourceFragment.model_rebuild()
|
|
2947
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2948
2946
|
SubscriptionFragment.model_rebuild()
|
|
2947
|
+
FeatureFragment.model_rebuild()
|
|
2948
|
+
EntitlementFragment.model_rebuild()
|
|
2949
2949
|
ApplySubscriptionFragment.model_rebuild()
|
|
2950
2950
|
FontVariantFragment.model_rebuild()
|
|
2951
2951
|
TypographyConfigurationFragment.model_rebuild()
|
|
2952
2952
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2953
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2954
2953
|
CouponFragment.model_rebuild()
|
|
2954
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2955
2955
|
CustomerFragment.model_rebuild()
|
|
2956
2956
|
CheckoutStateFragment.model_rebuild()
|
|
2957
2957
|
CreditGrantFragment.model_rebuild()
|
|
@@ -2959,11 +2959,11 @@ CreditsBalanceSummaryFragment.model_rebuild()
|
|
|
2959
2959
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2960
2960
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2961
2961
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2962
|
-
|
|
2962
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2963
2963
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2964
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2964
2965
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2965
2966
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2966
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2967
2967
|
CustomerPortalFragment.model_rebuild()
|
|
2968
2968
|
CustomerStatisticsFragment.model_rebuild()
|
|
2969
2969
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2973,8 +2973,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2973
2973
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2974
2974
|
LayoutConfigurationFragment.model_rebuild()
|
|
2975
2975
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2976
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2977
2976
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2977
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2978
2978
|
MockPaywallAddonFragment.model_rebuild()
|
|
2979
2979
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2980
2980
|
MockPaywallPlanFragment.model_rebuild()
|