orb-billing 0.5.1 → 0.5.2

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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +14 -0
  3. data/README.md +1 -1
  4. data/lib/orb/internal/type/array_of.rb +8 -0
  5. data/lib/orb/internal/type/base_model.rb +7 -0
  6. data/lib/orb/internal/type/boolean.rb +8 -0
  7. data/lib/orb/internal/type/enum.rb +12 -0
  8. data/lib/orb/internal/type/file_input.rb +7 -0
  9. data/lib/orb/internal/type/hash_of.rb +8 -0
  10. data/lib/orb/internal/type/union.rb +12 -0
  11. data/lib/orb/internal/type/unknown.rb +8 -0
  12. data/lib/orb/internal/util.rb +45 -0
  13. data/lib/orb/models/coupon.rb +0 -4
  14. data/lib/orb/models/coupon_create_params.rb +0 -6
  15. data/lib/orb/models/customer_create_params.rb +0 -9
  16. data/lib/orb/models/customer_update_by_external_id_params.rb +0 -9
  17. data/lib/orb/models/customer_update_params.rb +0 -9
  18. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +0 -14
  19. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +0 -14
  20. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +0 -14
  21. data/lib/orb/models/customers/credits/ledger_list_response.rb +0 -14
  22. data/lib/orb/models/discount.rb +0 -6
  23. data/lib/orb/models/evaluate_price_group.rb +0 -4
  24. data/lib/orb/models/invoice.rb +0 -22
  25. data/lib/orb/models/invoice_fetch_upcoming_response.rb +0 -22
  26. data/lib/orb/models/invoice_level_discount.rb +0 -4
  27. data/lib/orb/models/invoice_line_item_create_response.rb +0 -22
  28. data/lib/orb/models/plan.rb +0 -12
  29. data/lib/orb/models/plan_create_params.rb +0 -32
  30. data/lib/orb/models/price.rb +0 -35
  31. data/lib/orb/models/subscription.rb +0 -22
  32. data/lib/orb/models/subscription_cancel_response.rb +0 -22
  33. data/lib/orb/models/subscription_change_apply_response.rb +0 -22
  34. data/lib/orb/models/subscription_change_cancel_response.rb +0 -22
  35. data/lib/orb/models/subscription_change_retrieve_response.rb +0 -22
  36. data/lib/orb/models/subscription_create_params.rb +0 -88
  37. data/lib/orb/models/subscription_create_response.rb +0 -22
  38. data/lib/orb/models/subscription_price_intervals_params.rb +0 -89
  39. data/lib/orb/models/subscription_price_intervals_response.rb +0 -22
  40. data/lib/orb/models/subscription_schedule_plan_change_params.rb +0 -88
  41. data/lib/orb/models/subscription_schedule_plan_change_response.rb +0 -22
  42. data/lib/orb/models/subscription_trigger_phase_response.rb +0 -22
  43. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +0 -22
  44. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +0 -22
  45. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +0 -22
  46. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +0 -22
  47. data/lib/orb/models/subscription_update_trial_response.rb +0 -22
  48. data/lib/orb/models/subscription_usage.rb +0 -9
  49. data/lib/orb/models.rb +30 -16
  50. data/lib/orb/version.rb +1 -1
  51. data/rbi/orb/internal/type/array_of.rbi +6 -0
  52. data/rbi/orb/internal/type/base_model.rbi +5 -0
  53. data/rbi/orb/internal/type/boolean.rbi +6 -0
  54. data/rbi/orb/internal/type/enum.rbi +5 -0
  55. data/rbi/orb/internal/type/file_input.rbi +5 -0
  56. data/rbi/orb/internal/type/hash_of.rbi +6 -0
  57. data/rbi/orb/internal/type/union.rbi +5 -0
  58. data/rbi/orb/internal/type/unknown.rbi +6 -0
  59. data/rbi/orb/internal/util.rbi +30 -0
  60. data/rbi/orb/models/coupon.rbi +2 -2
  61. data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +2 -65
  62. data/rbi/orb/models/customers/cost_list_response.rbi +2 -65
  63. data/rbi/orb/models/evaluate_price_group.rbi +7 -3
  64. data/rbi/orb/models/invoice.rbi +10 -149
  65. data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +10 -133
  66. data/rbi/orb/models/invoice_line_item_create_response.rbi +8 -114
  67. data/rbi/orb/models/plan.rbi +8 -134
  68. data/rbi/orb/models/price.rbi +56 -588
  69. data/rbi/orb/models/subscription.rbi +6 -99
  70. data/rbi/orb/models/subscription_cancel_response.rbi +6 -89
  71. data/rbi/orb/models/subscription_change_apply_response.rbi +6 -89
  72. data/rbi/orb/models/subscription_change_cancel_response.rbi +6 -89
  73. data/rbi/orb/models/subscription_change_retrieve_response.rbi +6 -89
  74. data/rbi/orb/models/subscription_create_response.rbi +6 -89
  75. data/rbi/orb/models/subscription_fetch_costs_response.rbi +2 -65
  76. data/rbi/orb/models/subscription_price_intervals_params.rbi +72 -26
  77. data/rbi/orb/models/subscription_price_intervals_response.rbi +6 -89
  78. data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +6 -89
  79. data/rbi/orb/models/subscription_trigger_phase_response.rbi +6 -89
  80. data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +6 -89
  81. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +6 -89
  82. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +6 -89
  83. data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +6 -89
  84. data/rbi/orb/models/subscription_update_trial_params.rbi +3 -14
  85. data/rbi/orb/models/subscription_update_trial_response.rbi +6 -89
  86. data/rbi/orb/resources/customers/credits/ledger.rbi +4 -36
  87. data/rbi/orb/resources/prices/external_price_id.rbi +2 -64
  88. data/rbi/orb/resources/prices.rbi +4 -130
  89. data/rbi/orb/resources/subscriptions.rbi +2 -10
  90. data/sig/orb/internal/type/array_of.rbs +3 -0
  91. data/sig/orb/internal/type/base_model.rbs +2 -0
  92. data/sig/orb/internal/type/boolean.rbs +3 -0
  93. data/sig/orb/internal/type/enum.rbs +2 -0
  94. data/sig/orb/internal/type/file_input.rbs +2 -0
  95. data/sig/orb/internal/type/hash_of.rbs +3 -0
  96. data/sig/orb/internal/type/union.rbs +2 -0
  97. data/sig/orb/internal/type/unknown.rbs +3 -0
  98. data/sig/orb/internal/util.rbs +12 -0
  99. metadata +1 -1
