stigg-api-client-v2 2.315.0__py3-none-any.whl → 2.315.1__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 +0 -1
- stigg/generated/fragments.py +316 -316
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.1.dist-info}/RECORD +6 -6
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-2.315.0.dist-info → stigg_api_client_v2-2.315.1.dist-info}/WHEEL +0 -0
stigg/generated/enums.py
CHANGED
|
@@ -436,7 +436,6 @@ class ErrorCode(str, Enum):
|
|
|
436
436
|
DraftAddonCantBeArchived = "DraftAddonCantBeArchived"
|
|
437
437
|
DraftPlanCantBeArchived = "DraftPlanCantBeArchived"
|
|
438
438
|
DuplicateAddonProvisionedError = "DuplicateAddonProvisionedError"
|
|
439
|
-
DuplicateIntegrationNotAllowed = "DuplicateIntegrationNotAllowed"
|
|
440
439
|
DuplicateProductValidationError = "DuplicateProductValidationError"
|
|
441
440
|
DuplicatedEntityNotAllowed = "DuplicatedEntityNotAllowed"
|
|
442
441
|
EditAllowedOnDraftPackageOnlyError = "EditAllowedOnDraftPackageOnlyError"
|
stigg/generated/fragments.py
CHANGED
|
@@ -215,85 +215,165 @@ class AddonFragmentDependencies(AddonDependencyFragment):
|
|
|
215
215
|
pass
|
|
216
216
|
|
|
217
217
|
|
|
218
|
-
class
|
|
219
|
-
|
|
218
|
+
class ProductFragment(BaseModel):
|
|
219
|
+
ref_id: str = Field(alias="refId")
|
|
220
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
221
|
+
description: Optional[str] = Field(default=None)
|
|
222
|
+
additional_meta_data: Optional[Any] = Field(
|
|
223
|
+
alias="additionalMetaData", default=None
|
|
224
|
+
)
|
|
225
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
220
226
|
|
|
221
227
|
|
|
222
|
-
class
|
|
223
|
-
|
|
224
|
-
|
|
228
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
229
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
230
|
+
alias="downgradePlan", default=None
|
|
231
|
+
)
|
|
225
232
|
|
|
226
233
|
|
|
227
|
-
class
|
|
228
|
-
|
|
229
|
-
|
|
234
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
235
|
+
ref_id: str = Field(alias="refId")
|
|
236
|
+
display_name: str = Field(alias="displayName")
|
|
230
237
|
|
|
231
238
|
|
|
232
|
-
class
|
|
233
|
-
|
|
234
|
-
|
|
239
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
240
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
241
|
+
display_name: str = Field(alias="displayName")
|
|
242
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
243
|
+
default=None
|
|
244
|
+
)
|
|
245
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
235
246
|
|
|
236
247
|
|
|
237
|
-
class
|
|
238
|
-
|
|
248
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
249
|
+
pass
|
|
239
250
|
|
|
240
251
|
|
|
241
|
-
class
|
|
252
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
253
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
254
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
255
|
+
|
|
256
|
+
|
|
257
|
+
class PlanFragment(BaseModel):
|
|
242
258
|
id: str
|
|
243
|
-
name: Optional[str] = Field(default=None)
|
|
244
|
-
email: Optional[str] = Field(default=None)
|
|
245
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
246
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
247
259
|
ref_id: str = Field(alias="refId")
|
|
248
|
-
|
|
260
|
+
display_name: str = Field(alias="displayName")
|
|
261
|
+
description: Optional[str] = Field(default=None)
|
|
249
262
|
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
263
|
+
version_number: int = Field(alias="versionNumber")
|
|
250
264
|
additional_meta_data: Optional[Any] = Field(
|
|
251
265
|
alias="additionalMetaData", default=None
|
|
252
266
|
)
|
|
253
|
-
|
|
254
|
-
alias="
|
|
267
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
268
|
+
alias="hiddenFromWidgets", default=None
|
|
269
|
+
)
|
|
270
|
+
product: "PlanFragmentProduct"
|
|
271
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
272
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
273
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
274
|
+
alias="inheritedEntitlements", default=None
|
|
275
|
+
)
|
|
276
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
277
|
+
alias="compatibleAddons", default=None
|
|
278
|
+
)
|
|
279
|
+
compatible_package_groups: Optional[
|
|
280
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
281
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
282
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
283
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
284
|
+
alias="overagePrices", default=None
|
|
285
|
+
)
|
|
286
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
287
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
288
|
+
alias="defaultTrialConfig", default=None
|
|
255
289
|
)
|
|
256
290
|
|
|
257
291
|
|
|
258
|
-
class
|
|
292
|
+
class PlanFragmentProduct(ProductFragment):
|
|
293
|
+
pass
|
|
294
|
+
|
|
295
|
+
|
|
296
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
297
|
+
ref_id: str = Field(alias="refId")
|
|
298
|
+
display_name: str = Field(alias="displayName")
|
|
299
|
+
|
|
300
|
+
|
|
301
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
302
|
+
pass
|
|
303
|
+
|
|
304
|
+
|
|
305
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
306
|
+
pass
|
|
307
|
+
|
|
308
|
+
|
|
309
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
310
|
+
pass
|
|
311
|
+
|
|
312
|
+
|
|
313
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
314
|
+
pass
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
class PlanFragmentPrices(PriceFragment):
|
|
318
|
+
pass
|
|
319
|
+
|
|
320
|
+
|
|
321
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
322
|
+
pass
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
326
|
+
duration: float
|
|
327
|
+
units: TrialPeriodUnits
|
|
328
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
329
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
330
|
+
alias="trialEndBehavior", default=None
|
|
331
|
+
)
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
335
|
+
limit: float
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
259
339
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
260
340
|
alias="subscriptionScheduleType"
|
|
261
341
|
)
|
|
262
342
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
263
343
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
264
|
-
target_package: Optional["
|
|
344
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
265
345
|
alias="targetPackage", default=None
|
|
266
346
|
)
|
|
267
347
|
schedule_variables: Optional[
|
|
268
348
|
Annotated[
|
|
269
349
|
Union[
|
|
270
|
-
"
|
|
271
|
-
"
|
|
272
|
-
"
|
|
273
|
-
"
|
|
274
|
-
"
|
|
275
|
-
"
|
|
276
|
-
"
|
|
277
|
-
"
|
|
350
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
351
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
352
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
353
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
354
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
355
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
356
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
357
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
278
358
|
],
|
|
279
359
|
Field(discriminator="typename__"),
|
|
280
360
|
]
|
|
281
361
|
] = Field(alias="scheduleVariables", default=None)
|
|
282
362
|
|
|
283
363
|
|
|
284
|
-
class
|
|
364
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
285
365
|
id: str
|
|
286
366
|
ref_id: str = Field(alias="refId")
|
|
287
367
|
display_name: str = Field(alias="displayName")
|
|
288
368
|
|
|
289
369
|
|
|
290
|
-
class
|
|
370
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
291
371
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
292
372
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
293
373
|
new_quantity: float = Field(alias="newQuantity")
|
|
294
374
|
|
|
295
375
|
|
|
296
|
-
class
|
|
376
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
297
377
|
BaseModel
|
|
298
378
|
):
|
|
299
379
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -301,55 +381,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
301
381
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
302
382
|
|
|
303
383
|
|
|
304
|
-
class
|
|
384
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
305
385
|
BaseModel
|
|
306
386
|
):
|
|
307
387
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
308
388
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
309
389
|
|
|
310
390
|
|
|
311
|
-
class
|
|
391
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
312
392
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
313
393
|
|
|
314
394
|
|
|
315
|
-
class
|
|
316
|
-
BaseModel
|
|
317
|
-
):
|
|
395
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
318
396
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
319
397
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
320
398
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
321
399
|
billable_features: Optional[
|
|
322
400
|
List[
|
|
323
|
-
"
|
|
401
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
324
402
|
]
|
|
325
403
|
] = Field(alias="billableFeatures", default=None)
|
|
326
404
|
addons: Optional[
|
|
327
405
|
List[
|
|
328
|
-
"
|
|
406
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
329
407
|
]
|
|
330
408
|
] = Field(default=None)
|
|
331
409
|
price_overrides: Optional[
|
|
332
410
|
List[
|
|
333
|
-
"
|
|
411
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
334
412
|
]
|
|
335
413
|
] = Field(alias="priceOverrides", default=None)
|
|
336
414
|
|
|
337
415
|
|
|
338
|
-
class
|
|
416
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
339
417
|
BaseModel
|
|
340
418
|
):
|
|
341
419
|
feature_id: str = Field(alias="featureId")
|
|
342
420
|
quantity: float
|
|
343
421
|
|
|
344
422
|
|
|
345
|
-
class
|
|
423
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
346
424
|
BaseModel
|
|
347
425
|
):
|
|
348
426
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
349
427
|
quantity: float
|
|
350
428
|
|
|
351
429
|
|
|
352
|
-
class
|
|
430
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
353
431
|
BaseModel
|
|
354
432
|
):
|
|
355
433
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -357,43 +435,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
357
435
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
358
436
|
|
|
359
437
|
|
|
360
|
-
class
|
|
438
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
361
439
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
362
440
|
plan_ref_id: str = Field(alias="planRefId")
|
|
363
441
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
364
442
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
365
443
|
billable_features: Optional[
|
|
366
444
|
List[
|
|
367
|
-
"
|
|
445
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
368
446
|
]
|
|
369
447
|
] = Field(alias="billableFeatures", default=None)
|
|
370
448
|
addons: Optional[
|
|
371
|
-
List[
|
|
372
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
373
|
-
]
|
|
449
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
374
450
|
] = Field(default=None)
|
|
375
451
|
price_overrides: Optional[
|
|
376
452
|
List[
|
|
377
|
-
"
|
|
453
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
378
454
|
]
|
|
379
455
|
] = Field(alias="priceOverrides", default=None)
|
|
380
456
|
|
|
381
457
|
|
|
382
|
-
class
|
|
458
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
383
459
|
BaseModel
|
|
384
460
|
):
|
|
385
461
|
feature_id: str = Field(alias="featureId")
|
|
386
462
|
quantity: float
|
|
387
463
|
|
|
388
464
|
|
|
389
|
-
class
|
|
390
|
-
BaseModel
|
|
391
|
-
):
|
|
465
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
392
466
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
393
467
|
quantity: float
|
|
394
468
|
|
|
395
469
|
|
|
396
|
-
class
|
|
470
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
397
471
|
BaseModel
|
|
398
472
|
):
|
|
399
473
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -401,7 +475,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
401
475
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
402
476
|
|
|
403
477
|
|
|
404
|
-
class
|
|
478
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
405
479
|
BaseModel
|
|
406
480
|
):
|
|
407
481
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -409,80 +483,51 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
409
483
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
410
484
|
|
|
411
485
|
|
|
412
|
-
class
|
|
413
|
-
BaseModel
|
|
414
|
-
):
|
|
486
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
415
487
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
416
488
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
417
489
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
418
490
|
|
|
419
491
|
|
|
420
|
-
class
|
|
421
|
-
billing_id: str = Field(alias="billingId")
|
|
422
|
-
status: SubscriptionInvoiceStatus
|
|
423
|
-
created_at: Any = Field(alias="createdAt")
|
|
424
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
425
|
-
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
426
|
-
requires_action: bool = Field(alias="requiresAction")
|
|
427
|
-
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
428
|
-
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
429
|
-
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
430
|
-
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
431
|
-
alias="billingReason", default=None
|
|
432
|
-
)
|
|
433
|
-
currency: Optional[str] = Field(default=None)
|
|
434
|
-
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
435
|
-
sub_total_excluding_tax: Optional[float] = Field(
|
|
436
|
-
alias="subTotalExcludingTax", default=None
|
|
437
|
-
)
|
|
438
|
-
total: Optional[float] = Field(default=None)
|
|
439
|
-
total_excluding_tax: Optional[float] = Field(
|
|
440
|
-
alias="totalExcludingTax", default=None
|
|
441
|
-
)
|
|
442
|
-
tax: Optional[float] = Field(default=None)
|
|
443
|
-
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
444
|
-
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
492
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
448
493
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
449
494
|
alias="subscriptionScheduleType"
|
|
450
495
|
)
|
|
451
496
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
452
497
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
453
|
-
target_package: Optional["
|
|
498
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
454
499
|
alias="targetPackage", default=None
|
|
455
500
|
)
|
|
456
501
|
schedule_variables: Optional[
|
|
457
502
|
Annotated[
|
|
458
503
|
Union[
|
|
459
|
-
"
|
|
460
|
-
"
|
|
461
|
-
"
|
|
462
|
-
"
|
|
463
|
-
"
|
|
464
|
-
"
|
|
465
|
-
"
|
|
466
|
-
"
|
|
504
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
505
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
506
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
507
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
508
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
509
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
510
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
511
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
467
512
|
],
|
|
468
513
|
Field(discriminator="typename__"),
|
|
469
514
|
]
|
|
470
515
|
] = Field(alias="scheduleVariables", default=None)
|
|
471
516
|
|
|
472
517
|
|
|
473
|
-
class
|
|
518
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
474
519
|
id: str
|
|
475
520
|
ref_id: str = Field(alias="refId")
|
|
476
521
|
display_name: str = Field(alias="displayName")
|
|
477
522
|
|
|
478
523
|
|
|
479
|
-
class
|
|
524
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
480
525
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
481
526
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
482
527
|
new_quantity: float = Field(alias="newQuantity")
|
|
483
528
|
|
|
484
529
|
|
|
485
|
-
class
|
|
530
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
486
531
|
BaseModel
|
|
487
532
|
):
|
|
488
533
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -490,53 +535,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
490
535
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
491
536
|
|
|
492
537
|
|
|
493
|
-
class
|
|
538
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
494
539
|
BaseModel
|
|
495
540
|
):
|
|
496
541
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
497
542
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
498
543
|
|
|
499
544
|
|
|
500
|
-
class
|
|
545
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
501
546
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
502
547
|
|
|
503
548
|
|
|
504
|
-
class
|
|
549
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
550
|
+
BaseModel
|
|
551
|
+
):
|
|
505
552
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
506
553
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
507
554
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
508
555
|
billable_features: Optional[
|
|
509
556
|
List[
|
|
510
|
-
"
|
|
557
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
511
558
|
]
|
|
512
559
|
] = Field(alias="billableFeatures", default=None)
|
|
513
560
|
addons: Optional[
|
|
514
561
|
List[
|
|
515
|
-
"
|
|
562
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
516
563
|
]
|
|
517
564
|
] = Field(default=None)
|
|
518
565
|
price_overrides: Optional[
|
|
519
566
|
List[
|
|
520
|
-
"
|
|
567
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
521
568
|
]
|
|
522
569
|
] = Field(alias="priceOverrides", default=None)
|
|
523
570
|
|
|
524
571
|
|
|
525
|
-
class
|
|
572
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
526
573
|
BaseModel
|
|
527
574
|
):
|
|
528
575
|
feature_id: str = Field(alias="featureId")
|
|
529
576
|
quantity: float
|
|
530
577
|
|
|
531
578
|
|
|
532
|
-
class
|
|
579
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
533
580
|
BaseModel
|
|
534
581
|
):
|
|
535
582
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
536
583
|
quantity: float
|
|
537
584
|
|
|
538
585
|
|
|
539
|
-
class
|
|
586
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
540
587
|
BaseModel
|
|
541
588
|
):
|
|
542
589
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -544,39 +591,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
544
591
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
545
592
|
|
|
546
593
|
|
|
547
|
-
class
|
|
594
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
548
595
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
549
596
|
plan_ref_id: str = Field(alias="planRefId")
|
|
550
597
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
551
598
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
552
599
|
billable_features: Optional[
|
|
553
600
|
List[
|
|
554
|
-
"
|
|
601
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
555
602
|
]
|
|
556
603
|
] = Field(alias="billableFeatures", default=None)
|
|
557
604
|
addons: Optional[
|
|
558
|
-
List[
|
|
605
|
+
List[
|
|
606
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
607
|
+
]
|
|
559
608
|
] = Field(default=None)
|
|
560
609
|
price_overrides: Optional[
|
|
561
610
|
List[
|
|
562
|
-
"
|
|
611
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
563
612
|
]
|
|
564
613
|
] = Field(alias="priceOverrides", default=None)
|
|
565
614
|
|
|
566
615
|
|
|
567
|
-
class
|
|
616
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
568
617
|
BaseModel
|
|
569
618
|
):
|
|
570
619
|
feature_id: str = Field(alias="featureId")
|
|
571
620
|
quantity: float
|
|
572
621
|
|
|
573
622
|
|
|
574
|
-
class
|
|
623
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
624
|
+
BaseModel
|
|
625
|
+
):
|
|
575
626
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
576
627
|
quantity: float
|
|
577
628
|
|
|
578
629
|
|
|
579
|
-
class
|
|
630
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
580
631
|
BaseModel
|
|
581
632
|
):
|
|
582
633
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -584,138 +635,87 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
584
635
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
585
636
|
|
|
586
637
|
|
|
587
|
-
class
|
|
638
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
588
639
|
BaseModel
|
|
589
640
|
):
|
|
590
641
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
591
|
-
plan_ref_id: str = Field(alias="planRefId")
|
|
592
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
596
|
-
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
597
|
-
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
598
|
-
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
class ProductFragment(BaseModel):
|
|
602
|
-
ref_id: str = Field(alias="refId")
|
|
603
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
604
|
-
description: Optional[str] = Field(default=None)
|
|
605
|
-
additional_meta_data: Optional[Any] = Field(
|
|
606
|
-
alias="additionalMetaData", default=None
|
|
607
|
-
)
|
|
608
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
609
|
-
|
|
610
|
-
|
|
611
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
612
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
613
|
-
alias="downgradePlan", default=None
|
|
614
|
-
)
|
|
615
|
-
|
|
616
|
-
|
|
617
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
618
|
-
ref_id: str = Field(alias="refId")
|
|
619
|
-
display_name: str = Field(alias="displayName")
|
|
620
|
-
|
|
621
|
-
|
|
622
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
623
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
624
|
-
display_name: str = Field(alias="displayName")
|
|
625
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
626
|
-
default=None
|
|
627
|
-
)
|
|
628
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
632
|
-
pass
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
636
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
637
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
class PlanFragment(BaseModel):
|
|
641
|
-
id: str
|
|
642
|
-
ref_id: str = Field(alias="refId")
|
|
643
|
-
display_name: str = Field(alias="displayName")
|
|
644
|
-
description: Optional[str] = Field(default=None)
|
|
645
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
646
|
-
version_number: int = Field(alias="versionNumber")
|
|
647
|
-
additional_meta_data: Optional[Any] = Field(
|
|
648
|
-
alias="additionalMetaData", default=None
|
|
649
|
-
)
|
|
650
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
651
|
-
alias="hiddenFromWidgets", default=None
|
|
652
|
-
)
|
|
653
|
-
product: "PlanFragmentProduct"
|
|
654
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
655
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
656
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
657
|
-
alias="inheritedEntitlements", default=None
|
|
658
|
-
)
|
|
659
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
660
|
-
alias="compatibleAddons", default=None
|
|
661
|
-
)
|
|
662
|
-
compatible_package_groups: Optional[
|
|
663
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
664
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
665
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
666
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
667
|
-
alias="overagePrices", default=None
|
|
668
|
-
)
|
|
669
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
670
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
671
|
-
alias="defaultTrialConfig", default=None
|
|
672
|
-
)
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
class PlanFragmentProduct(ProductFragment):
|
|
676
|
-
pass
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
680
|
-
ref_id: str = Field(alias="refId")
|
|
681
|
-
display_name: str = Field(alias="displayName")
|
|
642
|
+
plan_ref_id: str = Field(alias="planRefId")
|
|
643
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
682
644
|
|
|
683
645
|
|
|
684
|
-
class
|
|
685
|
-
|
|
646
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
647
|
+
BaseModel
|
|
648
|
+
):
|
|
649
|
+
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
650
|
+
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
651
|
+
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
686
652
|
|
|
687
653
|
|
|
688
|
-
class
|
|
689
|
-
|
|
654
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
655
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
690
656
|
|
|
691
657
|
|
|
692
|
-
class
|
|
693
|
-
|
|
658
|
+
class SubscriptionInvoiceFragment(BaseModel):
|
|
659
|
+
billing_id: str = Field(alias="billingId")
|
|
660
|
+
status: SubscriptionInvoiceStatus
|
|
661
|
+
created_at: Any = Field(alias="createdAt")
|
|
662
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
663
|
+
error_message: Optional[str] = Field(alias="errorMessage", default=None)
|
|
664
|
+
requires_action: bool = Field(alias="requiresAction")
|
|
665
|
+
payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
|
|
666
|
+
payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
|
|
667
|
+
pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
|
|
668
|
+
billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
|
|
669
|
+
alias="billingReason", default=None
|
|
670
|
+
)
|
|
671
|
+
currency: Optional[str] = Field(default=None)
|
|
672
|
+
sub_total: Optional[float] = Field(alias="subTotal", default=None)
|
|
673
|
+
sub_total_excluding_tax: Optional[float] = Field(
|
|
674
|
+
alias="subTotalExcludingTax", default=None
|
|
675
|
+
)
|
|
676
|
+
total: Optional[float] = Field(default=None)
|
|
677
|
+
total_excluding_tax: Optional[float] = Field(
|
|
678
|
+
alias="totalExcludingTax", default=None
|
|
679
|
+
)
|
|
680
|
+
tax: Optional[float] = Field(default=None)
|
|
681
|
+
amount_due: Optional[float] = Field(alias="amountDue", default=None)
|
|
682
|
+
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
694
683
|
|
|
695
684
|
|
|
696
|
-
class
|
|
697
|
-
|
|
685
|
+
class TotalPriceFragment(BaseModel):
|
|
686
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
687
|
+
total: "TotalPriceFragmentTotal"
|
|
698
688
|
|
|
699
689
|
|
|
700
|
-
class
|
|
701
|
-
|
|
690
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
691
|
+
amount: float
|
|
692
|
+
currency: Currency
|
|
702
693
|
|
|
703
694
|
|
|
704
|
-
class
|
|
705
|
-
|
|
695
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
696
|
+
amount: float
|
|
697
|
+
currency: Currency
|
|
706
698
|
|
|
707
699
|
|
|
708
|
-
class
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
700
|
+
class SlimCustomerFragment(BaseModel):
|
|
701
|
+
id: str
|
|
702
|
+
name: Optional[str] = Field(default=None)
|
|
703
|
+
email: Optional[str] = Field(default=None)
|
|
704
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
705
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
706
|
+
ref_id: str = Field(alias="refId")
|
|
707
|
+
customer_id: str = Field(alias="customerId")
|
|
708
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
709
|
+
additional_meta_data: Optional[Any] = Field(
|
|
710
|
+
alias="additionalMetaData", default=None
|
|
711
|
+
)
|
|
712
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
713
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
714
714
|
)
|
|
715
715
|
|
|
716
716
|
|
|
717
|
-
class
|
|
718
|
-
|
|
717
|
+
class CustomerResourceFragment(BaseModel):
|
|
718
|
+
resource_id: str = Field(alias="resourceId")
|
|
719
719
|
|
|
720
720
|
|
|
721
721
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1250,6 +1250,50 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1250
1250
|
pass
|
|
1251
1251
|
|
|
1252
1252
|
|
|
1253
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1254
|
+
display_name: str = Field(alias="displayName")
|
|
1255
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1256
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1257
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1258
|
+
period: PromotionalEntitlementPeriod
|
|
1259
|
+
start_date: Any = Field(alias="startDate")
|
|
1260
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1264
|
+
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1265
|
+
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1266
|
+
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1267
|
+
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1268
|
+
default=None
|
|
1269
|
+
)
|
|
1270
|
+
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1271
|
+
default=None
|
|
1272
|
+
)
|
|
1273
|
+
|
|
1274
|
+
|
|
1275
|
+
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1276
|
+
amount: float
|
|
1277
|
+
currency: Currency
|
|
1278
|
+
|
|
1279
|
+
|
|
1280
|
+
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1281
|
+
id: str
|
|
1282
|
+
ref_id: str = Field(alias="refId")
|
|
1283
|
+
display_name: str = Field(alias="displayName")
|
|
1284
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1285
|
+
feature_units_plural: Optional[str] = Field(
|
|
1286
|
+
alias="featureUnitsPlural", default=None
|
|
1287
|
+
)
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1291
|
+
addon_id: str = Field(alias="addonId")
|
|
1292
|
+
description: Optional[str] = Field(default=None)
|
|
1293
|
+
display_name: str = Field(alias="displayName")
|
|
1294
|
+
quantity: int
|
|
1295
|
+
|
|
1296
|
+
|
|
1253
1297
|
class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
|
|
1254
1298
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
1255
1299
|
alias="subscriptionScheduleType"
|
|
@@ -1419,40 +1463,6 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
|
|
|
1419
1463
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
1420
1464
|
|
|
1421
1465
|
|
|
1422
|
-
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1423
|
-
addon_id: str = Field(alias="addonId")
|
|
1424
|
-
description: Optional[str] = Field(default=None)
|
|
1425
|
-
display_name: str = Field(alias="displayName")
|
|
1426
|
-
quantity: int
|
|
1427
|
-
|
|
1428
|
-
|
|
1429
|
-
class CustomerPortalSubscriptionPriceFragment(BaseModel):
|
|
1430
|
-
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
1431
|
-
billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
|
|
1432
|
-
block_size: Optional[float] = Field(alias="blockSize", default=None)
|
|
1433
|
-
price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
|
|
1434
|
-
default=None
|
|
1435
|
-
)
|
|
1436
|
-
feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
|
|
1437
|
-
default=None
|
|
1438
|
-
)
|
|
1439
|
-
|
|
1440
|
-
|
|
1441
|
-
class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
|
|
1442
|
-
amount: float
|
|
1443
|
-
currency: Currency
|
|
1444
|
-
|
|
1445
|
-
|
|
1446
|
-
class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
|
|
1447
|
-
id: str
|
|
1448
|
-
ref_id: str = Field(alias="refId")
|
|
1449
|
-
display_name: str = Field(alias="displayName")
|
|
1450
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1451
|
-
feature_units_plural: Optional[str] = Field(
|
|
1452
|
-
alias="featureUnitsPlural", default=None
|
|
1453
|
-
)
|
|
1454
|
-
|
|
1455
|
-
|
|
1456
1466
|
class CustomerPortalSubscriptionFragment(BaseModel):
|
|
1457
1467
|
subscription_id: str = Field(alias="subscriptionId")
|
|
1458
1468
|
plan_id: str = Field(alias="planId")
|
|
@@ -1549,16 +1559,6 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1549
1559
|
pass
|
|
1550
1560
|
|
|
1551
1561
|
|
|
1552
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1553
|
-
display_name: str = Field(alias="displayName")
|
|
1554
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1555
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1556
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1557
|
-
period: PromotionalEntitlementPeriod
|
|
1558
|
-
start_date: Any = Field(alias="startDate")
|
|
1559
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1560
|
-
|
|
1561
|
-
|
|
1562
1562
|
class CustomerPortalFragment(BaseModel):
|
|
1563
1563
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1564
1564
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1786,6 +1786,39 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1786
1786
|
description: Optional[str] = Field(default=None)
|
|
1787
1787
|
|
|
1788
1788
|
|
|
1789
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1790
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1791
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1792
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1793
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1794
|
+
alias="resetPeriod", default=None
|
|
1795
|
+
)
|
|
1796
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1797
|
+
alias="hiddenFromWidgets", default=None
|
|
1798
|
+
)
|
|
1799
|
+
display_name_override: Optional[str] = Field(
|
|
1800
|
+
alias="displayNameOverride", default=None
|
|
1801
|
+
)
|
|
1802
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1803
|
+
default=None
|
|
1804
|
+
)
|
|
1805
|
+
|
|
1806
|
+
|
|
1807
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1808
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1809
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1810
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1811
|
+
feature_units_plural: Optional[str] = Field(
|
|
1812
|
+
alias="featureUnitsPlural", default=None
|
|
1813
|
+
)
|
|
1814
|
+
display_name: str = Field(alias="displayName")
|
|
1815
|
+
description: Optional[str] = Field(default=None)
|
|
1816
|
+
ref_id: str = Field(alias="refId")
|
|
1817
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1818
|
+
alias="additionalMetaData", default=None
|
|
1819
|
+
)
|
|
1820
|
+
|
|
1821
|
+
|
|
1789
1822
|
class MockPaywallPriceFragment(BaseModel):
|
|
1790
1823
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1791
1824
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1820,39 +1853,6 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1820
1853
|
display_name: str = Field(alias="displayName")
|
|
1821
1854
|
|
|
1822
1855
|
|
|
1823
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1824
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1825
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1826
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1827
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1828
|
-
alias="resetPeriod", default=None
|
|
1829
|
-
)
|
|
1830
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1831
|
-
alias="hiddenFromWidgets", default=None
|
|
1832
|
-
)
|
|
1833
|
-
display_name_override: Optional[str] = Field(
|
|
1834
|
-
alias="displayNameOverride", default=None
|
|
1835
|
-
)
|
|
1836
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1837
|
-
default=None
|
|
1838
|
-
)
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1842
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1843
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1844
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1845
|
-
feature_units_plural: Optional[str] = Field(
|
|
1846
|
-
alias="featureUnitsPlural", default=None
|
|
1847
|
-
)
|
|
1848
|
-
display_name: str = Field(alias="displayName")
|
|
1849
|
-
description: Optional[str] = Field(default=None)
|
|
1850
|
-
ref_id: str = Field(alias="refId")
|
|
1851
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1852
|
-
alias="additionalMetaData", default=None
|
|
1853
|
-
)
|
|
1854
|
-
|
|
1855
|
-
|
|
1856
1856
|
class MockPaywallAddonFragment(BaseModel):
|
|
1857
1857
|
ref_id: str = Field(alias="refId")
|
|
1858
1858
|
display_name: str = Field(alias="displayName")
|
|
@@ -2768,16 +2768,16 @@ PriceFragment.model_rebuild()
|
|
|
2768
2768
|
PackageEntitlementFragment.model_rebuild()
|
|
2769
2769
|
OveragePriceFragment.model_rebuild()
|
|
2770
2770
|
AddonFragment.model_rebuild()
|
|
2771
|
-
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2772
|
-
TotalPriceFragment.model_rebuild()
|
|
2773
|
-
CustomerResourceFragment.model_rebuild()
|
|
2774
|
-
SlimCustomerFragment.model_rebuild()
|
|
2775
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2776
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2777
|
-
SubscriptionFutureUpdateData.model_rebuild()
|
|
2778
2771
|
ProductFragment.model_rebuild()
|
|
2779
2772
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2780
2773
|
PlanFragment.model_rebuild()
|
|
2774
|
+
SubscriptionFutureUpdateData.model_rebuild()
|
|
2775
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2776
|
+
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2777
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2778
|
+
TotalPriceFragment.model_rebuild()
|
|
2779
|
+
SlimCustomerFragment.model_rebuild()
|
|
2780
|
+
CustomerResourceFragment.model_rebuild()
|
|
2781
2781
|
SubscriptionFragment.model_rebuild()
|
|
2782
2782
|
FeatureFragment.model_rebuild()
|
|
2783
2783
|
EntitlementFragment.model_rebuild()
|
|
@@ -2792,11 +2792,11 @@ CheckoutStateFragment.model_rebuild()
|
|
|
2792
2792
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2793
2793
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2794
2794
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2795
|
-
|
|
2796
|
-
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2795
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2797
2796
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2797
|
+
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2798
|
+
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2798
2799
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2799
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2800
2800
|
CustomerPortalFragment.model_rebuild()
|
|
2801
2801
|
CustomerStatisticsFragment.model_rebuild()
|
|
2802
2802
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -2806,8 +2806,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
2806
2806
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
2807
2807
|
LayoutConfigurationFragment.model_rebuild()
|
|
2808
2808
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
2809
|
-
MockPaywallPriceFragment.model_rebuild()
|
|
2810
2809
|
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
2810
|
+
MockPaywallPriceFragment.model_rebuild()
|
|
2811
2811
|
MockPaywallAddonFragment.model_rebuild()
|
|
2812
2812
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2813
2813
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -119,11 +119,11 @@ stigg/generated/client.py,sha256=AHebP8X0jl5noIxkZwMgE-EOE3e5lv-tGrCj2xDt58c,169
|
|
|
119
119
|
stigg/generated/create_subscription.py,sha256=vbpBJ_daXHcQDtvU3vbwSr2E7s4VGRHxqPavyTV3Mtk,457
|
|
120
120
|
stigg/generated/delegate_subscription_to_customer.py,sha256=0TgQDO0Hk-z7X7PGtqhvciqa8IjkToK9cpiX3Kqu_UY,561
|
|
121
121
|
stigg/generated/detach_customer_payment_method.py,sha256=ACXlC2xsGaUP723OrayFZQ9SbXxe8TtVUYdG1gqcYFc,523
|
|
122
|
-
stigg/generated/enums.py,sha256
|
|
122
|
+
stigg/generated/enums.py,sha256=qWrohdIPTsA0omqBKnEiGAonNwjgF9yViJte1c9f5hM,34406
|
|
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=fLdn1Ka6LJhJABEPvERWcqir9VsA34YGe9pM7XO47SQ,100632
|
|
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
|
|
@@ -160,7 +160,7 @@ stigg/generated/transfer_subscription_to_resource.py,sha256=4-N7quYhHpVTGPi6EV-U
|
|
|
160
160
|
stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9eW71jND2k,441
|
|
161
161
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
162
162
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
163
|
-
stigg_api_client_v2-2.315.
|
|
164
|
-
stigg_api_client_v2-2.315.
|
|
165
|
-
stigg_api_client_v2-2.315.
|
|
166
|
-
stigg_api_client_v2-2.315.
|
|
163
|
+
stigg_api_client_v2-2.315.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
164
|
+
stigg_api_client_v2-2.315.1.dist-info/METADATA,sha256=knJS_Mp0C1QKK9N6rsCSYLk1jJt1mTrw_fX_6GJMEfw,2258
|
|
165
|
+
stigg_api_client_v2-2.315.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
166
|
+
stigg_api_client_v2-2.315.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|