stigg-api-client-v2 3.70.3__py3-none-any.whl → 3.76.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/fragments.py +312 -312
- {stigg_api_client_v2-3.70.3.dist-info → stigg_api_client_v2-3.76.1.dist-info}/METADATA +1 -1
- {stigg_api_client_v2-3.70.3.dist-info → stigg_api_client_v2-3.76.1.dist-info}/RECORD +5 -5
- {stigg_api_client_v2-3.70.3.dist-info → stigg_api_client_v2-3.76.1.dist-info}/LICENSE +0 -0
- {stigg_api_client_v2-3.70.3.dist-info → stigg_api_client_v2-3.76.1.dist-info}/WHEEL +0 -0
stigg/generated/fragments.py
CHANGED
|
@@ -315,60 +315,182 @@ class EntitlementFragmentFeature(FeatureFragment):
|
|
|
315
315
|
pass
|
|
316
316
|
|
|
317
317
|
|
|
318
|
-
class
|
|
319
|
-
|
|
320
|
-
|
|
318
|
+
class ProductFragment(BaseModel):
|
|
319
|
+
ref_id: str = Field(alias="refId")
|
|
320
|
+
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
321
|
+
description: Optional[str] = Field(default=None)
|
|
322
|
+
additional_meta_data: Optional[Any] = Field(
|
|
323
|
+
alias="additionalMetaData", default=None
|
|
324
|
+
)
|
|
325
|
+
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
321
326
|
|
|
322
327
|
|
|
323
|
-
class
|
|
324
|
-
|
|
325
|
-
|
|
328
|
+
class ProductFragmentProductSettings(BaseModel):
|
|
329
|
+
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
330
|
+
alias="downgradePlan", default=None
|
|
331
|
+
)
|
|
326
332
|
|
|
327
333
|
|
|
328
|
-
class
|
|
329
|
-
|
|
330
|
-
|
|
334
|
+
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
335
|
+
ref_id: str = Field(alias="refId")
|
|
336
|
+
display_name: str = Field(alias="displayName")
|
|
331
337
|
|
|
332
338
|
|
|
333
|
-
class
|
|
339
|
+
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
340
|
+
package_group_id: str = Field(alias="packageGroupId")
|
|
341
|
+
display_name: str = Field(alias="displayName")
|
|
342
|
+
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
343
|
+
default=None
|
|
344
|
+
)
|
|
345
|
+
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
346
|
+
|
|
347
|
+
|
|
348
|
+
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
349
|
+
pass
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
353
|
+
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
354
|
+
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
355
|
+
|
|
356
|
+
|
|
357
|
+
class PlanFragment(BaseModel):
|
|
358
|
+
id: Any
|
|
359
|
+
ref_id: str = Field(alias="refId")
|
|
360
|
+
display_name: str = Field(alias="displayName")
|
|
361
|
+
description: Optional[str] = Field(default=None)
|
|
362
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
363
|
+
version_number: int = Field(alias="versionNumber")
|
|
364
|
+
additional_meta_data: Optional[Any] = Field(
|
|
365
|
+
alias="additionalMetaData", default=None
|
|
366
|
+
)
|
|
367
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
368
|
+
alias="hiddenFromWidgets", default=None
|
|
369
|
+
)
|
|
370
|
+
product: "PlanFragmentProduct"
|
|
371
|
+
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
372
|
+
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
373
|
+
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
374
|
+
alias="inheritedEntitlements", default=None
|
|
375
|
+
)
|
|
376
|
+
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
377
|
+
alias="compatibleAddons", default=None
|
|
378
|
+
)
|
|
379
|
+
compatible_package_groups: Optional[
|
|
380
|
+
List["PlanFragmentCompatiblePackageGroups"]
|
|
381
|
+
] = Field(alias="compatiblePackageGroups", default=None)
|
|
382
|
+
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
383
|
+
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
384
|
+
alias="overagePrices", default=None
|
|
385
|
+
)
|
|
386
|
+
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
387
|
+
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
388
|
+
alias="defaultTrialConfig", default=None
|
|
389
|
+
)
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
class PlanFragmentProduct(ProductFragment):
|
|
393
|
+
pass
|
|
394
|
+
|
|
395
|
+
|
|
396
|
+
class PlanFragmentBasePlan(BaseModel):
|
|
397
|
+
ref_id: str = Field(alias="refId")
|
|
398
|
+
display_name: str = Field(alias="displayName")
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
402
|
+
pass
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
406
|
+
pass
|
|
407
|
+
|
|
408
|
+
|
|
409
|
+
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
410
|
+
pass
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
414
|
+
pass
|
|
415
|
+
|
|
416
|
+
|
|
417
|
+
class PlanFragmentPrices(PriceFragment):
|
|
418
|
+
pass
|
|
419
|
+
|
|
420
|
+
|
|
421
|
+
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
422
|
+
pass
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
426
|
+
duration: float
|
|
427
|
+
units: TrialPeriodUnits
|
|
428
|
+
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
429
|
+
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
430
|
+
alias="trialEndBehavior", default=None
|
|
431
|
+
)
|
|
432
|
+
|
|
433
|
+
|
|
434
|
+
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
435
|
+
limit: float
|
|
436
|
+
|
|
437
|
+
|
|
438
|
+
class SlimCustomerFragment(BaseModel):
|
|
439
|
+
id: Any
|
|
440
|
+
name: Optional[str] = Field(default=None)
|
|
441
|
+
email: Optional[str] = Field(default=None)
|
|
442
|
+
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
443
|
+
updated_at: Any = Field(alias="updatedAt")
|
|
444
|
+
ref_id: str = Field(alias="refId")
|
|
445
|
+
customer_id: str = Field(alias="customerId")
|
|
446
|
+
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
447
|
+
additional_meta_data: Optional[Any] = Field(
|
|
448
|
+
alias="additionalMetaData", default=None
|
|
449
|
+
)
|
|
450
|
+
aws_marketplace_customer_id: Optional[str] = Field(
|
|
451
|
+
alias="awsMarketplaceCustomerId", default=None
|
|
452
|
+
)
|
|
453
|
+
|
|
454
|
+
|
|
455
|
+
class SubscriptionFutureUpdateData(BaseModel):
|
|
334
456
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
335
457
|
alias="subscriptionScheduleType"
|
|
336
458
|
)
|
|
337
459
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
338
460
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
339
|
-
target_package: Optional["
|
|
461
|
+
target_package: Optional["SubscriptionFutureUpdateDataTargetPackage"] = Field(
|
|
340
462
|
alias="targetPackage", default=None
|
|
341
463
|
)
|
|
342
464
|
schedule_variables: Optional[
|
|
343
465
|
Annotated[
|
|
344
466
|
Union[
|
|
345
|
-
"
|
|
346
|
-
"
|
|
347
|
-
"
|
|
348
|
-
"
|
|
349
|
-
"
|
|
350
|
-
"
|
|
351
|
-
"
|
|
352
|
-
"
|
|
467
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables",
|
|
468
|
+
"SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
469
|
+
"SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
470
|
+
"SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables",
|
|
471
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
472
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables",
|
|
473
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
474
|
+
"SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
353
475
|
],
|
|
354
476
|
Field(discriminator="typename__"),
|
|
355
477
|
]
|
|
356
478
|
] = Field(alias="scheduleVariables", default=None)
|
|
357
479
|
|
|
358
480
|
|
|
359
|
-
class
|
|
481
|
+
class SubscriptionFutureUpdateDataTargetPackage(BaseModel):
|
|
360
482
|
id: Any
|
|
361
483
|
ref_id: str = Field(alias="refId")
|
|
362
484
|
display_name: str = Field(alias="displayName")
|
|
363
485
|
|
|
364
486
|
|
|
365
|
-
class
|
|
487
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
366
488
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
367
489
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
368
490
|
new_quantity: float = Field(alias="newQuantity")
|
|
369
491
|
|
|
370
492
|
|
|
371
|
-
class
|
|
493
|
+
class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
372
494
|
BaseModel
|
|
373
495
|
):
|
|
374
496
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -376,55 +498,53 @@ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVa
|
|
|
376
498
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
377
499
|
|
|
378
500
|
|
|
379
|
-
class
|
|
501
|
+
class SubscriptionFutureUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
380
502
|
BaseModel
|
|
381
503
|
):
|
|
382
504
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
383
505
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
384
506
|
|
|
385
507
|
|
|
386
|
-
class
|
|
508
|
+
class SubscriptionFutureUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
387
509
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
388
510
|
|
|
389
511
|
|
|
390
|
-
class
|
|
391
|
-
BaseModel
|
|
392
|
-
):
|
|
512
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariables(BaseModel):
|
|
393
513
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
394
514
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
395
515
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
396
516
|
billable_features: Optional[
|
|
397
517
|
List[
|
|
398
|
-
"
|
|
518
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
399
519
|
]
|
|
400
520
|
] = Field(alias="billableFeatures", default=None)
|
|
401
521
|
addons: Optional[
|
|
402
522
|
List[
|
|
403
|
-
"
|
|
523
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
404
524
|
]
|
|
405
525
|
] = Field(default=None)
|
|
406
526
|
price_overrides: Optional[
|
|
407
527
|
List[
|
|
408
|
-
"
|
|
528
|
+
"SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
409
529
|
]
|
|
410
530
|
] = Field(alias="priceOverrides", default=None)
|
|
411
531
|
|
|
412
532
|
|
|
413
|
-
class
|
|
533
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
414
534
|
BaseModel
|
|
415
535
|
):
|
|
416
536
|
feature_id: str = Field(alias="featureId")
|
|
417
537
|
quantity: float
|
|
418
538
|
|
|
419
539
|
|
|
420
|
-
class
|
|
540
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
421
541
|
BaseModel
|
|
422
542
|
):
|
|
423
543
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
424
544
|
quantity: float
|
|
425
545
|
|
|
426
546
|
|
|
427
|
-
class
|
|
547
|
+
class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
428
548
|
BaseModel
|
|
429
549
|
):
|
|
430
550
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -432,43 +552,39 @@ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPr
|
|
|
432
552
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
433
553
|
|
|
434
554
|
|
|
435
|
-
class
|
|
555
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
436
556
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
437
557
|
plan_ref_id: str = Field(alias="planRefId")
|
|
438
558
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
439
559
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
440
560
|
billable_features: Optional[
|
|
441
561
|
List[
|
|
442
|
-
"
|
|
562
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
443
563
|
]
|
|
444
564
|
] = Field(alias="billableFeatures", default=None)
|
|
445
565
|
addons: Optional[
|
|
446
|
-
List[
|
|
447
|
-
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
448
|
-
]
|
|
566
|
+
List["SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons"]
|
|
449
567
|
] = Field(default=None)
|
|
450
568
|
price_overrides: Optional[
|
|
451
569
|
List[
|
|
452
|
-
"
|
|
570
|
+
"SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
453
571
|
]
|
|
454
572
|
] = Field(alias="priceOverrides", default=None)
|
|
455
573
|
|
|
456
574
|
|
|
457
|
-
class
|
|
575
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
458
576
|
BaseModel
|
|
459
577
|
):
|
|
460
578
|
feature_id: str = Field(alias="featureId")
|
|
461
579
|
quantity: float
|
|
462
580
|
|
|
463
581
|
|
|
464
|
-
class
|
|
465
|
-
BaseModel
|
|
466
|
-
):
|
|
582
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesAddons(BaseModel):
|
|
467
583
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
468
584
|
quantity: float
|
|
469
585
|
|
|
470
586
|
|
|
471
|
-
class
|
|
587
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
472
588
|
BaseModel
|
|
473
589
|
):
|
|
474
590
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -476,7 +592,7 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOv
|
|
|
476
592
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
477
593
|
|
|
478
594
|
|
|
479
|
-
class
|
|
595
|
+
class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
480
596
|
BaseModel
|
|
481
597
|
):
|
|
482
598
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -484,29 +600,14 @@ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVar
|
|
|
484
600
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
485
601
|
|
|
486
602
|
|
|
487
|
-
class
|
|
488
|
-
BaseModel
|
|
489
|
-
):
|
|
603
|
+
class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(BaseModel):
|
|
490
604
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
491
605
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
492
606
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
493
607
|
|
|
494
608
|
|
|
495
|
-
class
|
|
496
|
-
|
|
497
|
-
name: Optional[str] = Field(default=None)
|
|
498
|
-
email: Optional[str] = Field(default=None)
|
|
499
|
-
created_at: Optional[Any] = Field(alias="createdAt", default=None)
|
|
500
|
-
updated_at: Any = Field(alias="updatedAt")
|
|
501
|
-
ref_id: str = Field(alias="refId")
|
|
502
|
-
customer_id: str = Field(alias="customerId")
|
|
503
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
504
|
-
additional_meta_data: Optional[Any] = Field(
|
|
505
|
-
alias="additionalMetaData", default=None
|
|
506
|
-
)
|
|
507
|
-
aws_marketplace_customer_id: Optional[str] = Field(
|
|
508
|
-
alias="awsMarketplaceCustomerId", default=None
|
|
509
|
-
)
|
|
609
|
+
class SubscriptionTrialConfigurationFragment(BaseModel):
|
|
610
|
+
trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
|
|
510
611
|
|
|
511
612
|
|
|
512
613
|
class SubscriptionInvoiceFragment(BaseModel):
|
|
@@ -537,169 +638,45 @@ class SubscriptionInvoiceFragment(BaseModel):
|
|
|
537
638
|
attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
|
|
538
639
|
|
|
539
640
|
|
|
540
|
-
class
|
|
541
|
-
ref_id: str = Field(alias="refId")
|
|
542
|
-
display_name: Optional[str] = Field(alias="displayName", default=None)
|
|
543
|
-
description: Optional[str] = Field(default=None)
|
|
544
|
-
additional_meta_data: Optional[Any] = Field(
|
|
545
|
-
alias="additionalMetaData", default=None
|
|
546
|
-
)
|
|
547
|
-
product_settings: "ProductFragmentProductSettings" = Field(alias="productSettings")
|
|
548
|
-
|
|
549
|
-
|
|
550
|
-
class ProductFragmentProductSettings(BaseModel):
|
|
551
|
-
downgrade_plan: Optional["ProductFragmentProductSettingsDowngradePlan"] = Field(
|
|
552
|
-
alias="downgradePlan", default=None
|
|
553
|
-
)
|
|
554
|
-
|
|
555
|
-
|
|
556
|
-
class ProductFragmentProductSettingsDowngradePlan(BaseModel):
|
|
557
|
-
ref_id: str = Field(alias="refId")
|
|
558
|
-
display_name: str = Field(alias="displayName")
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
class PlanCompatiblePackageGroupsFragment(BaseModel):
|
|
562
|
-
package_group_id: str = Field(alias="packageGroupId")
|
|
563
|
-
display_name: str = Field(alias="displayName")
|
|
564
|
-
addons: Optional[List["PlanCompatiblePackageGroupsFragmentAddons"]] = Field(
|
|
565
|
-
default=None
|
|
566
|
-
)
|
|
567
|
-
options: "PlanCompatiblePackageGroupsFragmentOptions"
|
|
568
|
-
|
|
569
|
-
|
|
570
|
-
class PlanCompatiblePackageGroupsFragmentAddons(AddonFragment):
|
|
571
|
-
pass
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
class PlanCompatiblePackageGroupsFragmentOptions(BaseModel):
|
|
575
|
-
min_items: Optional[float] = Field(alias="minItems", default=None)
|
|
576
|
-
free_items: Optional[float] = Field(alias="freeItems", default=None)
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
class PlanFragment(BaseModel):
|
|
580
|
-
id: Any
|
|
581
|
-
ref_id: str = Field(alias="refId")
|
|
582
|
-
display_name: str = Field(alias="displayName")
|
|
583
|
-
description: Optional[str] = Field(default=None)
|
|
584
|
-
billing_id: Optional[str] = Field(alias="billingId", default=None)
|
|
585
|
-
version_number: int = Field(alias="versionNumber")
|
|
586
|
-
additional_meta_data: Optional[Any] = Field(
|
|
587
|
-
alias="additionalMetaData", default=None
|
|
588
|
-
)
|
|
589
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
590
|
-
alias="hiddenFromWidgets", default=None
|
|
591
|
-
)
|
|
592
|
-
product: "PlanFragmentProduct"
|
|
593
|
-
base_plan: Optional["PlanFragmentBasePlan"] = Field(alias="basePlan", default=None)
|
|
594
|
-
entitlements: Optional[List["PlanFragmentEntitlements"]] = Field(default=None)
|
|
595
|
-
inherited_entitlements: Optional[List["PlanFragmentInheritedEntitlements"]] = Field(
|
|
596
|
-
alias="inheritedEntitlements", default=None
|
|
597
|
-
)
|
|
598
|
-
compatible_addons: Optional[List["PlanFragmentCompatibleAddons"]] = Field(
|
|
599
|
-
alias="compatibleAddons", default=None
|
|
600
|
-
)
|
|
601
|
-
compatible_package_groups: Optional[
|
|
602
|
-
List["PlanFragmentCompatiblePackageGroups"]
|
|
603
|
-
] = Field(alias="compatiblePackageGroups", default=None)
|
|
604
|
-
prices: Optional[List["PlanFragmentPrices"]] = Field(default=None)
|
|
605
|
-
overage_prices: Optional[List["PlanFragmentOveragePrices"]] = Field(
|
|
606
|
-
alias="overagePrices", default=None
|
|
607
|
-
)
|
|
608
|
-
pricing_type: Optional[PricingType] = Field(alias="pricingType", default=None)
|
|
609
|
-
default_trial_config: Optional["PlanFragmentDefaultTrialConfig"] = Field(
|
|
610
|
-
alias="defaultTrialConfig", default=None
|
|
611
|
-
)
|
|
612
|
-
|
|
613
|
-
|
|
614
|
-
class PlanFragmentProduct(ProductFragment):
|
|
615
|
-
pass
|
|
616
|
-
|
|
617
|
-
|
|
618
|
-
class PlanFragmentBasePlan(BaseModel):
|
|
619
|
-
ref_id: str = Field(alias="refId")
|
|
620
|
-
display_name: str = Field(alias="displayName")
|
|
621
|
-
|
|
622
|
-
|
|
623
|
-
class PlanFragmentEntitlements(PackageEntitlementFragment):
|
|
624
|
-
pass
|
|
625
|
-
|
|
626
|
-
|
|
627
|
-
class PlanFragmentInheritedEntitlements(PackageEntitlementFragment):
|
|
628
|
-
pass
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
class PlanFragmentCompatibleAddons(AddonFragment):
|
|
632
|
-
pass
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
class PlanFragmentCompatiblePackageGroups(PlanCompatiblePackageGroupsFragment):
|
|
636
|
-
pass
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
class PlanFragmentPrices(PriceFragment):
|
|
640
|
-
pass
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
class PlanFragmentOveragePrices(OveragePriceFragment):
|
|
644
|
-
pass
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
class PlanFragmentDefaultTrialConfig(BaseModel):
|
|
648
|
-
duration: float
|
|
649
|
-
units: TrialPeriodUnits
|
|
650
|
-
budget: Optional["PlanFragmentDefaultTrialConfigBudget"] = Field(default=None)
|
|
651
|
-
trial_end_behavior: Optional[TrialEndBehavior] = Field(
|
|
652
|
-
alias="trialEndBehavior", default=None
|
|
653
|
-
)
|
|
654
|
-
|
|
655
|
-
|
|
656
|
-
class PlanFragmentDefaultTrialConfigBudget(BaseModel):
|
|
657
|
-
limit: float
|
|
658
|
-
|
|
659
|
-
|
|
660
|
-
class CustomerResourceFragment(BaseModel):
|
|
661
|
-
resource_id: str = Field(alias="resourceId")
|
|
662
|
-
|
|
663
|
-
|
|
664
|
-
class SubscriptionFutureUpdateData(BaseModel):
|
|
641
|
+
class SubscriptionScheduledUpdateData(BaseModel):
|
|
665
642
|
subscription_schedule_type: SubscriptionScheduleType = Field(
|
|
666
643
|
alias="subscriptionScheduleType"
|
|
667
644
|
)
|
|
668
645
|
schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
|
|
669
646
|
scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
|
|
670
|
-
target_package: Optional["
|
|
671
|
-
alias="targetPackage", default=None
|
|
672
|
-
)
|
|
673
|
-
schedule_variables: Optional[
|
|
674
|
-
Annotated[
|
|
675
|
-
Union[
|
|
676
|
-
"
|
|
677
|
-
"
|
|
678
|
-
"
|
|
679
|
-
"
|
|
680
|
-
"
|
|
681
|
-
"
|
|
682
|
-
"
|
|
683
|
-
"
|
|
647
|
+
target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
|
|
648
|
+
alias="targetPackage", default=None
|
|
649
|
+
)
|
|
650
|
+
schedule_variables: Optional[
|
|
651
|
+
Annotated[
|
|
652
|
+
Union[
|
|
653
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
|
|
654
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
|
|
655
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
|
|
656
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
|
|
657
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
|
|
658
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
|
|
659
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
|
|
660
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
|
|
684
661
|
],
|
|
685
662
|
Field(discriminator="typename__"),
|
|
686
663
|
]
|
|
687
664
|
] = Field(alias="scheduleVariables", default=None)
|
|
688
665
|
|
|
689
666
|
|
|
690
|
-
class
|
|
667
|
+
class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
|
|
691
668
|
id: Any
|
|
692
669
|
ref_id: str = Field(alias="refId")
|
|
693
670
|
display_name: str = Field(alias="displayName")
|
|
694
671
|
|
|
695
672
|
|
|
696
|
-
class
|
|
673
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
|
|
697
674
|
typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
|
|
698
675
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
699
676
|
new_quantity: float = Field(alias="newQuantity")
|
|
700
677
|
|
|
701
678
|
|
|
702
|
-
class
|
|
679
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
|
|
703
680
|
BaseModel
|
|
704
681
|
):
|
|
705
682
|
typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -707,53 +684,55 @@ class SubscriptionFutureUpdateDataScheduleVariablesAddonPriceOverrideChangeVaria
|
|
|
707
684
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
708
685
|
|
|
709
686
|
|
|
710
|
-
class
|
|
687
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
|
|
711
688
|
BaseModel
|
|
712
689
|
):
|
|
713
690
|
typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
|
|
714
691
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
715
692
|
|
|
716
693
|
|
|
717
|
-
class
|
|
694
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
|
|
718
695
|
typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
|
|
719
696
|
|
|
720
697
|
|
|
721
|
-
class
|
|
698
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
|
|
699
|
+
BaseModel
|
|
700
|
+
):
|
|
722
701
|
typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
|
|
723
702
|
downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
|
|
724
703
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
725
704
|
billable_features: Optional[
|
|
726
705
|
List[
|
|
727
|
-
"
|
|
706
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
|
|
728
707
|
]
|
|
729
708
|
] = Field(alias="billableFeatures", default=None)
|
|
730
709
|
addons: Optional[
|
|
731
710
|
List[
|
|
732
|
-
"
|
|
711
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
|
|
733
712
|
]
|
|
734
713
|
] = Field(default=None)
|
|
735
714
|
price_overrides: Optional[
|
|
736
715
|
List[
|
|
737
|
-
"
|
|
716
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
|
|
738
717
|
]
|
|
739
718
|
] = Field(alias="priceOverrides", default=None)
|
|
740
719
|
|
|
741
720
|
|
|
742
|
-
class
|
|
721
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
|
|
743
722
|
BaseModel
|
|
744
723
|
):
|
|
745
724
|
feature_id: str = Field(alias="featureId")
|
|
746
725
|
quantity: float
|
|
747
726
|
|
|
748
727
|
|
|
749
|
-
class
|
|
728
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
|
|
750
729
|
BaseModel
|
|
751
730
|
):
|
|
752
731
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
753
732
|
quantity: float
|
|
754
733
|
|
|
755
734
|
|
|
756
|
-
class
|
|
735
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
|
|
757
736
|
BaseModel
|
|
758
737
|
):
|
|
759
738
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -761,39 +740,43 @@ class SubscriptionFutureUpdateDataScheduleVariablesDowngradeChangeVariablesPrice
|
|
|
761
740
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
762
741
|
|
|
763
742
|
|
|
764
|
-
class
|
|
743
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
|
|
765
744
|
typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
|
|
766
745
|
plan_ref_id: str = Field(alias="planRefId")
|
|
767
746
|
change_type: PlanChangeType = Field(alias="changeType")
|
|
768
747
|
billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
|
|
769
748
|
billable_features: Optional[
|
|
770
749
|
List[
|
|
771
|
-
"
|
|
750
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
|
|
772
751
|
]
|
|
773
752
|
] = Field(alias="billableFeatures", default=None)
|
|
774
753
|
addons: Optional[
|
|
775
|
-
List[
|
|
754
|
+
List[
|
|
755
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
|
|
756
|
+
]
|
|
776
757
|
] = Field(default=None)
|
|
777
758
|
price_overrides: Optional[
|
|
778
759
|
List[
|
|
779
|
-
"
|
|
760
|
+
"SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
|
|
780
761
|
]
|
|
781
762
|
] = Field(alias="priceOverrides", default=None)
|
|
782
763
|
|
|
783
764
|
|
|
784
|
-
class
|
|
765
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
|
|
785
766
|
BaseModel
|
|
786
767
|
):
|
|
787
768
|
feature_id: str = Field(alias="featureId")
|
|
788
769
|
quantity: float
|
|
789
770
|
|
|
790
771
|
|
|
791
|
-
class
|
|
772
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
|
|
773
|
+
BaseModel
|
|
774
|
+
):
|
|
792
775
|
addon_ref_id: str = Field(alias="addonRefId")
|
|
793
776
|
quantity: float
|
|
794
777
|
|
|
795
778
|
|
|
796
|
-
class
|
|
779
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
|
|
797
780
|
BaseModel
|
|
798
781
|
):
|
|
799
782
|
plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
|
|
@@ -801,7 +784,7 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanChangeVariablesPriceOverr
|
|
|
801
784
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
802
785
|
|
|
803
786
|
|
|
804
|
-
class
|
|
787
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
|
|
805
788
|
BaseModel
|
|
806
789
|
):
|
|
807
790
|
typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
|
|
@@ -809,14 +792,31 @@ class SubscriptionFutureUpdateDataScheduleVariablesPlanPriceOverrideChangeVariab
|
|
|
809
792
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
810
793
|
|
|
811
794
|
|
|
812
|
-
class
|
|
795
|
+
class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
|
|
796
|
+
BaseModel
|
|
797
|
+
):
|
|
813
798
|
typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
|
|
814
799
|
new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
|
|
815
800
|
feature_id: Optional[str] = Field(alias="featureId", default=None)
|
|
816
801
|
|
|
817
802
|
|
|
818
|
-
class
|
|
819
|
-
|
|
803
|
+
class CustomerResourceFragment(BaseModel):
|
|
804
|
+
resource_id: str = Field(alias="resourceId")
|
|
805
|
+
|
|
806
|
+
|
|
807
|
+
class TotalPriceFragment(BaseModel):
|
|
808
|
+
sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
|
|
809
|
+
total: "TotalPriceFragmentTotal"
|
|
810
|
+
|
|
811
|
+
|
|
812
|
+
class TotalPriceFragmentSubTotal(BaseModel):
|
|
813
|
+
amount: float
|
|
814
|
+
currency: Currency
|
|
815
|
+
|
|
816
|
+
|
|
817
|
+
class TotalPriceFragmentTotal(BaseModel):
|
|
818
|
+
amount: float
|
|
819
|
+
currency: Currency
|
|
820
820
|
|
|
821
821
|
|
|
822
822
|
class SubscriptionFragment(BaseModel):
|
|
@@ -1005,35 +1005,6 @@ class CheckoutConfigurationFragmentContent(BaseModel):
|
|
|
1005
1005
|
)
|
|
1006
1006
|
|
|
1007
1007
|
|
|
1008
|
-
class PromotionalEntitlementFragment(BaseModel):
|
|
1009
|
-
status: PromotionalEntitlementStatus
|
|
1010
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1011
|
-
feature_id: Any = Field(alias="featureId")
|
|
1012
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1013
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1014
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1015
|
-
alias="resetPeriod", default=None
|
|
1016
|
-
)
|
|
1017
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1018
|
-
is_visible: bool = Field(alias="isVisible")
|
|
1019
|
-
feature: "PromotionalEntitlementFragmentFeature"
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1023
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1024
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1025
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1026
|
-
feature_units_plural: Optional[str] = Field(
|
|
1027
|
-
alias="featureUnitsPlural", default=None
|
|
1028
|
-
)
|
|
1029
|
-
display_name: str = Field(alias="displayName")
|
|
1030
|
-
description: Optional[str] = Field(default=None)
|
|
1031
|
-
ref_id: str = Field(alias="refId")
|
|
1032
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1033
|
-
alias="additionalMetaData", default=None
|
|
1034
|
-
)
|
|
1035
|
-
|
|
1036
|
-
|
|
1037
1008
|
class CouponFragment(BaseModel):
|
|
1038
1009
|
id: Any
|
|
1039
1010
|
discount_value: float = Field(alias="discountValue")
|
|
@@ -1068,6 +1039,35 @@ class CouponFragmentSyncStates(BaseModel):
|
|
|
1068
1039
|
status: SyncStatus
|
|
1069
1040
|
|
|
1070
1041
|
|
|
1042
|
+
class PromotionalEntitlementFragment(BaseModel):
|
|
1043
|
+
status: PromotionalEntitlementStatus
|
|
1044
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1045
|
+
feature_id: Any = Field(alias="featureId")
|
|
1046
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1047
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1048
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1049
|
+
alias="resetPeriod", default=None
|
|
1050
|
+
)
|
|
1051
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1052
|
+
is_visible: bool = Field(alias="isVisible")
|
|
1053
|
+
feature: "PromotionalEntitlementFragmentFeature"
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
class PromotionalEntitlementFragmentFeature(BaseModel):
|
|
1057
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1058
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1059
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1060
|
+
feature_units_plural: Optional[str] = Field(
|
|
1061
|
+
alias="featureUnitsPlural", default=None
|
|
1062
|
+
)
|
|
1063
|
+
display_name: str = Field(alias="displayName")
|
|
1064
|
+
description: Optional[str] = Field(default=None)
|
|
1065
|
+
ref_id: str = Field(alias="refId")
|
|
1066
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1067
|
+
alias="additionalMetaData", default=None
|
|
1068
|
+
)
|
|
1069
|
+
|
|
1070
|
+
|
|
1071
1071
|
class CustomerFragment(SlimCustomerFragment):
|
|
1072
1072
|
has_payment_method: bool = Field(alias="hasPaymentMethod")
|
|
1073
1073
|
has_active_subscription: bool = Field(alias="hasActiveSubscription")
|
|
@@ -1126,16 +1126,16 @@ class CustomerFragmentPromotionalEntitlements(PromotionalEntitlementFragment):
|
|
|
1126
1126
|
pass
|
|
1127
1127
|
|
|
1128
1128
|
|
|
1129
|
-
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1130
|
-
publishable_key: str = Field(alias="publishableKey")
|
|
1131
|
-
|
|
1132
|
-
|
|
1133
1129
|
class StripeCheckoutCredentialsFragment(BaseModel):
|
|
1134
1130
|
account_id: Optional[str] = Field(alias="accountId", default=None)
|
|
1135
1131
|
setup_secret: str = Field(alias="setupSecret")
|
|
1136
1132
|
public_key: Optional[str] = Field(alias="publicKey", default=None)
|
|
1137
1133
|
|
|
1138
1134
|
|
|
1135
|
+
class ZuoraCheckoutCredentialsFragment(BaseModel):
|
|
1136
|
+
publishable_key: str = Field(alias="publishableKey")
|
|
1137
|
+
|
|
1138
|
+
|
|
1139
1139
|
class CheckoutStateFragment(BaseModel):
|
|
1140
1140
|
configuration: Optional["CheckoutStateFragmentConfiguration"] = Field(default=None)
|
|
1141
1141
|
setup_secret: str = Field(alias="setupSecret")
|
|
@@ -1352,16 +1352,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
|
|
|
1352
1352
|
pass
|
|
1353
1353
|
|
|
1354
1354
|
|
|
1355
|
-
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1356
|
-
display_name: str = Field(alias="displayName")
|
|
1357
|
-
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1358
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1359
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1360
|
-
period: PromotionalEntitlementPeriod
|
|
1361
|
-
start_date: Any = Field(alias="startDate")
|
|
1362
|
-
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
1355
|
class CustomerPortalSubscriptionAddonFragment(BaseModel):
|
|
1366
1356
|
addon_id: str = Field(alias="addonId")
|
|
1367
1357
|
description: Optional[str] = Field(default=None)
|
|
@@ -1677,6 +1667,16 @@ class CustomerPortalSubscriptionFragmentScheduledUpdates(
|
|
|
1677
1667
|
pass
|
|
1678
1668
|
|
|
1679
1669
|
|
|
1670
|
+
class CustomerPortalPromotionalEntitlementFragment(BaseModel):
|
|
1671
|
+
display_name: str = Field(alias="displayName")
|
|
1672
|
+
has_unlimited_usage: Optional[bool] = Field(alias="hasUnlimitedUsage", default=None)
|
|
1673
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1674
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1675
|
+
period: PromotionalEntitlementPeriod
|
|
1676
|
+
start_date: Any = Field(alias="startDate")
|
|
1677
|
+
end_date: Optional[Any] = Field(alias="endDate", default=None)
|
|
1678
|
+
|
|
1679
|
+
|
|
1680
1680
|
class CustomerPortalFragment(BaseModel):
|
|
1681
1681
|
subscriptions: List["CustomerPortalFragmentSubscriptions"]
|
|
1682
1682
|
entitlements: List["CustomerPortalFragmentEntitlements"]
|
|
@@ -1904,41 +1904,6 @@ class MockPaywallAddonDependencyFragment(BaseModel):
|
|
|
1904
1904
|
description: Optional[str] = Field(default=None)
|
|
1905
1905
|
|
|
1906
1906
|
|
|
1907
|
-
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1908
|
-
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1909
|
-
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1910
|
-
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1911
|
-
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1912
|
-
alias="resetPeriod", default=None
|
|
1913
|
-
)
|
|
1914
|
-
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1915
|
-
alias="hiddenFromWidgets", default=None
|
|
1916
|
-
)
|
|
1917
|
-
display_name_override: Optional[str] = Field(
|
|
1918
|
-
alias="displayNameOverride", default=None
|
|
1919
|
-
)
|
|
1920
|
-
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1921
|
-
is_granted: bool = Field(alias="isGranted")
|
|
1922
|
-
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1923
|
-
default=None
|
|
1924
|
-
)
|
|
1925
|
-
|
|
1926
|
-
|
|
1927
|
-
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1928
|
-
feature_type: FeatureType = Field(alias="featureType")
|
|
1929
|
-
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1930
|
-
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1931
|
-
feature_units_plural: Optional[str] = Field(
|
|
1932
|
-
alias="featureUnitsPlural", default=None
|
|
1933
|
-
)
|
|
1934
|
-
display_name: str = Field(alias="displayName")
|
|
1935
|
-
description: Optional[str] = Field(default=None)
|
|
1936
|
-
ref_id: str = Field(alias="refId")
|
|
1937
|
-
additional_meta_data: Optional[Any] = Field(
|
|
1938
|
-
alias="additionalMetaData", default=None
|
|
1939
|
-
)
|
|
1940
|
-
|
|
1941
|
-
|
|
1942
1907
|
class MockPaywallPriceFragment(BaseModel):
|
|
1943
1908
|
billing_model: BillingModel = Field(alias="billingModel")
|
|
1944
1909
|
billing_period: BillingPeriod = Field(alias="billingPeriod")
|
|
@@ -1981,6 +1946,41 @@ class MockPaywallPriceFragmentFeature(BaseModel):
|
|
|
1981
1946
|
display_name: str = Field(alias="displayName")
|
|
1982
1947
|
|
|
1983
1948
|
|
|
1949
|
+
class MockPaywallPackageEntitlementFragment(BaseModel):
|
|
1950
|
+
usage_limit: Optional[float] = Field(alias="usageLimit", default=None)
|
|
1951
|
+
has_unlimited_usage: bool = Field(alias="hasUnlimitedUsage")
|
|
1952
|
+
has_soft_limit: Optional[bool] = Field(alias="hasSoftLimit", default=None)
|
|
1953
|
+
reset_period: Optional[EntitlementResetPeriod] = Field(
|
|
1954
|
+
alias="resetPeriod", default=None
|
|
1955
|
+
)
|
|
1956
|
+
hidden_from_widgets: Optional[List[WidgetType]] = Field(
|
|
1957
|
+
alias="hiddenFromWidgets", default=None
|
|
1958
|
+
)
|
|
1959
|
+
display_name_override: Optional[str] = Field(
|
|
1960
|
+
alias="displayNameOverride", default=None
|
|
1961
|
+
)
|
|
1962
|
+
enum_values: Optional[List[str]] = Field(alias="enumValues", default=None)
|
|
1963
|
+
is_granted: bool = Field(alias="isGranted")
|
|
1964
|
+
feature: Optional["MockPaywallPackageEntitlementFragmentFeature"] = Field(
|
|
1965
|
+
default=None
|
|
1966
|
+
)
|
|
1967
|
+
|
|
1968
|
+
|
|
1969
|
+
class MockPaywallPackageEntitlementFragmentFeature(BaseModel):
|
|
1970
|
+
feature_type: FeatureType = Field(alias="featureType")
|
|
1971
|
+
meter_type: Optional[MeterType] = Field(alias="meterType", default=None)
|
|
1972
|
+
feature_units: Optional[str] = Field(alias="featureUnits", default=None)
|
|
1973
|
+
feature_units_plural: Optional[str] = Field(
|
|
1974
|
+
alias="featureUnitsPlural", default=None
|
|
1975
|
+
)
|
|
1976
|
+
display_name: str = Field(alias="displayName")
|
|
1977
|
+
description: Optional[str] = Field(default=None)
|
|
1978
|
+
ref_id: str = Field(alias="refId")
|
|
1979
|
+
additional_meta_data: Optional[Any] = Field(
|
|
1980
|
+
alias="additionalMetaData", default=None
|
|
1981
|
+
)
|
|
1982
|
+
|
|
1983
|
+
|
|
1984
1984
|
class MockPaywallAddonFragment(BaseModel):
|
|
1985
1985
|
ref_id: str = Field(alias="refId")
|
|
1986
1986
|
display_name: str = Field(alias="displayName")
|
|
@@ -2965,37 +2965,37 @@ PackageEntitlementFragment.model_rebuild()
|
|
|
2965
2965
|
AddonFragment.model_rebuild()
|
|
2966
2966
|
FeatureFragment.model_rebuild()
|
|
2967
2967
|
EntitlementFragment.model_rebuild()
|
|
2968
|
-
TotalPriceFragment.model_rebuild()
|
|
2969
|
-
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2970
|
-
SlimCustomerFragment.model_rebuild()
|
|
2971
|
-
SubscriptionInvoiceFragment.model_rebuild()
|
|
2972
2968
|
ProductFragment.model_rebuild()
|
|
2973
2969
|
PlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
2974
2970
|
PlanFragment.model_rebuild()
|
|
2975
|
-
|
|
2971
|
+
SlimCustomerFragment.model_rebuild()
|
|
2976
2972
|
SubscriptionFutureUpdateData.model_rebuild()
|
|
2977
2973
|
SubscriptionTrialConfigurationFragment.model_rebuild()
|
|
2974
|
+
SubscriptionInvoiceFragment.model_rebuild()
|
|
2975
|
+
SubscriptionScheduledUpdateData.model_rebuild()
|
|
2976
|
+
CustomerResourceFragment.model_rebuild()
|
|
2977
|
+
TotalPriceFragment.model_rebuild()
|
|
2978
2978
|
SubscriptionFragment.model_rebuild()
|
|
2979
2979
|
ApplySubscriptionFragment.model_rebuild()
|
|
2980
2980
|
FontVariantFragment.model_rebuild()
|
|
2981
2981
|
TypographyConfigurationFragment.model_rebuild()
|
|
2982
2982
|
CheckoutConfigurationFragment.model_rebuild()
|
|
2983
|
-
PromotionalEntitlementFragment.model_rebuild()
|
|
2984
2983
|
CouponFragment.model_rebuild()
|
|
2984
|
+
PromotionalEntitlementFragment.model_rebuild()
|
|
2985
2985
|
CustomerFragment.model_rebuild()
|
|
2986
|
-
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2987
2986
|
StripeCheckoutCredentialsFragment.model_rebuild()
|
|
2987
|
+
ZuoraCheckoutCredentialsFragment.model_rebuild()
|
|
2988
2988
|
CheckoutStateFragment.model_rebuild()
|
|
2989
2989
|
CreditGrantFragment.model_rebuild()
|
|
2990
2990
|
CreditsBalanceSummaryFragment.model_rebuild()
|
|
2991
2991
|
CustomerPortalBillingInformationFragment.model_rebuild()
|
|
2992
2992
|
CustomerPortalConfigurationFragment.model_rebuild()
|
|
2993
2993
|
CustomerPortalEntitlementFragment.model_rebuild()
|
|
2994
|
-
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2995
2994
|
CustomerPortalSubscriptionAddonFragment.model_rebuild()
|
|
2996
2995
|
CustomerPortalSubscriptionPriceFragment.model_rebuild()
|
|
2997
2996
|
CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
|
|
2998
2997
|
CustomerPortalSubscriptionFragment.model_rebuild()
|
|
2998
|
+
CustomerPortalPromotionalEntitlementFragment.model_rebuild()
|
|
2999
2999
|
CustomerPortalFragment.model_rebuild()
|
|
3000
3000
|
CustomerStatisticsFragment.model_rebuild()
|
|
3001
3001
|
CustomerWithSubscriptionsFragment.model_rebuild()
|
|
@@ -3005,8 +3005,8 @@ EntitlementsUpdatedPayload.model_rebuild()
|
|
|
3005
3005
|
ImmediateSubscriptionPreviewInvoiceFragment.model_rebuild()
|
|
3006
3006
|
LayoutConfigurationFragment.model_rebuild()
|
|
3007
3007
|
MockPaywallAddonDependencyFragment.model_rebuild()
|
|
3008
|
-
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3009
3008
|
MockPaywallPriceFragment.model_rebuild()
|
|
3009
|
+
MockPaywallPackageEntitlementFragment.model_rebuild()
|
|
3010
3010
|
MockPaywallAddonFragment.model_rebuild()
|
|
3011
3011
|
MockPaywallPlanCompatiblePackageGroupsFragment.model_rebuild()
|
|
3012
3012
|
MockPaywallPlanFragment.model_rebuild()
|
|
@@ -124,7 +124,7 @@ stigg/generated/enums.py,sha256=HPIePI-595qtOG4D8Ca9GwvOQYLXGAv7auER5fYzS9Q,3854
|
|
|
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=bLD5X2E8zL2_Egu3wIRjLQ8R-R63WzwBE3nWsMQl1rk,108321
|
|
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
|
|
@@ -168,7 +168,7 @@ stigg/generated/unarchive_customer.py,sha256=0OVttDrNNOHp6xIpLfDj--XfZL0ogkSpy9e
|
|
|
168
168
|
stigg/generated/unlink_promotional_entitlements_group.py,sha256=8UIRQ0CNvReRfX0LZmDYkRn9mMjZm9n41YG6-p7Z8qU,636
|
|
169
169
|
stigg/generated/update_customer.py,sha256=DdbIKqG3AxIJie6Wk49m4dSVyXrQbY6UjhReZR6lkIM,403
|
|
170
170
|
stigg/generated/update_subscription.py,sha256=R7RdFcFh1oEz-AHLiMBW5XvpQTi3ucB3Z4r-LvZjHJQ,457
|
|
171
|
-
stigg_api_client_v2-3.
|
|
172
|
-
stigg_api_client_v2-3.
|
|
173
|
-
stigg_api_client_v2-3.
|
|
174
|
-
stigg_api_client_v2-3.
|
|
171
|
+
stigg_api_client_v2-3.76.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
|
|
172
|
+
stigg_api_client_v2-3.76.1.dist-info/METADATA,sha256=tdItiEE8TnEQJCzQQN1a0YAOdgdFwBBxneXIlimZFmQ,2257
|
|
173
|
+
stigg_api_client_v2-3.76.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
|
|
174
|
+
stigg_api_client_v2-3.76.1.dist-info/RECORD,,
|
|
File without changes
|
|
File without changes
|