@@ -11016,41 +11016,6 @@ module Orb
11016
11016
 
11017
11017
  # @!method self.variants
11018
11018
  # @return [Array(Orb::Price::Unit, Orb::Price::Package, Orb::Price::Matrix, Orb::Price::Tiered, Orb::Price::TieredBps, Orb::Price::Bps, Orb::Price::BulkBps, Orb::Price::Bulk, Orb::Price::ThresholdTotalAmount, Orb::Price::TieredPackage, Orb::Price::GroupedTiered, Orb::Price::TieredWithMinimum, Orb::Price::TieredPackageWithMinimum, Orb::Price::PackageWithAllocation, Orb::Price::UnitWithPercent, Orb::Price::MatrixWithAllocation, Orb::Price::TieredWithProration, Orb::Price::UnitWithProration, Orb::Price::GroupedAllocation, Orb::Price::GroupedWithProratedMinimum, Orb::Price::GroupedWithMeteredMinimum, Orb::Price::MatrixWithDisplayName, Orb::Price::BulkWithProration, Orb::Price::GroupedTieredPackage, Orb::Price::MaxGroupTieredPackage, Orb::Price::ScalableMatrixWithUnitPricing, Orb::Price::ScalableMatrixWithTieredPricing, Orb::Price::CumulativeGroupedBulk)]
