stigg-api-client-v2 3.116.2__py3-none-any.whl → 3.120.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/enums.py +3 -0
- stigg/generated/fragments.py +301 -301
- stigg/generated/input_types.py +9 -0
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.120.0.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.120.0.dist-info}/RECORD +7 -7
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.120.0.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.116.2.dist-info → stigg_api_client_v2-3.120.0.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -1186,13 +1186,16 @@ class SubscriptionProrationBehavior(str, Enum):
|
|
|
1186
1186
|
|
|
1187
1187
|
|
|
1188
1188
|
class SubscriptionQuerySortFields(str, Enum):
|
|
1189
|
+
billingId = "billingId"
|
|
1189
1190
|
createdAt = "createdAt"
|
|
1190
1191
|
customerId = "customerId"
|
|
1191
1192
|
environmentId = "environmentId"
|
|
1192
1193
|
productId = "productId"
|
|
1193
1194
|
resourceId = "resourceId"
|
|
1195
|
+
salesforceId = "salesforceId"
|
|
1194
1196
|
startDate = "startDate"
|
|
1195
1197
|
status = "status"
|
|
1198
|
+
subscriptionId = "subscriptionId"
|
|
1196
1199
|
|
|
1197
1200
|
|
|
1198
1201
|
class SubscriptionScheduleStatus(str, Enum):
|
stigg/generated/fragments.py
CHANGED
|
@@ -62,6 +62,41 @@ class AddonDependencyFragment(BaseModel):
|
|
|
62
62
|
description: Optional[str] = Field(default=None)
|
|
63
63
|
|
|
64
64
|
|
|
65
|
+
class PackageEntitlementFragment(BaseModel):
|
|
66
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
67
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
68
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
69
|
+
feature_id: str = Field(alias="featureId")
|
|
70
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
71
|
+
alias="resetPeriod", default=None
|
|
72
|
+
)
|
|
73
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
74
|
+
alias="hiddenFromWidgets", default=None
|
|
75
|
+
)
|
|
76
|
+
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
77
|
+
display_name_override: Optional[str] = Field(
|
|
78
|
+
alias="displayNameOverride", default=None
|
|
79
|
+
)
|
|
80
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
81
|
+
is_granted: bool = Field(alias="isGranted")
|
|
82
|
+
feature: "PackageEntitlementFragmentFeature"
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
class PackageEntitlementFragmentFeature(BaseModel):
|
|
86
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
87
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
88
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
89
|
+
feature_units_plural: Optional[str] = Field(
|
|
90
|
+
alias="featureUnitsPlural", default=None
|
|
91
|
+
)
|
|
92
|
+
display_name: str = Field(alias="displayName")
|
|
93
|
+
description: Optional[str] = Field(default=None)
|
|
94
|
+
ref_id: str = Field(alias="refId")
|
|
95
|
+
additional_meta_data: Optional[Any] = Field(
|
|
96
|
+
alias="additionalMetaData", default=None
|
|
97
|
+
)
|
|
98
|
+
|
|
99
|
+
|
|
65
100
|
class PriceTierFragment(BaseModel):
|
|
66
101
|
up_to: Optional[float] = Field(alias="upTo", default=None)
|
|
67
102
|
unit_price: Optional["PriceTierFragmentUnitPrice"] = Field(
|
|
@@ -159,41 +194,6 @@ class OveragePriceFragmentFeature(BaseModel):
|
|
|
159
194
|
description: Optional[str] = Field(default=None)
|
|
160
195
|
|
|
161
196
|
|
|
162
|
-
class PackageEntitlementFragment(BaseModel):
|
|
163
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
164
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
165
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
166
|
-
feature_id: str = Field(alias="featureId")
|
|
167
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
168
|
-
alias="resetPeriod", default=None
|
|
169
|
-
)
|
|
170
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
171
|
-
alias="hiddenFromWidgets", default=None
|
|
172
|
-
)
|
|
173
|
-
is_custom: Optional[bool] = Field(alias="isCustom", default=None)
|
|
174
|
-
display_name_override: Optional[str] = Field(
|
|
175
|
-
alias="displayNameOverride", default=None
|
|
176
|
-
)
|
|
177
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
178
|
-
is_granted: bool = Field(alias="isGranted")
|
|
179
|
-
feature: "PackageEntitlementFragmentFeature"
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
class PackageEntitlementFragmentFeature(BaseModel):
|
|
183
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
184
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
185
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
186
|
-
feature_units_plural: Optional[str] = Field(
|
|
187
|
-
alias="featureUnitsPlural", default=None
|
|
188
|
-
)
|
|
189
|
-
display_name: str = Field(alias="displayName")
|
|
190
|
-
description: Optional[str] = Field(default=None)
|
|
191
|
-
ref_id: str = Field(alias="refId")
|
|
192
|
-
additional_meta_data: Optional[Any] = Field(
|
|
193
|
-
alias="additionalMetaData", default=None
|
|
194
|
-
)
|
|
195
|
-
|
|
196
|
-
|
|
197
197
|
class AddonFragment(BaseModel):
|
|
198
198
|
id: Any
|
|
199
199
|
ref_id: str = Field(alias="refId")
|
|
@@ -232,94 +232,45 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
232
232
|
pass
|
|
233
233
|
|
|
234
234
|
|
|
235
|
-
class
|
|
236
|
-
resource_id: str = Field(alias="resourceId")
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
class SlimCustomerFragment(BaseModel):
|
|
240
|
-
id: Any
|
|
241
|
-
name: Optional[str] = Field(default=None)
|
|
242
|
-
email: Optional[str] = Field(default=None)
|
|
243
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
244
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
245
|
-
ref_id: str = Field(alias="refId")
|
|
246
|
-
customer_id: str = Field(alias="customerId")
|
|
247
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
248
|
-
additional_meta_data: Optional[Any] = Field(
|
|
249
|
-
alias="additionalMetaData", default=None
|
|
250
|
-
)
|
|
251
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
252
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
253
|
-
)
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
class SubscriptionInvoiceFragment(BaseModel):
|
|
257
|
-
billing_id: str = Field(alias="billingId")
|
|
258
|
-
status: SubscriptionInvoiceStatus
|
|
259
|
-
created_at: Any = Field(alias="createdAt")
|
|
260
|
-
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
261
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
262
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
263
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
264
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
265
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
266
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
267
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
268
|
-
alias="billingReason", default=None
|
|
269
|
-
)
|
|
270
|
-
currency: Optional[str] = Field(default=None)
|
|
271
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
272
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
273
|
-
alias="subTotalExcludingTax", default=None
|
|
274
|
-
)
|
|
275
|
-
total: Optional[float] = Field(default=None)
|
|
276
|
-
total_excluding_tax: Optional[float] = Field(
|
|
277
|
-
alias="totalExcludingTax", default=None
|
|
278
|
-
)
|
|
279
|
-
tax: Optional[float] = Field(default=None)
|
|
280
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
281
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
235
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
285
236
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
286
237
|
alias="subscriptionScheduleType"
|
|
287
238
|
)
|
|
288
239
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
289
240
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
290
|
-
target_package: Optional["
|
|
241
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
291
242
|
alias="targetPackage", default=None
|
|
292
243
|
)
|
|
293
244
|
schedule_variables: Optional[
|
|
294
245
|
Annotated[
|
|
295
246
|
Union[
|
|
296
|
-
"
|
|
297
|
-
"
|
|
298
|
-
"
|
|
299
|
-
"
|
|
300
|
-
"
|
|
301
|
-
"
|
|
302
|
-
"
|
|
303
|
-
"
|
|
247
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
248
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
249
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
250
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
251
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
252
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
253
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
254
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
304
255
|
],
|
|
305
256
|
Field(discriminator="typename__"),
|
|
306
257
|
]
|
|
307
258
|
] = Field(alias="scheduleVariables", default=None)
|
|
308
259
|
|
|
309
260
|
|
|
310
|
-
class
|
|
261
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
311
262
|
id: Any
|
|
312
263
|
ref_id: str = Field(alias="refId")
|
|
313
264
|
display_name: str = Field(alias="displayName")
|
|
314
265
|
|
|
315
266
|
|
|
316
|
-
class
|
|
267
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
317
268
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
318
269
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
319
270
|
new_quantity: float = Field(alias="newQuantity")
|
|
320
271
|
|
|
321
272
|
|
|
322
|
-
class
|
|
273
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
323
274
|
BaseModel
|
|
324
275
|
):
|
|
325
276
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -327,53 +278,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
327
278
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
328
279
|
|
|
329
280
|
|
|
330
|
-
class
|
|
281
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
331
282
|
BaseModel
|
|
332
283
|
):
|
|
333
284
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
334
285
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
335
286
|
|
|
336
287
|
|
|
337
|
-
class
|
|
288
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
338
289
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
339
290
|
|
|
340
291
|
|
|
341
|
-
class
|
|
292
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
293
|
+
BaseModel
|
|
294
|
+
):
|
|
342
295
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
343
296
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
344
297
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
345
298
|
billable_features: Optional[
|
|
346
299
|
List[
|
|
347
|
-
"
|
|
300
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
348
301
|
]
|
|
349
302
|
] = Field(alias="billableFeatures", default=None)
|
|
350
303
|
addons: Optional[
|
|
351
304
|
List[
|
|
352
|
-
"
|
|
305
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
353
306
|
]
|
|
354
307
|
] = Field(default=None)
|
|
355
308
|
price_overrides: Optional[
|
|
356
309
|
List[
|
|
357
|
-
"
|
|
310
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
358
311
|
]
|
|
359
312
|
] = Field(alias="priceOverrides", default=None)
|
|
360
313
|
|
|
361
314
|
|
|
362
|
-
class
|
|
315
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
363
316
|
BaseModel
|
|
364
317
|
):
|
|
365
318
|
feature_id: str = Field(alias="featureId")
|
|
366
319
|
quantity: float
|
|
367
320
|
|
|
368
321
|
|
|
369
|
-
class
|
|
322
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
370
323
|
BaseModel
|
|
371
324
|
):
|
|
372
325
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
373
326
|
quantity: float
|
|
374
327
|
|
|
375
328
|
|
|
376
|
-
class
|
|
329
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
377
330
|
BaseModel
|
|
378
331
|
):
|
|
379
332
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -381,39 +334,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
381
334
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
382
335
|
|
|
383
336
|
|
|
384
|
-
class
|
|
337
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
385
338
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
386
339
|
plan_ref_id: str = Field(alias="planRefId")
|
|
387
340
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
388
341
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
389
342
|
billable_features: Optional[
|
|
390
343
|
List[
|
|
391
|
-
"
|
|
344
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
392
345
|
]
|
|
393
346
|
] = Field(alias="billableFeatures", default=None)
|
|
394
347
|
addons: Optional[
|
|
395
|
-
List[
|
|
348
|
+
List[
|
|
349
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
350
|
+
]
|
|
396
351
|
] = Field(default=None)
|
|
397
352
|
price_overrides: Optional[
|
|
398
353
|
List[
|
|
399
|
-
"
|
|
354
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
400
355
|
]
|
|
401
356
|
] = Field(alias="priceOverrides", default=None)
|
|
402
357
|
|
|
403
358
|
|
|
404
|
-
class
|
|
359
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
405
360
|
BaseModel
|
|
406
361
|
):
|
|
407
362
|
feature_id: str = Field(alias="featureId")
|
|
408
363
|
quantity: float
|
|
409
364
|
|
|
410
365
|
|
|
411
|
-
class
|
|
366
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
367
|
+
BaseModel
|
|
368
|
+
):
|
|
412
369
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
413
370
|
quantity: float
|
|
414
371
|
|
|
415
372
|
|
|
416
|
-
class
|
|
373
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
417
374
|
BaseModel
|
|
418
375
|
):
|
|
419
376
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -421,7 +378,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
421
378
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
422
379
|
|
|
423
380
|
|
|
424
|
-
class
|
|
381
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
425
382
|
BaseModel
|
|
426
383
|
):
|
|
427
384
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -429,171 +386,104 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
429
386
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
430
387
|
|
|
431
388
|
|
|
432
|
-
class
|
|
389
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
390
|
+
BaseModel
|
|
391
|
+
):
|
|
433
392
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
434
393
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
435
394
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
436
395
|
|
|
437
396
|
|
|
438
|
-
class
|
|
439
|
-
|
|
440
|
-
display_name: str = Field(alias="displayName")
|
|
441
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
442
|
-
default=None
|
|
443
|
-
)
|
|
444
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
448
|
-
pass
|
|
449
|
-
|
|
450
|
-
|
|
451
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
452
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
453
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
class ProductFragment(BaseModel):
|
|
457
|
-
ref_id: str = Field(alias="refId")
|
|
458
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
459
|
-
description: Optional[str] = Field(default=None)
|
|
460
|
-
additional_meta_data: Optional[Any] = Field(
|
|
461
|
-
alias="additionalMetaData", default=None
|
|
462
|
-
)
|
|
463
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
467
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
468
|
-
alias="downgradePlan", default=None
|
|
469
|
-
)
|
|
397
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
398
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
470
399
|
|
|
471
400
|
|
|
472
|
-
class
|
|
473
|
-
|
|
474
|
-
display_name: str = Field(alias="displayName")
|
|
401
|
+
class CustomerResourceFragment(BaseModel):
|
|
402
|
+
resource_id: str = Field(alias="resourceId")
|
|
475
403
|
|
|
476
404
|
|
|
477
|
-
class
|
|
478
|
-
|
|
479
|
-
|
|
480
|
-
|
|
481
|
-
|
|
482
|
-
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
486
|
-
)
|
|
487
|
-
|
|
488
|
-
|
|
489
|
-
|
|
490
|
-
product: "PlanFragmentProduct"
|
|
491
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
492
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
493
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
494
|
-
alias="inheritedEntitlements", default=None
|
|
495
|
-
)
|
|
496
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
497
|
-
alias="compatibleAddons", default=None
|
|
405
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
406
|
+
billing_id: str = Field(alias="billingId")
|
|
407
|
+
status: SubscriptionInvoiceStatus
|
|
408
|
+
created_at: Any = Field(alias="createdAt")
|
|
409
|
+
due_date: Optional[Any] = Field(alias="dueDate", default=None)
|
|
410
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
411
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
412
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
413
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
414
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
415
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
416
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
417
|
+
alias="billingReason", default=None
|
|
498
418
|
)
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
] = Field(
|
|
502
|
-
|
|
503
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
504
|
-
alias="overagePrices", default=None
|
|
419
|
+
currency: Optional[str] = Field(default=None)
|
|
420
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
421
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
422
|
+
alias="subTotalExcludingTax", default=None
|
|
505
423
|
)
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
alias="
|
|
424
|
+
total: Optional[float] = Field(default=None)
|
|
425
|
+
total_excluding_tax: Optional[float] = Field(
|
|
426
|
+
alias="totalExcludingTax", default=None
|
|
509
427
|
)
|
|
428
|
+
tax: Optional[float] = Field(default=None)
|
|
429
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
430
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
510
431
|
|
|
511
432
|
|
|
512
|
-
class
|
|
513
|
-
|
|
514
|
-
|
|
515
|
-
|
|
516
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
517
|
-
ref_id: str = Field(alias="refId")
|
|
518
|
-
display_name: str = Field(alias="displayName")
|
|
519
|
-
|
|
520
|
-
|
|
521
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
522
|
-
pass
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
526
|
-
pass
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
530
|
-
pass
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
534
|
-
pass
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
class PlanFragmentPrices(PriceFragment):
|
|
538
|
-
pass
|
|
539
|
-
|
|
540
|
-
|
|
541
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
542
|
-
pass
|
|
433
|
+
class TotalPriceFragment(BaseModel):
|
|
434
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
435
|
+
total: "TotalPriceFragmentTotal"
|
|
543
436
|
|
|
544
437
|
|
|
545
|
-
class
|
|
546
|
-
|
|
547
|
-
|
|
548
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
549
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
550
|
-
alias="trialEndBehavior", default=None
|
|
551
|
-
)
|
|
438
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
439
|
+
amount: float
|
|
440
|
+
currency: Currency
|
|
552
441
|
|
|
553
442
|
|
|
554
|
-
class
|
|
555
|
-
|
|
443
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
444
|
+
amount: float
|
|
445
|
+
currency: Currency
|
|
556
446
|
|
|
557
447
|
|
|
558
|
-
class
|
|
448
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
559
449
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
560
450
|
alias="subscriptionScheduleType"
|
|
561
451
|
)
|
|
562
452
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
563
453
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
564
|
-
target_package: Optional["
|
|
565
|
-
alias="targetPackage", default=None
|
|
566
|
-
)
|
|
567
|
-
schedule_variables: Optional[
|
|
568
|
-
Annotated[
|
|
569
|
-
Union[
|
|
570
|
-
"
|
|
571
|
-
"
|
|
572
|
-
"
|
|
573
|
-
"
|
|
574
|
-
"
|
|
575
|
-
"
|
|
576
|
-
"
|
|
577
|
-
"
|
|
454
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
455
|
+
alias="targetPackage", default=None
|
|
456
|
+
)
|
|
457
|
+
schedule_variables: Optional[
|
|
458
|
+
Annotated[
|
|
459
|
+
Union[
|
|
460
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
461
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
462
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
463
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
464
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
465
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
466
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
467
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
578
468
|
],
|
|
579
469
|
Field(discriminator="typename__"),
|
|
580
470
|
]
|
|
581
471
|
] = Field(alias="scheduleVariables", default=None)
|
|
582
472
|
|
|
583
473
|
|
|
584
|
-
class
|
|
474
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
585
475
|
id: Any
|
|
586
476
|
ref_id: str = Field(alias="refId")
|
|
587
477
|
display_name: str = Field(alias="displayName")
|
|
588
478
|
|
|
589
479
|
|
|
590
|
-
class
|
|
480
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
591
481
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
592
482
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
593
483
|
new_quantity: float = Field(alias="newQuantity")
|
|
594
484
|
|
|
595
485
|
|
|
596
|
-
class
|
|
486
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
597
487
|
BaseModel
|
|
598
488
|
):
|
|
599
489
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -601,55 +491,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
601
491
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
602
492
|
|
|
603
493
|
|
|
604
|
-
class
|
|
494
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
605
495
|
BaseModel
|
|
606
496
|
):
|
|
607
497
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
608
498
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
609
499
|
|
|
610
500
|
|
|
611
|
-
class
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
612
502
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
613
503
|
|
|
614
504
|
|
|
615
|
-
class
|
|
616
|
-
BaseModel
|
|
617
|
-
):
|
|
505
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
618
506
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
619
507
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
620
508
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
621
509
|
billable_features: Optional[
|
|
622
510
|
List[
|
|
623
|
-
"
|
|
511
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
624
512
|
]
|
|
625
513
|
] = Field(alias="billableFeatures", default=None)
|
|
626
514
|
addons: Optional[
|
|
627
515
|
List[
|
|
628
|
-
"
|
|
516
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
629
517
|
]
|
|
630
518
|
] = Field(default=None)
|
|
631
519
|
price_overrides: Optional[
|
|
632
520
|
List[
|
|
633
|
-
"
|
|
521
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
634
522
|
]
|
|
635
523
|
] = Field(alias="priceOverrides", default=None)
|
|
636
524
|
|
|
637
525
|
|
|
638
|
-
class
|
|
526
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
639
527
|
BaseModel
|
|
640
528
|
):
|
|
641
529
|
feature_id: str = Field(alias="featureId")
|
|
642
530
|
quantity: float
|
|
643
531
|
|
|
644
532
|
|
|
645
|
-
class
|
|
533
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
646
534
|
BaseModel
|
|
647
535
|
):
|
|
648
536
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
649
537
|
quantity: float
|
|
650
538
|
|
|
651
539
|
|
|
652
|
-
class
|
|
540
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
653
541
|
BaseModel
|
|
654
542
|
):
|
|
655
543
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -657,43 +545,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
657
545
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
658
546
|
|
|
659
547
|
|
|
660
|
-
class
|
|
548
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
661
549
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
662
550
|
plan_ref_id: str = Field(alias="planRefId")
|
|
663
551
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
664
552
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
665
553
|
billable_features: Optional[
|
|
666
554
|
List[
|
|
667
|
-
"
|
|
555
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
668
556
|
]
|
|
669
557
|
] = Field(alias="billableFeatures", default=None)
|
|
670
558
|
addons: Optional[
|
|
671
|
-
List[
|
|
672
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
673
|
-
]
|
|
559
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
674
560
|
] = Field(default=None)
|
|
675
561
|
price_overrides: Optional[
|
|
676
562
|
List[
|
|
677
|
-
"
|
|
563
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
678
564
|
]
|
|
679
565
|
] = Field(alias="priceOverrides", default=None)
|
|
680
566
|
|
|
681
567
|
|
|
682
|
-
class
|
|
568
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
683
569
|
BaseModel
|
|
684
570
|
):
|
|
685
571
|
feature_id: str = Field(alias="featureId")
|
|
686
572
|
quantity: float
|
|
687
573
|
|
|
688
574
|
|
|
689
|
-
class
|
|
690
|
-
BaseModel
|
|
691
|
-
):
|
|
575
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
692
576
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
693
577
|
quantity: float
|
|
694
578
|
|
|
695
579
|
|
|
696
|
-
class
|
|
580
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
697
581
|
BaseModel
|
|
698
582
|
):
|
|
699
583
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -701,7 +585,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
701
585
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
702
586
|
|
|
703
587
|
|
|
704
|
-
class
|
|
588
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
705
589
|
BaseModel
|
|
706
590
|
):
|
|
707
591
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -709,31 +593,147 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
709
593
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
710
594
|
|
|
711
595
|
|
|
712
|
-
class
|
|
713
|
-
BaseModel
|
|
714
|
-
):
|
|
596
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
715
597
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
716
598
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
717
599
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
718
600
|
|
|
719
601
|
|
|
720
|
-
class
|
|
721
|
-
|
|
722
|
-
|
|
602
|
+
class SlimCustomerFragment(BaseModel):
|
|
603
|
+
id: Any
|
|
604
|
+
name: Optional[str] = Field(default=None)
|
|
605
|
+
email: Optional[str] = Field(default=None)
|
|
606
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
607
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
608
|
+
ref_id: str = Field(alias="refId")
|
|
609
|
+
customer_id: str = Field(alias="customerId")
|
|
610
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
611
|
+
additional_meta_data: Optional[Any] = Field(
|
|
612
|
+
alias="additionalMetaData", default=None
|
|
613
|
+
)
|
|
614
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
615
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
616
|
+
)
|
|
723
617
|
|
|
724
618
|
|
|
725
|
-
class
|
|
726
|
-
|
|
727
|
-
|
|
619
|
+
class ProductFragment(BaseModel):
|
|
620
|
+
ref_id: str = Field(alias="refId")
|
|
621
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
622
|
+
description: Optional[str] = Field(default=None)
|
|
623
|
+
additional_meta_data: Optional[Any] = Field(
|
|
624
|
+
alias="additionalMetaData", default=None
|
|
625
|
+
)
|
|
626
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
728
627
|
|
|
729
628
|
|
|
730
|
-
class
|
|
731
|
-
|
|
732
|
-
|
|
629
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
630
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
631
|
+
alias="downgradePlan", default=None
|
|
632
|
+
)
|
|
733
633
|
|
|
734
634
|
|
|
735
|
-
class
|
|
736
|
-
|
|
635
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
636
|
+
ref_id: str = Field(alias="refId")
|
|
637
|
+
display_name: str = Field(alias="displayName")
|
|
638
|
+
|
|
639
|
+
|
|
640
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
641
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
642
|
+
display_name: str = Field(alias="displayName")
|
|
643
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
644
|
+
default=None
|
|
645
|
+
)
|
|
646
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
647
|
+
|
|
648
|
+
|
|
649
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
650
|
+
pass
|
|
651
|
+
|
|
652
|
+
|
|
653
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
654
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
655
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
656
|
+
|
|
657
|
+
|
|
658
|
+
class PlanFragment(BaseModel):
|
|
659
|
+
id: Any
|
|
660
|
+
ref_id: str = Field(alias="refId")
|
|
661
|
+
display_name: str = Field(alias="displayName")
|
|
662
|
+
description: Optional[str] = Field(default=None)
|
|
663
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
664
|
+
version_number: int = Field(alias="versionNumber")
|
|
665
|
+
additional_meta_data: Optional[Any] = Field(
|
|
666
|
+
alias="additionalMetaData", default=None
|
|
667
|
+
)
|
|
668
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
669
|
+
alias="hiddenFromWidgets", default=None
|
|
670
|
+
)
|
|
671
|
+
product: "PlanFragmentProduct"
|
|
672
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
673
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
674
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
675
|
+
alias="inheritedEntitlements", default=None
|
|
676
|
+
)
|
|
677
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
678
|
+
alias="compatibleAddons", default=None
|
|
679
|
+
)
|
|
680
|
+
compatible_package_groups: Optional[
|
|
681
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
682
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
683
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
684
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
685
|
+
alias="overagePrices", default=None
|
|
686
|
+
)
|
|
687
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
688
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
689
|
+
alias="defaultTrialConfig", default=None
|
|
690
|
+
)
|
|
691
|
+
|
|
692
|
+
|
|
693
|
+
class PlanFragmentProduct(ProductFragment):
|
|
694
|
+
pass
|
|
695
|
+
|
|
696
|
+
|
|
697
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
698
|
+
ref_id: str = Field(alias="refId")
|
|
699
|
+
display_name: str = Field(alias="displayName")
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
703
|
+
pass
|
|
704
|
+
|
|
705
|
+
|
|
706
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
707
|
+
pass
|
|
708
|
+
|
|
709
|
+
|
|
710
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
711
|
+
pass
|
|
712
|
+
|
|
713
|
+
|
|
714
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
715
|
+
pass
|
|
716
|
+
|
|
717
|
+
|
|
718
|
+
class PlanFragmentPrices(PriceFragment):
|
|
719
|
+
pass
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
723
|
+
pass
|
|
724
|
+
|
|
725
|
+
|
|
726
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
727
|
+
duration: float
|
|
728
|
+
units: TrialPeriodUnits
|
|
729
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
730
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
731
|
+
alias="trialEndBehavior", default=None
|
|
732
|
+
)
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
736
|
+
limit: float
|
|
737
737
|
|
|
738
738
|
|
|
739
739
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1016,16 +1016,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1016
1016
|
)
|
|
1017
1017
|
|
|
1018
1018
|
|
|
1019
|
-
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1020
|
-
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1021
|
-
setup_secret: str = Field(alias="setupSecret")
|
|
1022
|
-
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1023
|
-
|
|
1024
|
-
|
|
1025
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1026
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1027
|
-
|
|
1028
|
-
|
|
1029
1019
|
class PromotionalEntitlementFragment(BaseModel):
|
|
1030
1020
|
status: PromotionalEntitlementStatus
|
|
1031
1021
|
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
@@ -1147,6 +1137,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1147
1137
|
pass
|
|
1148
1138
|
|
|
1149
1139
|
|
|
1140
|
+
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1141
|
+
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1142
|
+
setup_secret: str = Field(alias="setupSecret")
|
|
1143
|
+
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1147
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1148
|
+
|
|
1149
|
+
|
|
1150
1150
|
class CheckoutStateFragment(BaseModel):
|
|
1151
1151
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1152
1152
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1604,13 +1604,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1604
1604
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1605
1605
|
|
|
1606
1606
|
|
|
1607
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1608
|
-
addon_id: str = Field(alias="addonId")
|
|
1609
|
-
description: Optional[str] = Field(default=None)
|
|
1610
|
-
display_name: str = Field(alias="displayName")
|
|
1611
|
-
quantity: int
|
|
1612
|
-
|
|
1613
|
-
|
|
1614
1607
|
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1615
1608
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1616
1609
|
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
@@ -1646,6 +1639,13 @@ class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
|
1646
1639
|
)
|
|
1647
1640
|
|
|
1648
1641
|
|
|
1642
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1643
|
+
addon_id: str = Field(alias="addonId")
|
|
1644
|
+
description: Optional[str] = Field(default=None)
|
|
1645
|
+
display_name: str = Field(alias="displayName")
|
|
1646
|
+
quantity: int
|
|
1647
|
+
|
|
1648
|
+
|
|
1649
1649
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1650
1650
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1651
1651
|
plan_id: str = Field(alias="planId")
|
|
@@ -3041,21 +3041,21 @@ class UsageHistoryV2FragmentSeriesPoints(BaseModel):
|
|
|
3041
3041
|
|
|
3042
3042
|
|
|
3043
3043
|
AddonDependencyFragment.model_rebuild()
|
|
3044
|
+
PackageEntitlementFragment.model_rebuild()
|
|
3044
3045
|
PriceTierFragment.model_rebuild()
|
|
3045
3046
|
PriceFragment.model_rebuild()
|
|
3046
3047
|
OveragePriceFragment.model_rebuild()
|
|
3047
|
-
PackageEntitlementFragment.model_rebuild()
|
|
3048
3048
|
AddonFragment.model_rebuild()
|
|
3049
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3050
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3049
3051
|
CustomerResourceFragment.model_rebuild()
|
|
3050
|
-
SlimCustomerFragment.model_rebuild()
|
|
3051
3052
|
SubscriptionInvoiceFragment.model_rebuild()
|
|
3053
|
+
TotalPriceFragment.model_rebuild()
|
|
3052
3054
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
3053
|
-
|
|
3055
|
+
SlimCustomerFragment.model_rebuild()
|
|
3054
3056
|
ProductFragment.model_rebuild()
|
|
3057
|
+
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3055
3058
|
PlanFragment.model_rebuild()
|
|
3056
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
3057
|
-
TotalPriceFragment.model_rebuild()
|
|
3058
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
3059
3059
|
SubscriptionFragment.model_rebuild()
|
|
3060
3060
|
FeatureFragment.model_rebuild()
|
|
3061
3061
|
EntitlementFragment.model_rebuild()
|
|
@@ -3063,11 +3063,11 @@ ApplySubscriptionFragment.model_rebuild()
|
|
|
3063
3063
|
FontVariantFragment.model_rebuild()
|
|
3064
3064
|
TypographyConfigurationFragment.model_rebuild()
|
|
3065
3065
|
CheckoutConfigurationFragment.model_rebuild()
|
|
3066
|
-
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3067
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3068
3066
|
PromotionalEntitlementFragment.model_rebuild()
|
|
3069
3067
|
CouponFragment.model_rebuild()
|
|
3070
3068
|
CustomerFragment.model_rebuild()
|
|
3069
|
+
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
3070
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
3071
3071
|
CheckoutStateFragment.model_rebuild()
|
|
3072
3072
|
CreditBalanceFragment.model_rebuild()
|
|
3073
3073
|
CreditBalanceUpdatedPayload.model_rebuild()
|
|
@@ -3080,8 +3080,8 @@ CustomerPortalBillingInformationFragment.model_rebuild()
|
|
|
3080
3080
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
3081
3081
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
3082
3082
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
3083
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3084
3083
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
3084
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
3085
3085
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
3086
3086
|
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
3087
3087
|
CustomerPortalFragment.model_rebuild()
|
stigg/generated/input_types.py
CHANGED
|
@@ -4531,6 +4531,9 @@ class SubscriptionPriceSort(BaseModel):
|
|
|
4531
4531
|
|
|
4532
4532
|
class SubscriptionQueryFilter(BaseModel):
|
|
4533
4533
|
and_: Optional[List["SubscriptionQueryFilter"]] = Field(alias="and", default=None)
|
|
4534
|
+
billing_id: Optional["StringFieldComparison"] = Field(
|
|
4535
|
+
alias="billingId", default=None
|
|
4536
|
+
)
|
|
4534
4537
|
created_at: Optional["DateFieldComparison"] = Field(alias="createdAt", default=None)
|
|
4535
4538
|
customer: Optional["SubscriptionQueryFilterCustomerFilter"] = None
|
|
4536
4539
|
customer_id: Optional["StringFieldComparison"] = Field(
|
|
@@ -4546,8 +4549,14 @@ class SubscriptionQueryFilter(BaseModel):
|
|
|
4546
4549
|
resource_id: Optional["StringFieldComparison"] = Field(
|
|
4547
4550
|
alias="resourceId", default=None
|
|
4548
4551
|
)
|
|
4552
|
+
salesforce_id: Optional["StringFieldComparison"] = Field(
|
|
4553
|
+
alias="salesforceId", default=None
|
|
4554
|
+
)
|
|
4549
4555
|
start_date: Optional["DateFieldComparison"] = Field(alias="startDate", default=None)
|
|
4550
4556
|
status: Optional["SubscriptionStatusFilterComparison"] = None
|
|
4557
|
+
subscription_id: Optional["StringFieldComparison"] = Field(
|
|
4558
|
+
alias="subscriptionId", default=None
|
|
4559
|
+
)
|
|
4551
4560
|
|
|
4552
4561
|
|
|
4553
4562
|
class SubscriptionQueryFilterCustomerFilter(BaseModel):
|
|
@@ -120,11 +120,11 @@ stigg/generated/create_payment_session.py,sha256=VRPT8Bbvb_evFHMav9y_pXWHMVbkRy9
|
|
|
120
120
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
121
121
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
122
122
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
123
|
-
stigg/generated/enums.py,sha256=
|
|
123
|
+
stigg/generated/enums.py,sha256=gWRs74VaRAI_BMFxwmFZJPpe-tQMI_N5X9pDx_LcW7Q,40063
|
|
124
124
|
stigg/generated/estimate_subscription.py,sha256=c0_vg0A_Hi8fdjeGudWZ0WziUF9jcjX5rlRitGMAMaQ,479
|
|
125
125
|
stigg/generated/estimate_subscription_update.py,sha256=ZYIFqqHHDfzhrOn95QnMmPNTXZ7JrKWRlUFzk8fWwKA,528
|
|
126
126
|
stigg/generated/exceptions.py,sha256=OQu-ZYCCV4VyMWTd1HR8gIjIK2CrA_JMlFxqOAJugWY,2411
|
|
127
|
-
stigg/generated/fragments.py,sha256=
|
|
127
|
+
stigg/generated/fragments.py,sha256=vHuWH7EWxQo9PiQ1pFWoFE7U2Ic1So62dzHXHDkUo5Y,111377
|
|
128
128
|
stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
|
|
129
129
|
stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
|
|
130
130
|
stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
|
|
@@ -153,7 +153,7 @@ stigg/generated/grant_promotional_entitlements_group.py,sha256=iQwCd07VFaYbsN_E-
|
|
|
153
153
|
stigg/generated/import_customer.py,sha256=yEtrEB7T-Aykv3AUl-rAQz2XL6hKL0j-7JL3h-xi87o,403
|
|
154
154
|
stigg/generated/import_customer_bulk.py,sha256=miLn2ScWlPOH1IipltY5Vgd-ZQ_BkBk9t3-EsLvU5ZQ,284
|
|
155
155
|
stigg/generated/import_subscriptions_bulk.py,sha256=QgitpZkjE7eBhP1o5W0PTVAbKOvz61dNoeBAWupIcgU,297
|
|
156
|
-
stigg/generated/input_types.py,sha256=
|
|
156
|
+
stigg/generated/input_types.py,sha256=qtpXRaiP6f8SOsC5JSNIPIt5ei77FR8zmugEv_WBMG8,218113
|
|
157
157
|
stigg/generated/migrate_subscription_to_latest.py,sha256=qQDwH7EodYAeJFb62IIl-MAEB5MbthgCJ0v1RMxpdYk,516
|
|
158
158
|
stigg/generated/preview_next_invoice.py,sha256=MiQ4Gv7Ve1Hv60xhaQi7uj82aq0xLP2UB-gjvcQdOL8,478
|
|
159
159
|
stigg/generated/preview_subscription.py,sha256=Qo2vlFs7sFzqaE8J_e-EHTRfLvG46lko-dcJMxDSCR0,475
|
|
@@ -172,7 +172,7 @@ stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0L
|
|
|
172
172
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
173
173
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
174
174
|
stigg/generated/void_credit_grant.py,sha256=uQ22Xb2vwMOJfqh48GU2fhZ6Dcv9nHNIx_UJpjmJSBU,410
|
|
175
|
-
stigg_api_client_v2-3.
|
|
176
|
-
stigg_api_client_v2-3.
|
|
177
|
-
stigg_api_client_v2-3.
|
|
178
|
-
stigg_api_client_v2-3.
|
|
175
|
+
stigg_api_client_v2-3.120.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
176
|
+
stigg_api_client_v2-3.120.0.dist-info/METADATA,sha256=VtW7IoJJhys0-2-PChX9pSe-VFGSK7i9daGw7wOhhM8,2258
|
|
177
|
+
stigg_api_client_v2-3.120.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
178
|
+
stigg_api_client_v2-3.120.0.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|