stigg-api-client-v2 2.438.3__py3-none-any.whl → 2.443.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 +36 -0
- stigg/generated/async_client.py +78 -1
- stigg/generated/client.py +78 -1
- stigg/generated/enums.py +9 -0
- stigg/generated/fragments.py +417 -357
- stigg/generated/input_types.py +26 -0
- stigg/generated/subscriptions.py +35 -0
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.443.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.443.0.dist-info}/RECORD +11 -10
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.443.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.443.0.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -60,39 +60,6 @@ class AddonDependencyFragment(BaseModel):
|
|
|
60
60
|
description: Optional[str] = Field(default=None)
|
|
61
61
|
|
|
62
62
|
|
|
63
|
-
class PackageEntitlementFragment(BaseModel):
|
|
64
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
65
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
66
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
67
|
-
feature_id: str = Field(alias="featureId")
|
|
68
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
69
|
-
alias="resetPeriod", default=None
|
|
70
|
-
)
|
|
71
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
72
|
-
alias="hiddenFromWidgets", default=None
|
|
73
|
-
)
|
|
74
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
75
|
-
display_name_override: Optional[str] = Field(
|
|
76
|
-
alias="displayNameOverride", default=None
|
|
77
|
-
)
|
|
78
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
82
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
83
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
84
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
85
|
-
feature_units_plural: Optional[str] = Field(
|
|
86
|
-
alias="featureUnitsPlural", default=None
|
|
87
|
-
)
|
|
88
|
-
display_name: str = Field(alias="displayName")
|
|
89
|
-
description: Optional[str] = Field(default=None)
|
|
90
|
-
ref_id: str = Field(alias="refId")
|
|
91
|
-
additional_meta_data: Optional[Any] = Field(
|
|
92
|
-
alias="additionalMetaData", default=None
|
|
93
|
-
)
|
|
94
|
-
|
|
95
|
-
|
|
96
63
|
class PriceTierFragment(BaseModel):
|
|
97
64
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
98
65
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -113,29 +80,33 @@ class PriceTierFragmentFlatPrice(BaseModel):
|
|
|
113
80
|
currency: Currency
|
|
114
81
|
|
|
115
82
|
|
|
116
|
-
class
|
|
83
|
+
class PriceFragment(BaseModel):
|
|
117
84
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
118
85
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
86
|
+
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
119
87
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
88
|
+
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
89
|
+
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
120
90
|
billing_country_code: Optional[str] = Field(
|
|
121
91
|
alias="billingCountryCode", default=None
|
|
122
92
|
)
|
|
123
|
-
price: Optional["
|
|
93
|
+
price: Optional["PriceFragmentPrice"] = Field(default=None)
|
|
124
94
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
125
|
-
tiers: Optional[List["
|
|
126
|
-
feature: Optional["
|
|
95
|
+
tiers: Optional[List["PriceFragmentTiers"]] = Field(default=None)
|
|
96
|
+
feature: Optional["PriceFragmentFeature"] = Field(default=None)
|
|
97
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
127
98
|
|
|
128
99
|
|
|
129
|
-
class
|
|
100
|
+
class PriceFragmentPrice(BaseModel):
|
|
130
101
|
amount: float
|
|
131
102
|
currency: Currency
|
|
132
103
|
|
|
133
104
|
|
|
134
|
-
class
|
|
105
|
+
class PriceFragmentTiers(PriceTierFragment):
|
|
135
106
|
pass
|
|
136
107
|
|
|
137
108
|
|
|
138
|
-
class
|
|
109
|
+
class PriceFragmentFeature(BaseModel):
|
|
139
110
|
ref_id: str = Field(alias="refId")
|
|
140
111
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
141
112
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -145,33 +116,62 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
145
116
|
description: Optional[str] = Field(default=None)
|
|
146
117
|
|
|
147
118
|
|
|
148
|
-
class
|
|
119
|
+
class PackageEntitlementFragment(BaseModel):
|
|
120
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
121
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
122
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
123
|
+
feature_id: str = Field(alias="featureId")
|
|
124
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
125
|
+
alias="resetPeriod", default=None
|
|
126
|
+
)
|
|
127
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
128
|
+
alias="hiddenFromWidgets", default=None
|
|
129
|
+
)
|
|
130
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
131
|
+
display_name_override: Optional[str] = Field(
|
|
132
|
+
alias="displayNameOverride", default=None
|
|
133
|
+
)
|
|
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
|
+
class OveragePriceFragment(BaseModel):
|
|
149
153
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
154
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
152
155
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
153
|
-
min_unit_quantity: Optional[float] = Field(alias="minUnitQuantity", default=None)
|
|
154
|
-
max_unit_quantity: Optional[float] = Field(alias="maxUnitQuantity", default=None)
|
|
155
156
|
billing_country_code: Optional[str] = Field(
|
|
156
157
|
alias="billingCountryCode", default=None
|
|
157
158
|
)
|
|
158
|
-
price: Optional["
|
|
159
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
160
|
tiers_mode: Optional[TiersMode] = Field(alias="tiersMode", default=None)
|
|
160
|
-
tiers: Optional[List["
|
|
161
|
-
feature: Optional["
|
|
162
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
161
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
162
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
163
163
|
|
|
164
164
|
|
|
165
|
-
class
|
|
165
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
166
166
|
amount: float
|
|
167
167
|
currency: Currency
|
|
168
168
|
|
|
169
169
|
|
|
170
|
-
class
|
|
170
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
171
171
|
pass
|
|
172
172
|
|
|
173
173
|
|
|
174
|
-
class
|
|
174
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
175
175
|
ref_id: str = Field(alias="refId")
|
|
176
176
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
177
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -220,185 +220,183 @@ class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
|
220
220
|
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
221
221
|
|
|
222
222
|
|
|
223
|
-
class
|
|
224
|
-
|
|
225
|
-
|
|
223
|
+
class TotalPriceFragment(BaseModel):
|
|
224
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
225
|
+
total: "TotalPriceFragmentTotal"
|
|
226
|
+
|
|
227
|
+
|
|
228
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
229
|
+
amount: float
|
|
230
|
+
currency: Currency
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
234
|
+
amount: float
|
|
235
|
+
currency: Currency
|
|
236
|
+
|
|
237
|
+
|
|
238
|
+
class SlimCustomerFragment(BaseModel):
|
|
239
|
+
id: str
|
|
240
|
+
name: Optional[str] = Field(default=None)
|
|
241
|
+
email: Optional[str] = Field(default=None)
|
|
242
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
243
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
244
|
+
ref_id: str = Field(alias="refId")
|
|
245
|
+
customer_id: str = Field(alias="customerId")
|
|
246
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
247
|
+
additional_meta_data: Optional[Any] = Field(
|
|
248
|
+
alias="additionalMetaData", default=None
|
|
226
249
|
)
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
230
|
-
alias="targetPackage", default=None
|
|
250
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
251
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
231
252
|
)
|
|
232
|
-
schedule_variables: Optional[
|
|
233
|
-
Annotated[
|
|
234
|
-
Union[
|
|
235
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
236
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
237
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
238
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
239
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
240
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
241
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
242
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
243
|
-
],
|
|
244
|
-
Field(discriminator="typename__"),
|
|
245
|
-
]
|
|
246
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
247
253
|
|
|
248
254
|
|
|
249
|
-
class
|
|
250
|
-
|
|
255
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
256
|
+
billing_id: str = Field(alias="billingId")
|
|
257
|
+
status: SubscriptionInvoiceStatus
|
|
258
|
+
created_at: Any = Field(alias="createdAt")
|
|
259
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
260
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
261
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
262
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
263
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
264
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
265
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
266
|
+
alias="billingReason", default=None
|
|
267
|
+
)
|
|
268
|
+
currency: Optional[str] = Field(default=None)
|
|
269
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
270
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
271
|
+
alias="subTotalExcludingTax", default=None
|
|
272
|
+
)
|
|
273
|
+
total: Optional[float] = Field(default=None)
|
|
274
|
+
total_excluding_tax: Optional[float] = Field(
|
|
275
|
+
alias="totalExcludingTax", default=None
|
|
276
|
+
)
|
|
277
|
+
tax: Optional[float] = Field(default=None)
|
|
278
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
279
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
class ProductFragment(BaseModel):
|
|
251
283
|
ref_id: str = Field(alias="refId")
|
|
252
|
-
display_name: str = Field(alias="displayName")
|
|
284
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
285
|
+
description: Optional[str] = Field(default=None)
|
|
286
|
+
additional_meta_data: Optional[Any] = Field(
|
|
287
|
+
alias="additionalMetaData", default=None
|
|
288
|
+
)
|
|
289
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
253
290
|
|
|
254
291
|
|
|
255
|
-
class
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
292
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
293
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
294
|
+
alias="downgradePlan", default=None
|
|
295
|
+
)
|
|
259
296
|
|
|
260
297
|
|
|
261
|
-
class
|
|
262
|
-
|
|
263
|
-
)
|
|
264
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
265
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
266
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
298
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
299
|
+
ref_id: str = Field(alias="refId")
|
|
300
|
+
display_name: str = Field(alias="displayName")
|
|
267
301
|
|
|
268
302
|
|
|
269
|
-
class
|
|
270
|
-
|
|
271
|
-
)
|
|
272
|
-
|
|
273
|
-
|
|
303
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
304
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
305
|
+
display_name: str = Field(alias="displayName")
|
|
306
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
307
|
+
default=None
|
|
308
|
+
)
|
|
309
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
274
310
|
|
|
275
311
|
|
|
276
|
-
class
|
|
277
|
-
|
|
312
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
313
|
+
pass
|
|
278
314
|
|
|
279
315
|
|
|
280
|
-
class
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
284
|
-
billable_features: Optional[
|
|
285
|
-
List[
|
|
286
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
287
|
-
]
|
|
288
|
-
] = Field(alias="billableFeatures", default=None)
|
|
289
|
-
addons: Optional[
|
|
290
|
-
List[
|
|
291
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
292
|
-
]
|
|
293
|
-
] = Field(default=None)
|
|
294
|
-
price_overrides: Optional[
|
|
295
|
-
List[
|
|
296
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
297
|
-
]
|
|
298
|
-
] = Field(alias="priceOverrides", default=None)
|
|
316
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
317
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
318
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
299
319
|
|
|
300
320
|
|
|
301
|
-
class
|
|
302
|
-
|
|
303
|
-
)
|
|
304
|
-
|
|
305
|
-
|
|
321
|
+
class PlanFragment(BaseModel):
|
|
322
|
+
id: str
|
|
323
|
+
ref_id: str = Field(alias="refId")
|
|
324
|
+
display_name: str = Field(alias="displayName")
|
|
325
|
+
description: Optional[str] = Field(default=None)
|
|
326
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
327
|
+
version_number: int = Field(alias="versionNumber")
|
|
328
|
+
additional_meta_data: Optional[Any] = Field(
|
|
329
|
+
alias="additionalMetaData", default=None
|
|
330
|
+
)
|
|
331
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
332
|
+
alias="hiddenFromWidgets", default=None
|
|
333
|
+
)
|
|
334
|
+
product: "PlanFragmentProduct"
|
|
335
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
336
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
337
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
338
|
+
alias="inheritedEntitlements", default=None
|
|
339
|
+
)
|
|
340
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
341
|
+
alias="compatibleAddons", default=None
|
|
342
|
+
)
|
|
343
|
+
compatible_package_groups: Optional[
|
|
344
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
345
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
346
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
347
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
348
|
+
alias="overagePrices", default=None
|
|
349
|
+
)
|
|
350
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
351
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
352
|
+
alias="defaultTrialConfig", default=None
|
|
353
|
+
)
|
|
306
354
|
|
|
307
355
|
|
|
308
|
-
class
|
|
309
|
-
|
|
310
|
-
):
|
|
311
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
312
|
-
quantity: float
|
|
356
|
+
class PlanFragmentProduct(ProductFragment):
|
|
357
|
+
pass
|
|
313
358
|
|
|
314
359
|
|
|
315
|
-
class
|
|
316
|
-
|
|
317
|
-
)
|
|
318
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
319
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
320
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
360
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
361
|
+
ref_id: str = Field(alias="refId")
|
|
362
|
+
display_name: str = Field(alias="displayName")
|
|
321
363
|
|
|
322
364
|
|
|
323
|
-
class
|
|
324
|
-
|
|
325
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
326
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
327
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
328
|
-
billable_features: Optional[
|
|
329
|
-
List[
|
|
330
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
331
|
-
]
|
|
332
|
-
] = Field(alias="billableFeatures", default=None)
|
|
333
|
-
addons: Optional[
|
|
334
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
335
|
-
] = Field(default=None)
|
|
336
|
-
price_overrides: Optional[
|
|
337
|
-
List[
|
|
338
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
339
|
-
]
|
|
340
|
-
] = Field(alias="priceOverrides", default=None)
|
|
365
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
366
|
+
pass
|
|
341
367
|
|
|
342
368
|
|
|
343
|
-
class
|
|
344
|
-
|
|
345
|
-
):
|
|
346
|
-
feature_id: str = Field(alias="featureId")
|
|
347
|
-
quantity: float
|
|
369
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
370
|
+
pass
|
|
348
371
|
|
|
349
372
|
|
|
350
|
-
class
|
|
351
|
-
|
|
352
|
-
quantity: float
|
|
373
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
374
|
+
pass
|
|
353
375
|
|
|
354
376
|
|
|
355
|
-
class
|
|
356
|
-
|
|
357
|
-
):
|
|
358
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
359
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
360
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
377
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
378
|
+
pass
|
|
361
379
|
|
|
362
380
|
|
|
363
|
-
class
|
|
364
|
-
|
|
365
|
-
):
|
|
366
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
367
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
368
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
381
|
+
class PlanFragmentPrices(PriceFragment):
|
|
382
|
+
pass
|
|
369
383
|
|
|
370
384
|
|
|
371
|
-
class
|
|
372
|
-
|
|
373
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
374
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
385
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
386
|
+
pass
|
|
375
387
|
|
|
376
388
|
|
|
377
|
-
class
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
384
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
385
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
386
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
387
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
388
|
-
alias="billingReason", default=None
|
|
389
|
-
)
|
|
390
|
-
currency: Optional[str] = Field(default=None)
|
|
391
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
392
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
393
|
-
alias="subTotalExcludingTax", default=None
|
|
394
|
-
)
|
|
395
|
-
total: Optional[float] = Field(default=None)
|
|
396
|
-
total_excluding_tax: Optional[float] = Field(
|
|
397
|
-
alias="totalExcludingTax", default=None
|
|
389
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
390
|
+
duration: float
|
|
391
|
+
units: TrialPeriodUnits
|
|
392
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
393
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
394
|
+
alias="trialEndBehavior", default=None
|
|
398
395
|
)
|
|
399
|
-
|
|
400
|
-
|
|
401
|
-
|
|
396
|
+
|
|
397
|
+
|
|
398
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
399
|
+
limit: float
|
|
402
400
|
|
|
403
401
|
|
|
404
402
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
@@ -563,160 +561,162 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
563
561
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
564
562
|
|
|
565
563
|
|
|
566
|
-
class
|
|
567
|
-
|
|
568
|
-
total: "TotalPriceFragmentTotal"
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
572
|
-
amount: float
|
|
573
|
-
currency: Currency
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
577
|
-
amount: float
|
|
578
|
-
currency: Currency
|
|
564
|
+
class CustomerResourceFragment(BaseModel):
|
|
565
|
+
resource_id: str = Field(alias="resourceId")
|
|
579
566
|
|
|
580
567
|
|
|
581
|
-
class
|
|
582
|
-
|
|
583
|
-
|
|
584
|
-
description: Optional[str] = Field(default=None)
|
|
585
|
-
additional_meta_data: Optional[Any] = Field(
|
|
586
|
-
alias="additionalMetaData", default=None
|
|
568
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
569
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
570
|
+
alias="subscriptionScheduleType"
|
|
587
571
|
)
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
593
|
-
alias="downgradePlan", default=None
|
|
572
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
573
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
574
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
575
|
+
alias="targetPackage", default=None
|
|
594
576
|
)
|
|
577
|
+
schedule_variables: Optional[
|
|
578
|
+
Annotated[
|
|
579
|
+
Union[
|
|
580
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
581
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
582
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
583
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
584
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
585
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
586
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
587
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
588
|
+
],
|
|
589
|
+
Field(discriminator="typename__"),
|
|
590
|
+
]
|
|
591
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
595
592
|
|
|
596
593
|
|
|
597
|
-
class
|
|
594
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
595
|
+
id: str
|
|
598
596
|
ref_id: str = Field(alias="refId")
|
|
599
597
|
display_name: str = Field(alias="displayName")
|
|
600
598
|
|
|
601
599
|
|
|
602
|
-
class
|
|
603
|
-
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
default=None
|
|
607
|
-
)
|
|
608
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
612
|
-
pass
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
616
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
617
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
600
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
601
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
602
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
603
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
618
604
|
|
|
619
605
|
|
|
620
|
-
class
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
|
|
624
|
-
|
|
625
|
-
|
|
626
|
-
version_number: int = Field(alias="versionNumber")
|
|
627
|
-
additional_meta_data: Optional[Any] = Field(
|
|
628
|
-
alias="additionalMetaData", default=None
|
|
629
|
-
)
|
|
630
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
631
|
-
alias="hiddenFromWidgets", default=None
|
|
632
|
-
)
|
|
633
|
-
product: "PlanFragmentProduct"
|
|
634
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
635
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
636
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
637
|
-
alias="inheritedEntitlements", default=None
|
|
638
|
-
)
|
|
639
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
640
|
-
alias="compatibleAddons", default=None
|
|
641
|
-
)
|
|
642
|
-
compatible_package_groups: Optional[
|
|
643
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
644
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
645
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
646
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
647
|
-
alias="overagePrices", default=None
|
|
648
|
-
)
|
|
649
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
650
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
651
|
-
alias="defaultTrialConfig", default=None
|
|
652
|
-
)
|
|
606
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
607
|
+
BaseModel
|
|
608
|
+
):
|
|
609
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
610
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
611
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
653
612
|
|
|
654
613
|
|
|
655
|
-
class
|
|
656
|
-
|
|
614
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
615
|
+
BaseModel
|
|
616
|
+
):
|
|
617
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
618
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
657
619
|
|
|
658
620
|
|
|
659
|
-
class
|
|
660
|
-
|
|
661
|
-
display_name: str = Field(alias="displayName")
|
|
621
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
622
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
662
623
|
|
|
663
624
|
|
|
664
|
-
class
|
|
665
|
-
|
|
625
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
626
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
627
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
628
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
629
|
+
billable_features: Optional[
|
|
630
|
+
List[
|
|
631
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
632
|
+
]
|
|
633
|
+
] = Field(alias="billableFeatures", default=None)
|
|
634
|
+
addons: Optional[
|
|
635
|
+
List[
|
|
636
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
637
|
+
]
|
|
638
|
+
] = Field(default=None)
|
|
639
|
+
price_overrides: Optional[
|
|
640
|
+
List[
|
|
641
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
642
|
+
]
|
|
643
|
+
] = Field(alias="priceOverrides", default=None)
|
|
666
644
|
|
|
667
645
|
|
|
668
|
-
class
|
|
669
|
-
|
|
646
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
647
|
+
BaseModel
|
|
648
|
+
):
|
|
649
|
+
feature_id: str = Field(alias="featureId")
|
|
650
|
+
quantity: float
|
|
670
651
|
|
|
671
652
|
|
|
672
|
-
class
|
|
673
|
-
|
|
653
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
654
|
+
BaseModel
|
|
655
|
+
):
|
|
656
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
657
|
+
quantity: float
|
|
674
658
|
|
|
675
659
|
|
|
676
|
-
class
|
|
677
|
-
|
|
660
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
661
|
+
BaseModel
|
|
662
|
+
):
|
|
663
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
664
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
665
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
678
666
|
|
|
679
667
|
|
|
680
|
-
class
|
|
681
|
-
|
|
668
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
669
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
670
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
671
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
672
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
673
|
+
billable_features: Optional[
|
|
674
|
+
List[
|
|
675
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
676
|
+
]
|
|
677
|
+
] = Field(alias="billableFeatures", default=None)
|
|
678
|
+
addons: Optional[
|
|
679
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
680
|
+
] = Field(default=None)
|
|
681
|
+
price_overrides: Optional[
|
|
682
|
+
List[
|
|
683
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
684
|
+
]
|
|
685
|
+
] = Field(alias="priceOverrides", default=None)
|
|
682
686
|
|
|
683
687
|
|
|
684
|
-
class
|
|
685
|
-
|
|
688
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
689
|
+
BaseModel
|
|
690
|
+
):
|
|
691
|
+
feature_id: str = Field(alias="featureId")
|
|
692
|
+
quantity: float
|
|
686
693
|
|
|
687
694
|
|
|
688
|
-
class
|
|
689
|
-
|
|
690
|
-
|
|
691
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
692
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
693
|
-
alias="trialEndBehavior", default=None
|
|
694
|
-
)
|
|
695
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
696
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
697
|
+
quantity: float
|
|
695
698
|
|
|
696
699
|
|
|
697
|
-
class
|
|
698
|
-
|
|
700
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
701
|
+
BaseModel
|
|
702
|
+
):
|
|
703
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
704
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
705
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
699
706
|
|
|
700
707
|
|
|
701
|
-
class
|
|
702
|
-
|
|
703
|
-
|
|
704
|
-
|
|
705
|
-
|
|
706
|
-
|
|
707
|
-
ref_id: str = Field(alias="refId")
|
|
708
|
-
customer_id: str = Field(alias="customerId")
|
|
709
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
710
|
-
additional_meta_data: Optional[Any] = Field(
|
|
711
|
-
alias="additionalMetaData", default=None
|
|
712
|
-
)
|
|
713
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
714
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
715
|
-
)
|
|
708
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
709
|
+
BaseModel
|
|
710
|
+
):
|
|
711
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
712
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
713
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
716
714
|
|
|
717
715
|
|
|
718
|
-
class
|
|
719
|
-
|
|
716
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
717
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
718
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
719
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
720
720
|
|
|
721
721
|
|
|
722
722
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1257,43 +1257,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1261
|
-
display_name: str = Field(alias="displayName")
|
|
1262
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1263
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1264
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1265
|
-
period: PromotionalEntitlementPeriod
|
|
1266
|
-
start_date: Any = Field(alias="startDate")
|
|
1267
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1268
|
-
|
|
1269
|
-
|
|
1270
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1271
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1272
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1273
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1274
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1275
|
-
default=None
|
|
1276
|
-
)
|
|
1277
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1278
|
-
default=None
|
|
1279
|
-
)
|
|
1280
|
-
|
|
1281
|
-
|
|
1282
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1283
|
-
amount: float
|
|
1284
|
-
currency: Currency
|
|
1285
|
-
|
|
1286
|
-
|
|
1287
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1288
|
-
id: str
|
|
1289
|
-
ref_id: str = Field(alias="refId")
|
|
1290
|
-
display_name: str = Field(alias="displayName")
|
|
1291
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1292
|
-
feature_units_plural: Optional[str] = Field(
|
|
1293
|
-
alias="featureUnitsPlural", default=None
|
|
1294
|
-
)
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
1260
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1298
1261
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1299
1262
|
alias="subscriptionScheduleType"
|
|
@@ -1470,6 +1433,33 @@ class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
|
1470
1433
|
quantity: int
|
|
1471
1434
|
|
|
1472
1435
|
|
|
1436
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1437
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1438
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1439
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1440
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1441
|
+
default=None
|
|
1442
|
+
)
|
|
1443
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1444
|
+
default=None
|
|
1445
|
+
)
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1449
|
+
amount: float
|
|
1450
|
+
currency: Currency
|
|
1451
|
+
|
|
1452
|
+
|
|
1453
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1454
|
+
id: str
|
|
1455
|
+
ref_id: str = Field(alias="refId")
|
|
1456
|
+
display_name: str = Field(alias="displayName")
|
|
1457
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1458
|
+
feature_units_plural: Optional[str] = Field(
|
|
1459
|
+
alias="featureUnitsPlural", default=None
|
|
1460
|
+
)
|
|
1461
|
+
|
|
1462
|
+
|
|
1473
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1474
1464
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1475
1465
|
plan_id: str = Field(alias="planId")
|
|
@@ -1566,6 +1556,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1566
1556
|
pass
|
|
1567
1557
|
|
|
1568
1558
|
|
|
1559
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1560
|
+
display_name: str = Field(alias="displayName")
|
|
1561
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1562
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1563
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1564
|
+
period: PromotionalEntitlementPeriod
|
|
1565
|
+
start_date: Any = Field(alias="startDate")
|
|
1566
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1567
|
+
|
|
1568
|
+
|
|
1569
1569
|
class CustomerPortalFragment(BaseModel):
|
|
1570
1570
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1571
1571
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -2001,6 +2001,13 @@ class PackagePublishedPayload(BaseModel):
|
|
|
2001
2001
|
migration_type: PublishMigrationType = Field(alias="migrationType")
|
|
2002
2002
|
|
|
2003
2003
|
|
|
2004
|
+
class PageInfoFragment(BaseModel):
|
|
2005
|
+
start_cursor: Optional[Any] = Field(alias="startCursor", default=None)
|
|
2006
|
+
end_cursor: Optional[Any] = Field(alias="endCursor", default=None)
|
|
2007
|
+
has_next_page: Optional[bool] = Field(alias="hasNextPage", default=None)
|
|
2008
|
+
has_previous_page: Optional[bool] = Field(alias="hasPreviousPage", default=None)
|
|
2009
|
+
|
|
2010
|
+
|
|
2004
2011
|
class PaywallCalculatedPricePointsFragment(BaseModel):
|
|
2005
2012
|
plan_id: str = Field(alias="planId")
|
|
2006
2013
|
additional_charges_may_apply: Optional[bool] = Field(
|
|
@@ -2704,6 +2711,57 @@ class SubscriptionPreviewV2FragmentBillingPeriodRange(BaseModel):
|
|
|
2704
2711
|
end: Optional[Any] = Field(default=None)
|
|
2705
2712
|
|
|
2706
2713
|
|
|
2714
|
+
class SubscriptionQueryFragment(BaseModel):
|
|
2715
|
+
subscription_id: str = Field(alias="subscriptionId")
|
|
2716
|
+
status: SubscriptionStatus
|
|
2717
|
+
pricing_type: PricingType = Field(alias="pricingType")
|
|
2718
|
+
start_date: Any = Field(alias="startDate")
|
|
2719
|
+
current_billing_period_end: Optional[Any] = Field(
|
|
2720
|
+
alias="currentBillingPeriodEnd", default=None
|
|
2721
|
+
)
|
|
2722
|
+
customer: "SubscriptionQueryFragmentCustomer"
|
|
2723
|
+
paying_customer: Optional["SubscriptionQueryFragmentPayingCustomer"] = Field(
|
|
2724
|
+
alias="payingCustomer", default=None
|
|
2725
|
+
)
|
|
2726
|
+
resource: Optional["SubscriptionQueryFragmentResource"] = Field(default=None)
|
|
2727
|
+
plan: "SubscriptionQueryFragmentPlan"
|
|
2728
|
+
addons: Optional[List["SubscriptionQueryFragmentAddons"]] = Field(default=None)
|
|
2729
|
+
trial_configuration: Optional[
|
|
2730
|
+
"SubscriptionQueryFragmentTrialConfiguration"
|
|
2731
|
+
] = Field(alias="trialConfiguration", default=None)
|
|
2732
|
+
trial_end_date: Optional[Any] = Field(alias="trialEndDate", default=None)
|
|
2733
|
+
|
|
2734
|
+
|
|
2735
|
+
class SubscriptionQueryFragmentCustomer(BaseModel):
|
|
2736
|
+
customer_id: str = Field(alias="customerId")
|
|
2737
|
+
|
|
2738
|
+
|
|
2739
|
+
class SubscriptionQueryFragmentPayingCustomer(BaseModel):
|
|
2740
|
+
customer_id: str = Field(alias="customerId")
|
|
2741
|
+
|
|
2742
|
+
|
|
2743
|
+
class SubscriptionQueryFragmentResource(BaseModel):
|
|
2744
|
+
resource_id: str = Field(alias="resourceId")
|
|
2745
|
+
|
|
2746
|
+
|
|
2747
|
+
class SubscriptionQueryFragmentPlan(BaseModel):
|
|
2748
|
+
plan_id: str = Field(alias="planId")
|
|
2749
|
+
display_name: str = Field(alias="displayName")
|
|
2750
|
+
|
|
2751
|
+
|
|
2752
|
+
class SubscriptionQueryFragmentAddons(BaseModel):
|
|
2753
|
+
quantity: float
|
|
2754
|
+
addon: "SubscriptionQueryFragmentAddonsAddon"
|
|
2755
|
+
|
|
2756
|
+
|
|
2757
|
+
class SubscriptionQueryFragmentAddonsAddon(BaseModel):
|
|
2758
|
+
addon_id: str = Field(alias="addonId")
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
class SubscriptionQueryFragmentTrialConfiguration(BaseModel):
|
|
2762
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
2763
|
+
|
|
2764
|
+
|
|
2707
2765
|
class UsageHistoryFragment(BaseModel):
|
|
2708
2766
|
start_date: Any = Field(alias="startDate")
|
|
2709
2767
|
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
@@ -2770,21 +2828,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2770
2828
|
|
|
2771
2829
|
|
|
2772
2830
|
AddonDependencyFragment.model_rebuild()
|
|
2773
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2774
2831
|
PriceTierFragment.model_rebuild()
|
|
2775
|
-
OveragePriceFragment.model_rebuild()
|
|
2776
2832
|
PriceFragment.model_rebuild()
|
|
2833
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2834
|
+
OveragePriceFragment.model_rebuild()
|
|
2777
2835
|
AddonFragment.model_rebuild()
|
|
2778
2836
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2779
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2780
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2781
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2782
2837
|
TotalPriceFragment.model_rebuild()
|
|
2838
|
+
SlimCustomerFragment.model_rebuild()
|
|
2839
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2783
2840
|
ProductFragment.model_rebuild()
|
|
2784
2841
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2785
2842
|
PlanFragment.model_rebuild()
|
|
2786
|
-
|
|
2843
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2787
2844
|
CustomerResourceFragment.model_rebuild()
|
|
2845
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2788
2846
|
SubscriptionFragment.model_rebuild()
|
|
2789
2847
|
FeatureFragment.model_rebuild()
|
|
2790
2848
|
EntitlementFragment.model_rebuild()
|
|
@@ -2799,11 +2857,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2799
2857
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2800
2858
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2859
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2803
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2804
2860
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2805
2861
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2862
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2806
2863
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2864
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2865
|
CustomerPortalFragment.model_rebuild()
|
|
2808
2866
|
CustomerStatisticsFragment.model_rebuild()
|
|
2809
2867
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2819,6 +2877,7 @@ MockPaywallAddonFragment.model_rebuild()
|
|
|
2819
2877
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2820
2878
|
MockPaywallPlanFragment.model_rebuild()
|
|
2821
2879
|
PackagePublishedPayload.model_rebuild()
|
|
2880
|
+
PageInfoFragment.model_rebuild()
|
|
2822
2881
|
PaywallCalculatedPricePointsFragment.model_rebuild()
|
|
2823
2882
|
PaywallConfigurationFragment.model_rebuild()
|
|
2824
2883
|
PaywallCurrencyFragment.model_rebuild()
|
|
@@ -2832,5 +2891,6 @@ SubscriptionInvoicePreviewFragment.model_rebuild()
|
|
|
2832
2891
|
SubscriptionPreviewFragment.model_rebuild()
|
|
2833
2892
|
SubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2834
2893
|
SubscriptionPreviewV2Fragment.model_rebuild()
|
|
2894
|
+
SubscriptionQueryFragment.model_rebuild()
|
|
2835
2895
|
UsageHistoryFragment.model_rebuild()
|
|
2836
2896
|
UsageHistoryV2Fragment.model_rebuild()
|