11019
-
11020
- define_sorbet_constant!(:Variants) do
11021
- T.type_alias do
11022
- T.any(
11023
- Orb::Price::Unit,
11024
- Orb::Price::Package,
11025
- Orb::Price::Matrix,
11026
- Orb::Price::Tiered,
11027
- Orb::Price::TieredBps,
11028
- Orb::Price::Bps,
11029
- Orb::Price::BulkBps,
11030
- Orb::Price::Bulk,
11031
- Orb::Price::ThresholdTotalAmount,
11032
- Orb::Price::TieredPackage,
11033
- Orb::Price::GroupedTiered,
11034
- Orb::Price::TieredWithMinimum,
11035
- Orb::Price::TieredPackageWithMinimum,
11036
- Orb::Price::PackageWithAllocation,
11037
- Orb::Price::UnitWithPercent,
11038
- Orb::Price::MatrixWithAllocation,
11039
- Orb::Price::TieredWithProration,
11040
- Orb::Price::UnitWithProration,
11041
- Orb::Price::GroupedAllocation,
11042
- Orb::Price::GroupedWithProratedMinimum,
11043
- Orb::Price::GroupedWithMeteredMinimum,
11044
- Orb::Price::MatrixWithDisplayName,
11045
- Orb::Price::BulkWithProration,
11046
- Orb::Price::GroupedTieredPackage,
11047
- Orb::Price::MaxGroupTieredPackage,
11048
- Orb::Price::ScalableMatrixWithUnitPricing,
11049
- Orb::Price::ScalableMatrixWithTieredPricing,
11050
- Orb::Price::CumulativeGroupedBulk
11051
- )
11052
- end
11053
- end
11054
11019
  end
11055
11020
  end
11056
11021
  end
@@ -653,18 +653,6 @@ module Orb
653
653
 
654
654
  # @!method self.variants
655
655
  # @return [Array(Orb::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Subscription::AdjustmentInterval::Adjustment::Maximum)]
656
-
657
- define_sorbet_constant!(:Variants) do
658
- T.type_alias do
659
- T.any(
660
- Orb::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
661
- Orb::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
662
- Orb::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
663
- Orb::Subscription::AdjustmentInterval::Adjustment::Minimum,
664
- Orb::Subscription::AdjustmentInterval::Adjustment::Maximum
665
- )
666
- end
667
- end
668
656
  end
669
657
  end
670
658
 
@@ -876,16 +864,6 @@ module Orb
876
864
 
877
865
  # @!method self.variants
878
866
  # @return [Array(Orb::Subscription::DiscountInterval::Amount, Orb::Subscription::DiscountInterval::Percentage, Orb::Subscription::DiscountInterval::Usage)]
879
-
880
- define_sorbet_constant!(:Variants) do
881
- T.type_alias do
882
- T.any(
883
- Orb::Subscription::DiscountInterval::Amount,
884
- Orb::Subscription::DiscountInterval::Percentage,
885
- Orb::Subscription::DiscountInterval::Usage
886
- )
887
- end
888
- end
889
867
  end
890
868
 
891
869
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
@@ -650,18 +650,6 @@ module Orb
650
650
 
651
651
  # @!method self.variants
652
652
  # @return [Array(Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::Maximum)]
653
-
654
- define_sorbet_constant!(:Variants) do
655
- T.type_alias do
656
- T.any(
657
- Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::UsageDiscount,
658
- Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::AmountDiscount,
659
- Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::PercentageDiscount,
660
- Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::Minimum,
661
- Orb::Models::SubscriptionCancelResponse::AdjustmentInterval::Adjustment::Maximum
662
- )
663
- end
664
- end
665
653
  end
666
654
  end
667
655
 
@@ -876,16 +864,6 @@ module Orb
876
864
 
877
865
  # @!method self.variants
878
866
  # @return [Array(Orb::Models::SubscriptionCancelResponse::DiscountInterval::Amount, Orb::Models::SubscriptionCancelResponse::DiscountInterval::Percentage, Orb::Models::SubscriptionCancelResponse::DiscountInterval::Usage)]
879
-
880
- define_sorbet_constant!(:Variants) do
881
- T.type_alias do
882
- T.any(
883
- Orb::Models::SubscriptionCancelResponse::DiscountInterval::Amount,
884
- Orb::Models::SubscriptionCancelResponse::DiscountInterval::Percentage,
885
- Orb::Models::SubscriptionCancelResponse::DiscountInterval::Usage
886
- )
887
- end
888
- end
889
867
  end
