stigg-api-client-v2 2.374.0__py3-none-any.whl → 2.379.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.

@@ -299,23 +299,6 @@ class EntitlementFragmentFeature(FeatureFragment):
299
299
  pass
300
300
 
301
301
 
302
- class SlimCustomerFragment(BaseModel):
303
- id: str
304
- name: Optional[str] = Field(default=None)
305
- email: Optional[str] = Field(default=None)
306
- created_at: Optional[Any] = Field(alias="createdAt", default=None)
307
- updated_at: Any = Field(alias="updatedAt")
308
- ref_id: str = Field(alias="refId")
309
- customer_id: str = Field(alias="customerId")
310
- billing_id: Optional[str] = Field(alias="billingId", default=None)
311
- additional_meta_data: Optional[Any] = Field(
312
- alias="additionalMetaData", default=None
313
- )
314
- aws_marketplace_customer_id: Optional[str] = Field(
315
- alias="awsMarketplaceCustomerId", default=None
316
- )
317
-
318
-
319
302
  class TotalPriceFragment(BaseModel):
320
303
  sub_total: "TotalPriceFragmentSubTotal" = Field(alias="subTotal")
321
304
  total: "TotalPriceFragmentTotal"
@@ -331,203 +314,6 @@ class TotalPriceFragmentTotal(BaseModel):
331
314
  currency: Currency
332
315
 
333
316
 
334
- class SubscriptionInvoiceFragment(BaseModel):
335
- billing_id: str = Field(alias="billingId")
336
- status: SubscriptionInvoiceStatus
337
- created_at: Any = Field(alias="createdAt")
338
- updated_at: Any = Field(alias="updatedAt")
339
- error_message: Optional[str] = Field(alias="errorMessage", default=None)
340
- requires_action: bool = Field(alias="requiresAction")
341
- payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
342
- payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
343
- pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
344
- billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
345
- alias="billingReason", default=None
346
- )
347
- currency: Optional[str] = Field(default=None)
348
- sub_total: Optional[float] = Field(alias="subTotal", default=None)
349
- sub_total_excluding_tax: Optional[float] = Field(
350
- alias="subTotalExcludingTax", default=None
351
- )
352
- total: Optional[float] = Field(default=None)
353
- total_excluding_tax: Optional[float] = Field(
354
- alias="totalExcludingTax", default=None
355
- )
356
- tax: Optional[float] = Field(default=None)
357
- amount_due: Optional[float] = Field(alias="amountDue", default=None)
358
- attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
359
-
360
-
361
- class SubscriptionScheduledUpdateData(BaseModel):
362
- subscription_schedule_type: SubscriptionScheduleType = Field(
363
- alias="subscriptionScheduleType"
364
- )
365
- schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
366
- scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
367
- target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
368
- alias="targetPackage", default=None
369
- )
370
- schedule_variables: Optional[
371
- Annotated[
372
- Union[
373
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
374
- "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
375
- "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
376
- "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
377
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
378
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
379
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
380
- "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
381
- ],
382
- Field(discriminator="typename__"),
383
- ]
384
- ] = Field(alias="scheduleVariables", default=None)
385
-
386
-
387
- class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
388
- id: str
389
- ref_id: str = Field(alias="refId")
390
- display_name: str = Field(alias="displayName")
391
-
392
-
393
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
394
- typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
395
- addon_ref_id: str = Field(alias="addonRefId")
396
- new_quantity: float = Field(alias="newQuantity")
397
-
398
-
399
- class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
400
- BaseModel
401
- ):
402
- typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
403
- addon_ref_id: str = Field(alias="addonRefId")
404
- feature_id: Optional[str] = Field(alias="featureId", default=None)
405
-
406
-
407
- class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
408
- BaseModel
409
- ):
410
- typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
411
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
412
-
413
-
414
- class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
415
- typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
416
-
417
-
418
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
419
- BaseModel
420
- ):
421
- typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
422
- downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
423
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
424
- billable_features: Optional[
425
- List[
426
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
427
- ]
428
- ] = Field(alias="billableFeatures", default=None)
429
- addons: Optional[
430
- List[
431
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
432
- ]
433
- ] = Field(default=None)
434
- price_overrides: Optional[
435
- List[
436
- "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
437
- ]
438
- ] = Field(alias="priceOverrides", default=None)
439
-
440
-
441
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
442
- BaseModel
443
- ):
444
- feature_id: str = Field(alias="featureId")
445
- quantity: float
446
-
447
-
448
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
449
- BaseModel
450
- ):
451
- addon_ref_id: str = Field(alias="addonRefId")
452
- quantity: float
453
-
454
-
455
- class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
456
- BaseModel
457
- ):
458
- plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
459
- addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
460
- feature_id: Optional[str] = Field(alias="featureId", default=None)
461
-
462
-
463
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
464
- typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
465
- plan_ref_id: str = Field(alias="planRefId")
466
- change_type: PlanChangeType = Field(alias="changeType")
467
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
468
- billable_features: Optional[
469
- List[
470
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
471
- ]
472
- ] = Field(alias="billableFeatures", default=None)
473
- addons: Optional[
474
- List[
475
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
476
- ]
477
- ] = Field(default=None)
478
- price_overrides: Optional[
479
- List[
480
- "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
481
- ]
482
- ] = Field(alias="priceOverrides", default=None)
483
-
484
-
485
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
486
- BaseModel
487
- ):
488
- feature_id: str = Field(alias="featureId")
489
- quantity: float
490
-
491
-
492
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
493
- BaseModel
494
- ):
495
- addon_ref_id: str = Field(alias="addonRefId")
496
- quantity: float
497
-
498
-
499
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
500
- BaseModel
501
- ):
502
- plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
503
- addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
504
- feature_id: Optional[str] = Field(alias="featureId", default=None)
505
-
506
-
507
- class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
508
- BaseModel
509
- ):
510
- typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
511
- plan_ref_id: str = Field(alias="planRefId")
512
- feature_id: Optional[str] = Field(alias="featureId", default=None)
513
-
514
-
515
- class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
516
- BaseModel
517
- ):
518
- typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
519
- new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
520
- feature_id: Optional[str] = Field(alias="featureId", default=None)
521
-
522
-
523
- class SubscriptionTrialConfigurationFragment(BaseModel):
524
- trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
525
-
526
-
527
- class CustomerResourceFragment(BaseModel):
528
- resource_id: str = Field(alias="resourceId")
529
-
530
-
531
317
  class SubscriptionFutureUpdateData(BaseModel):
