stigg-api-client-v2 3.17.0__py3-none-any.whl → 3.23.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 +4 -2
- stigg/generated/enums.py +6 -6
- stigg/generated/fragments.py +357 -357
- stigg/generated/input_types.py +8 -2
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.23.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.23.0.dist-info}/RECORD +8 -8
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.23.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.17.0.dist-info → stigg_api_client_v2-3.23.0.dist-info}/WHEEL +0 -0
stigg/generated/__init__.py
CHANGED
|
@@ -99,7 +99,6 @@ from .enums import (
|
|
|
99
99
|
PromotionalEntitlementSortFields,
|
|
100
100
|
PromotionalEntitlementStatus,
|
|
101
101
|
ProrationBehavior,
|
|
102
|
-
ProrationBehaviorExtended,
|
|
103
102
|
ProvisionSubscriptionStatus,
|
|
104
103
|
PublishMigrationType,
|
|
105
104
|
ScheduleStrategy,
|
|
@@ -119,6 +118,7 @@ from .enums import (
|
|
|
119
118
|
SubscriptionMigrationTaskSortFields,
|
|
120
119
|
SubscriptionMigrationTime,
|
|
121
120
|
SubscriptionPriceSortFields,
|
|
121
|
+
SubscriptionProrationBehavior,
|
|
122
122
|
SubscriptionQuerySortFields,
|
|
123
123
|
SubscriptionScheduleStatus,
|
|
124
124
|
SubscriptionScheduleType,
|
|
@@ -752,6 +752,7 @@ from .input_types import (
|
|
|
752
752
|
IntFieldComparison,
|
|
753
753
|
IntFieldComparisonBetween,
|
|
754
754
|
InviteMembersInput,
|
|
755
|
+
LinkFeatureGroupToPackageInput,
|
|
755
756
|
ListAwsProductDimensionsInput,
|
|
756
757
|
ListAwsProductsInput,
|
|
757
758
|
MarkInvoiceAsPaidInput,
|
|
@@ -1411,6 +1412,7 @@ __all__ = [
|
|
|
1411
1412
|
"InviteMembersInput",
|
|
1412
1413
|
"InvoiceLineItemType",
|
|
1413
1414
|
"LayoutConfigurationFragment",
|
|
1415
|
+
"LinkFeatureGroupToPackageInput",
|
|
1414
1416
|
"ListAwsProductDimensionsInput",
|
|
1415
1417
|
"ListAwsProductsInput",
|
|
1416
1418
|
"MarkInvoiceAsPaidInput",
|
|
@@ -1580,7 +1582,6 @@ __all__ = [
|
|
|
1580
1582
|
"PromotionalEntitlementStatusFilterComparison",
|
|
1581
1583
|
"PromotionalEntitlementUpdateInput",
|
|
1582
1584
|
"ProrationBehavior",
|
|
1583
|
-
"ProrationBehaviorExtended",
|
|
1584
1585
|
"ProvisionCustomer",
|
|
1585
1586
|
"ProvisionCustomerFragment",
|
|
1586
1587
|
"ProvisionCustomerFragmentCustomer",
|
|
@@ -1791,6 +1792,7 @@ __all__ = [
|
|
|
1791
1792
|
"SubscriptionPriceFilterPriceFilter",
|
|
1792
1793
|
"SubscriptionPriceSort",
|
|
1793
1794
|
"SubscriptionPriceSortFields",
|
|
1795
|
+
"SubscriptionProrationBehavior",
|
|
1794
1796
|
"SubscriptionQueryFilter",
|
|
1795
1797
|
"SubscriptionQueryFragment",
|
|
1796
1798
|
"SubscriptionQueryFragmentAddons",
|
stigg/generated/enums.py
CHANGED
|
@@ -987,12 +987,6 @@ class ProrationBehavior(str, Enum):
|
|
|
987
987
|
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
988
988
|
|
|
989
989
|
|
|
990
|
-
class ProrationBehaviorExtended(str, Enum):
|
|
991
|
-
CREATE_PRORATIONS = "CREATE_PRORATIONS"
|
|
992
|
-
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
993
|
-
NONE = "NONE"
|
|
994
|
-
|
|
995
|
-
|
|
996
990
|
class ProvisionSubscriptionStatus(str, Enum):
|
|
997
991
|
PAYMENT_REQUIRED = "PAYMENT_REQUIRED"
|
|
998
992
|
SUCCESS = "SUCCESS"
|
|
@@ -1121,6 +1115,12 @@ class SubscriptionPriceSortFields(str, Enum):
|
|
|
1121
1115
|
usageLimit = "usageLimit"
|
|
1122
1116
|
|
|
1123
1117
|
|
|
1118
|
+
class SubscriptionProrationBehavior(str, Enum):
|
|
1119
|
+
CREATE_PRORATIONS = "CREATE_PRORATIONS"
|
|
1120
|
+
INVOICE_IMMEDIATELY = "INVOICE_IMMEDIATELY"
|
|
1121
|
+
NONE = "NONE"
|
|
1122
|
+
|
|
1123
|
+
|
|
1124
1124
|
class SubscriptionQuerySortFields(str, Enum):
|
|
1125
1125
|
createdAt = "createdAt"
|
|
1126
1126
|
customerId = "customerId"
|
stigg/generated/fragments.py
CHANGED
|
@@ -112,6 +112,40 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
112
112
|
description: Optional[str] = Field(default=None)
|
|
113
113
|
|
|
114
114
|
|
|
115
|
+
class PackageEntitlementFragment(BaseModel):
|
|
116
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
117
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
118
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
119
|
+
feature_id: str = Field(alias="featureId")
|
|
120
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
121
|
+
alias="resetPeriod", default=None
|
|
122
|
+
)
|
|
123
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
124
|
+
alias="hiddenFromWidgets", default=None
|
|
125
|
+
)
|
|
126
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
127
|
+
display_name_override: Optional[str] = Field(
|
|
128
|
+
alias="displayNameOverride", default=None
|
|
129
|
+
)
|
|
130
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
131
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
132
|
+
|
|
133
|
+
|
|
134
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
135
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
136
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
137
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
138
|
+
feature_units_plural: Optional[str] = Field(
|
|
139
|
+
alias="featureUnitsPlural", default=None
|
|
140
|
+
)
|
|
141
|
+
display_name: str = Field(alias="displayName")
|
|
142
|
+
description: Optional[str] = Field(default=None)
|
|
143
|
+
ref_id: str = Field(alias="refId")
|
|
144
|
+
additional_meta_data: Optional[Any] = Field(
|
|
145
|
+
alias="additionalMetaData", default=None
|
|
146
|
+
)
|
|
147
|
+
|
|
148
|
+
|
|
115
149
|
class PriceFragment(BaseModel):
|
|
116
150
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
117
151
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -156,40 +190,6 @@ class PriceFragmentFeature(BaseModel):
|
|
|
156
190
|
description: Optional[str] = Field(default=None)
|
|
157
191
|
|
|
158
192
|
|
|
159
|
-
class PackageEntitlementFragment(BaseModel):
|
|
160
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
161
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
162
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
163
|
-
feature_id: str = Field(alias="featureId")
|
|
164
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
165
|
-
alias="resetPeriod", default=None
|
|
166
|
-
)
|
|
167
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
168
|
-
alias="hiddenFromWidgets", default=None
|
|
169
|
-
)
|
|
170
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
171
|
-
display_name_override: Optional[str] = Field(
|
|
172
|
-
alias="displayNameOverride", default=None
|
|
173
|
-
)
|
|
174
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
175
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
179
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
180
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
181
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
182
|
-
feature_units_plural: Optional[str] = Field(
|
|
183
|
-
alias="featureUnitsPlural", default=None
|
|
184
|
-
)
|
|
185
|
-
display_name: str = Field(alias="displayName")
|
|
186
|
-
description: Optional[str] = Field(default=None)
|
|
187
|
-
ref_id: str = Field(alias="refId")
|
|
188
|
-
additional_meta_data: Optional[Any] = Field(
|
|
189
|
-
alias="additionalMetaData", default=None
|
|
190
|
-
)
|
|
191
|
-
|
|
192
|
-
|
|
193
193
|
class AddonFragment(BaseModel):
|
|
194
194
|
id: Any
|
|
195
195
|
ref_id: str = Field(alias="refId")
|
|
@@ -228,6 +228,52 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
228
228
|
pass
|
|
229
229
|
|
|
230
230
|
|
|
231
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
232
|
+
billing_id: str = Field(alias="billingId")
|
|
233
|
+
status: SubscriptionInvoiceStatus
|
|
234
|
+
created_at: Any = Field(alias="createdAt")
|
|
235
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
236
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
237
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
238
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
239
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
240
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
241
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
242
|
+
alias="billingReason", default=None
|
|
243
|
+
)
|
|
244
|
+
currency: Optional[str] = Field(default=None)
|
|
245
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
246
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
247
|
+
alias="subTotalExcludingTax", default=None
|
|
248
|
+
)
|
|
249
|
+
total: Optional[float] = Field(default=None)
|
|
250
|
+
total_excluding_tax: Optional[float] = Field(
|
|
251
|
+
alias="totalExcludingTax", default=None
|
|
252
|
+
)
|
|
253
|
+
tax: Optional[float] = Field(default=None)
|
|
254
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
255
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
256
|
+
|
|
257
|
+
|
|
258
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
259
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
class TotalPriceFragment(BaseModel):
|
|
263
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
264
|
+
total: "TotalPriceFragmentTotal"
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
268
|
+
amount: float
|
|
269
|
+
currency: Currency
|
|
270
|
+
|
|
271
|
+
|
|
272
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
273
|
+
amount: float
|
|
274
|
+
currency: Currency
|
|
275
|
+
|
|
276
|
+
|
|
231
277
|
class SlimCustomerFragment(BaseModel):
|
|
232
278
|
id: Any
|
|
233
279
|
name: Optional[str] = Field(default=None)
|
|
@@ -245,160 +291,6 @@ class SlimCustomerFragment(BaseModel):
|
|
|
245
291
|
)
|
|
246
292
|
|
|
247
293
|
|
|
248
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
249
|
-
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
250
|
-
alias="subscriptionScheduleType"
|
|
251
|
-
)
|
|
252
|
-
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
253
|
-
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
254
|
-
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
255
|
-
alias="targetPackage", default=None
|
|
256
|
-
)
|
|
257
|
-
schedule_variables: Optional[
|
|
258
|
-
Annotated[
|
|
259
|
-
Union[
|
|
260
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
261
|
-
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
262
|
-
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
263
|
-
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
264
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
265
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
266
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
267
|
-
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
268
|
-
],
|
|
269
|
-
Field(discriminator="typename__"),
|
|
270
|
-
]
|
|
271
|
-
] = Field(alias="scheduleVariables", default=None)
|
|
272
|
-
|
|
273
|
-
|
|
274
|
-
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
275
|
-
id: Any
|
|
276
|
-
ref_id: str = Field(alias="refId")
|
|
277
|
-
display_name: str = Field(alias="displayName")
|
|
278
|
-
|
|
279
|
-
|
|
280
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
281
|
-
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
282
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
283
|
-
new_quantity: float = Field(alias="newQuantity")
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
287
|
-
BaseModel
|
|
288
|
-
):
|
|
289
|
-
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
290
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
291
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
295
|
-
BaseModel
|
|
296
|
-
):
|
|
297
|
-
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
298
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
302
|
-
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
306
|
-
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
307
|
-
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
308
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
309
|
-
billable_features: Optional[
|
|
310
|
-
List[
|
|
311
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
312
|
-
]
|
|
313
|
-
] = Field(alias="billableFeatures", default=None)
|
|
314
|
-
addons: Optional[
|
|
315
|
-
List[
|
|
316
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
317
|
-
]
|
|
318
|
-
] = Field(default=None)
|
|
319
|
-
price_overrides: Optional[
|
|
320
|
-
List[
|
|
321
|
-
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
322
|
-
]
|
|
323
|
-
] = Field(alias="priceOverrides", default=None)
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
327
|
-
BaseModel
|
|
328
|
-
):
|
|
329
|
-
feature_id: str = Field(alias="featureId")
|
|
330
|
-
quantity: float
|
|
331
|
-
|
|
332
|
-
|
|
333
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
334
|
-
BaseModel
|
|
335
|
-
):
|
|
336
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
337
|
-
quantity: float
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
341
|
-
BaseModel
|
|
342
|
-
):
|
|
343
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
344
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
345
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
349
|
-
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
350
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
351
|
-
change_type: PlanChangeType = Field(alias="changeType")
|
|
352
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
353
|
-
billable_features: Optional[
|
|
354
|
-
List[
|
|
355
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
356
|
-
]
|
|
357
|
-
] = Field(alias="billableFeatures", default=None)
|
|
358
|
-
addons: Optional[
|
|
359
|
-
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
360
|
-
] = Field(default=None)
|
|
361
|
-
price_overrides: Optional[
|
|
362
|
-
List[
|
|
363
|
-
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
364
|
-
]
|
|
365
|
-
] = Field(alias="priceOverrides", default=None)
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
369
|
-
BaseModel
|
|
370
|
-
):
|
|
371
|
-
feature_id: str = Field(alias="featureId")
|
|
372
|
-
quantity: float
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
376
|
-
addon_ref_id: str = Field(alias="addonRefId")
|
|
377
|
-
quantity: float
|
|
378
|
-
|
|
379
|
-
|
|
380
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
381
|
-
BaseModel
|
|
382
|
-
):
|
|
383
|
-
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
384
|
-
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
385
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
389
|
-
BaseModel
|
|
390
|
-
):
|
|
391
|
-
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
392
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
393
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
394
|
-
|
|
395
|
-
|
|
396
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
397
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
398
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
399
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
400
|
-
|
|
401
|
-
|
|
402
294
|
class SubscriptionScheduledUpdateData(BaseModel):
|
|
403
295
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
404
296
|
alias="subscriptionScheduleType"
|
|
@@ -561,50 +453,8 @@ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
|
561
453
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
562
454
|
|
|
563
455
|
|
|
564
|
-
class
|
|
565
|
-
|
|
566
|
-
status: SubscriptionInvoiceStatus
|
|
567
|
-
created_at: Any = Field(alias="createdAt")
|
|
568
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
569
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
570
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
571
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
572
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
573
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
574
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
575
|
-
alias="billingReason", default=None
|
|
576
|
-
)
|
|
577
|
-
currency: Optional[str] = Field(default=None)
|
|
578
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
579
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
580
|
-
alias="subTotalExcludingTax", default=None
|
|
581
|
-
)
|
|
582
|
-
total: Optional[float] = Field(default=None)
|
|
583
|
-
total_excluding_tax: Optional[float] = Field(
|
|
584
|
-
alias="totalExcludingTax", default=None
|
|
585
|
-
)
|
|
586
|
-
tax: Optional[float] = Field(default=None)
|
|
587
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
588
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
class TotalPriceFragment(BaseModel):
|
|
592
|
-
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
593
|
-
total: "TotalPriceFragmentTotal"
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
class TotalPriceFragmentSubTotal(BaseModel):
|
|
597
|
-
amount: float
|
|
598
|
-
currency: Currency
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
class TotalPriceFragmentTotal(BaseModel):
|
|
602
|
-
amount: float
|
|
603
|
-
currency: Currency
|
|
604
|
-
|
|
605
|
-
|
|
606
|
-
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
607
|
-
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
456
|
+
class CustomerResourceFragment(BaseModel):
|
|
457
|
+
resource_id: str = Field(alias="resourceId")
|
|
608
458
|
|
|
609
459
|
|
|
610
460
|
class ProductFragment(BaseModel):
|
|
@@ -727,8 +577,158 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
|
727
577
|
limit: float
|
|
728
578
|
|
|
729
579
|
|
|
730
|
-
class
|
|
731
|
-
|
|
580
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
581
|
+
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
582
|
+
alias="subscriptionScheduleType"
|
|
583
|
+
)
|
|
584
|
+
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
585
|
+
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
586
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
587
|
+
alias="targetPackage", default=None
|
|
588
|
+
)
|
|
589
|
+
schedule_variables: Optional[
|
|
590
|
+
Annotated[
|
|
591
|
+
Union[
|
|
592
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
593
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
594
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
595
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
596
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
597
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
598
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
599
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
600
|
+
],
|
|
601
|
+
Field(discriminator="typename__"),
|
|
602
|
+
]
|
|
603
|
+
] = Field(alias="scheduleVariables", default=None)
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
607
|
+
id: Any
|
|
608
|
+
ref_id: str = Field(alias="refId")
|
|
609
|
+
display_name: str = Field(alias="displayName")
|
|
610
|
+
|
|
611
|
+
|
|
612
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
613
|
+
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
614
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
615
|
+
new_quantity: float = Field(alias="newQuantity")
|
|
616
|
+
|
|
617
|
+
|
|
618
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
619
|
+
BaseModel
|
|
620
|
+
):
|
|
621
|
+
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
622
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
623
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
627
|
+
BaseModel
|
|
628
|
+
):
|
|
629
|
+
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
630
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
634
|
+
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
638
|
+
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
639
|
+
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
640
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
641
|
+
billable_features: Optional[
|
|
642
|
+
List[
|
|
643
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
644
|
+
]
|
|
645
|
+
] = Field(alias="billableFeatures", default=None)
|
|
646
|
+
addons: Optional[
|
|
647
|
+
List[
|
|
648
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
649
|
+
]
|
|
650
|
+
] = Field(default=None)
|
|
651
|
+
price_overrides: Optional[
|
|
652
|
+
List[
|
|
653
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
654
|
+
]
|
|
655
|
+
] = Field(alias="priceOverrides", default=None)
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
659
|
+
BaseModel
|
|
660
|
+
):
|
|
661
|
+
feature_id: str = Field(alias="featureId")
|
|
662
|
+
quantity: float
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
666
|
+
BaseModel
|
|
667
|
+
):
|
|
668
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
669
|
+
quantity: float
|
|
670
|
+
|
|
671
|
+
|
|
672
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
673
|
+
BaseModel
|
|
674
|
+
):
|
|
675
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
676
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
677
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
678
|
+
|
|
679
|
+
|
|
680
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
681
|
+
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
682
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
683
|
+
change_type: PlanChangeType = Field(alias="changeType")
|
|
684
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
685
|
+
billable_features: Optional[
|
|
686
|
+
List[
|
|
687
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
688
|
+
]
|
|
689
|
+
] = Field(alias="billableFeatures", default=None)
|
|
690
|
+
addons: Optional[
|
|
691
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
692
|
+
] = Field(default=None)
|
|
693
|
+
price_overrides: Optional[
|
|
694
|
+
List[
|
|
695
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
696
|
+
]
|
|
697
|
+
] = Field(alias="priceOverrides", default=None)
|
|
698
|
+
|
|
699
|
+
|
|
700
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
701
|
+
BaseModel
|
|
702
|
+
):
|
|
703
|
+
feature_id: str = Field(alias="featureId")
|
|
704
|
+
quantity: float
|
|
705
|
+
|
|
706
|
+
|
|
707
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
708
|
+
addon_ref_id: str = Field(alias="addonRefId")
|
|
709
|
+
quantity: float
|
|
710
|
+
|
|
711
|
+
|
|
712
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
713
|
+
BaseModel
|
|
714
|
+
):
|
|
715
|
+
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
716
|
+
addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
|
|
717
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
721
|
+
BaseModel
|
|
722
|
+
):
|
|
723
|
+
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
724
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
725
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
729
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
730
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
731
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
732
732
|
|
|
733
733
|
|
|
734
734
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1002,6 +1002,35 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1002
1002
|
)
|
|
1003
1003
|
|
|
1004
1004
|
|
|
1005
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1006
|
+
status: PromotionalEntitlementStatus
|
|
1007
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1008
|
+
feature_id: Any = Field(alias="featureId")
|
|
1009
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1010
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1011
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1012
|
+
alias="resetPeriod", default=None
|
|
1013
|
+
)
|
|
1014
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1015
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1016
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1020
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1021
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1022
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1023
|
+
feature_units_plural: Optional[str] = Field(
|
|
1024
|
+
alias="featureUnitsPlural", default=None
|
|
1025
|
+
)
|
|
1026
|
+
display_name: str = Field(alias="displayName")
|
|
1027
|
+
description: Optional[str] = Field(default=None)
|
|
1028
|
+
ref_id: str = Field(alias="refId")
|
|
1029
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1030
|
+
alias="additionalMetaData", default=None
|
|
1031
|
+
)
|
|
1032
|
+
|
|
1033
|
+
|
|
1005
1034
|
class CouponFragment(BaseModel):
|
|
1006
1035
|
id: Any
|
|
1007
1036
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1036,35 +1065,6 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1036
1065
|
status: SyncStatus
|
|
1037
1066
|
|
|
1038
1067
|
|
|
1039
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1040
|
-
status: PromotionalEntitlementStatus
|
|
1041
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1042
|
-
feature_id: Any = Field(alias="featureId")
|
|
1043
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1044
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1045
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1046
|
-
alias="resetPeriod", default=None
|
|
1047
|
-
)
|
|
1048
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1049
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1050
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1051
|
-
|
|
1052
|
-
|
|
1053
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1054
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1055
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1056
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1057
|
-
feature_units_plural: Optional[str] = Field(
|
|
1058
|
-
alias="featureUnitsPlural", default=None
|
|
1059
|
-
)
|
|
1060
|
-
display_name: str = Field(alias="displayName")
|
|
1061
|
-
description: Optional[str] = Field(default=None)
|
|
1062
|
-
ref_id: str = Field(alias="refId")
|
|
1063
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1064
|
-
alias="additionalMetaData", default=None
|
|
1065
|
-
)
|
|
1066
|
-
|
|
1067
|
-
|
|
1068
1068
|
class CustomerFragment(SlimCustomerFragment):
|
|
1069
1069
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1070
1070
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1271,46 +1271,14 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1271
1271
|
pass
|
|
1272
1272
|
|
|
1273
1273
|
|
|
1274
|
-
class
|
|
1275
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1276
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1277
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1278
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1279
|
-
default=None
|
|
1280
|
-
)
|
|
1281
|
-
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1282
|
-
alias="creditRate", default=None
|
|
1283
|
-
)
|
|
1284
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1285
|
-
default=None
|
|
1286
|
-
)
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1290
|
-
amount: float
|
|
1291
|
-
currency: Currency
|
|
1292
|
-
|
|
1293
|
-
|
|
1294
|
-
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1295
|
-
amount: float
|
|
1296
|
-
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1297
|
-
|
|
1298
|
-
|
|
1299
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1300
|
-
id: Any
|
|
1301
|
-
ref_id: str = Field(alias="refId")
|
|
1302
|
-
display_name: str = Field(alias="displayName")
|
|
1303
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1304
|
-
feature_units_plural: Optional[str] = Field(
|
|
1305
|
-
alias="featureUnitsPlural", default=None
|
|
1306
|
-
)
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1310
|
-
addon_id: str = Field(alias="addonId")
|
|
1311
|
-
description: Optional[str] = Field(default=None)
|
|
1274
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1312
1275
|
display_name: str = Field(alias="displayName")
|
|
1313
|
-
|
|
1276
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1277
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1278
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1279
|
+
period: PromotionalEntitlementPeriod
|
|
1280
|
+
start_date: Any = Field(alias="startDate")
|
|
1281
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1314
1282
|
|
|
1315
1283
|
|
|
1316
1284
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
@@ -1482,6 +1450,48 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1482
1450
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1483
1451
|
|
|
1484
1452
|
|
|
1453
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1454
|
+
addon_id: str = Field(alias="addonId")
|
|
1455
|
+
description: Optional[str] = Field(default=None)
|
|
1456
|
+
display_name: str = Field(alias="displayName")
|
|
1457
|
+
quantity: int
|
|
1458
|
+
|
|
1459
|
+
|
|
1460
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1461
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1462
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1463
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1464
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1465
|
+
default=None
|
|
1466
|
+
)
|
|
1467
|
+
credit_rate: Optional["CustomerPortalSubscriptionPriceFragmentCreditRate"] = Field(
|
|
1468
|
+
alias="creditRate", default=None
|
|
1469
|
+
)
|
|
1470
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1471
|
+
default=None
|
|
1472
|
+
)
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1476
|
+
amount: float
|
|
1477
|
+
currency: Currency
|
|
1478
|
+
|
|
1479
|
+
|
|
1480
|
+
class CustomerPortalSubscriptionPriceFragmentCreditRate(BaseModel):
|
|
1481
|
+
amount: float
|
|
1482
|
+
custom_currency_id: Any = Field(alias="customCurrencyId")
|
|
1483
|
+
|
|
1484
|
+
|
|
1485
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1486
|
+
id: Any
|
|
1487
|
+
ref_id: str = Field(alias="refId")
|
|
1488
|
+
display_name: str = Field(alias="displayName")
|
|
1489
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1490
|
+
feature_units_plural: Optional[str] = Field(
|
|
1491
|
+
alias="featureUnitsPlural", default=None
|
|
1492
|
+
)
|
|
1493
|
+
|
|
1494
|
+
|
|
1485
1495
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1486
1496
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1487
1497
|
plan_id: str = Field(alias="planId")
|
|
@@ -1586,16 +1596,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1586
1596
|
pass
|
|
1587
1597
|
|
|
1588
1598
|
|
|
1589
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1590
|
-
display_name: str = Field(alias="displayName")
|
|
1591
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1592
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1593
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1594
|
-
period: PromotionalEntitlementPeriod
|
|
1595
|
-
start_date: Any = Field(alias="startDate")
|
|
1596
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1597
|
-
|
|
1598
|
-
|
|
1599
1599
|
class CustomerPortalFragment(BaseModel):
|
|
1600
1600
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1601
1601
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1823,40 +1823,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1823
1823
|
description: Optional[str] = Field(default=None)
|
|
1824
1824
|
|
|
1825
1825
|
|
|
1826
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1827
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1828
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1829
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1830
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1831
|
-
alias="resetPeriod", default=None
|
|
1832
|
-
)
|
|
1833
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1834
|
-
alias="hiddenFromWidgets", default=None
|
|
1835
|
-
)
|
|
1836
|
-
display_name_override: Optional[str] = Field(
|
|
1837
|
-
alias="displayNameOverride", default=None
|
|
1838
|
-
)
|
|
1839
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1840
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1841
|
-
default=None
|
|
1842
|
-
)
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1846
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1847
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1848
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1849
|
-
feature_units_plural: Optional[str] = Field(
|
|
1850
|
-
alias="featureUnitsPlural", default=None
|
|
1851
|
-
)
|
|
1852
|
-
display_name: str = Field(alias="displayName")
|
|
1853
|
-
description: Optional[str] = Field(default=None)
|
|
1854
|
-
ref_id: str = Field(alias="refId")
|
|
1855
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1856
|
-
alias="additionalMetaData", default=None
|
|
1857
|
-
)
|
|
1858
|
-
|
|
1859
|
-
|
|
1860
1826
|
class MockPaywallPriceFragment(BaseModel):
|
|
1861
1827
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1862
1828
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1899,6 +1865,40 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1899
1865
|
display_name: str = Field(alias="displayName")
|
|
1900
1866
|
|
|
1901
1867
|
|
|
1868
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1869
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1870
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1871
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1872
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1873
|
+
alias="resetPeriod", default=None
|
|
1874
|
+
)
|
|
1875
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1876
|
+
alias="hiddenFromWidgets", default=None
|
|
1877
|
+
)
|
|
1878
|
+
display_name_override: Optional[str] = Field(
|
|
1879
|
+
alias="displayNameOverride", default=None
|
|
1880
|
+
)
|
|
1881
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1882
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1883
|
+
default=None
|
|
1884
|
+
)
|
|
1885
|
+
|
|
1886
|
+
|
|
1887
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1888
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1889
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1890
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1891
|
+
feature_units_plural: Optional[str] = Field(
|
|
1892
|
+
alias="featureUnitsPlural", default=None
|
|
1893
|
+
)
|
|
1894
|
+
display_name: str = Field(alias="displayName")
|
|
1895
|
+
description: Optional[str] = Field(default=None)
|
|
1896
|
+
ref_id: str = Field(alias="refId")
|
|
1897
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1898
|
+
alias="additionalMetaData", default=None
|
|
1899
|
+
)
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
1902
|
class MockPaywallAddonFragment(BaseModel):
|
|
1903
1903
|
ref_id: str = Field(alias="refId")
|
|
1904
1904
|
display_name: str = Field(alias="displayName")
|
|
@@ -2874,19 +2874,19 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
2874
2874
|
AddonDependencyFragment.model_rebuild()
|
|
2875
2875
|
PriceTierFragment.model_rebuild()
|
|
2876
2876
|
OveragePriceFragment.model_rebuild()
|
|
2877
|
-
PriceFragment.model_rebuild()
|
|
2878
2877
|
PackageEntitlementFragment.model_rebuild()
|
|
2878
|
+
PriceFragment.model_rebuild()
|
|
2879
2879
|
AddonFragment.model_rebuild()
|
|
2880
|
-
SlimCustomerFragment.model_rebuild()
|
|
2881
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2882
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2883
2880
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
2884
|
-
TotalPriceFragment.model_rebuild()
|
|
2885
2881
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2882
|
+
TotalPriceFragment.model_rebuild()
|
|
2883
|
+
SlimCustomerFragment.model_rebuild()
|
|
2884
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2885
|
+
CustomerResourceFragment.model_rebuild()
|
|
2886
2886
|
ProductFragment.model_rebuild()
|
|
2887
2887
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2888
2888
|
PlanFragment.model_rebuild()
|
|
2889
|
-
|
|
2889
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2890
2890
|
SubscriptionFragment.model_rebuild()
|
|
2891
2891
|
FeatureFragment.model_rebuild()
|
|
2892
2892
|
EntitlementFragment.model_rebuild()
|
|
@@ -2894,18 +2894,18 @@ ApplySubscriptionFragment.model_rebuild()
|
|
|
2894
2894
|
FontVariantFragment.model_rebuild()
|
|
2895
2895
|
TypographyConfigurationFragment.model_rebuild()
|
|
2896
2896
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2897
|
-
CouponFragment.model_rebuild()
|
|
2898
2897
|
PromotionalEntitlementFragment.model_rebuild()
|
|
2898
|
+
CouponFragment.model_rebuild()
|
|
2899
2899
|
CustomerFragment.model_rebuild()
|
|
2900
2900
|
CheckoutStateFragment.model_rebuild()
|
|
2901
2901
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2902
2902
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2903
2903
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2904
|
-
|
|
2905
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2904
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2906
2905
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2906
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2907
|
+
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2907
2908
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2908
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2909
2909
|
CustomerPortalFragment.model_rebuild()
|
|
2910
2910
|
CustomerStatisticsFragment.model_rebuild()
|
|
2911
2911
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2915,8 +2915,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2915
2915
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2916
2916
|
LayoutConfigurationFragment.model_rebuild()
|
|
2917
2917
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2918
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2919
2918
|
MockPaywallPriceFragment.model_rebuild()
|
|
2919
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2920
2920
|
MockPaywallAddonFragment.model_rebuild()
|
|
2921
2921
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2922
2922
|
MockPaywallPlanFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -70,7 +70,6 @@ from .enums import (
|
|
|
70
70
|
PromotionalEntitlementSortFields,
|
|
71
71
|
PromotionalEntitlementStatus,
|
|
72
72
|
ProrationBehavior,
|
|
73
|
-
ProrationBehaviorExtended,
|
|
74
73
|
PublishMigrationType,
|
|
75
74
|
ScheduleStrategy,
|
|
76
75
|
SortDirection,
|
|
@@ -84,6 +83,7 @@ from .enums import (
|
|
|
84
83
|
SubscriptionMigrationTaskSortFields,
|
|
85
84
|
SubscriptionMigrationTime,
|
|
86
85
|
SubscriptionPriceSortFields,
|
|
86
|
+
SubscriptionProrationBehavior,
|
|
87
87
|
SubscriptionQuerySortFields,
|
|
88
88
|
SubscriptionScheduleStatus,
|
|
89
89
|
SubscriptionStartSetup,
|
|
@@ -2285,6 +2285,12 @@ class InviteMembersInput(BaseModel):
|
|
|
2285
2285
|
)
|
|
2286
2286
|
|
|
2287
2287
|
|
|
2288
|
+
class LinkFeatureGroupToPackageInput(BaseModel):
|
|
2289
|
+
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2290
|
+
feature_group_id: Any = Field(alias="featureGroupId")
|
|
2291
|
+
package_id: Any = Field(alias="packageId")
|
|
2292
|
+
|
|
2293
|
+
|
|
2288
2294
|
class ListAwsProductDimensionsInput(BaseModel):
|
|
2289
2295
|
environment_id: Optional[Any] = Field(alias="environmentId", default=None)
|
|
2290
2296
|
product_id: str = Field(alias="productId")
|
|
@@ -3868,7 +3874,7 @@ class SubscriptionBillingInfo(BaseModel):
|
|
|
3868
3874
|
is_backdated: Optional[bool] = Field(alias="isBackdated", default=False)
|
|
3869
3875
|
is_invoice_paid: Optional[bool] = Field(alias="isInvoicePaid", default=False)
|
|
3870
3876
|
metadata: Optional[Any] = None
|
|
3871
|
-
proration_behavior: Optional[
|
|
3877
|
+
proration_behavior: Optional[SubscriptionProrationBehavior] = Field(
|
|
3872
3878
|
alias="prorationBehavior", default=None
|
|
3873
3879
|
)
|
|
3874
3880
|
tax_percentage: Optional[float] = Field(alias="taxPercentage", default=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=S7XqNd-Wikfs1cG0lcwUcHFh7wUdHheVyuGirMB2f5g,72819
|
|
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=WIS31TSPUg8gKGvs5aSEBG_RSv8f8yCD80oUqCLUCvI,174
|
|
|
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=Phk3cJDuYdHrQoGWN66PlYrIluEL333aVZ_Do90KjpM,37708
|
|
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=4yFPn6UwboGN25m-e6r3z141sCR6HRN1RliJXwmwOBE,104912
|
|
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
|
|
@@ -145,7 +145,7 @@ stigg/generated/grant_promotional_entitlements.py,sha256=72PRYuqecL-0SkWb7deygkh
|
|
|
145
145
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
146
146
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
147
147
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
148
|
-
stigg/generated/input_types.py,sha256=
|
|
148
|
+
stigg/generated/input_types.py,sha256=51Ay7XRKsvm57xErOQPBrZU-nG9fcc8TiBwR-UPPkmc,205445
|
|
149
149
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
150
150
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
151
151
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -161,7 +161,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
161
161
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
162
162
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
163
163
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
164
|
-
stigg_api_client_v2-3.
|
|
165
|
-
stigg_api_client_v2-3.
|
|
166
|
-
stigg_api_client_v2-3.
|
|
167
|
-
stigg_api_client_v2-3.
|
|
164
|
+
stigg_api_client_v2-3.23.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
165
|
+
stigg_api_client_v2-3.23.0.dist-info/METADATA,sha256=MaVRwzuJDcLm8Cee4GcMKzDaG9Hp8DVCv_UHnW7fd1k,2257
|
|
166
|
+
stigg_api_client_v2-3.23.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
167
|
+
stigg_api_client_v2-3.23.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|