890
868
 
891
869
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
@@ -724,18 +724,6 @@ module Orb
724
724
 
725
725
  # @!method self.variants
726
726
  # @return [Array(Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Maximum)]
727
-
728
- define_sorbet_constant!(:Variants) do
729
- T.type_alias do
730
- T.any(
731
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
732
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
733
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
734
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Minimum,
735
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::AdjustmentInterval::Adjustment::Maximum
736
- )
737
- end
738
- end
739
727
  end
740
728
  end
741
729
 
@@ -952,16 +940,6 @@ module Orb
952
940
 
953
941
  # @!method self.variants
954
942
  # @return [Array(Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Amount, Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Percentage, Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Usage)]
955
-
956
- define_sorbet_constant!(:Variants) do
957
- T.type_alias do
958
- T.any(
959
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Amount,
960
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Percentage,
961
- Orb::Models::SubscriptionChangeApplyResponse::Subscription::DiscountInterval::Usage
962
- )
963
- end
964
- end
965
943
  end
966
944
 
967
945
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
@@ -724,18 +724,6 @@ module Orb
724
724
 
725
725
  # @!method self.variants
726
726
  # @return [Array(Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Maximum)]
727
-
728
- define_sorbet_constant!(:Variants) do
729
- T.type_alias do
730
- T.any(
731
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
732
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
733
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
734
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Minimum,
735
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::AdjustmentInterval::Adjustment::Maximum
736
- )
737
- end
738
- end
739
727
  end
740
728
  end
741
729
 
@@ -953,16 +941,6 @@ module Orb
953
941
 
954
942
  # @!method self.variants
955
943
  # @return [Array(Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Amount, Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Percentage, Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Usage)]
956
-
957
- define_sorbet_constant!(:Variants) do
958
- T.type_alias do
959
- T.any(
960
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Amount,
961
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Percentage,
962
- Orb::Models::SubscriptionChangeCancelResponse::Subscription::DiscountInterval::Usage
963
- )
964
- end
965
- end
966
944
  end
967
945
 
968
946
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
@@ -725,18 +725,6 @@ module Orb
725
725
 
726
726
  # @!method self.variants
727
727
  # @return [Array(Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Maximum)]
728
-
729
- define_sorbet_constant!(:Variants) do
730
- T.type_alias do
731
- T.any(
732
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::UsageDiscount,
733
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::AmountDiscount,
734
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::PercentageDiscount,
735
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Minimum,
736
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::AdjustmentInterval::Adjustment::Maximum
737
- )
738
- end
739
- end
740
728
  end
741
729
  end
742
730
 
@@ -954,16 +942,6 @@ module Orb
954
942
 
955
943
  # @!method self.variants
956
944
  # @return [Array(Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Amount, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Percentage, Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Usage)]
957
-
958
- define_sorbet_constant!(:Variants) do
959
- T.type_alias do
960
- T.any(
961
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Amount,
962
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Percentage,
963
- Orb::Models::SubscriptionChangeRetrieveResponse::Subscription::DiscountInterval::Usage
964
- )
965
- end
966
- end
967
945
  end
968
946
 
969
947
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
@@ -569,18 +569,6 @@ module Orb
569
569
 
570
570
  # @!method self.variants
571
571
  # @return [Array(Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Minimum, Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Maximum)]
572
-
573
- define_sorbet_constant!(:Variants) do
574
- T.type_alias do
575
- T.any(
576
- Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::PercentageDiscount,
577
- Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::UsageDiscount,
578
- Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::AmountDiscount,
579
- Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Minimum,
580
- Orb::SubscriptionCreateParams::AddAdjustment::Adjustment::Maximum
581
- )
582
- end
583
- end
584
572
  end
585
573
  end
586
574
 
@@ -7349,38 +7337,6 @@ module Orb
7349
7337
 
7350
7338
  # @!method self.variants