532
318
  subscription_schedule_type: SubscriptionScheduleType = Field(
533
319
  alias="subscriptionScheduleType"
@@ -682,6 +468,27 @@ class SubscriptionFutureUpdateDataScheduleVariablesUnitAmountChangeVariables(Bas
682
468
  feature_id: Optional[str] = Field(alias="featureId", default=None)
683
469
 
684
470
 
471
+ class SlimCustomerFragment(BaseModel):
472
+ id: str
473
+ name: Optional[str] = Field(default=None)
474
+ email: Optional[str] = Field(default=None)
475
+ created_at: Optional[Any] = Field(alias="createdAt", default=None)
476
+ updated_at: Any = Field(alias="updatedAt")
477
+ ref_id: str = Field(alias="refId")
478
+ customer_id: str = Field(alias="customerId")
479
+ billing_id: Optional[str] = Field(alias="billingId", default=None)
480
+ additional_meta_data: Optional[Any] = Field(
481
+ alias="additionalMetaData", default=None
482
+ )
483
+ aws_marketplace_customer_id: Optional[str] = Field(
484
+ alias="awsMarketplaceCustomerId", default=None
485
+ )
486
+
487
+
488
+ class CustomerResourceFragment(BaseModel):
489
+ resource_id: str = Field(alias="resourceId")
490
+
491
+
685
492
  class ProductFragment(BaseModel):
686
493
  ref_id: str = Field(alias="refId")
687
494
  display_name: Optional[str] = Field(alias="displayName", default=None)
@@ -802,6 +609,199 @@ class PlanFragmentDefaultTrialConfigBudget(BaseModel):
802
609
  limit: float
803
610
 
804
611
 
612
+ class SubscriptionTrialConfigurationFragment(BaseModel):
613
+ trial_end_behavior: TrialEndBehavior = Field(alias="trialEndBehavior")
614
+
615
+
616
+ class SubscriptionInvoiceFragment(BaseModel):
617
+ billing_id: str = Field(alias="billingId")
618
+ status: SubscriptionInvoiceStatus
619
+ created_at: Any = Field(alias="createdAt")
620
+ updated_at: Any = Field(alias="updatedAt")
621
+ error_message: Optional[str] = Field(alias="errorMessage", default=None)
622
+ requires_action: bool = Field(alias="requiresAction")
623
+ payment_secret: Optional[str] = Field(alias="paymentSecret", default=None)
624
+ payment_url: Optional[str] = Field(alias="paymentUrl", default=None)
625
+ pdf_url: Optional[str] = Field(alias="pdfUrl", default=None)
626
+ billing_reason: Optional[SubscriptionInvoiceBillingReason] = Field(
627
+ alias="billingReason", default=None
628
+ )
629
+ currency: Optional[str] = Field(default=None)
630
+ sub_total: Optional[float] = Field(alias="subTotal", default=None)
631
+ sub_total_excluding_tax: Optional[float] = Field(
632
+ alias="subTotalExcludingTax", default=None
633
+ )
634
+ total: Optional[float] = Field(default=None)
635
+ total_excluding_tax: Optional[float] = Field(
636
+ alias="totalExcludingTax", default=None
637
+ )
638
+ tax: Optional[float] = Field(default=None)
639
+ amount_due: Optional[float] = Field(alias="amountDue", default=None)
640
+ attempt_count: Optional[float] = Field(alias="attemptCount", default=None)
641
+
642
+
643
+ class SubscriptionScheduledUpdateData(BaseModel):
644
+ subscription_schedule_type: SubscriptionScheduleType = Field(
645
+ alias="subscriptionScheduleType"
646
+ )
647
+ schedule_status: SubscriptionScheduleStatus = Field(alias="scheduleStatus")
648
+ scheduled_execution_time: Any = Field(alias="scheduledExecutionTime")
649
+ target_package: Optional["SubscriptionScheduledUpdateDataTargetPackage"] = Field(
650
+ alias="targetPackage", default=None
651
+ )
652
+ schedule_variables: Optional[
653
+ Annotated[
654
+ Union[
655
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables",
656
+ "SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables",
657
+ "SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables",
658
+ "SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables",
659
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables",
660
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables",
661
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables",
662
+ "SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables",
663
+ ],
664
+ Field(discriminator="typename__"),
665
+ ]
666
+ ] = Field(alias="scheduleVariables", default=None)
667
+
668
+
669
+ class SubscriptionScheduledUpdateDataTargetPackage(BaseModel):
670
+ id: str
671
+ ref_id: str = Field(alias="refId")
672
+ display_name: str = Field(alias="displayName")
673
+
674
+
675
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonChangeVariables(BaseModel):
676
+ typename__: Literal["AddonChangeVariables"] = Field(alias="__typename")
677
+ addon_ref_id: str = Field(alias="addonRefId")
678
+ new_quantity: float = Field(alias="newQuantity")
679
+
680
+
681
+ class SubscriptionScheduledUpdateDataScheduleVariablesAddonPriceOverrideChangeVariables(
682
+ BaseModel
683
+ ):
684
+ typename__: Literal["AddonPriceOverrideChangeVariables"] = Field(alias="__typename")
685
+ addon_ref_id: str = Field(alias="addonRefId")
686
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
687
+
688
+
689
+ class SubscriptionScheduledUpdateDataScheduleVariablesBillingPeriodChangeVariables(
690
+ BaseModel
691
+ ):
692
+ typename__: Literal["BillingPeriodChangeVariables"] = Field(alias="__typename")
693
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
694
+
695
+
696
+ class SubscriptionScheduledUpdateDataScheduleVariablesCouponChangeVariables(BaseModel):
697
+ typename__: Literal["CouponChangeVariables"] = Field(alias="__typename")
698
+
699
+
700
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariables(
701
+ BaseModel
702
+ ):
703
+ typename__: Literal["DowngradeChangeVariables"] = Field(alias="__typename")
704
+ downgrade_plan_ref_id: str = Field(alias="downgradePlanRefId")
705
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
706
+ billable_features: Optional[
707
+ List[
708
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures"
709
+ ]
710
+ ] = Field(alias="billableFeatures", default=None)
711
+ addons: Optional[
712
+ List[
713
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons"
714
+ ]
715
+ ] = Field(default=None)
716
+ price_overrides: Optional[
717
+ List[
718
+ "SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides"
719
+ ]
720
+ ] = Field(alias="priceOverrides", default=None)
721
+
722
+
723
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesBillableFeatures(
724
+ BaseModel
725
+ ):
726
+ feature_id: str = Field(alias="featureId")
727
+ quantity: float
728
+
729
+
730
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesAddons(
731
+ BaseModel
732
+ ):
733
+ addon_ref_id: str = Field(alias="addonRefId")
734
+ quantity: float
735
+
736
+
737
+ class SubscriptionScheduledUpdateDataScheduleVariablesDowngradeChangeVariablesPriceOverrides(
738
+ BaseModel
739
+ ):
740
+ plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
741
+ addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
742
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
743
+
744
+
745
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariables(BaseModel):
746
+ typename__: Literal["PlanChangeVariables"] = Field(alias="__typename")
747
+ plan_ref_id: str = Field(alias="planRefId")
748
+ change_type: PlanChangeType = Field(alias="changeType")
749
+ billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
750
+ billable_features: Optional[
751
+ List[
752
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures"
753
+ ]
754
+ ] = Field(alias="billableFeatures", default=None)
755
+ addons: Optional[
756
+ List[
757
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons"
758
+ ]
759
+ ] = Field(default=None)
760
+ price_overrides: Optional[
761
+ List[
762
+ "SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides"
763
+ ]
764
+ ] = Field(alias="priceOverrides", default=None)
765
+
766
+
767
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesBillableFeatures(
768
+ BaseModel
769
+ ):
770
+ feature_id: str = Field(alias="featureId")
771
+ quantity: float
772
+
773
+
774
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesAddons(
775
+ BaseModel
776
+ ):
777
+ addon_ref_id: str = Field(alias="addonRefId")
778
+ quantity: float
779
+
780
+
781
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanChangeVariablesPriceOverrides(
782
+ BaseModel
783
+ ):
784
+ plan_ref_id: Optional[str] = Field(alias="planRefId", default=None)
785
+ addon_ref_id: Optional[str] = Field(alias="addonRefId", default=None)
786
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
787
+
788
+
789
+ class SubscriptionScheduledUpdateDataScheduleVariablesPlanPriceOverrideChangeVariables(
790
+ BaseModel
791
+ ):
792
+ typename__: Literal["PlanPriceOverrideChangeVariables"] = Field(alias="__typename")
793
+ plan_ref_id: str = Field(alias="planRefId")
794
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
795
+
796
+
797
+ class SubscriptionScheduledUpdateDataScheduleVariablesUnitAmountChangeVariables(
798
+ BaseModel
799
+ ):
800
+ typename__: Literal["UnitAmountChangeVariables"] = Field(alias="__typename")
801
+ new_unit_amount: Optional[float] = Field(alias="newUnitAmount", default=None)
802
+ feature_id: Optional[str] = Field(alias="featureId", default=None)
803
+
804
+
805
805
  class SubscriptionFragment(BaseModel):
806
806
  id: str
807
807
  subscription_id: str = Field(alias="subscriptionId")
@@ -1257,33 +1257,6 @@ class CustomerPortalEntitlementFragmentFeature(FeatureFragment):
1257
1257
  pass
1258
1258
 
1259
1259
 
1260
- class CustomerPortalSubscriptionPriceFragment(BaseModel):
1261
- billing_period: Optional[BillingPeriod] = Field(alias="billingPeriod", default=None)
1262
- billing_model: Optional[BillingModel] = Field(alias="billingModel", default=None)
1263
- block_size: Optional[float] = Field(alias="blockSize", default=None)
1264
- price: Optional["CustomerPortalSubscriptionPriceFragmentPrice"] = Field(
1265
- default=None
1266
- )
1267
- feature: Optional["CustomerPortalSubscriptionPriceFragmentFeature"] = Field(
1268
- default=None
1269
- )
1270
-
1271
-
1272
- class CustomerPortalSubscriptionPriceFragmentPrice(BaseModel):
1273
- amount: float
1274
- currency: Currency
1275
-
1276
-
1277
- class CustomerPortalSubscriptionPriceFragmentFeature(BaseModel):
1278
- id: str
1279
- ref_id: str = Field(alias="refId")
1280
- display_name: str = Field(alias="displayName")
1281
- feature_units: Optional[str] = Field(alias="featureUnits", default=None)
1282
- feature_units_plural: Optional[str] = Field(
1283
- alias="featureUnitsPlural", default=None
1284
- )
1285
-
1286
-
1287
1260
  class CustomerPortalSubscriptionScheduledUpdateDataFragment(BaseModel):
1288
1261
  subscription_schedule_type: SubscriptionScheduleType = Field(
1289
1262
  alias="subscriptionScheduleType"
@@ -1453,6 +1426,33 @@ class CustomerPortalSubscriptionScheduledUpdateDataFragmentScheduleVariablesUnit
1453
1426
  feature_id: Optional[str] = Field(alias="featureId", default=None)
1454
1427
 
1455
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
1456
  class CustomerPortalSubscriptionAddonFragment(BaseModel):
1457
1457
  addon_id: str = Field(alias="addonId")
1458
1458
  description: Optional[str] = Field(default=None)
@@ -2777,16 +2777,16 @@ PriceFragment.model_rebuild()
2777
2777
  AddonFragment.model_rebuild()
2778
2778
  FeatureFragment.model_rebuild()
2779
2779
  EntitlementFragment.model_rebuild()
2780
- SlimCustomerFragment.model_rebuild()
2781
2780
  TotalPriceFragment.model_rebuild()
2782
- SubscriptionInvoiceFragment.model_rebuild()
2783
- SubscriptionScheduledUpdateData.model_rebuild()
2784
- SubscriptionTrialConfigurationFragment.model_rebuild()
2785
- CustomerResourceFragment.model_rebuild()
2786
2781
  SubscriptionFutureUpdateData.model_rebuild()
2782
+ SlimCustomerFragment.model_rebuild()
2783
+ CustomerResourceFragment.model_rebuild()
2787
2784
  ProductFragment.model_rebuild()
2788
2785
  PlanCompatiblePackageGroupsFragment.model_rebuild()
2789
2786
  PlanFragment.model_rebuild()
2787
+ SubscriptionTrialConfigurationFragment.model_rebuild()
2788
+ SubscriptionInvoiceFragment.model_rebuild()
2789
+ SubscriptionScheduledUpdateData.model_rebuild()
2790
2790
  SubscriptionFragment.model_rebuild()
2791
2791
  ApplySubscriptionFragment.model_rebuild()
2792
2792
  FontVariantFragment.model_rebuild()
@@ -2799,8 +2799,8 @@ CheckoutStateFragment.model_rebuild()
2799
2799
  CustomerPortalBillingInformationFragment.model_rebuild()
2800
2800
  CustomerPortalConfigurationFragment.model_rebuild()
2801
2801
  CustomerPortalEntitlementFragment.model_rebuild()
2802
- CustomerPortalSubscriptionPriceFragment.model_rebuild()
2803
2802
  CustomerPortalSubscriptionScheduledUpdateDataFragment.model_rebuild()
2803
+ CustomerPortalSubscriptionPriceFragment.model_rebuild()
2804
2804
  CustomerPortalSubscriptionAddonFragment.model_rebuild()
2805
2805
  CustomerPortalSubscriptionFragment.model_rebuild()
2806
2806
  CustomerPortalPromotionalEntitlementFragment.model_rebuild()
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: stigg-api-client-v2
3
- Version: 2.374.0
3
+ Version: 2.379.1
4
4
  Summary:
5
5
  License: STIGG SDK LICENSE
6
6
  Author: Stigg
@@ -123,7 +123,7 @@ stigg/generated/enums.py,sha256=t6q4y-5cKBmgLTrf_2YWXkNvmclEjnvBos1Ycd0aomI,3521
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=pnWZxa-ZKruuUiRIzn4WGM5XdlhANMaShhWGqd1oQvc,100917
126
+ stigg/generated/fragments.py,sha256=HNK-mXjo85_vaEid7jViKXjmdOBPm3ttq7KvFzcPuAk,100917
127
127
  stigg/generated/get_active_subscriptions.py,sha256=ngZ9jr8vzGI59wT8FhUFl46a8j9waoNjeZ1_lrcu2ww,513
128
128
  stigg/generated/get_active_subscriptions_list.py,sha256=Awi9al2MXxdt_y7ZnWYZh8U3R9XiX50c7TyO4WZxyhw,541
129
129
  stigg/generated/get_checkout_state.py,sha256=SAOXGAND879dwb7R5mr5LPZuPVuMUDwNR5M4mgmHv6w,409
@@ -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.374.0.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
164
- stigg_api_client_v2-2.374.0.dist-info/METADATA,sha256=koVWmRNE4IOyV3gm2Yr266VspUBanynoJK0PhFb6YEs,2258
165
- stigg_api_client_v2-2.374.0.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
166
- stigg_api_client_v2-2.374.0.dist-info/RECORD,,
163
+ stigg_api_client_v2-2.379.1.dist-info/LICENSE,sha256=yhOTQTha61N-7pgHWeRZ0TGF5uq0ifi5U8qU8nHvzME,5127
164
+ stigg_api_client_v2-2.379.1.dist-info/METADATA,sha256=paWaq0MEmYfD81kqb3-RvMOOcZha4IwTNBxhraVeov8,2258
165
+ stigg_api_client_v2-2.379.1.dist-info/WHEEL,sha256=kLuE8m1WYU0Ig0_YEGrXyTtiJvKPpLpDEiChiNyei5Y,88
166
+ stigg_api_client_v2-2.379.1.dist-info/RECORD,,