stigg-api-client-v2 2.438.3__py3-none-any.whl → 2.442.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 +6 -0
- stigg/generated/enums.py +9 -0
- stigg/generated/fragments.py +261 -261
- stigg/generated/input_types.py +26 -0
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.442.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.442.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.442.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.438.3.dist-info → stigg_api_client_v2-2.442.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -115,6 +115,7 @@ from .enums import (
|
|
|
115
115
|
SubscriptionMigrationTaskSortFields,
|
|
116
116
|
SubscriptionMigrationTime,
|
|
117
117
|
SubscriptionPriceSortFields,
|
|
118
|
+
SubscriptionQuerySortFields,
|
|
118
119
|
SubscriptionScheduleStatus,
|
|
119
120
|
SubscriptionScheduleType,
|
|
120
121
|
SubscriptionStartSetup,
|
|
@@ -841,6 +842,8 @@ from .input_types import (
|
|
|
841
842
|
SubscriptionPriceFilterCustomerSubscriptionFilter,
|
|
842
843
|
SubscriptionPriceFilterPriceFilter,
|
|
843
844
|
SubscriptionPriceSort,
|
|
845
|
+
SubscriptionQueryFilter,
|
|
846
|
+
SubscriptionQuerySort,
|
|
844
847
|
SubscriptionStatusFilterComparison,
|
|
845
848
|
SubscriptionUpdateScheduleCancellationInput,
|
|
846
849
|
SubscriptionUpdateUsageResetCutoffRuleInput,
|
|
@@ -1717,6 +1720,9 @@ __all__ = [
|
|
|
1717
1720
|
"SubscriptionPriceFilterPriceFilter",
|
|
1718
1721
|
"SubscriptionPriceSort",
|
|
1719
1722
|
"SubscriptionPriceSortFields",
|
|
1723
|
+
"SubscriptionQueryFilter",
|
|
1724
|
+
"SubscriptionQuerySort",
|
|
1725
|
+
"SubscriptionQuerySortFields",
|
|
1720
1726
|
"SubscriptionScheduleStatus",
|
|
1721
1727
|
"SubscriptionScheduleType",
|
|
1722
1728
|
"SubscriptionScheduledUpdateData",
|
stigg/generated/enums.py
CHANGED
|
@@ -1066,6 +1066,15 @@ class SubscriptionPriceSortFields(str, Enum):
|
|
|
1066
1066
|
usageLimit = "usageLimit"
|
|
1067
1067
|
|
|
1068
1068
|
|
|
1069
|
+
class SubscriptionQuerySortFields(str, Enum):
|
|
1070
|
+
createdAt = "createdAt"
|
|
1071
|
+
customerId = "customerId"
|
|
1072
|
+
environmentId = "environmentId"
|
|
1073
|
+
productId = "productId"
|
|
1074
|
+
resourceId = "resourceId"
|
|
1075
|
+
status = "status"
|
|
1076
|
+
|
|
1077
|
+
|
|
1069
1078
|
class SubscriptionScheduleStatus(str, Enum):
|
|
1070
1079
|
Canceled = "Canceled"
|
|
1071
1080
|
Done = "Done"
|
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,29 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
145
116
|
description: Optional[str] = Field(default=None)
|
|
146
117
|
|
|
147
118
|
|
|
148
|
-
class
|
|
119
|
+
class OveragePriceFragment(BaseModel):
|
|
149
120
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
150
121
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
151
|
-
billing_cadence: BillingCadence = Field(alias="billingCadence")
|
|
152
122
|
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
123
|
billing_country_code: Optional[str] = Field(
|
|
156
124
|
alias="billingCountryCode", default=None
|
|
157
125
|
)
|
|
158
|
-
price: Optional["
|
|
126
|
+
price: Optional["OveragePriceFragmentPrice"] = Field(default=None)
|
|
159
127
|
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)
|
|
128
|
+
tiers: Optional[List["OveragePriceFragmentTiers"]] = Field(default=None)
|
|
129
|
+
feature: Optional["OveragePriceFragmentFeature"] = Field(default=None)
|
|
163
130
|
|
|
164
131
|
|
|
165
|
-
class
|
|
132
|
+
class OveragePriceFragmentPrice(BaseModel):
|
|
166
133
|
amount: float
|
|
167
134
|
currency: Currency
|
|
168
135
|
|
|
169
136
|
|
|
170
|
-
class
|
|
137
|
+
class OveragePriceFragmentTiers(PriceTierFragment):
|
|
171
138
|
pass
|
|
172
139
|
|
|
173
140
|
|
|
174
|
-
class
|
|
141
|
+
class OveragePriceFragmentFeature(BaseModel):
|
|
175
142
|
ref_id: str = Field(alias="refId")
|
|
176
143
|
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
177
144
|
feature_units_plural: Optional[str] = Field(
|
|
@@ -181,6 +148,39 @@ class PriceFragmentFeature(BaseModel):
|
|
|
181
148
|
description: Optional[str] = Field(default=None)
|
|
182
149
|
|
|
183
150
|
|
|
151
|
+
class PackageEntitlementFragment(BaseModel):
|
|
152
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
153
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
154
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
155
|
+
feature_id: str = Field(alias="featureId")
|
|
156
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
157
|
+
alias="resetPeriod", default=None
|
|
158
|
+
)
|
|
159
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
160
|
+
alias="hiddenFromWidgets", default=None
|
|
161
|
+
)
|
|
162
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
163
|
+
display_name_override: Optional[str] = Field(
|
|
164
|
+
alias="displayNameOverride", default=None
|
|
165
|
+
)
|
|
166
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
167
|
+
|
|
168
|
+
|
|
169
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
170
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
171
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
172
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
173
|
+
feature_units_plural: Optional[str] = Field(
|
|
174
|
+
alias="featureUnitsPlural", default=None
|
|
175
|
+
)
|
|
176
|
+
display_name: str = Field(alias="displayName")
|
|
177
|
+
description: Optional[str] = Field(default=None)
|
|
178
|
+
ref_id: str = Field(alias="refId")
|
|
179
|
+
additional_meta_data: Optional[Any] = Field(
|
|
180
|
+
alias="additionalMetaData", default=None
|
|
181
|
+
)
|
|
182
|
+
|
|
183
|
+
|
|
184
184
|
class AddonFragment(BaseModel):
|
|
185
185
|
id: str
|
|
186
186
|
ref_id: str = Field(alias="refId")
|
|
@@ -216,49 +216,77 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
216
216
|
pass
|
|
217
217
|
|
|
218
218
|
|
|
219
|
-
class
|
|
220
|
-
|
|
219
|
+
class TotalPriceFragment(BaseModel):
|
|
220
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
221
|
+
total: "TotalPriceFragmentTotal"
|
|
221
222
|
|
|
222
223
|
|
|
223
|
-
class
|
|
224
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
225
|
+
amount: float
|
|
226
|
+
currency: Currency
|
|
227
|
+
|
|
228
|
+
|
|
229
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
230
|
+
amount: float
|
|
231
|
+
currency: Currency
|
|
232
|
+
|
|
233
|
+
|
|
234
|
+
class SlimCustomerFragment(BaseModel):
|
|
235
|
+
id: str
|
|
236
|
+
name: Optional[str] = Field(default=None)
|
|
237
|
+
email: Optional[str] = Field(default=None)
|
|
238
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
239
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
240
|
+
ref_id: str = Field(alias="refId")
|
|
241
|
+
customer_id: str = Field(alias="customerId")
|
|
242
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
243
|
+
additional_meta_data: Optional[Any] = Field(
|
|
244
|
+
alias="additionalMetaData", default=None
|
|
245
|
+
)
|
|
246
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
247
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
248
|
+
)
|
|
249
|
+
|
|
250
|
+
|
|
251
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
224
252
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
225
253
|
alias="subscriptionScheduleType"
|
|
226
254
|
)
|
|
227
255
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
228
256
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
229
|
-
target_package: Optional["
|
|
257
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
230
258
|
alias="targetPackage", default=None
|
|
231
259
|
)
|
|
232
260
|
schedule_variables: Optional[
|
|
233
261
|
Annotated[
|
|
234
262
|
Union[
|
|
235
|
-
"
|
|
236
|
-
"
|
|
237
|
-
"
|
|
238
|
-
"
|
|
239
|
-
"
|
|
240
|
-
"
|
|
241
|
-
"
|
|
242
|
-
"
|
|
263
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
264
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
265
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
266
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
267
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
268
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
269
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
270
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
243
271
|
],
|
|
244
272
|
Field(discriminator="typename__"),
|
|
245
273
|
]
|
|
246
274
|
] = Field(alias="scheduleVariables", default=None)
|
|
247
275
|
|
|
248
276
|
|
|
249
|
-
class
|
|
277
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
250
278
|
id: str
|
|
251
279
|
ref_id: str = Field(alias="refId")
|
|
252
280
|
display_name: str = Field(alias="displayName")
|
|
253
281
|
|
|
254
282
|
|
|
255
|
-
class
|
|
283
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
256
284
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
257
285
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
258
286
|
new_quantity: float = Field(alias="newQuantity")
|
|
259
287
|
|
|
260
288
|
|
|
261
|
-
class
|
|
289
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
262
290
|
BaseModel
|
|
263
291
|
):
|
|
264
292
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -266,53 +294,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
266
294
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
267
295
|
|
|
268
296
|
|
|
269
|
-
class
|
|
297
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
270
298
|
BaseModel
|
|
271
299
|
):
|
|
272
300
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
273
301
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
274
302
|
|
|
275
303
|
|
|
276
|
-
class
|
|
304
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
277
305
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
278
306
|
|
|
279
307
|
|
|
280
|
-
class
|
|
308
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
309
|
+
BaseModel
|
|
310
|
+
):
|
|
281
311
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
282
312
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
283
313
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
284
314
|
billable_features: Optional[
|
|
285
315
|
List[
|
|
286
|
-
"
|
|
316
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
287
317
|
]
|
|
288
318
|
] = Field(alias="billableFeatures", default=None)
|
|
289
319
|
addons: Optional[
|
|
290
320
|
List[
|
|
291
|
-
"
|
|
321
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
292
322
|
]
|
|
293
323
|
] = Field(default=None)
|
|
294
324
|
price_overrides: Optional[
|
|
295
325
|
List[
|
|
296
|
-
"
|
|
326
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
297
327
|
]
|
|
298
328
|
] = Field(alias="priceOverrides", default=None)
|
|
299
329
|
|
|
300
330
|
|
|
301
|
-
class
|
|
331
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
302
332
|
BaseModel
|
|
303
333
|
):
|
|
304
334
|
feature_id: str = Field(alias="featureId")
|
|
305
335
|
quantity: float
|
|
306
336
|
|
|
307
337
|
|
|
308
|
-
class
|
|
338
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
309
339
|
BaseModel
|
|
310
340
|
):
|
|
311
341
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
312
342
|
quantity: float
|
|
313
343
|
|
|
314
344
|
|
|
315
|
-
class
|
|
345
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
316
346
|
BaseModel
|
|
317
347
|
):
|
|
318
348
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -320,39 +350,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
320
350
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
321
351
|
|
|
322
352
|
|
|
323
|
-
class
|
|
353
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
324
354
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
325
355
|
plan_ref_id: str = Field(alias="planRefId")
|
|
326
356
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
327
357
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
328
358
|
billable_features: Optional[
|
|
329
359
|
List[
|
|
330
|
-
"
|
|
360
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
331
361
|
]
|
|
332
362
|
] = Field(alias="billableFeatures", default=None)
|
|
333
363
|
addons: Optional[
|
|
334
|
-
List[
|
|
364
|
+
List[
|
|
365
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
366
|
+
]
|
|
335
367
|
] = Field(default=None)
|
|
336
368
|
price_overrides: Optional[
|
|
337
369
|
List[
|
|
338
|
-
"
|
|
370
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
339
371
|
]
|
|
340
372
|
] = Field(alias="priceOverrides", default=None)
|
|
341
373
|
|
|
342
374
|
|
|
343
|
-
class
|
|
375
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
344
376
|
BaseModel
|
|
345
377
|
):
|
|
346
378
|
feature_id: str = Field(alias="featureId")
|
|
347
379
|
quantity: float
|
|
348
380
|
|
|
349
381
|
|
|
350
|
-
class
|
|
382
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
383
|
+
BaseModel
|
|
384
|
+
):
|
|
351
385
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
352
386
|
quantity: float
|
|
353
387
|
|
|
354
388
|
|
|
355
|
-
class
|
|
389
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
356
390
|
BaseModel
|
|
357
391
|
):
|
|
358
392
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -360,7 +394,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
360
394
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
361
395
|
|
|
362
396
|
|
|
363
|
-
class
|
|
397
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
364
398
|
BaseModel
|
|
365
399
|
):
|
|
366
400
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -368,78 +402,53 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
368
402
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
369
403
|
|
|
370
404
|
|
|
371
|
-
class
|
|
405
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
406
|
+
BaseModel
|
|
407
|
+
):
|
|
372
408
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
373
409
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
374
410
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
375
411
|
|
|
376
412
|
|
|
377
|
-
class
|
|
378
|
-
billing_id: str = Field(alias="billingId")
|
|
379
|
-
status: SubscriptionInvoiceStatus
|
|
380
|
-
created_at: Any = Field(alias="createdAt")
|
|
381
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
382
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
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
|
|
398
|
-
)
|
|
399
|
-
tax: Optional[float] = Field(default=None)
|
|
400
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
401
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
402
|
-
|
|
403
|
-
|
|
404
|
-
class SubscriptionScheduledUpdateData(BaseModel):
|
|
413
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
405
414
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
406
415
|
alias="subscriptionScheduleType"
|
|
407
416
|
)
|
|
408
417
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
409
418
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
410
|
-
target_package: Optional["
|
|
419
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
411
420
|
alias="targetPackage", default=None
|
|
412
421
|
)
|
|
413
422
|
schedule_variables: Optional[
|
|
414
423
|
Annotated[
|
|
415
424
|
Union[
|
|
416
|
-
"
|
|
417
|
-
"
|
|
418
|
-
"
|
|
419
|
-
"
|
|
420
|
-
"
|
|
421
|
-
"
|
|
422
|
-
"
|
|
423
|
-
"
|
|
425
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
426
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
427
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
428
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
429
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
430
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
431
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
432
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
424
433
|
],
|
|
425
434
|
Field(discriminator="typename__"),
|
|
426
435
|
]
|
|
427
436
|
] = Field(alias="scheduleVariables", default=None)
|
|
428
437
|
|
|
429
438
|
|
|
430
|
-
class
|
|
439
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
431
440
|
id: str
|
|
432
441
|
ref_id: str = Field(alias="refId")
|
|
433
442
|
display_name: str = Field(alias="displayName")
|
|
434
443
|
|
|
435
444
|
|
|
436
|
-
class
|
|
445
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
437
446
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
438
447
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
439
448
|
new_quantity: float = Field(alias="newQuantity")
|
|
440
449
|
|
|
441
450
|
|
|
442
|
-
class
|
|
451
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
443
452
|
BaseModel
|
|
444
453
|
):
|
|
445
454
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -447,55 +456,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
447
456
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
448
457
|
|
|
449
458
|
|
|
450
|
-
class
|
|
459
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
451
460
|
BaseModel
|
|
452
461
|
):
|
|
453
462
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
454
463
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
455
464
|
|
|
456
465
|
|
|
457
|
-
class
|
|
466
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
458
467
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
459
468
|
|
|
460
469
|
|
|
461
|
-
class
|
|
462
|
-
BaseModel
|
|
463
|
-
):
|
|
470
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
464
471
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
465
472
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
466
473
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
467
474
|
billable_features: Optional[
|
|
468
475
|
List[
|
|
469
|
-
"
|
|
476
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
470
477
|
]
|
|
471
478
|
] = Field(alias="billableFeatures", default=None)
|
|
472
479
|
addons: Optional[
|
|
473
480
|
List[
|
|
474
|
-
"
|
|
481
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
475
482
|
]
|
|
476
483
|
] = Field(default=None)
|
|
477
484
|
price_overrides: Optional[
|
|
478
485
|
List[
|
|
479
|
-
"
|
|
486
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
480
487
|
]
|
|
481
488
|
] = Field(alias="priceOverrides", default=None)
|
|
482
489
|
|
|
483
490
|
|
|
484
|
-
class
|
|
491
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
485
492
|
BaseModel
|
|
486
493
|
):
|
|
487
494
|
feature_id: str = Field(alias="featureId")
|
|
488
495
|
quantity: float
|
|
489
496
|
|
|
490
497
|
|
|
491
|
-
class
|
|
498
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
492
499
|
BaseModel
|
|
493
500
|
):
|
|
494
501
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
495
502
|
quantity: float
|
|
496
503
|
|
|
497
504
|
|
|
498
|
-
class
|
|
505
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
499
506
|
BaseModel
|
|
500
507
|
):
|
|
501
508
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -503,43 +510,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
503
510
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
504
511
|
|
|
505
512
|
|
|
506
|
-
class
|
|
513
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
507
514
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
508
515
|
plan_ref_id: str = Field(alias="planRefId")
|
|
509
516
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
510
517
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
511
518
|
billable_features: Optional[
|
|
512
519
|
List[
|
|
513
|
-
"
|
|
520
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
514
521
|
]
|
|
515
522
|
] = Field(alias="billableFeatures", default=None)
|
|
516
523
|
addons: Optional[
|
|
517
|
-
List[
|
|
518
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
519
|
-
]
|
|
524
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
520
525
|
] = Field(default=None)
|
|
521
526
|
price_overrides: Optional[
|
|
522
527
|
List[
|
|
523
|
-
"
|
|
528
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
524
529
|
]
|
|
525
530
|
] = Field(alias="priceOverrides", default=None)
|
|
526
531
|
|
|
527
532
|
|
|
528
|
-
class
|
|
533
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
529
534
|
BaseModel
|
|
530
535
|
):
|
|
531
536
|
feature_id: str = Field(alias="featureId")
|
|
532
537
|
quantity: float
|
|
533
538
|
|
|
534
539
|
|
|
535
|
-
class
|
|
536
|
-
BaseModel
|
|
537
|
-
):
|
|
540
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
538
541
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
539
542
|
quantity: float
|
|
540
543
|
|
|
541
544
|
|
|
542
|
-
class
|
|
545
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
543
546
|
BaseModel
|
|
544
547
|
):
|
|
545
548
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -547,7 +550,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
547
550
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
548
551
|
|
|
549
552
|
|
|
550
|
-
class
|
|
553
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
551
554
|
BaseModel
|
|
552
555
|
):
|
|
553
556
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -555,27 +558,37 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
555
558
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
556
559
|
|
|
557
560
|
|
|
558
|
-
class
|
|
559
|
-
BaseModel
|
|
560
|
-
):
|
|
561
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
561
562
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
562
563
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
563
564
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
564
565
|
|
|
565
566
|
|
|
566
|
-
class
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
567
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
568
|
+
billing_id: str = Field(alias="billingId")
|
|
569
|
+
status: SubscriptionInvoiceStatus
|
|
570
|
+
created_at: Any = Field(alias="createdAt")
|
|
571
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
572
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
573
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
574
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
575
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
576
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
577
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
578
|
+
alias="billingReason", default=None
|
|
579
|
+
)
|
|
580
|
+
currency: Optional[str] = Field(default=None)
|
|
581
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
582
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
583
|
+
alias="subTotalExcludingTax", default=None
|
|
584
|
+
)
|
|
585
|
+
total: Optional[float] = Field(default=None)
|
|
586
|
+
total_excluding_tax: Optional[float] = Field(
|
|
587
|
+
alias="totalExcludingTax", default=None
|
|
588
|
+
)
|
|
589
|
+
tax: Optional[float] = Field(default=None)
|
|
590
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
591
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
579
592
|
|
|
580
593
|
|
|
581
594
|
class ProductFragment(BaseModel):
|
|
@@ -698,27 +711,14 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
698
711
|
limit: float
|
|
699
712
|
|
|
700
713
|
|
|
701
|
-
class SlimCustomerFragment(BaseModel):
|
|
702
|
-
id: str
|
|
703
|
-
name: Optional[str] = Field(default=None)
|
|
704
|
-
email: Optional[str] = Field(default=None)
|
|
705
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
706
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
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
|
-
)
|
|
716
|
-
|
|
717
|
-
|
|
718
714
|
class CustomerResourceFragment(BaseModel):
|
|
719
715
|
resource_id: str = Field(alias="resourceId")
|
|
720
716
|
|
|
721
717
|
|
|
718
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
719
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
720
|
+
|
|
721
|
+
|
|
722
722
|
class SubscriptionFragment(BaseModel):
|
|
723
723
|
id: str
|
|
724
724
|
subscription_id: str = Field(alias="subscriptionId")
|
|
@@ -1257,41 +1257,11 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1257
1257
|
pass
|
|
1258
1258
|
|
|
1259
1259
|
|
|
1260
|
-
class
|
|
1261
|
-
|
|
1262
|
-
|
|
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")
|
|
1260
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1261
|
+
addon_id: str = Field(alias="addonId")
|
|
1262
|
+
description: Optional[str] = Field(default=None)
|
|
1290
1263
|
display_name: str = Field(alias="displayName")
|
|
1291
|
-
|
|
1292
|
-
feature_units_plural: Optional[str] = Field(
|
|
1293
|
-
alias="featureUnitsPlural", default=None
|
|
1294
|
-
)
|
|
1264
|
+
quantity: int
|
|
1295
1265
|
|
|
1296
1266
|
|
|
1297
1267
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1463,11 +1433,31 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1463
1433
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1464
1434
|
|
|
1465
1435
|
|
|
1466
|
-
class
|
|
1467
|
-
|
|
1468
|
-
|
|
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")
|
|
1469
1456
|
display_name: str = Field(alias="displayName")
|
|
1470
|
-
|
|
1457
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1458
|
+
feature_units_plural: Optional[str] = Field(
|
|
1459
|
+
alias="featureUnitsPlural", default=None
|
|
1460
|
+
)
|
|
1471
1461
|
|
|
1472
1462
|
|
|
1473
1463
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
@@ -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"]
|
|
@@ -1793,6 +1793,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1793
1793
|
description: Optional[str] = Field(default=None)
|
|
1794
1794
|
|
|
1795
1795
|
|
|
1796
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1797
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1798
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1799
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1800
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1801
|
+
alias="resetPeriod", default=None
|
|
1802
|
+
)
|
|
1803
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1804
|
+
alias="hiddenFromWidgets", default=None
|
|
1805
|
+
)
|
|
1806
|
+
display_name_override: Optional[str] = Field(
|
|
1807
|
+
alias="displayNameOverride", default=None
|
|
1808
|
+
)
|
|
1809
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1810
|
+
default=None
|
|
1811
|
+
)
|
|
1812
|
+
|
|
1813
|
+
|
|
1814
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1815
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1816
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1817
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1818
|
+
feature_units_plural: Optional[str] = Field(
|
|
1819
|
+
alias="featureUnitsPlural", default=None
|
|
1820
|
+
)
|
|
1821
|
+
display_name: str = Field(alias="displayName")
|
|
1822
|
+
description: Optional[str] = Field(default=None)
|
|
1823
|
+
ref_id: str = Field(alias="refId")
|
|
1824
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1825
|
+
alias="additionalMetaData", default=None
|
|
1826
|
+
)
|
|
1827
|
+
|
|
1828
|
+
|
|
1796
1829
|
class MockPaywallPriceFragment(BaseModel):
|
|
1797
1830
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1798
1831
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1827,39 +1860,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1827
1860
|
display_name: str = Field(alias="displayName")
|
|
1828
1861
|
|
|
1829
1862
|
|
|
1830
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1831
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1832
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1833
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1834
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1835
|
-
alias="resetPeriod", default=None
|
|
1836
|
-
)
|
|
1837
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1838
|
-
alias="hiddenFromWidgets", default=None
|
|
1839
|
-
)
|
|
1840
|
-
display_name_override: Optional[str] = Field(
|
|
1841
|
-
alias="displayNameOverride", default=None
|
|
1842
|
-
)
|
|
1843
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1844
|
-
default=None
|
|
1845
|
-
)
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1849
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1850
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1851
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1852
|
-
feature_units_plural: Optional[str] = Field(
|
|
1853
|
-
alias="featureUnitsPlural", default=None
|
|
1854
|
-
)
|
|
1855
|
-
display_name: str = Field(alias="displayName")
|
|
1856
|
-
description: Optional[str] = Field(default=None)
|
|
1857
|
-
ref_id: str = Field(alias="refId")
|
|
1858
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1859
|
-
alias="additionalMetaData", default=None
|
|
1860
|
-
)
|
|
1861
|
-
|
|
1862
|
-
|
|
1863
1863
|
class MockPaywallAddonFragment(BaseModel):
|
|
1864
1864
|
ref_id: str = Field(alias="refId")
|
|
1865
1865
|
display_name: str = Field(alias="displayName")
|
|
@@ -2770,21 +2770,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2770
2770
|
|
|
2771
2771
|
|
|
2772
2772
|
AddonDependencyFragment.model_rebuild()
|
|
2773
|
-
PackageEntitlementFragment.model_rebuild()
|
|
2774
2773
|
PriceTierFragment.model_rebuild()
|
|
2775
|
-
OveragePriceFragment.model_rebuild()
|
|
2776
2774
|
PriceFragment.model_rebuild()
|
|
2775
|
+
OveragePriceFragment.model_rebuild()
|
|
2776
|
+
PackageEntitlementFragment.model_rebuild()
|
|
2777
2777
|
AddonFragment.model_rebuild()
|
|
2778
|
-
|
|
2778
|
+
TotalPriceFragment.model_rebuild()
|
|
2779
|
+
SlimCustomerFragment.model_rebuild()
|
|
2780
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2779
2781
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2780
2782
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2781
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2782
|
-
TotalPriceFragment.model_rebuild()
|
|
2783
2783
|
ProductFragment.model_rebuild()
|
|
2784
2784
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2785
2785
|
PlanFragment.model_rebuild()
|
|
2786
|
-
SlimCustomerFragment.model_rebuild()
|
|
2787
2786
|
CustomerResourceFragment.model_rebuild()
|
|
2787
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2788
2788
|
SubscriptionFragment.model_rebuild()
|
|
2789
2789
|
FeatureFragment.model_rebuild()
|
|
2790
2790
|
EntitlementFragment.model_rebuild()
|
|
@@ -2799,11 +2799,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2799
2799
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2801
2801
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2802
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2803
|
-
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2804
|
-
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2805
2802
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2803
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2804
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2806
2805
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2806
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2807
2807
|
CustomerPortalFragment.model_rebuild()
|
|
2808
2808
|
CustomerStatisticsFragment.model_rebuild()
|
|
2809
2809
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2813,8 +2813,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2813
2813
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2814
2814
|
LayoutConfigurationFragment.model_rebuild()
|
|
2815
2815
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2816
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2817
2816
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2817
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2818
2818
|
MockPaywallAddonFragment.model_rebuild()
|
|
2819
2819
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2820
2820
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -80,6 +80,7 @@ from .enums import (
|
|
|
80
80
|
SubscriptionMigrationTaskSortFields,
|
|
81
81
|
SubscriptionMigrationTime,
|
|
82
82
|
SubscriptionPriceSortFields,
|
|
83
|
+
SubscriptionQuerySortFields,
|
|
83
84
|
SubscriptionScheduleStatus,
|
|
84
85
|
SubscriptionStartSetup,
|
|
85
86
|
SubscriptionStatus,
|
|
@@ -4146,6 +4147,31 @@ class SubscriptionPriceSort(BaseModel):
|
|
|
4146
4147
|
nulls: Optional[SortNulls] = None
|
|
4147
4148
|
|
|
4148
4149
|
|
|
4150
|
+
class SubscriptionQueryFilter(BaseModel):
|
|
4151
|
+
and_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="and", default=None)
|
|
4152
|
+
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4153
|
+
customer_id: Optional["StringFieldComparison"] = Field(
|
|
4154
|
+
alias="customerId", default=None
|
|
4155
|
+
)
|
|
4156
|
+
environment_id: Optional["StringFieldComparison"] = Field(
|
|
4157
|
+
alias="environmentId", default=None
|
|
4158
|
+
)
|
|
4159
|
+
or_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="or", default=None)
|
|
4160
|
+
product_id: Optional["StringFieldComparison"] = Field(
|
|
4161
|
+
alias="productId", default=None
|
|
4162
|
+
)
|
|
4163
|
+
resource_id: Optional["StringFieldComparison"] = Field(
|
|
4164
|
+
alias="resourceId", default=None
|
|
4165
|
+
)
|
|
4166
|
+
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4167
|
+
|
|
4168
|
+
|
|
4169
|
+
class SubscriptionQuerySort(BaseModel):
|
|
4170
|
+
direction: SortDirection
|
|
4171
|
+
field: SubscriptionQuerySortFields
|
|
4172
|
+
nulls: Optional[SortNulls] = None
|
|
4173
|
+
|
|
4174
|
+
|
|
4149
4175
|
class SubscriptionStatusFilterComparison(BaseModel):
|
|
4150
4176
|
eq: Optional[SubscriptionStatus] = None
|
|
4151
4177
|
gt: Optional[SubscriptionStatus] = None
|
|
@@ -106,7 +106,7 @@ stigg/_vendors/pydantic-2.6.4.dist-info/REQUESTED,sha256=47DEQpj8HBSa-_TImW-5JCe
|
|
|
106
106
|
stigg/_vendors/pydantic-2.6.4.dist-info/WHEEL,sha256=TJPnKdtrSue7xZ_AVGkp9YXcvDrobsjBds1du3Nx6dc,87
|
|
107
107
|
stigg/_vendors/pydantic-2.6.4.dist-info/licenses/LICENSE,sha256=qeGG88oWte74QxjnpwFyE1GgDLe4rjpDlLZ7SeNSnvM,1129
|
|
108
108
|
stigg/client.py,sha256=RWrVnxo9zHFXka8KJVE4sMgyek70ispQk0vqOINCvM0,8335
|
|
109
|
-
stigg/generated/__init__.py,sha256=
|
|
109
|
+
stigg/generated/__init__.py,sha256=CjjzmzFrK1kTsw13xPnYFlxkGK5Keq5sSfLrjUskfbo,69816
|
|
110
110
|
stigg/generated/apply_subscription.py,sha256=Vbs-QZZxN16pUpt3Hp7Jvvcc5o_8xwJK9oTLQQjH0ZA,451
|
|
111
111
|
stigg/generated/archive_customer.py,sha256=3N3iBiT2Vvzfb0ckV3o57A6lmJ_ef7JNPaMX_Jtcg6c,396
|
|
112
112
|
stigg/generated/async_base_client.py,sha256=zqd6IhYxpalyA6KQkeGhXgSurC0vXSwSWmSlM2zZ0VM,12593
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=NgGx0jZs30ZsxuITO15EVz6K4LjJE5XocrwRuGcjm8w,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256=
|
|
122
|
+
stigg/generated/enums.py,sha256=Ax7idhOxqqwhmzBPImea0R-KRcq7j5EQNVAqUFbMl_8,35518
|
|
123
123
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
124
124
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
125
125
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
126
|
-
stigg/generated/fragments.py,sha256=
|
|
126
|
+
stigg/generated/fragments.py,sha256=CMd0vOdje325FUzJgEFrt9PGVYgRYecDE44o9usCNpU,100917
|
|
127
127
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
128
128
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
129
129
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -144,7 +144,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
144
144
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
145
145
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
146
146
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
147
|
-
stigg/generated/input_types.py,sha256=
|
|
147
|
+
stigg/generated/input_types.py,sha256=2iVjPHlvHxxLrCh4Op4Eg46bChbRN8IVVd9HA_7htBE,196374
|
|
148
148
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
149
149
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
150
150
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.
|
|
164
|
-
stigg_api_client_v2-2.
|
|
165
|
-
stigg_api_client_v2-2.
|
|
166
|
-
stigg_api_client_v2-2.
|
|
163
|
+
stigg_api_client_v2-2.442.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.442.0.dist-info/METADATA,sha256=tFK1_8oKJHvfkNLe25K-lZJrnksUW71MdKPxX7zKvsY,2258
|
|
165
|
+
stigg_api_client_v2-2.442.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.442.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|