7351
7339
  # @return [Array(Orb::SubscriptionCreateParams::AddPrice::Price::Unit, Orb::SubscriptionCreateParams::AddPrice::Price::Package, Orb::SubscriptionCreateParams::AddPrice::Price::Matrix, Orb::SubscriptionCreateParams::AddPrice::Price::Tiered, Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps, Orb::SubscriptionCreateParams::AddPrice::Price::Bps, Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps, Orb::SubscriptionCreateParams::AddPrice::Price::Bulk, Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount, Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage, Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum, Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent, Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation, Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration, Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum, Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration, Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk, Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum, Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName, Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage)]
7352
-
7353
- define_sorbet_constant!(:Variants) do
7354
- T.type_alias do
7355
- T.any(
7356
- Orb::SubscriptionCreateParams::AddPrice::Price::Unit,
7357
- Orb::SubscriptionCreateParams::AddPrice::Price::Package,
7358
- Orb::SubscriptionCreateParams::AddPrice::Price::Matrix,
7359
- Orb::SubscriptionCreateParams::AddPrice::Price::Tiered,
7360
- Orb::SubscriptionCreateParams::AddPrice::Price::TieredBps,
7361
- Orb::SubscriptionCreateParams::AddPrice::Price::Bps,
7362
- Orb::SubscriptionCreateParams::AddPrice::Price::BulkBps,
7363
- Orb::SubscriptionCreateParams::AddPrice::Price::Bulk,
7364
- Orb::SubscriptionCreateParams::AddPrice::Price::ThresholdTotalAmount,
7365
- Orb::SubscriptionCreateParams::AddPrice::Price::TieredPackage,
7366
- Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithMinimum,
7367
- Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithPercent,
7368
- Orb::SubscriptionCreateParams::AddPrice::Price::PackageWithAllocation,
7369
- Orb::SubscriptionCreateParams::AddPrice::Price::TieredWithProration,
7370
- Orb::SubscriptionCreateParams::AddPrice::Price::UnitWithProration,
7371
- Orb::SubscriptionCreateParams::AddPrice::Price::GroupedAllocation,
7372
- Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithProratedMinimum,
7373
- Orb::SubscriptionCreateParams::AddPrice::Price::BulkWithProration,
7374
- Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithUnitPricing,
7375
- Orb::SubscriptionCreateParams::AddPrice::Price::ScalableMatrixWithTieredPricing,
7376
- Orb::SubscriptionCreateParams::AddPrice::Price::CumulativeGroupedBulk,
7377
- Orb::SubscriptionCreateParams::AddPrice::Price::MaxGroupTieredPackage,
7378
- Orb::SubscriptionCreateParams::AddPrice::Price::GroupedWithMeteredMinimum,
7379
- Orb::SubscriptionCreateParams::AddPrice::Price::MatrixWithDisplayName,
7380
- Orb::SubscriptionCreateParams::AddPrice::Price::GroupedTieredPackage
7381
- )
7382
- end
7383
- end
7384
7340
  end
7385
7341
  end
7386
7342
 
@@ -7702,18 +7658,6 @@ module Orb
7702
7658
 
7703
7659
  # @!method self.variants
7704
7660
  # @return [Array(Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Minimum, Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Maximum)]
7705
-
7706
- define_sorbet_constant!(:Variants) do
7707
- T.type_alias do
7708
- T.any(
7709
- Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::PercentageDiscount,
7710
- Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::UsageDiscount,
7711
- Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::AmountDiscount,
7712
- Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Minimum,
7713
- Orb::SubscriptionCreateParams::ReplaceAdjustment::Adjustment::Maximum
7714
- )
7715
- end
7716
- end
7717
7661
  end
7718
7662
  end
7719
7663
 
@@ -14500,38 +14444,6 @@ module Orb
14500
14444
 
14501
14445
  # @!method self.variants
14502
14446
  # @return [Array(Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit, Orb::SubscriptionCreateParams::ReplacePrice::Price::Package, Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix, Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps, Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps, Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps, Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk, Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum, Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent, Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation, Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration, Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum, Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration, Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk, Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum, Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName, Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage)]
14503
-
14504
- define_sorbet_constant!(:Variants) do
14505
- T.type_alias do
14506
- T.any(
14507
- Orb::SubscriptionCreateParams::ReplacePrice::Price::Unit,
14508
- Orb::SubscriptionCreateParams::ReplacePrice::Price::Package,
14509
- Orb::SubscriptionCreateParams::ReplacePrice::Price::Matrix,
14510
- Orb::SubscriptionCreateParams::ReplacePrice::Price::Tiered,
14511
- Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredBps,
14512
- Orb::SubscriptionCreateParams::ReplacePrice::Price::Bps,
14513
- Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkBps,
14514
- Orb::SubscriptionCreateParams::ReplacePrice::Price::Bulk,
14515
- Orb::SubscriptionCreateParams::ReplacePrice::Price::ThresholdTotalAmount,
14516
- Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredPackage,
14517
- Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithMinimum,
14518
- Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithPercent,
14519
- Orb::SubscriptionCreateParams::ReplacePrice::Price::PackageWithAllocation,
14520
- Orb::SubscriptionCreateParams::ReplacePrice::Price::TieredWithProration,
14521
- Orb::SubscriptionCreateParams::ReplacePrice::Price::UnitWithProration,
14522
- Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedAllocation,
14523
- Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithProratedMinimum,
14524
- Orb::SubscriptionCreateParams::ReplacePrice::Price::BulkWithProration,
14525
- Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing,
14526
- Orb::SubscriptionCreateParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing,
14527
- Orb::SubscriptionCreateParams::ReplacePrice::Price::CumulativeGroupedBulk,
14528
- Orb::SubscriptionCreateParams::ReplacePrice::Price::MaxGroupTieredPackage,
14529
- Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedWithMeteredMinimum,
14530
- Orb::SubscriptionCreateParams::ReplacePrice::Price::MatrixWithDisplayName,
14531
- Orb::SubscriptionCreateParams::ReplacePrice::Price::GroupedTieredPackage
14532
- )
14533
- end
14534
- end
14535
14447
  end
14536
14448
  end
14537
14449
  end
@@ -650,18 +650,6 @@ module Orb
650
650
 
651
651
  # @!method self.variants
652
652
  # @return [Array(Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Maximum)]
653
-
654
- define_sorbet_constant!(:Variants) do
655
- T.type_alias do
656
- T.any(
657
- Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::UsageDiscount,
658
- Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::AmountDiscount,
659
- Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::PercentageDiscount,
660
- Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Minimum,
661
- Orb::Models::SubscriptionCreateResponse::AdjustmentInterval::Adjustment::Maximum
662
- )
663
- end
664
- end
665
653
  end
666
654
  end
667
655
 
@@ -876,16 +864,6 @@ module Orb
876
864
 
877
865
  # @!method self.variants
878
866
  # @return [Array(Orb::Models::SubscriptionCreateResponse::DiscountInterval::Amount, Orb::Models::SubscriptionCreateResponse::DiscountInterval::Percentage, Orb::Models::SubscriptionCreateResponse::DiscountInterval::Usage)]
879
-
880
- define_sorbet_constant!(:Variants) do
881
- T.type_alias do
882
- T.any(
883
- Orb::Models::SubscriptionCreateResponse::DiscountInterval::Amount,
884
- Orb::Models::SubscriptionCreateResponse::DiscountInterval::Percentage,
885
- Orb::Models::SubscriptionCreateResponse::DiscountInterval::Usage
886
- )
887
- end
888
- end
889
867
  end
890
868
 
891
869
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel
@@ -195,10 +195,6 @@ module Orb
195
195
 
196
196
  # @!method self.variants
197
197
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
198
-
199
- define_sorbet_constant!(:Variants) do
200
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
201
- end
202
198
  end
203
199
 
204
200
  # @see Orb::SubscriptionPriceIntervalsParams::Add#allocation_price
@@ -337,16 +333,6 @@ module Orb
337
333
 
338
334
  # @!method self.variants
339
335
  # @return [Array(Orb::SubscriptionPriceIntervalsParams::Add::Discount::Amount, Orb::SubscriptionPriceIntervalsParams::Add::Discount::Percentage, Orb::SubscriptionPriceIntervalsParams::Add::Discount::Usage)]
340
-
341
- define_sorbet_constant!(:Variants) do
342
- T.type_alias do
343
- T.any(
344
- Orb::SubscriptionPriceIntervalsParams::Add::Discount::Amount,
345
- Orb::SubscriptionPriceIntervalsParams::Add::Discount::Percentage,
346
- Orb::SubscriptionPriceIntervalsParams::Add::Discount::Usage
347
- )
348
- end
349
- end
350
336
  end
351
337
 
352
338
  # The end date of the price interval. This is the date that the price will stop
@@ -362,10 +348,6 @@ module Orb
362
348
 
363
349
  # @!method self.variants
364
350
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
365
-
366
- define_sorbet_constant!(:Variants) do
367
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
368
- end
369
351
  end
370
352
 
371
353
  class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
@@ -7498,41 +7480,6 @@ module Orb
7498
7480
 
7499
7481
  # @!method self.variants
7500
7482
  # @return [Array(Orb::SubscriptionPriceIntervalsParams::Add::Price::Unit, Orb::SubscriptionPriceIntervalsParams::Add::Price::Package, Orb::SubscriptionPriceIntervalsParams::Add::Price::Matrix, Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithAllocation, Orb::SubscriptionPriceIntervalsParams::Add::Price::Tiered, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredBps, Orb::SubscriptionPriceIntervalsParams::Add::Price::Bps, Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkBps, Orb::SubscriptionPriceIntervalsParams::Add::Price::Bulk, Orb::SubscriptionPriceIntervalsParams::Add::Price::ThresholdTotalAmount, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackage, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTiered, Orb::SubscriptionPriceIntervalsParams::Add::Price::MaxGroupTieredPackage, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::PackageWithAllocation, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackageWithMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithPercent, Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithProration, Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithProration, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedAllocation, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithProratedMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithMeteredMinimum, Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithDisplayName, Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkWithProration, Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTieredPackage, Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithUnitPricing, Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithTieredPricing, Orb::SubscriptionPriceIntervalsParams::Add::Price::CumulativeGroupedBulk)]
7501
-
7502
- define_sorbet_constant!(:Variants) do
7503
- T.type_alias do
7504
- T.any(
7505
- Orb::SubscriptionPriceIntervalsParams::Add::Price::Unit,
7506
- Orb::SubscriptionPriceIntervalsParams::Add::Price::Package,
7507
- Orb::SubscriptionPriceIntervalsParams::Add::Price::Matrix,
7508
- Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithAllocation,
7509
- Orb::SubscriptionPriceIntervalsParams::Add::Price::Tiered,
7510
- Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredBps,
7511
- Orb::SubscriptionPriceIntervalsParams::Add::Price::Bps,
7512
- Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkBps,
7513
- Orb::SubscriptionPriceIntervalsParams::Add::Price::Bulk,
7514
- Orb::SubscriptionPriceIntervalsParams::Add::Price::ThresholdTotalAmount,
7515
- Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackage,
7516
- Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTiered,
7517
- Orb::SubscriptionPriceIntervalsParams::Add::Price::MaxGroupTieredPackage,
7518
- Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithMinimum,
7519
- Orb::SubscriptionPriceIntervalsParams::Add::Price::PackageWithAllocation,
7520
- Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredPackageWithMinimum,
7521
- Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithPercent,
7522
- Orb::SubscriptionPriceIntervalsParams::Add::Price::TieredWithProration,
7523
- Orb::SubscriptionPriceIntervalsParams::Add::Price::UnitWithProration,
7524
- Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedAllocation,
7525
- Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithProratedMinimum,
7526
- Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedWithMeteredMinimum,
7527
- Orb::SubscriptionPriceIntervalsParams::Add::Price::MatrixWithDisplayName,
7528
- Orb::SubscriptionPriceIntervalsParams::Add::Price::BulkWithProration,
7529
- Orb::SubscriptionPriceIntervalsParams::Add::Price::GroupedTieredPackage,
7530
- Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithUnitPricing,
7531
- Orb::SubscriptionPriceIntervalsParams::Add::Price::ScalableMatrixWithTieredPricing,
7532
- Orb::SubscriptionPriceIntervalsParams::Add::Price::CumulativeGroupedBulk
7533
- )
7534
- end
7535
- end
7536
7483
  end
7537
7484
  end
7538
7485
 
@@ -7794,18 +7741,6 @@ module Orb
7794
7741
 
7795
7742
  # @!method self.variants
7796
7743
  # @return [Array(Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::PercentageDiscount, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::UsageDiscount, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::AmountDiscount, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Minimum, Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Maximum)]
7797
-
7798
- define_sorbet_constant!(:Variants) do
7799
- T.type_alias do
7800
- T.any(
7801
- Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::PercentageDiscount,
7802
- Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::UsageDiscount,
7803
- Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::AmountDiscount,
7804
- Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Minimum,
7805
- Orb::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::Maximum
7806
- )
7807
- end
7808
- end
7809
7744
  end
7810
7745
 
7811
7746
  # The start date of the adjustment interval. This is the date that the adjustment
@@ -7823,10 +7758,6 @@ module Orb
7823
7758
 
7824
7759
  # @!method self.variants
7825
7760
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
7826
-
7827
- define_sorbet_constant!(:Variants) do
7828
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
7829
- end
7830
7761
  end
7831
7762
 
7832
7763
  # The end date of the adjustment interval. This is the date that the adjustment
@@ -7844,10 +7775,6 @@ module Orb
7844
7775
 
7845
7776
  # @!method self.variants
7846
7777
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
7847
-
7848
- define_sorbet_constant!(:Variants) do
7849
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
7850
- end
7851
7778
  end
7852
7779
  end
7853
7780
 
@@ -7943,10 +7870,6 @@ module Orb
7943
7870
 
7944
7871
  # @!method self.variants
7945
7872
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
7946
-
7947
- define_sorbet_constant!(:Variants) do
7948
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
7949
- end
7950
7873
  end
7951
7874
 
7952
7875
  class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
@@ -7981,10 +7904,6 @@ module Orb
7981
7904
 
7982
7905
  # @!method self.variants
7983
7906
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
7984
-
7985
- define_sorbet_constant!(:Variants) do
7986
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
7987
- end
7988
7907
  end
7989
7908
  end
7990
7909
 
@@ -8034,10 +7953,6 @@ module Orb
8034
7953
 
8035
7954
  # @!method self.variants
8036
7955
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
8037
-
8038
- define_sorbet_constant!(:Variants) do
8039
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
8040
- end
8041
7956
  end
8042
7957
 
8043
7958
  # The updated start date of this adjustment interval. If not specified, the start
@@ -8053,10 +7968,6 @@ module Orb
8053
7968
 
8054
7969
  # @!method self.variants
8055
7970
  # @return [Array(Time, Symbol, Orb::BillingCycleRelativeDate)]
8056
-
8057
- define_sorbet_constant!(:Variants) do
8058
- T.type_alias { T.any(Time, Orb::BillingCycleRelativeDate::TaggedSymbol) }
8059
- end
8060
7971
  end
8061
7972
  end
8062
7973
  end
@@ -656,18 +656,6 @@ module Orb
656
656
 
657
657
  # @!method self.variants
658
658
  # @return [Array(Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum, Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum)]
659
-
660
- define_sorbet_constant!(:Variants) do
661
- T.type_alias do
662
- T.any(
663
- Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::UsageDiscount,
664
- Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::AmountDiscount,
665
- Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::PercentageDiscount,
666
- Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Minimum,
667
- Orb::Models::SubscriptionPriceIntervalsResponse::AdjustmentInterval::Adjustment::Maximum
668
- )
669
- end
670
- end
671
659
  end
672
660
  end
673
661
 
@@ -882,16 +870,6 @@ module Orb
882
870
 
883
871
  # @!method self.variants
884
872
  # @return [Array(Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount, Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage, Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage)]
885
-
886
- define_sorbet_constant!(:Variants) do
887
- T.type_alias do
888
- T.any(
889
- Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Amount,
890
- Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Percentage,
891
- Orb::Models::SubscriptionPriceIntervalsResponse::DiscountInterval::Usage
892
- )
893
- end
894
- end
895
873
  end
896
874
 
897
875
  class FixedFeeQuantitySchedule < Orb::Internal::Type::BaseModel