orb-billing 1.56.0 → 1.58.0

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 (84) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +15 -0
  3. data/README.md +1 -1
  4. data/lib/orb/client.rb +0 -8
  5. data/lib/orb/models/migration_create_params.rb +10 -1
  6. data/lib/orb/models/plan.rb +9 -1
  7. data/lib/orb/models/{beta_create_plan_version_params.rb → plan_create_plan_version_params.rb} +430 -430
  8. data/lib/orb/models/{beta_fetch_plan_version_params.rb → plan_fetch_plan_version_params.rb} +2 -2
  9. data/lib/orb/models/{beta_set_default_plan_version_params.rb → plan_set_default_plan_version_params.rb} +2 -2
  10. data/lib/orb/models/plan_version.rb +1 -1
  11. data/lib/orb/models/plans/draft_discard_params.rb +22 -0
  12. data/lib/orb/models/plans/draft_fetch_params.rb +22 -0
  13. data/lib/orb/models/plans/draft_publish_params.rb +31 -0
  14. data/lib/orb/models/plans/draft_save_params.rb +7522 -0
  15. data/lib/orb/models/plans/external_plan_id/draft_discard_params.rb +24 -0
  16. data/lib/orb/models/plans/external_plan_id/draft_fetch_params.rb +24 -0
  17. data/lib/orb/models/plans/external_plan_id/draft_publish_params.rb +33 -0
  18. data/lib/orb/models/plans/external_plan_id/draft_save_params.rb +7595 -0
  19. data/lib/orb/models/{beta → plans}/external_plan_id_create_plan_version_params.rb +430 -430
  20. data/lib/orb/models/{beta → plans}/external_plan_id_fetch_plan_version_params.rb +2 -2
  21. data/lib/orb/models/{beta → plans}/external_plan_id_set_default_plan_version_params.rb +2 -2
  22. data/lib/orb/models/plans/plan_version_draft.rb +279 -0
  23. data/lib/orb/models.rb +6 -8
  24. data/lib/orb/resources/migrations.rb +3 -1
  25. data/lib/orb/resources/plans/draft.rb +124 -0
  26. data/lib/orb/resources/plans/external_plan_id/draft.rb +126 -0
  27. data/lib/orb/resources/plans/external_plan_id.rb +96 -0
  28. data/lib/orb/resources/plans.rb +96 -0
  29. data/lib/orb/version.rb +1 -1
  30. data/lib/orb.rb +17 -8
  31. data/rbi/orb/client.rbi +0 -7
  32. data/rbi/orb/models/migration_create_params.rbi +13 -0
  33. data/rbi/orb/models/plan.rbi +8 -0
  34. data/rbi/orb/models/{beta_create_plan_version_params.rbi → plan_create_plan_version_params.rbi} +744 -744
  35. data/rbi/orb/models/{beta_fetch_plan_version_params.rbi → plan_fetch_plan_version_params.rbi} +2 -2
  36. data/rbi/orb/models/{beta_set_default_plan_version_params.rbi → plan_set_default_plan_version_params.rbi} +2 -2
  37. data/rbi/orb/models/plans/draft_discard_params.rbi +37 -0
  38. data/rbi/orb/models/plans/draft_fetch_params.rbi +37 -0
  39. data/rbi/orb/models/plans/draft_publish_params.rbi +54 -0
  40. data/rbi/orb/models/plans/draft_save_params.rbi +13143 -0
  41. data/rbi/orb/models/plans/external_plan_id/draft_discard_params.rbi +42 -0
  42. data/rbi/orb/models/plans/external_plan_id/draft_fetch_params.rbi +42 -0
  43. data/rbi/orb/models/plans/external_plan_id/draft_publish_params.rbi +59 -0
  44. data/rbi/orb/models/plans/external_plan_id/draft_save_params.rbi +13256 -0
  45. data/rbi/orb/models/{beta → plans}/external_plan_id_create_plan_version_params.rbi +744 -744
  46. data/rbi/orb/models/{beta → plans}/external_plan_id_fetch_plan_version_params.rbi +2 -2
  47. data/rbi/orb/models/{beta → plans}/external_plan_id_set_default_plan_version_params.rbi +2 -2
  48. data/rbi/orb/models/plans/plan_version_draft.rbi +502 -0
  49. data/rbi/orb/models.rbi +6 -8
  50. data/rbi/orb/resources/migrations.rbi +4 -0
  51. data/rbi/orb/resources/{beta/external_plan_id.rbi → plans/draft.rbi} +58 -59
  52. data/rbi/orb/resources/plans/external_plan_id/draft.rbi +126 -0
  53. data/rbi/orb/resources/plans/external_plan_id.rbi +102 -0
  54. data/rbi/orb/resources/plans.rbi +94 -0
  55. data/sig/orb/client.rbs +0 -2
  56. data/sig/orb/models/migration_create_params.rbs +7 -0
  57. data/sig/orb/models/plan.rbs +5 -0
  58. data/sig/orb/models/{beta_create_plan_version_params.rbs → plan_create_plan_version_params.rbs} +448 -448
  59. data/sig/orb/models/{beta_fetch_plan_version_params.rbs → plan_fetch_plan_version_params.rbs} +2 -2
  60. data/sig/orb/models/{beta_set_default_plan_version_params.rbs → plan_set_default_plan_version_params.rbs} +2 -2
  61. data/sig/orb/models/plans/draft_discard_params.rbs +25 -0
  62. data/sig/orb/models/plans/draft_fetch_params.rbs +25 -0
  63. data/sig/orb/models/plans/draft_publish_params.rbs +32 -0
  64. data/sig/orb/models/plans/draft_save_params.rbs +5210 -0
  65. data/sig/orb/models/plans/external_plan_id/draft_discard_params.rbs +27 -0
  66. data/sig/orb/models/plans/external_plan_id/draft_fetch_params.rbs +27 -0
  67. data/sig/orb/models/plans/external_plan_id/draft_publish_params.rbs +34 -0
  68. data/sig/orb/models/plans/external_plan_id/draft_save_params.rbs +5215 -0
  69. data/sig/orb/models/{beta → plans}/external_plan_id_create_plan_version_params.rbs +447 -447
  70. data/sig/orb/models/{beta → plans}/external_plan_id_fetch_plan_version_params.rbs +1 -1
  71. data/sig/orb/models/{beta → plans}/external_plan_id_set_default_plan_version_params.rbs +1 -1
  72. data/sig/orb/models/plans/plan_version_draft.rbs +205 -0
  73. data/sig/orb/models.rbs +6 -8
  74. data/sig/orb/resources/migrations.rbs +1 -0
  75. data/sig/orb/resources/plans/draft.rbs +37 -0
  76. data/sig/orb/resources/plans/external_plan_id/draft.rbs +39 -0
  77. data/sig/orb/resources/plans/external_plan_id.rbs +27 -0
  78. data/sig/orb/resources/plans.rbs +27 -0
  79. metadata +2038 -2005
  80. data/lib/orb/resources/beta/external_plan_id.rb +0 -108
  81. data/lib/orb/resources/beta.rb +0 -114
  82. data/rbi/orb/resources/beta.rbi +0 -110
  83. data/sig/orb/resources/beta/external_plan_id.rbs +0 -34
  84. data/sig/orb/resources/beta.rbs +0 -34
@@ -1,20 +1,20 @@
1
1
  module Orb
2
2
  module Models
3
- type beta_create_plan_version_params =
3
+ type plan_create_plan_version_params =
4
4
  {
5
5
  plan_id: String,
6
6
  version: Integer,
7
- add_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment]?,
8
- add_prices: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice]?,
9
- remove_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::RemoveAdjustment]?,
10
- remove_prices: ::Array[Orb::BetaCreatePlanVersionParams::RemovePrice]?,
11
- replace_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment]?,
12
- replace_prices: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice]?,
7
+ add_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment]?,
8
+ add_prices: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice]?,
9
+ remove_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::RemoveAdjustment]?,
10
+ remove_prices: ::Array[Orb::PlanCreatePlanVersionParams::RemovePrice]?,
11
+ replace_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment]?,
12
+ replace_prices: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice]?,
13
13
  set_as_default: bool?
14
14
  }
15
15
  & Orb::Internal::Type::request_parameters
16
16
 
17
- class BetaCreatePlanVersionParams < Orb::Internal::Type::BaseModel
17
+ class PlanCreatePlanVersionParams < Orb::Internal::Type::BaseModel
18
18
  extend Orb::Internal::Type::RequestParameters::Converter
19
19
  include Orb::Internal::Type::RequestParameters
20
20
 
@@ -22,29 +22,29 @@ module Orb
22
22
 
23
23
  attr_accessor version: Integer
24
24
 
25
- attr_accessor add_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment]?
25
+ attr_accessor add_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment]?
26
26
 
27
- attr_accessor add_prices: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice]?
27
+ attr_accessor add_prices: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice]?
28
28
 
29
- attr_accessor remove_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::RemoveAdjustment]?
29
+ attr_accessor remove_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::RemoveAdjustment]?
30
30
 
31
- attr_accessor remove_prices: ::Array[Orb::BetaCreatePlanVersionParams::RemovePrice]?
31
+ attr_accessor remove_prices: ::Array[Orb::PlanCreatePlanVersionParams::RemovePrice]?
32
32
 
33
- attr_accessor replace_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment]?
33
+ attr_accessor replace_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment]?
34
34
 
35
- attr_accessor replace_prices: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice]?
35
+ attr_accessor replace_prices: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice]?
36
36
 
37
37
  attr_accessor set_as_default: bool?
38
38
 
39
39
  def initialize: (
40
40
  plan_id: String,
41
41
  version: Integer,
42
- ?add_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment]?,
43
- ?add_prices: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice]?,
44
- ?remove_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::RemoveAdjustment]?,
45
- ?remove_prices: ::Array[Orb::BetaCreatePlanVersionParams::RemovePrice]?,
46
- ?replace_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment]?,
47
- ?replace_prices: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice]?,
42
+ ?add_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment]?,
43
+ ?add_prices: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice]?,
44
+ ?remove_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::RemoveAdjustment]?,
45
+ ?remove_prices: ::Array[Orb::PlanCreatePlanVersionParams::RemovePrice]?,
46
+ ?replace_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment]?,
47
+ ?replace_prices: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice]?,
48
48
  ?set_as_default: bool?,
49
49
  ?request_options: Orb::request_opts
50
50
  ) -> void
@@ -52,34 +52,34 @@ module Orb
52
52
  def to_hash: -> {
53
53
  plan_id: String,
54
54
  version: Integer,
55
- add_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment]?,
56
- add_prices: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice]?,
57
- remove_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::RemoveAdjustment]?,
58
- remove_prices: ::Array[Orb::BetaCreatePlanVersionParams::RemovePrice]?,
59
- replace_adjustments: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment]?,
60
- replace_prices: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice]?,
55
+ add_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment]?,
56
+ add_prices: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice]?,
57
+ remove_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::RemoveAdjustment]?,
58
+ remove_prices: ::Array[Orb::PlanCreatePlanVersionParams::RemovePrice]?,
59
+ replace_adjustments: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment]?,
60
+ replace_prices: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice]?,
61
61
  set_as_default: bool?,
62
62
  request_options: Orb::RequestOptions
63
63
  }
64
64
 
65
65
  type add_adjustment =
66
66
  {
67
- adjustment: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::adjustment,
67
+ adjustment: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::adjustment,
68
68
  plan_phase_order: Integer?
69
69
  }
70
70
 
71
71
  class AddAdjustment < Orb::Internal::Type::BaseModel
72
- attr_accessor adjustment: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::adjustment
72
+ attr_accessor adjustment: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::adjustment
73
73
 
74
74
  attr_accessor plan_phase_order: Integer?
75
75
 
76
76
  def initialize: (
77
- adjustment: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::adjustment,
77
+ adjustment: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::adjustment,
78
78
  ?plan_phase_order: Integer?
79
79
  ) -> void
80
80
 
81
81
  def to_hash: -> {
82
- adjustment: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::adjustment,
82
+ adjustment: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::adjustment,
83
83
  plan_phase_order: Integer?
84
84
  }
85
85
 
@@ -89,7 +89,7 @@ module Orb
89
89
  | Orb::NewAmountDiscount
90
90
  | Orb::NewMinimum
91
91
  | Orb::NewMaximum
92
- | Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount
92
+ | Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount
93
93
 
94
94
  module Adjustment
95
95
  extend Orb::Internal::Type::Union
@@ -97,22 +97,22 @@ module Orb
97
97
  type tiered_percentage_discount =
98
98
  {
99
99
  adjustment_type: :tiered_percentage_discount,
100
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
101
- applies_to_all: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
100
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
101
+ applies_to_all: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
102
102
  applies_to_item_ids: ::Array[String]?,
103
103
  applies_to_price_ids: ::Array[String]?,
104
104
  currency: String?,
105
- filters: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
105
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
106
106
  is_invoice_level: bool,
107
- price_type: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
107
+ price_type: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
108
108
  }
109
109
 
110
110
  class TieredPercentageDiscount < Orb::Internal::Type::BaseModel
111
111
  attr_accessor adjustment_type: :tiered_percentage_discount
112
112
 
113
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier]
113
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier]
114
114
 
115
- attr_accessor applies_to_all: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?
115
+ attr_accessor applies_to_all: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?
116
116
 
117
117
  attr_accessor applies_to_item_ids: ::Array[String]?
118
118
 
@@ -120,36 +120,36 @@ module Orb
120
120
 
121
121
  attr_accessor currency: String?
122
122
 
123
- attr_accessor filters: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?
123
+ attr_accessor filters: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?
124
124
 
125
125
  attr_reader is_invoice_level: bool?
126
126
 
127
127
  def is_invoice_level=: (bool) -> bool
128
128
 
129
- attr_accessor price_type: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
129
+ attr_accessor price_type: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
130
130
 
131
131
  def initialize: (
132
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
133
- ?applies_to_all: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
132
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
133
+ ?applies_to_all: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
134
134
  ?applies_to_item_ids: ::Array[String]?,
135
135
  ?applies_to_price_ids: ::Array[String]?,
136
136
  ?currency: String?,
137
- ?filters: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
137
+ ?filters: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
138
138
  ?is_invoice_level: bool,
139
- ?price_type: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?,
139
+ ?price_type: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?,
140
140
  ?adjustment_type: :tiered_percentage_discount
141
141
  ) -> void
142
142
 
143
143
  def to_hash: -> {
144
144
  adjustment_type: :tiered_percentage_discount,
145
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
146
- applies_to_all: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
145
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Tier],
146
+ applies_to_all: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
147
147
  applies_to_item_ids: ::Array[String]?,
148
148
  applies_to_price_ids: ::Array[String]?,
149
149
  currency: String?,
150
- filters: ::Array[Orb::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
150
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
151
151
  is_invoice_level: bool,
152
- price_type: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
152
+ price_type: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type?
153
153
  }
154
154
 
155
155
  type tier =
@@ -182,32 +182,32 @@ module Orb
182
182
 
183
183
  TRUE: true
184
184
 
185
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all]
185
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all]
186
186
  end
187
187
 
188
188
  type filter =
189
189
  {
190
- field: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
191
- operator: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
190
+ field: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
191
+ operator: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
192
192
  values: ::Array[String]
193
193
  }
194
194
 
195
195
  class Filter < Orb::Internal::Type::BaseModel
196
- attr_accessor field: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field
196
+ attr_accessor field: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field
197
197
 
198
- attr_accessor operator: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator
198
+ attr_accessor operator: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator
199
199
 
200
200
  attr_accessor values: ::Array[String]
201
201
 
202
202
  def initialize: (
203
- field: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
204
- operator: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
203
+ field: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
204
+ operator: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
205
205
  values: ::Array[String]
206
206
  ) -> void
207
207
 
208
208
  def to_hash: -> {
209
- field: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
210
- operator: Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
209
+ field: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
210
+ operator: Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
211
211
  values: ::Array[String]
212
212
  }
213
213
 
@@ -227,7 +227,7 @@ module Orb
227
227
  CURRENCY: :currency
228
228
  PRICING_UNIT_ID: :pricing_unit_id
229
229
 
230
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field]
230
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::field]
231
231
  end
232
232
 
233
233
  type operator = :includes | :excludes
@@ -238,7 +238,7 @@ module Orb
238
238
  INCLUDES: :includes
239
239
  EXCLUDES: :excludes
240
240
 
241
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator]
241
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator]
242
242
  end
243
243
  end
244
244
 
@@ -258,51 +258,51 @@ module Orb
258
258
  FIXED: :fixed
259
259
  IN_ARREARS: :in_arrears
260
260
 
261
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type]
261
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::Adjustment::TieredPercentageDiscount::price_type]
262
262
  end
263
263
  end
264
264
 
265
- def self?.variants: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddAdjustment::adjustment]
265
+ def self?.variants: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddAdjustment::adjustment]
266
266
  end
267
267
  end
268
268
 
269
269
  type add_price =
270
270
  {
271
271
  allocation_price: Orb::NewAllocationPrice?,
272
- license_allocation_price: Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
272
+ license_allocation_price: Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
273
273
  plan_phase_order: Integer?,
274
- price: Orb::Models::BetaCreatePlanVersionParams::AddPrice::price?
274
+ price: Orb::Models::PlanCreatePlanVersionParams::AddPrice::price?
275
275
  }
276
276
 
277
277
  class AddPrice < Orb::Internal::Type::BaseModel
278
278
  attr_accessor allocation_price: Orb::NewAllocationPrice?
279
279
 
280
- attr_accessor license_allocation_price: Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?
280
+ attr_accessor license_allocation_price: Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?
281
281
 
282
282
  attr_accessor plan_phase_order: Integer?
283
283
 
284
- attr_accessor price: Orb::Models::BetaCreatePlanVersionParams::AddPrice::price?
284
+ attr_accessor price: Orb::Models::PlanCreatePlanVersionParams::AddPrice::price?
285
285
 
286
286
  def initialize: (
287
287
  ?allocation_price: Orb::NewAllocationPrice?,
288
- ?license_allocation_price: Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
288
+ ?license_allocation_price: Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
289
289
  ?plan_phase_order: Integer?,
290
- ?price: Orb::Models::BetaCreatePlanVersionParams::AddPrice::price?
290
+ ?price: Orb::Models::PlanCreatePlanVersionParams::AddPrice::price?
291
291
  ) -> void
292
292
 
293
293
  def to_hash: -> {
294
294
  allocation_price: Orb::NewAllocationPrice?,
295
- license_allocation_price: Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
295
+ license_allocation_price: Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice?,
296
296
  plan_phase_order: Integer?,
297
- price: Orb::Models::BetaCreatePlanVersionParams::AddPrice::price?
297
+ price: Orb::Models::PlanCreatePlanVersionParams::AddPrice::price?
298
298
  }
299
299
 
300
300
  type license_allocation_price =
301
301
  {
302
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
302
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
303
303
  item_id: String,
304
- license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
305
- model_type: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
304
+ license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
305
+ model_type: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
306
306
  name: String,
307
307
  unit_config: Orb::UnitConfig,
308
308
  billable_metric_id: String?,
@@ -322,13 +322,13 @@ module Orb
322
322
  }
323
323
 
324
324
  class LicenseAllocationPrice < Orb::Internal::Type::BaseModel
325
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence
325
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence
326
326
 
327
327
  attr_accessor item_id: String
328
328
 
329
- attr_accessor license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation]
329
+ attr_accessor license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation]
330
330
 
331
- attr_accessor model_type: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type
331
+ attr_accessor model_type: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type
332
332
 
333
333
  attr_accessor name: String
334
334
 
@@ -363,10 +363,10 @@ module Orb
363
363
  attr_accessor reference_id: String?
364
364
 
365
365
  def initialize: (
366
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
366
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
367
367
  item_id: String,
368
- license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
369
- model_type: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
368
+ license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
369
+ model_type: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
370
370
  name: String,
371
371
  unit_config: Orb::UnitConfig,
372
372
  ?billable_metric_id: String?,
@@ -386,10 +386,10 @@ module Orb
386
386
  ) -> void
387
387
 
388
388
  def to_hash: -> {
389
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
389
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence,
390
390
  item_id: String,
391
- license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
392
- model_type: Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
391
+ license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::LicenseAllocation],
392
+ model_type: Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type,
393
393
  name: String,
394
394
  unit_config: Orb::UnitConfig,
395
395
  billable_metric_id: String?,
@@ -421,7 +421,7 @@ module Orb
421
421
  ANNUAL: :annual
422
422
  CUSTOM: :custom
423
423
 
424
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence]
424
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::cadence]
425
425
  end
426
426
 
427
427
  type license_allocation =
@@ -454,7 +454,7 @@ module Orb
454
454
 
455
455
  UNIT: :unit
456
456
 
457
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type]
457
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::LicenseAllocationPrice::model_type]
458
458
  end
459
459
  end
460
460
 
@@ -462,48 +462,48 @@ module Orb
462
462
  Orb::NewPlanUnitPrice
463
463
  | Orb::NewPlanTieredPrice
464
464
  | Orb::NewPlanBulkPrice
465
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters
465
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters
466
466
  | Orb::NewPlanPackagePrice
467
467
  | Orb::NewPlanMatrixPrice
468
468
  | Orb::NewPlanThresholdTotalAmountPrice
469
469
  | Orb::NewPlanTieredPackagePrice
470
470
  | Orb::NewPlanTieredWithMinimumPrice
471
471
  | Orb::NewPlanGroupedTieredPrice
472
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix
472
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix
473
473
  | Orb::NewPlanTieredPackageWithMinimumPrice
474
474
  | Orb::NewPlanPackageWithAllocationPrice
475
475
  | Orb::NewPlanUnitWithPercentPrice
476
476
  | Orb::NewPlanMatrixWithAllocationPrice
477
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation
478
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts
479
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration
477
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation
478
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts
479
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration
480
480
  | Orb::NewPlanUnitWithProrationPrice
481
481
  | Orb::NewPlanGroupedAllocationPrice
482
482
  | Orb::NewPlanBulkWithProrationPrice
483
483
  | Orb::NewPlanGroupedWithProratedMinimumPrice
484
484
  | Orb::NewPlanGroupedWithMeteredMinimumPrice
485
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds
485
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds
486
486
  | Orb::NewPlanMatrixWithDisplayNamePrice
487
487
  | Orb::NewPlanGroupedTieredPackagePrice
488
488
  | Orb::NewPlanMaxGroupTieredPackagePrice
489
489
  | Orb::NewPlanScalableMatrixWithUnitPricingPrice
490
490
  | Orb::NewPlanScalableMatrixWithTieredPricingPrice
491
491
  | Orb::NewPlanCumulativeGroupedBulkPrice
492
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation
493
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance
494
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance
492
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation
493
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance
494
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance
495
495
  | Orb::NewPlanMinimumCompositePrice
496
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::Percent
497
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput
498
- | Orb::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier
496
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::Percent
497
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput
498
+ | Orb::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier
499
499
 
500
500
  module Price
501
501
  extend Orb::Internal::Type::Union
502
502
 
503
503
  type bulk_with_filters =
504
504
  {
505
- bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
506
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
505
+ bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
506
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
507
507
  item_id: String,
508
508
  model_type: :bulk_with_filters,
509
509
  name: String,
@@ -524,9 +524,9 @@ module Orb
524
524
  }
525
525
 
526
526
  class BulkWithFilters < Orb::Internal::Type::BaseModel
527
- attr_accessor bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig
527
+ attr_accessor bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig
528
528
 
529
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence
529
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence
530
530
 
531
531
  attr_accessor item_id: String
532
532
 
@@ -563,8 +563,8 @@ module Orb
563
563
  attr_accessor reference_id: String?
564
564
 
565
565
  def initialize: (
566
- bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
567
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
566
+ bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
567
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
568
568
  item_id: String,
569
569
  name: String,
570
570
  ?billable_metric_id: String?,
@@ -585,8 +585,8 @@ module Orb
585
585
  ) -> void
586
586
 
587
587
  def to_hash: -> {
588
- bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
589
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
588
+ bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig,
589
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence,
590
590
  item_id: String,
591
591
  model_type: :bulk_with_filters,
592
592
  name: String,
@@ -608,23 +608,23 @@ module Orb
608
608
 
609
609
  type bulk_with_filters_config =
610
610
  {
611
- filters: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
612
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
611
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
612
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
613
613
  }
614
614
 
615
615
  class BulkWithFiltersConfig < Orb::Internal::Type::BaseModel
616
- attr_accessor filters: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter]
616
+ attr_accessor filters: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter]
617
617
 
618
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
618
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
619
619
 
620
620
  def initialize: (
621
- filters: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
622
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
621
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
622
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
623
623
  ) -> void
624
624
 
625
625
  def to_hash: -> {
626
- filters: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
627
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
626
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
627
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
628
628
  }
629
629
 
630
630
  type filter = { property_key: String, property_value: String }
@@ -679,14 +679,14 @@ module Orb
679
679
  ANNUAL: :annual
680
680
  CUSTOM: :custom
681
681
 
682
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence]
682
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::BulkWithFilters::cadence]
683
683
  end
684
684
  end
685
685
 
686
686
  type grouped_tiered_matrix =
687
687
  {
688
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
689
- grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
688
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
689
+ grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
690
690
  item_id: String,
691
691
  model_type: :grouped_tiered_matrix,
692
692
  name: String,
@@ -707,9 +707,9 @@ module Orb
707
707
  }
708
708
 
709
709
  class GroupedTieredMatrix < Orb::Internal::Type::BaseModel
710
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence
710
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence
711
711
 
712
- attr_accessor grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig
712
+ attr_accessor grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig
713
713
 
714
714
  attr_accessor item_id: String
715
715
 
@@ -746,8 +746,8 @@ module Orb
746
746
  attr_accessor reference_id: String?
747
747
 
748
748
  def initialize: (
749
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
750
- grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
749
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
750
+ grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
751
751
  item_id: String,
752
752
  name: String,
753
753
  ?billable_metric_id: String?,
@@ -768,8 +768,8 @@ module Orb
768
768
  ) -> void
769
769
 
770
770
  def to_hash: -> {
771
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
772
- grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
771
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence,
772
+ grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
773
773
  item_id: String,
774
774
  model_type: :grouped_tiered_matrix,
775
775
  name: String,
@@ -807,14 +807,14 @@ module Orb
807
807
  ANNUAL: :annual
808
808
  CUSTOM: :custom
809
809
 
810
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence]
810
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::cadence]
811
811
  end
812
812
 
813
813
  type grouped_tiered_matrix_config =
814
814
  {
815
815
  default_unit_amount: String,
816
816
  dimension: String,
817
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
817
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
818
818
  }
819
819
 
820
820
  class GroupedTieredMatrixConfig < Orb::Internal::Type::BaseModel
@@ -822,18 +822,18 @@ module Orb
822
822
 
823
823
  attr_accessor dimension: String
824
824
 
825
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
825
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
826
826
 
827
827
  def initialize: (
828
828
  default_unit_amount: String,
829
829
  dimension: String,
830
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
830
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
831
831
  ) -> void
832
832
 
833
833
  def to_hash: -> {
834
834
  default_unit_amount: String,
835
835
  dimension: String,
836
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
836
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
837
837
  }
838
838
 
839
839
  type tier =
@@ -867,11 +867,11 @@ module Orb
867
867
 
868
868
  type tiered_matrix_with_allocation =
869
869
  {
870
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
870
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
871
871
  item_id: String,
872
872
  model_type: :tiered_matrix_with_allocation,
873
873
  name: String,
874
- tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
874
+ tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
875
875
  billable_metric_id: String?,
876
876
  billed_in_advance: bool?,
877
877
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -889,7 +889,7 @@ module Orb
889
889
  }
890
890
 
891
891
  class TieredMatrixWithAllocation < Orb::Internal::Type::BaseModel
892
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence
892
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence
893
893
 
894
894
  attr_accessor item_id: String
895
895
 
@@ -897,7 +897,7 @@ module Orb
897
897
 
898
898
  attr_accessor name: String
899
899
 
900
- attr_accessor tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig
900
+ attr_accessor tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig
901
901
 
902
902
  attr_accessor billable_metric_id: String?
903
903
 
@@ -928,10 +928,10 @@ module Orb
928
928
  attr_accessor reference_id: String?
929
929
 
930
930
  def initialize: (
931
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
931
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
932
932
  item_id: String,
933
933
  name: String,
934
- tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
934
+ tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
935
935
  ?billable_metric_id: String?,
936
936
  ?billed_in_advance: bool?,
937
937
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -950,11 +950,11 @@ module Orb
950
950
  ) -> void
951
951
 
952
952
  def to_hash: -> {
953
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
953
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence,
954
954
  item_id: String,
955
955
  model_type: :tiered_matrix_with_allocation,
956
956
  name: String,
957
- tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
957
+ tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
958
958
  billable_metric_id: String?,
959
959
  billed_in_advance: bool?,
960
960
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -989,7 +989,7 @@ module Orb
989
989
  ANNUAL: :annual
990
990
  CUSTOM: :custom
991
991
 
992
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence]
992
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::cadence]
993
993
  end
994
994
 
995
995
  type tiered_matrix_with_allocation_config =
@@ -997,7 +997,7 @@ module Orb
997
997
  allocation: String,
998
998
  default_unit_amount: String,
999
999
  dimensions: ::Array[String],
1000
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1000
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1001
1001
  }
1002
1002
 
1003
1003
  class TieredMatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
@@ -1007,20 +1007,20 @@ module Orb
1007
1007
 
1008
1008
  attr_accessor dimensions: ::Array[String]
1009
1009
 
1010
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1010
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1011
1011
 
1012
1012
  def initialize: (
1013
1013
  allocation: String,
1014
1014
  default_unit_amount: String,
1015
1015
  dimensions: ::Array[String],
1016
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1016
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1017
1017
  ) -> void
1018
1018
 
1019
1019
  def to_hash: -> {
1020
1020
  allocation: String,
1021
1021
  default_unit_amount: String,
1022
1022
  dimensions: ::Array[String],
1023
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1023
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
1024
1024
  }
1025
1025
 
1026
1026
  type tier =
@@ -1054,9 +1054,9 @@ module Orb
1054
1054
 
1055
1055
  type matrix_with_threshold_discounts =
1056
1056
  {
1057
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
1057
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
1058
1058
  item_id: String,
1059
- matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
1059
+ matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
1060
1060
  model_type: :matrix_with_threshold_discounts,
1061
1061
  name: String,
1062
1062
  billable_metric_id: String?,
@@ -1076,11 +1076,11 @@ module Orb
1076
1076
  }
1077
1077
 
1078
1078
  class MatrixWithThresholdDiscounts < Orb::Internal::Type::BaseModel
1079
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence
1079
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence
1080
1080
 
1081
1081
  attr_accessor item_id: String
1082
1082
 
1083
- attr_accessor matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
1083
+ attr_accessor matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
1084
1084
 
1085
1085
  attr_accessor model_type: :matrix_with_threshold_discounts
1086
1086
 
@@ -1115,9 +1115,9 @@ module Orb
1115
1115
  attr_accessor reference_id: String?
1116
1116
 
1117
1117
  def initialize: (
1118
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
1118
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
1119
1119
  item_id: String,
1120
- matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
1120
+ matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
1121
1121
  name: String,
1122
1122
  ?billable_metric_id: String?,
1123
1123
  ?billed_in_advance: bool?,
@@ -1137,9 +1137,9 @@ module Orb
1137
1137
  ) -> void
1138
1138
 
1139
1139
  def to_hash: -> {
1140
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
1140
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence,
1141
1141
  item_id: String,
1142
- matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
1142
+ matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
1143
1143
  model_type: :matrix_with_threshold_discounts,
1144
1144
  name: String,
1145
1145
  billable_metric_id: String?,
@@ -1176,16 +1176,16 @@ module Orb
1176
1176
  ANNUAL: :annual
1177
1177
  CUSTOM: :custom
1178
1178
 
1179
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence]
1179
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::cadence]
1180
1180
  end
1181
1181
 
1182
1182
  type matrix_with_threshold_discounts_config =
1183
1183
  {
1184
1184
  default_unit_amount: String,
1185
1185
  first_dimension: String,
1186
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
1186
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
1187
1187
  second_dimension: String?,
1188
- threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1188
+ threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1189
1189
  }
1190
1190
 
1191
1191
  class MatrixWithThresholdDiscountsConfig < Orb::Internal::Type::BaseModel
@@ -1193,30 +1193,30 @@ module Orb
1193
1193
 
1194
1194
  attr_accessor first_dimension: String
1195
1195
 
1196
- attr_accessor matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
1196
+ attr_accessor matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
1197
1197
 
1198
1198
  attr_accessor second_dimension: String?
1199
1199
 
1200
- attr_reader threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
1200
+ attr_reader threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
1201
1201
 
1202
1202
  def threshold_discount_groups=: (
1203
- ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1204
- ) -> ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1203
+ ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1204
+ ) -> ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1205
1205
 
1206
1206
  def initialize: (
1207
1207
  default_unit_amount: String,
1208
1208
  first_dimension: String,
1209
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
1209
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
1210
1210
  ?second_dimension: String?,
1211
- ?threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1211
+ ?threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1212
1212
  ) -> void
1213
1213
 
1214
1214
  def to_hash: -> {
1215
1215
  default_unit_amount: String,
1216
1216
  first_dimension: String,
1217
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
1217
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
1218
1218
  second_dimension: String?,
1219
- threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1219
+ threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
1220
1220
  }
1221
1221
 
1222
1222
  type matrix_value =
@@ -1287,11 +1287,11 @@ module Orb
1287
1287
 
1288
1288
  type tiered_with_proration =
1289
1289
  {
1290
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
1290
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
1291
1291
  item_id: String,
1292
1292
  model_type: :tiered_with_proration,
1293
1293
  name: String,
1294
- tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
1294
+ tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
1295
1295
  billable_metric_id: String?,
1296
1296
  billed_in_advance: bool?,
1297
1297
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -1309,7 +1309,7 @@ module Orb
1309
1309
  }
1310
1310
 
1311
1311
  class TieredWithProration < Orb::Internal::Type::BaseModel
1312
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence
1312
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence
1313
1313
 
1314
1314
  attr_accessor item_id: String
1315
1315
 
@@ -1317,7 +1317,7 @@ module Orb
1317
1317
 
1318
1318
  attr_accessor name: String
1319
1319
 
1320
- attr_accessor tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig
1320
+ attr_accessor tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig
1321
1321
 
1322
1322
  attr_accessor billable_metric_id: String?
1323
1323
 
@@ -1348,10 +1348,10 @@ module Orb
1348
1348
  attr_accessor reference_id: String?
1349
1349
 
1350
1350
  def initialize: (
1351
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
1351
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
1352
1352
  item_id: String,
1353
1353
  name: String,
1354
- tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
1354
+ tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
1355
1355
  ?billable_metric_id: String?,
1356
1356
  ?billed_in_advance: bool?,
1357
1357
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -1370,11 +1370,11 @@ module Orb
1370
1370
  ) -> void
1371
1371
 
1372
1372
  def to_hash: -> {
1373
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
1373
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence,
1374
1374
  item_id: String,
1375
1375
  model_type: :tiered_with_proration,
1376
1376
  name: String,
1377
- tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
1377
+ tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig,
1378
1378
  billable_metric_id: String?,
1379
1379
  billed_in_advance: bool?,
1380
1380
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -1409,23 +1409,23 @@ module Orb
1409
1409
  ANNUAL: :annual
1410
1410
  CUSTOM: :custom
1411
1411
 
1412
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence]
1412
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::cadence]
1413
1413
  end
1414
1414
 
1415
1415
  type tiered_with_proration_config =
1416
1416
  {
1417
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1417
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1418
1418
  }
1419
1419
 
1420
1420
  class TieredWithProrationConfig < Orb::Internal::Type::BaseModel
1421
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1421
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1422
1422
 
1423
1423
  def initialize: (
1424
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1424
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1425
1425
  ) -> void
1426
1426
 
1427
1427
  def to_hash: -> {
1428
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1428
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
1429
1429
  }
1430
1430
 
1431
1431
  type tier = { tier_lower_bound: String, unit_amount: String }
@@ -1450,8 +1450,8 @@ module Orb
1450
1450
 
1451
1451
  type grouped_with_min_max_thresholds =
1452
1452
  {
1453
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
1454
- grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
1453
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
1454
+ grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
1455
1455
  item_id: String,
1456
1456
  model_type: :grouped_with_min_max_thresholds,
1457
1457
  name: String,
@@ -1472,9 +1472,9 @@ module Orb
1472
1472
  }
1473
1473
 
1474
1474
  class GroupedWithMinMaxThresholds < Orb::Internal::Type::BaseModel
1475
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence
1475
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence
1476
1476
 
1477
- attr_accessor grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig
1477
+ attr_accessor grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig
1478
1478
 
1479
1479
  attr_accessor item_id: String
1480
1480
 
@@ -1511,8 +1511,8 @@ module Orb
1511
1511
  attr_accessor reference_id: String?
1512
1512
 
1513
1513
  def initialize: (
1514
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
1515
- grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
1514
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
1515
+ grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
1516
1516
  item_id: String,
1517
1517
  name: String,
1518
1518
  ?billable_metric_id: String?,
@@ -1533,8 +1533,8 @@ module Orb
1533
1533
  ) -> void
1534
1534
 
1535
1535
  def to_hash: -> {
1536
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
1537
- grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
1536
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence,
1537
+ grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
1538
1538
  item_id: String,
1539
1539
  model_type: :grouped_with_min_max_thresholds,
1540
1540
  name: String,
@@ -1572,7 +1572,7 @@ module Orb
1572
1572
  ANNUAL: :annual
1573
1573
  CUSTOM: :custom
1574
1574
 
1575
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence]
1575
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::GroupedWithMinMaxThresholds::cadence]
1576
1576
  end
1577
1577
 
1578
1578
  type grouped_with_min_max_thresholds_config =
@@ -1610,8 +1610,8 @@ module Orb
1610
1610
 
1611
1611
  type cumulative_grouped_allocation =
1612
1612
  {
1613
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
1614
- cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
1613
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
1614
+ cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
1615
1615
  item_id: String,
1616
1616
  model_type: :cumulative_grouped_allocation,
1617
1617
  name: String,
@@ -1632,9 +1632,9 @@ module Orb
1632
1632
  }
1633
1633
 
1634
1634
  class CumulativeGroupedAllocation < Orb::Internal::Type::BaseModel
1635
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence
1635
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence
1636
1636
 
1637
- attr_accessor cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig
1637
+ attr_accessor cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig
1638
1638
 
1639
1639
  attr_accessor item_id: String
1640
1640
 
@@ -1671,8 +1671,8 @@ module Orb
1671
1671
  attr_accessor reference_id: String?
1672
1672
 
1673
1673
  def initialize: (
1674
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
1675
- cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
1674
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
1675
+ cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
1676
1676
  item_id: String,
1677
1677
  name: String,
1678
1678
  ?billable_metric_id: String?,
@@ -1693,8 +1693,8 @@ module Orb
1693
1693
  ) -> void
1694
1694
 
1695
1695
  def to_hash: -> {
1696
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
1697
- cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
1696
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence,
1697
+ cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
1698
1698
  item_id: String,
1699
1699
  model_type: :cumulative_grouped_allocation,
1700
1700
  name: String,
@@ -1732,7 +1732,7 @@ module Orb
1732
1732
  ANNUAL: :annual
1733
1733
  CUSTOM: :custom
1734
1734
 
1735
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence]
1735
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::CumulativeGroupedAllocation::cadence]
1736
1736
  end
1737
1737
 
1738
1738
  type cumulative_grouped_allocation_config =
@@ -1770,8 +1770,8 @@ module Orb
1770
1770
 
1771
1771
  type daily_credit_allowance =
1772
1772
  {
1773
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
1774
- daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
1773
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
1774
+ daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
1775
1775
  item_id: String,
1776
1776
  model_type: :daily_credit_allowance,
1777
1777
  name: String,
@@ -1792,9 +1792,9 @@ module Orb
1792
1792
  }
1793
1793
 
1794
1794
  class DailyCreditAllowance < Orb::Internal::Type::BaseModel
1795
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence
1795
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence
1796
1796
 
1797
- attr_accessor daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
1797
+ attr_accessor daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
1798
1798
 
1799
1799
  attr_accessor item_id: String
1800
1800
 
@@ -1831,8 +1831,8 @@ module Orb
1831
1831
  attr_accessor reference_id: String?
1832
1832
 
1833
1833
  def initialize: (
1834
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
1835
- daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
1834
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
1835
+ daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
1836
1836
  item_id: String,
1837
1837
  name: String,
1838
1838
  ?billable_metric_id: String?,
@@ -1853,8 +1853,8 @@ module Orb
1853
1853
  ) -> void
1854
1854
 
1855
1855
  def to_hash: -> {
1856
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
1857
- daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
1856
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence,
1857
+ daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
1858
1858
  item_id: String,
1859
1859
  model_type: :daily_credit_allowance,
1860
1860
  name: String,
@@ -1892,7 +1892,7 @@ module Orb
1892
1892
  ANNUAL: :annual
1893
1893
  CUSTOM: :custom
1894
1894
 
1895
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence]
1895
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::cadence]
1896
1896
  end
1897
1897
 
1898
1898
  type daily_credit_allowance_config =
@@ -1901,7 +1901,7 @@ module Orb
1901
1901
  default_unit_amount: String,
1902
1902
  dimensions: ::Array[String?],
1903
1903
  event_day_property: String,
1904
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1904
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1905
1905
  }
1906
1906
 
1907
1907
  class DailyCreditAllowanceConfig < Orb::Internal::Type::BaseModel
@@ -1913,14 +1913,14 @@ module Orb
1913
1913
 
1914
1914
  attr_accessor event_day_property: String
1915
1915
 
1916
- attr_accessor matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1916
+ attr_accessor matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1917
1917
 
1918
1918
  def initialize: (
1919
1919
  daily_allowance: String,
1920
1920
  default_unit_amount: String,
1921
1921
  dimensions: ::Array[String?],
1922
1922
  event_day_property: String,
1923
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1923
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1924
1924
  ) -> void
1925
1925
 
1926
1926
  def to_hash: -> {
@@ -1928,7 +1928,7 @@ module Orb
1928
1928
  default_unit_amount: String,
1929
1929
  dimensions: ::Array[String?],
1930
1930
  event_day_property: String,
1931
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1931
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::AddPrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
1932
1932
  }
1933
1933
 
1934
1934
  type matrix_value =
@@ -1954,9 +1954,9 @@ module Orb
1954
1954
 
1955
1955
  type metered_allowance =
1956
1956
  {
1957
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
1957
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
1958
1958
  item_id: String,
1959
- metered_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
1959
+ metered_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
1960
1960
  model_type: :metered_allowance,
1961
1961
  name: String,
1962
1962
  billable_metric_id: String?,
@@ -1976,11 +1976,11 @@ module Orb
1976
1976
  }
1977
1977
 
1978
1978
  class MeteredAllowance < Orb::Internal::Type::BaseModel
1979
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence
1979
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence
1980
1980
 
1981
1981
  attr_accessor item_id: String
1982
1982
 
1983
- attr_accessor metered_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig
1983
+ attr_accessor metered_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig
1984
1984
 
1985
1985
  attr_accessor model_type: :metered_allowance
1986
1986
 
@@ -2015,9 +2015,9 @@ module Orb
2015
2015
  attr_accessor reference_id: String?
2016
2016
 
2017
2017
  def initialize: (
2018
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
2018
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
2019
2019
  item_id: String,
2020
- metered_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
2020
+ metered_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
2021
2021
  name: String,
2022
2022
  ?billable_metric_id: String?,
2023
2023
  ?billed_in_advance: bool?,
@@ -2037,9 +2037,9 @@ module Orb
2037
2037
  ) -> void
2038
2038
 
2039
2039
  def to_hash: -> {
2040
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
2040
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence,
2041
2041
  item_id: String,
2042
- metered_allowance_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
2042
+ metered_allowance_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::MeteredAllowanceConfig,
2043
2043
  model_type: :metered_allowance,
2044
2044
  name: String,
2045
2045
  billable_metric_id: String?,
@@ -2076,7 +2076,7 @@ module Orb
2076
2076
  ANNUAL: :annual
2077
2077
  CUSTOM: :custom
2078
2078
 
2079
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence]
2079
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::MeteredAllowance::cadence]
2080
2080
  end
2081
2081
 
2082
2082
  type metered_allowance_config =
@@ -2128,11 +2128,11 @@ module Orb
2128
2128
 
2129
2129
  type percent =
2130
2130
  {
2131
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
2131
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
2132
2132
  item_id: String,
2133
2133
  model_type: :percent,
2134
2134
  name: String,
2135
- percent_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
2135
+ percent_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
2136
2136
  billable_metric_id: String?,
2137
2137
  billed_in_advance: bool?,
2138
2138
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -2150,7 +2150,7 @@ module Orb
2150
2150
  }
2151
2151
 
2152
2152
  class Percent < Orb::Internal::Type::BaseModel
2153
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent::cadence
2153
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::Percent::cadence
2154
2154
 
2155
2155
  attr_accessor item_id: String
2156
2156
 
@@ -2158,7 +2158,7 @@ module Orb
2158
2158
 
2159
2159
  attr_accessor name: String
2160
2160
 
2161
- attr_accessor percent_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig
2161
+ attr_accessor percent_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig
2162
2162
 
2163
2163
  attr_accessor billable_metric_id: String?
2164
2164
 
@@ -2189,10 +2189,10 @@ module Orb
2189
2189
  attr_accessor reference_id: String?
2190
2190
 
2191
2191
  def initialize: (
2192
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
2192
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
2193
2193
  item_id: String,
2194
2194
  name: String,
2195
- percent_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
2195
+ percent_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
2196
2196
  ?billable_metric_id: String?,
2197
2197
  ?billed_in_advance: bool?,
2198
2198
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -2211,11 +2211,11 @@ module Orb
2211
2211
  ) -> void
2212
2212
 
2213
2213
  def to_hash: -> {
2214
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
2214
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::Percent::cadence,
2215
2215
  item_id: String,
2216
2216
  model_type: :percent,
2217
2217
  name: String,
2218
- percent_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
2218
+ percent_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::Percent::PercentConfig,
2219
2219
  billable_metric_id: String?,
2220
2220
  billed_in_advance: bool?,
2221
2221
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -2250,7 +2250,7 @@ module Orb
2250
2250
  ANNUAL: :annual
2251
2251
  CUSTOM: :custom
2252
2252
 
2253
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::Percent::cadence]
2253
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::Percent::cadence]
2254
2254
  end
2255
2255
 
2256
2256
  type percent_config =
@@ -2290,8 +2290,8 @@ module Orb
2290
2290
 
2291
2291
  type event_output =
2292
2292
  {
2293
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
2294
- event_output_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
2293
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
2294
+ event_output_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
2295
2295
  item_id: String,
2296
2296
  model_type: :event_output,
2297
2297
  name: String,
@@ -2312,9 +2312,9 @@ module Orb
2312
2312
  }
2313
2313
 
2314
2314
  class EventOutput < Orb::Internal::Type::BaseModel
2315
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence
2315
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence
2316
2316
 
2317
- attr_accessor event_output_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig
2317
+ attr_accessor event_output_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig
2318
2318
 
2319
2319
  attr_accessor item_id: String
2320
2320
 
@@ -2351,8 +2351,8 @@ module Orb
2351
2351
  attr_accessor reference_id: String?
2352
2352
 
2353
2353
  def initialize: (
2354
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
2355
- event_output_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
2354
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
2355
+ event_output_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
2356
2356
  item_id: String,
2357
2357
  name: String,
2358
2358
  ?billable_metric_id: String?,
@@ -2373,8 +2373,8 @@ module Orb
2373
2373
  ) -> void
2374
2374
 
2375
2375
  def to_hash: -> {
2376
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
2377
- event_output_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
2376
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence,
2377
+ event_output_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::EventOutputConfig,
2378
2378
  item_id: String,
2379
2379
  model_type: :event_output,
2380
2380
  name: String,
@@ -2412,7 +2412,7 @@ module Orb
2412
2412
  ANNUAL: :annual
2413
2413
  CUSTOM: :custom
2414
2414
 
2415
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence]
2415
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::EventOutput::cadence]
2416
2416
  end
2417
2417
 
2418
2418
  type event_output_config =
@@ -2445,11 +2445,11 @@ module Orb
2445
2445
 
2446
2446
  type unit_with_multiplier =
2447
2447
  {
2448
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
2448
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
2449
2449
  item_id: String,
2450
2450
  model_type: :unit_with_multiplier,
2451
2451
  name: String,
2452
- unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
2452
+ unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
2453
2453
  billable_metric_id: String?,
2454
2454
  billed_in_advance: bool?,
2455
2455
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -2467,7 +2467,7 @@ module Orb
2467
2467
  }
2468
2468
 
2469
2469
  class UnitWithMultiplier < Orb::Internal::Type::BaseModel
2470
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence
2470
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence
2471
2471
 
2472
2472
  attr_accessor item_id: String
2473
2473
 
@@ -2475,7 +2475,7 @@ module Orb
2475
2475
 
2476
2476
  attr_accessor name: String
2477
2477
 
2478
- attr_accessor unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig
2478
+ attr_accessor unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig
2479
2479
 
2480
2480
  attr_accessor billable_metric_id: String?
2481
2481
 
@@ -2506,10 +2506,10 @@ module Orb
2506
2506
  attr_accessor reference_id: String?
2507
2507
 
2508
2508
  def initialize: (
2509
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
2509
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
2510
2510
  item_id: String,
2511
2511
  name: String,
2512
- unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
2512
+ unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
2513
2513
  ?billable_metric_id: String?,
2514
2514
  ?billed_in_advance: bool?,
2515
2515
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -2528,11 +2528,11 @@ module Orb
2528
2528
  ) -> void
2529
2529
 
2530
2530
  def to_hash: -> {
2531
- cadence: Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
2531
+ cadence: Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence,
2532
2532
  item_id: String,
2533
2533
  model_type: :unit_with_multiplier,
2534
2534
  name: String,
2535
- unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
2535
+ unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
2536
2536
  billable_metric_id: String?,
2537
2537
  billed_in_advance: bool?,
2538
2538
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -2567,7 +2567,7 @@ module Orb
2567
2567
  ANNUAL: :annual
2568
2568
  CUSTOM: :custom
2569
2569
 
2570
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence]
2570
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::Price::UnitWithMultiplier::cadence]
2571
2571
  end
2572
2572
 
2573
2573
  type unit_with_multiplier_config =
@@ -2603,7 +2603,7 @@ module Orb
2603
2603
  end
2604
2604
  end
2605
2605
 
2606
- def self?.variants: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::AddPrice::price]
2606
+ def self?.variants: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::AddPrice::price]
2607
2607
  end
2608
2608
  end
2609
2609
 
@@ -2637,26 +2637,26 @@ module Orb
2637
2637
 
2638
2638
  type replace_adjustment =
2639
2639
  {
2640
- adjustment: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::adjustment,
2640
+ adjustment: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::adjustment,
2641
2641
  replaces_adjustment_id: String,
2642
2642
  plan_phase_order: Integer?
2643
2643
  }
2644
2644
 
2645
2645
  class ReplaceAdjustment < Orb::Internal::Type::BaseModel
2646
- attr_accessor adjustment: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::adjustment
2646
+ attr_accessor adjustment: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::adjustment
2647
2647
 
2648
2648
  attr_accessor replaces_adjustment_id: String
2649
2649
 
2650
2650
  attr_accessor plan_phase_order: Integer?
2651
2651
 
2652
2652
  def initialize: (
2653
- adjustment: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::adjustment,
2653
+ adjustment: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::adjustment,
2654
2654
  replaces_adjustment_id: String,
2655
2655
  ?plan_phase_order: Integer?
2656
2656
  ) -> void
2657
2657
 
2658
2658
  def to_hash: -> {
2659
- adjustment: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::adjustment,
2659
+ adjustment: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::adjustment,
2660
2660
  replaces_adjustment_id: String,
2661
2661
  plan_phase_order: Integer?
2662
2662
  }
@@ -2667,7 +2667,7 @@ module Orb
2667
2667
  | Orb::NewAmountDiscount
2668
2668
  | Orb::NewMinimum
2669
2669
  | Orb::NewMaximum
2670
- | Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount
2670
+ | Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount
2671
2671
 
2672
2672
  module Adjustment
2673
2673
  extend Orb::Internal::Type::Union
@@ -2675,22 +2675,22 @@ module Orb
2675
2675
  type tiered_percentage_discount =
2676
2676
  {
2677
2677
  adjustment_type: :tiered_percentage_discount,
2678
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
2679
- applies_to_all: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
2678
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
2679
+ applies_to_all: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
2680
2680
  applies_to_item_ids: ::Array[String]?,
2681
2681
  applies_to_price_ids: ::Array[String]?,
2682
2682
  currency: String?,
2683
- filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
2683
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
2684
2684
  is_invoice_level: bool,
2685
- price_type: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
2685
+ price_type: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
2686
2686
  }
2687
2687
 
2688
2688
  class TieredPercentageDiscount < Orb::Internal::Type::BaseModel
2689
2689
  attr_accessor adjustment_type: :tiered_percentage_discount
2690
2690
 
2691
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier]
2691
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier]
2692
2692
 
2693
- attr_accessor applies_to_all: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?
2693
+ attr_accessor applies_to_all: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?
2694
2694
 
2695
2695
  attr_accessor applies_to_item_ids: ::Array[String]?
2696
2696
 
@@ -2698,36 +2698,36 @@ module Orb
2698
2698
 
2699
2699
  attr_accessor currency: String?
2700
2700
 
2701
- attr_accessor filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?
2701
+ attr_accessor filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?
2702
2702
 
2703
2703
  attr_reader is_invoice_level: bool?
2704
2704
 
2705
2705
  def is_invoice_level=: (bool) -> bool
2706
2706
 
2707
- attr_accessor price_type: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
2707
+ attr_accessor price_type: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
2708
2708
 
2709
2709
  def initialize: (
2710
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
2711
- ?applies_to_all: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
2710
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
2711
+ ?applies_to_all: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
2712
2712
  ?applies_to_item_ids: ::Array[String]?,
2713
2713
  ?applies_to_price_ids: ::Array[String]?,
2714
2714
  ?currency: String?,
2715
- ?filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
2715
+ ?filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
2716
2716
  ?is_invoice_level: bool,
2717
- ?price_type: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?,
2717
+ ?price_type: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?,
2718
2718
  ?adjustment_type: :tiered_percentage_discount
2719
2719
  ) -> void
2720
2720
 
2721
2721
  def to_hash: -> {
2722
2722
  adjustment_type: :tiered_percentage_discount,
2723
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
2724
- applies_to_all: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
2723
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Tier],
2724
+ applies_to_all: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all?,
2725
2725
  applies_to_item_ids: ::Array[String]?,
2726
2726
  applies_to_price_ids: ::Array[String]?,
2727
2727
  currency: String?,
2728
- filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
2728
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter]?,
2729
2729
  is_invoice_level: bool,
2730
- price_type: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
2730
+ price_type: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type?
2731
2731
  }
2732
2732
 
2733
2733
  type tier =
@@ -2760,32 +2760,32 @@ module Orb
2760
2760
 
2761
2761
  TRUE: true
2762
2762
 
2763
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all]
2763
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::applies_to_all]
2764
2764
  end
2765
2765
 
2766
2766
  type filter =
2767
2767
  {
2768
- field: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
2769
- operator: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
2768
+ field: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
2769
+ operator: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
2770
2770
  values: ::Array[String]
2771
2771
  }
2772
2772
 
2773
2773
  class Filter < Orb::Internal::Type::BaseModel
2774
- attr_accessor field: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field
2774
+ attr_accessor field: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field
2775
2775
 
2776
- attr_accessor operator: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator
2776
+ attr_accessor operator: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator
2777
2777
 
2778
2778
  attr_accessor values: ::Array[String]
2779
2779
 
2780
2780
  def initialize: (
2781
- field: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
2782
- operator: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
2781
+ field: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
2782
+ operator: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
2783
2783
  values: ::Array[String]
2784
2784
  ) -> void
2785
2785
 
2786
2786
  def to_hash: -> {
2787
- field: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
2788
- operator: Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
2787
+ field: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field,
2788
+ operator: Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator,
2789
2789
  values: ::Array[String]
2790
2790
  }
2791
2791
 
@@ -2805,7 +2805,7 @@ module Orb
2805
2805
  CURRENCY: :currency
2806
2806
  PRICING_UNIT_ID: :pricing_unit_id
2807
2807
 
2808
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field]
2808
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::field]
2809
2809
  end
2810
2810
 
2811
2811
  type operator = :includes | :excludes
@@ -2816,7 +2816,7 @@ module Orb
2816
2816
  INCLUDES: :includes
2817
2817
  EXCLUDES: :excludes
2818
2818
 
2819
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator]
2819
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::Filter::operator]
2820
2820
  end
2821
2821
  end
2822
2822
 
@@ -2836,11 +2836,11 @@ module Orb
2836
2836
  FIXED: :fixed
2837
2837
  IN_ARREARS: :in_arrears
2838
2838
 
2839
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type]
2839
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::Adjustment::TieredPercentageDiscount::price_type]
2840
2840
  end
2841
2841
  end
2842
2842
 
2843
- def self?.variants: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplaceAdjustment::adjustment]
2843
+ def self?.variants: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplaceAdjustment::adjustment]
2844
2844
  end
2845
2845
  end
2846
2846
 
@@ -2848,9 +2848,9 @@ module Orb
2848
2848
  {
2849
2849
  replaces_price_id: String,
2850
2850
  allocation_price: Orb::NewAllocationPrice?,
2851
- license_allocation_price: Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
2851
+ license_allocation_price: Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
2852
2852
  plan_phase_order: Integer?,
2853
- price: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::price?
2853
+ price: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::price?
2854
2854
  }
2855
2855
 
2856
2856
  class ReplacePrice < Orb::Internal::Type::BaseModel
@@ -2858,34 +2858,34 @@ module Orb
2858
2858
 
2859
2859
  attr_accessor allocation_price: Orb::NewAllocationPrice?
2860
2860
 
2861
- attr_accessor license_allocation_price: Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?
2861
+ attr_accessor license_allocation_price: Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?
2862
2862
 
2863
2863
  attr_accessor plan_phase_order: Integer?
2864
2864
 
2865
- attr_accessor price: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::price?
2865
+ attr_accessor price: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::price?
2866
2866
 
2867
2867
  def initialize: (
2868
2868
  replaces_price_id: String,
2869
2869
  ?allocation_price: Orb::NewAllocationPrice?,
2870
- ?license_allocation_price: Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
2870
+ ?license_allocation_price: Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
2871
2871
  ?plan_phase_order: Integer?,
2872
- ?price: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::price?
2872
+ ?price: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::price?
2873
2873
  ) -> void
2874
2874
 
2875
2875
  def to_hash: -> {
2876
2876
  replaces_price_id: String,
2877
2877
  allocation_price: Orb::NewAllocationPrice?,
2878
- license_allocation_price: Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
2878
+ license_allocation_price: Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice?,
2879
2879
  plan_phase_order: Integer?,
2880
- price: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::price?
2880
+ price: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::price?
2881
2881
  }
2882
2882
 
2883
2883
  type license_allocation_price =
2884
2884
  {
2885
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
2885
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
2886
2886
  item_id: String,
2887
- license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
2888
- model_type: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
2887
+ license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
2888
+ model_type: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
2889
2889
  name: String,
2890
2890
  unit_config: Orb::UnitConfig,
2891
2891
  billable_metric_id: String?,
@@ -2905,13 +2905,13 @@ module Orb
2905
2905
  }
2906
2906
 
2907
2907
  class LicenseAllocationPrice < Orb::Internal::Type::BaseModel
2908
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence
2908
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence
2909
2909
 
2910
2910
  attr_accessor item_id: String
2911
2911
 
2912
- attr_accessor license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation]
2912
+ attr_accessor license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation]
2913
2913
 
2914
- attr_accessor model_type: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type
2914
+ attr_accessor model_type: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type
2915
2915
 
2916
2916
  attr_accessor name: String
2917
2917
 
@@ -2946,10 +2946,10 @@ module Orb
2946
2946
  attr_accessor reference_id: String?
2947
2947
 
2948
2948
  def initialize: (
2949
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
2949
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
2950
2950
  item_id: String,
2951
- license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
2952
- model_type: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
2951
+ license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
2952
+ model_type: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
2953
2953
  name: String,
2954
2954
  unit_config: Orb::UnitConfig,
2955
2955
  ?billable_metric_id: String?,
@@ -2969,10 +2969,10 @@ module Orb
2969
2969
  ) -> void
2970
2970
 
2971
2971
  def to_hash: -> {
2972
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
2972
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence,
2973
2973
  item_id: String,
2974
- license_allocations: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
2975
- model_type: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
2974
+ license_allocations: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::LicenseAllocation],
2975
+ model_type: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type,
2976
2976
  name: String,
2977
2977
  unit_config: Orb::UnitConfig,
2978
2978
  billable_metric_id: String?,
@@ -3004,7 +3004,7 @@ module Orb
3004
3004
  ANNUAL: :annual
3005
3005
  CUSTOM: :custom
3006
3006
 
3007
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence]
3007
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::cadence]
3008
3008
  end
3009
3009
 
3010
3010
  type license_allocation =
@@ -3037,7 +3037,7 @@ module Orb
3037
3037
 
3038
3038
  UNIT: :unit
3039
3039
 
3040
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type]
3040
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::LicenseAllocationPrice::model_type]
3041
3041
  end
3042
3042
  end
3043
3043
 
@@ -3045,48 +3045,48 @@ module Orb
3045
3045
  Orb::NewPlanUnitPrice
3046
3046
  | Orb::NewPlanTieredPrice
3047
3047
  | Orb::NewPlanBulkPrice
3048
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters
3048
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters
3049
3049
  | Orb::NewPlanPackagePrice
3050
3050
  | Orb::NewPlanMatrixPrice
3051
3051
  | Orb::NewPlanThresholdTotalAmountPrice
3052
3052
  | Orb::NewPlanTieredPackagePrice
3053
3053
  | Orb::NewPlanTieredWithMinimumPrice
3054
3054
  | Orb::NewPlanGroupedTieredPrice
3055
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix
3055
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix
3056
3056
  | Orb::NewPlanTieredPackageWithMinimumPrice
3057
3057
  | Orb::NewPlanPackageWithAllocationPrice
3058
3058
  | Orb::NewPlanUnitWithPercentPrice
3059
3059
  | Orb::NewPlanMatrixWithAllocationPrice
3060
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation
3061
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts
3062
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration
3060
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation
3061
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts
3062
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration
3063
3063
  | Orb::NewPlanUnitWithProrationPrice
3064
3064
  | Orb::NewPlanGroupedAllocationPrice
3065
3065
  | Orb::NewPlanBulkWithProrationPrice
3066
3066
  | Orb::NewPlanGroupedWithProratedMinimumPrice
3067
3067
  | Orb::NewPlanGroupedWithMeteredMinimumPrice
3068
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds
3068
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds
3069
3069
  | Orb::NewPlanMatrixWithDisplayNamePrice
3070
3070
  | Orb::NewPlanGroupedTieredPackagePrice
3071
3071
  | Orb::NewPlanMaxGroupTieredPackagePrice
3072
3072
  | Orb::NewPlanScalableMatrixWithUnitPricingPrice
3073
3073
  | Orb::NewPlanScalableMatrixWithTieredPricingPrice
3074
3074
  | Orb::NewPlanCumulativeGroupedBulkPrice
3075
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation
3076
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance
3077
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance
3075
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation
3076
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance
3077
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance
3078
3078
  | Orb::NewPlanMinimumCompositePrice
3079
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent
3080
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput
3081
- | Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier
3079
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent
3080
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput
3081
+ | Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier
3082
3082
 
3083
3083
  module Price
3084
3084
  extend Orb::Internal::Type::Union
3085
3085
 
3086
3086
  type bulk_with_filters =
3087
3087
  {
3088
- bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
3089
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
3088
+ bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
3089
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
3090
3090
  item_id: String,
3091
3091
  model_type: :bulk_with_filters,
3092
3092
  name: String,
@@ -3107,9 +3107,9 @@ module Orb
3107
3107
  }
3108
3108
 
3109
3109
  class BulkWithFilters < Orb::Internal::Type::BaseModel
3110
- attr_accessor bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig
3110
+ attr_accessor bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig
3111
3111
 
3112
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence
3112
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence
3113
3113
 
3114
3114
  attr_accessor item_id: String
3115
3115
 
@@ -3146,8 +3146,8 @@ module Orb
3146
3146
  attr_accessor reference_id: String?
3147
3147
 
3148
3148
  def initialize: (
3149
- bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
3150
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
3149
+ bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
3150
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
3151
3151
  item_id: String,
3152
3152
  name: String,
3153
3153
  ?billable_metric_id: String?,
@@ -3168,8 +3168,8 @@ module Orb
3168
3168
  ) -> void
3169
3169
 
3170
3170
  def to_hash: -> {
3171
- bulk_with_filters_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
3172
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
3171
+ bulk_with_filters_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig,
3172
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence,
3173
3173
  item_id: String,
3174
3174
  model_type: :bulk_with_filters,
3175
3175
  name: String,
@@ -3191,23 +3191,23 @@ module Orb
3191
3191
 
3192
3192
  type bulk_with_filters_config =
3193
3193
  {
3194
- filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
3195
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3194
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
3195
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3196
3196
  }
3197
3197
 
3198
3198
  class BulkWithFiltersConfig < Orb::Internal::Type::BaseModel
3199
- attr_accessor filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter]
3199
+ attr_accessor filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter]
3200
3200
 
3201
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3201
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3202
3202
 
3203
3203
  def initialize: (
3204
- filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
3205
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3204
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
3205
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3206
3206
  ) -> void
3207
3207
 
3208
3208
  def to_hash: -> {
3209
- filters: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
3210
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3209
+ filters: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Filter],
3210
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::BulkWithFiltersConfig::Tier]
3211
3211
  }
3212
3212
 
3213
3213
  type filter = { property_key: String, property_value: String }
@@ -3262,14 +3262,14 @@ module Orb
3262
3262
  ANNUAL: :annual
3263
3263
  CUSTOM: :custom
3264
3264
 
3265
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence]
3265
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::BulkWithFilters::cadence]
3266
3266
  end
3267
3267
  end
3268
3268
 
3269
3269
  type grouped_tiered_matrix =
3270
3270
  {
3271
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
3272
- grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
3271
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
3272
+ grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
3273
3273
  item_id: String,
3274
3274
  model_type: :grouped_tiered_matrix,
3275
3275
  name: String,
@@ -3290,9 +3290,9 @@ module Orb
3290
3290
  }
3291
3291
 
3292
3292
  class GroupedTieredMatrix < Orb::Internal::Type::BaseModel
3293
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence
3293
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence
3294
3294
 
3295
- attr_accessor grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig
3295
+ attr_accessor grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig
3296
3296
 
3297
3297
  attr_accessor item_id: String
3298
3298
 
@@ -3329,8 +3329,8 @@ module Orb
3329
3329
  attr_accessor reference_id: String?
3330
3330
 
3331
3331
  def initialize: (
3332
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
3333
- grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
3332
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
3333
+ grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
3334
3334
  item_id: String,
3335
3335
  name: String,
3336
3336
  ?billable_metric_id: String?,
@@ -3351,8 +3351,8 @@ module Orb
3351
3351
  ) -> void
3352
3352
 
3353
3353
  def to_hash: -> {
3354
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
3355
- grouped_tiered_matrix_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
3354
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence,
3355
+ grouped_tiered_matrix_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig,
3356
3356
  item_id: String,
3357
3357
  model_type: :grouped_tiered_matrix,
3358
3358
  name: String,
@@ -3390,14 +3390,14 @@ module Orb
3390
3390
  ANNUAL: :annual
3391
3391
  CUSTOM: :custom
3392
3392
 
3393
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence]
3393
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::cadence]
3394
3394
  end
3395
3395
 
3396
3396
  type grouped_tiered_matrix_config =
3397
3397
  {
3398
3398
  default_unit_amount: String,
3399
3399
  dimension: String,
3400
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3400
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3401
3401
  }
3402
3402
 
3403
3403
  class GroupedTieredMatrixConfig < Orb::Internal::Type::BaseModel
@@ -3405,18 +3405,18 @@ module Orb
3405
3405
 
3406
3406
  attr_accessor dimension: String
3407
3407
 
3408
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3408
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3409
3409
 
3410
3410
  def initialize: (
3411
3411
  default_unit_amount: String,
3412
3412
  dimension: String,
3413
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3413
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3414
3414
  ) -> void
3415
3415
 
3416
3416
  def to_hash: -> {
3417
3417
  default_unit_amount: String,
3418
3418
  dimension: String,
3419
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3419
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedTieredMatrix::GroupedTieredMatrixConfig::Tier]
3420
3420
  }
3421
3421
 
3422
3422
  type tier =
@@ -3450,11 +3450,11 @@ module Orb
3450
3450
 
3451
3451
  type tiered_matrix_with_allocation =
3452
3452
  {
3453
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
3453
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
3454
3454
  item_id: String,
3455
3455
  model_type: :tiered_matrix_with_allocation,
3456
3456
  name: String,
3457
- tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
3457
+ tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
3458
3458
  billable_metric_id: String?,
3459
3459
  billed_in_advance: bool?,
3460
3460
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -3472,7 +3472,7 @@ module Orb
3472
3472
  }
3473
3473
 
3474
3474
  class TieredMatrixWithAllocation < Orb::Internal::Type::BaseModel
3475
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence
3475
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence
3476
3476
 
3477
3477
  attr_accessor item_id: String
3478
3478
 
@@ -3480,7 +3480,7 @@ module Orb
3480
3480
 
3481
3481
  attr_accessor name: String
3482
3482
 
3483
- attr_accessor tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig
3483
+ attr_accessor tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig
3484
3484
 
3485
3485
  attr_accessor billable_metric_id: String?
3486
3486
 
@@ -3511,10 +3511,10 @@ module Orb
3511
3511
  attr_accessor reference_id: String?
3512
3512
 
3513
3513
  def initialize: (
3514
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
3514
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
3515
3515
  item_id: String,
3516
3516
  name: String,
3517
- tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
3517
+ tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
3518
3518
  ?billable_metric_id: String?,
3519
3519
  ?billed_in_advance: bool?,
3520
3520
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -3533,11 +3533,11 @@ module Orb
3533
3533
  ) -> void
3534
3534
 
3535
3535
  def to_hash: -> {
3536
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
3536
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence,
3537
3537
  item_id: String,
3538
3538
  model_type: :tiered_matrix_with_allocation,
3539
3539
  name: String,
3540
- tiered_matrix_with_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
3540
+ tiered_matrix_with_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig,
3541
3541
  billable_metric_id: String?,
3542
3542
  billed_in_advance: bool?,
3543
3543
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -3572,7 +3572,7 @@ module Orb
3572
3572
  ANNUAL: :annual
3573
3573
  CUSTOM: :custom
3574
3574
 
3575
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence]
3575
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::cadence]
3576
3576
  end
3577
3577
 
3578
3578
  type tiered_matrix_with_allocation_config =
@@ -3580,7 +3580,7 @@ module Orb
3580
3580
  allocation: String,
3581
3581
  default_unit_amount: String,
3582
3582
  dimensions: ::Array[String],
3583
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3583
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3584
3584
  }
3585
3585
 
3586
3586
  class TieredMatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
@@ -3590,20 +3590,20 @@ module Orb
3590
3590
 
3591
3591
  attr_accessor dimensions: ::Array[String]
3592
3592
 
3593
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3593
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3594
3594
 
3595
3595
  def initialize: (
3596
3596
  allocation: String,
3597
3597
  default_unit_amount: String,
3598
3598
  dimensions: ::Array[String],
3599
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3599
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3600
3600
  ) -> void
3601
3601
 
3602
3602
  def to_hash: -> {
3603
3603
  allocation: String,
3604
3604
  default_unit_amount: String,
3605
3605
  dimensions: ::Array[String],
3606
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3606
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredMatrixWithAllocation::TieredMatrixWithAllocationConfig::Tier]
3607
3607
  }
3608
3608
 
3609
3609
  type tier =
@@ -3637,9 +3637,9 @@ module Orb
3637
3637
 
3638
3638
  type matrix_with_threshold_discounts =
3639
3639
  {
3640
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
3640
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
3641
3641
  item_id: String,
3642
- matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
3642
+ matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
3643
3643
  model_type: :matrix_with_threshold_discounts,
3644
3644
  name: String,
3645
3645
  billable_metric_id: String?,
@@ -3659,11 +3659,11 @@ module Orb
3659
3659
  }
3660
3660
 
3661
3661
  class MatrixWithThresholdDiscounts < Orb::Internal::Type::BaseModel
3662
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence
3662
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence
3663
3663
 
3664
3664
  attr_accessor item_id: String
3665
3665
 
3666
- attr_accessor matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
3666
+ attr_accessor matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig
3667
3667
 
3668
3668
  attr_accessor model_type: :matrix_with_threshold_discounts
3669
3669
 
@@ -3698,9 +3698,9 @@ module Orb
3698
3698
  attr_accessor reference_id: String?
3699
3699
 
3700
3700
  def initialize: (
3701
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
3701
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
3702
3702
  item_id: String,
3703
- matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
3703
+ matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
3704
3704
  name: String,
3705
3705
  ?billable_metric_id: String?,
3706
3706
  ?billed_in_advance: bool?,
@@ -3720,9 +3720,9 @@ module Orb
3720
3720
  ) -> void
3721
3721
 
3722
3722
  def to_hash: -> {
3723
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
3723
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence,
3724
3724
  item_id: String,
3725
- matrix_with_threshold_discounts_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
3725
+ matrix_with_threshold_discounts_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig,
3726
3726
  model_type: :matrix_with_threshold_discounts,
3727
3727
  name: String,
3728
3728
  billable_metric_id: String?,
@@ -3759,16 +3759,16 @@ module Orb
3759
3759
  ANNUAL: :annual
3760
3760
  CUSTOM: :custom
3761
3761
 
3762
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence]
3762
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::cadence]
3763
3763
  end
3764
3764
 
3765
3765
  type matrix_with_threshold_discounts_config =
3766
3766
  {
3767
3767
  default_unit_amount: String,
3768
3768
  first_dimension: String,
3769
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
3769
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
3770
3770
  second_dimension: String?,
3771
- threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3771
+ threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3772
3772
  }
3773
3773
 
3774
3774
  class MatrixWithThresholdDiscountsConfig < Orb::Internal::Type::BaseModel
@@ -3776,30 +3776,30 @@ module Orb
3776
3776
 
3777
3777
  attr_accessor first_dimension: String
3778
3778
 
3779
- attr_accessor matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
3779
+ attr_accessor matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue]
3780
3780
 
3781
3781
  attr_accessor second_dimension: String?
3782
3782
 
3783
- attr_reader threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
3783
+ attr_reader threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]?
3784
3784
 
3785
3785
  def threshold_discount_groups=: (
3786
- ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3787
- ) -> ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3786
+ ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3787
+ ) -> ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3788
3788
 
3789
3789
  def initialize: (
3790
3790
  default_unit_amount: String,
3791
3791
  first_dimension: String,
3792
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
3792
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
3793
3793
  ?second_dimension: String?,
3794
- ?threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3794
+ ?threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3795
3795
  ) -> void
3796
3796
 
3797
3797
  def to_hash: -> {
3798
3798
  default_unit_amount: String,
3799
3799
  first_dimension: String,
3800
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
3800
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::MatrixValue],
3801
3801
  second_dimension: String?,
3802
- threshold_discount_groups: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3802
+ threshold_discount_groups: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MatrixWithThresholdDiscounts::MatrixWithThresholdDiscountsConfig::ThresholdDiscountGroup]
3803
3803
  }
3804
3804
 
3805
3805
  type matrix_value =
@@ -3870,11 +3870,11 @@ module Orb
3870
3870
 
3871
3871
  type tiered_with_proration =
3872
3872
  {
3873
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
3873
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
3874
3874
  item_id: String,
3875
3875
  model_type: :tiered_with_proration,
3876
3876
  name: String,
3877
- tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
3877
+ tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
3878
3878
  billable_metric_id: String?,
3879
3879
  billed_in_advance: bool?,
3880
3880
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -3892,7 +3892,7 @@ module Orb
3892
3892
  }
3893
3893
 
3894
3894
  class TieredWithProration < Orb::Internal::Type::BaseModel
3895
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence
3895
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence
3896
3896
 
3897
3897
  attr_accessor item_id: String
3898
3898
 
@@ -3900,7 +3900,7 @@ module Orb
3900
3900
 
3901
3901
  attr_accessor name: String
3902
3902
 
3903
- attr_accessor tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig
3903
+ attr_accessor tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig
3904
3904
 
3905
3905
  attr_accessor billable_metric_id: String?
3906
3906
 
@@ -3931,10 +3931,10 @@ module Orb
3931
3931
  attr_accessor reference_id: String?
3932
3932
 
3933
3933
  def initialize: (
3934
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
3934
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
3935
3935
  item_id: String,
3936
3936
  name: String,
3937
- tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
3937
+ tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
3938
3938
  ?billable_metric_id: String?,
3939
3939
  ?billed_in_advance: bool?,
3940
3940
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -3953,11 +3953,11 @@ module Orb
3953
3953
  ) -> void
3954
3954
 
3955
3955
  def to_hash: -> {
3956
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
3956
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence,
3957
3957
  item_id: String,
3958
3958
  model_type: :tiered_with_proration,
3959
3959
  name: String,
3960
- tiered_with_proration_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
3960
+ tiered_with_proration_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig,
3961
3961
  billable_metric_id: String?,
3962
3962
  billed_in_advance: bool?,
3963
3963
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -3992,23 +3992,23 @@ module Orb
3992
3992
  ANNUAL: :annual
3993
3993
  CUSTOM: :custom
3994
3994
 
3995
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence]
3995
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::cadence]
3996
3996
  end
3997
3997
 
3998
3998
  type tiered_with_proration_config =
3999
3999
  {
4000
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4000
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4001
4001
  }
4002
4002
 
4003
4003
  class TieredWithProrationConfig < Orb::Internal::Type::BaseModel
4004
- attr_accessor tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4004
+ attr_accessor tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4005
4005
 
4006
4006
  def initialize: (
4007
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4007
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4008
4008
  ) -> void
4009
4009
 
4010
4010
  def to_hash: -> {
4011
- tiers: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4011
+ tiers: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::TieredWithProration::TieredWithProrationConfig::Tier]
4012
4012
  }
4013
4013
 
4014
4014
  type tier = { tier_lower_bound: String, unit_amount: String }
@@ -4033,8 +4033,8 @@ module Orb
4033
4033
 
4034
4034
  type grouped_with_min_max_thresholds =
4035
4035
  {
4036
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
4037
- grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
4036
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
4037
+ grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
4038
4038
  item_id: String,
4039
4039
  model_type: :grouped_with_min_max_thresholds,
4040
4040
  name: String,
@@ -4055,9 +4055,9 @@ module Orb
4055
4055
  }
4056
4056
 
4057
4057
  class GroupedWithMinMaxThresholds < Orb::Internal::Type::BaseModel
4058
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence
4058
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence
4059
4059
 
4060
- attr_accessor grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig
4060
+ attr_accessor grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig
4061
4061
 
4062
4062
  attr_accessor item_id: String
4063
4063
 
@@ -4094,8 +4094,8 @@ module Orb
4094
4094
  attr_accessor reference_id: String?
4095
4095
 
4096
4096
  def initialize: (
4097
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
4098
- grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
4097
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
4098
+ grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
4099
4099
  item_id: String,
4100
4100
  name: String,
4101
4101
  ?billable_metric_id: String?,
@@ -4116,8 +4116,8 @@ module Orb
4116
4116
  ) -> void
4117
4117
 
4118
4118
  def to_hash: -> {
4119
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
4120
- grouped_with_min_max_thresholds_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
4119
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence,
4120
+ grouped_with_min_max_thresholds_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::GroupedWithMinMaxThresholdsConfig,
4121
4121
  item_id: String,
4122
4122
  model_type: :grouped_with_min_max_thresholds,
4123
4123
  name: String,
@@ -4155,7 +4155,7 @@ module Orb
4155
4155
  ANNUAL: :annual
4156
4156
  CUSTOM: :custom
4157
4157
 
4158
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence]
4158
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::GroupedWithMinMaxThresholds::cadence]
4159
4159
  end
4160
4160
 
4161
4161
  type grouped_with_min_max_thresholds_config =
@@ -4193,8 +4193,8 @@ module Orb
4193
4193
 
4194
4194
  type cumulative_grouped_allocation =
4195
4195
  {
4196
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
4197
- cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
4196
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
4197
+ cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
4198
4198
  item_id: String,
4199
4199
  model_type: :cumulative_grouped_allocation,
4200
4200
  name: String,
@@ -4215,9 +4215,9 @@ module Orb
4215
4215
  }
4216
4216
 
4217
4217
  class CumulativeGroupedAllocation < Orb::Internal::Type::BaseModel
4218
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence
4218
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence
4219
4219
 
4220
- attr_accessor cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig
4220
+ attr_accessor cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig
4221
4221
 
4222
4222
  attr_accessor item_id: String
4223
4223
 
@@ -4254,8 +4254,8 @@ module Orb
4254
4254
  attr_accessor reference_id: String?
4255
4255
 
4256
4256
  def initialize: (
4257
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
4258
- cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
4257
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
4258
+ cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
4259
4259
  item_id: String,
4260
4260
  name: String,
4261
4261
  ?billable_metric_id: String?,
@@ -4276,8 +4276,8 @@ module Orb
4276
4276
  ) -> void
4277
4277
 
4278
4278
  def to_hash: -> {
4279
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
4280
- cumulative_grouped_allocation_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
4279
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence,
4280
+ cumulative_grouped_allocation_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::CumulativeGroupedAllocationConfig,
4281
4281
  item_id: String,
4282
4282
  model_type: :cumulative_grouped_allocation,
4283
4283
  name: String,
@@ -4315,7 +4315,7 @@ module Orb
4315
4315
  ANNUAL: :annual
4316
4316
  CUSTOM: :custom
4317
4317
 
4318
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence]
4318
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::CumulativeGroupedAllocation::cadence]
4319
4319
  end
4320
4320
 
4321
4321
  type cumulative_grouped_allocation_config =
@@ -4353,8 +4353,8 @@ module Orb
4353
4353
 
4354
4354
  type daily_credit_allowance =
4355
4355
  {
4356
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
4357
- daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
4356
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
4357
+ daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
4358
4358
  item_id: String,
4359
4359
  model_type: :daily_credit_allowance,
4360
4360
  name: String,
@@ -4375,9 +4375,9 @@ module Orb
4375
4375
  }
4376
4376
 
4377
4377
  class DailyCreditAllowance < Orb::Internal::Type::BaseModel
4378
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence
4378
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence
4379
4379
 
4380
- attr_accessor daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
4380
+ attr_accessor daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig
4381
4381
 
4382
4382
  attr_accessor item_id: String
4383
4383
 
@@ -4414,8 +4414,8 @@ module Orb
4414
4414
  attr_accessor reference_id: String?
4415
4415
 
4416
4416
  def initialize: (
4417
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
4418
- daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
4417
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
4418
+ daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
4419
4419
  item_id: String,
4420
4420
  name: String,
4421
4421
  ?billable_metric_id: String?,
@@ -4436,8 +4436,8 @@ module Orb
4436
4436
  ) -> void
4437
4437
 
4438
4438
  def to_hash: -> {
4439
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
4440
- daily_credit_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
4439
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence,
4440
+ daily_credit_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig,
4441
4441
  item_id: String,
4442
4442
  model_type: :daily_credit_allowance,
4443
4443
  name: String,
@@ -4475,7 +4475,7 @@ module Orb
4475
4475
  ANNUAL: :annual
4476
4476
  CUSTOM: :custom
4477
4477
 
4478
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence]
4478
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::cadence]
4479
4479
  end
4480
4480
 
4481
4481
  type daily_credit_allowance_config =
@@ -4484,7 +4484,7 @@ module Orb
4484
4484
  default_unit_amount: String,
4485
4485
  dimensions: ::Array[String?],
4486
4486
  event_day_property: String,
4487
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4487
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4488
4488
  }
4489
4489
 
4490
4490
  class DailyCreditAllowanceConfig < Orb::Internal::Type::BaseModel
@@ -4496,14 +4496,14 @@ module Orb
4496
4496
 
4497
4497
  attr_accessor event_day_property: String
4498
4498
 
4499
- attr_accessor matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4499
+ attr_accessor matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4500
4500
 
4501
4501
  def initialize: (
4502
4502
  daily_allowance: String,
4503
4503
  default_unit_amount: String,
4504
4504
  dimensions: ::Array[String?],
4505
4505
  event_day_property: String,
4506
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4506
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4507
4507
  ) -> void
4508
4508
 
4509
4509
  def to_hash: -> {
@@ -4511,7 +4511,7 @@ module Orb
4511
4511
  default_unit_amount: String,
4512
4512
  dimensions: ::Array[String?],
4513
4513
  event_day_property: String,
4514
- matrix_values: ::Array[Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4514
+ matrix_values: ::Array[Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::DailyCreditAllowance::DailyCreditAllowanceConfig::MatrixValue]
4515
4515
  }
4516
4516
 
4517
4517
  type matrix_value =
@@ -4537,9 +4537,9 @@ module Orb
4537
4537
 
4538
4538
  type metered_allowance =
4539
4539
  {
4540
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
4540
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
4541
4541
  item_id: String,
4542
- metered_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
4542
+ metered_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
4543
4543
  model_type: :metered_allowance,
4544
4544
  name: String,
4545
4545
  billable_metric_id: String?,
@@ -4559,11 +4559,11 @@ module Orb
4559
4559
  }
4560
4560
 
4561
4561
  class MeteredAllowance < Orb::Internal::Type::BaseModel
4562
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence
4562
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence
4563
4563
 
4564
4564
  attr_accessor item_id: String
4565
4565
 
4566
- attr_accessor metered_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig
4566
+ attr_accessor metered_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig
4567
4567
 
4568
4568
  attr_accessor model_type: :metered_allowance
4569
4569
 
@@ -4598,9 +4598,9 @@ module Orb
4598
4598
  attr_accessor reference_id: String?
4599
4599
 
4600
4600
  def initialize: (
4601
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
4601
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
4602
4602
  item_id: String,
4603
- metered_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
4603
+ metered_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
4604
4604
  name: String,
4605
4605
  ?billable_metric_id: String?,
4606
4606
  ?billed_in_advance: bool?,
@@ -4620,9 +4620,9 @@ module Orb
4620
4620
  ) -> void
4621
4621
 
4622
4622
  def to_hash: -> {
4623
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
4623
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence,
4624
4624
  item_id: String,
4625
- metered_allowance_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
4625
+ metered_allowance_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::MeteredAllowanceConfig,
4626
4626
  model_type: :metered_allowance,
4627
4627
  name: String,
4628
4628
  billable_metric_id: String?,
@@ -4659,7 +4659,7 @@ module Orb
4659
4659
  ANNUAL: :annual
4660
4660
  CUSTOM: :custom
4661
4661
 
4662
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence]
4662
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::MeteredAllowance::cadence]
4663
4663
  end
4664
4664
 
4665
4665
  type metered_allowance_config =
@@ -4711,11 +4711,11 @@ module Orb
4711
4711
 
4712
4712
  type percent =
4713
4713
  {
4714
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
4714
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
4715
4715
  item_id: String,
4716
4716
  model_type: :percent,
4717
4717
  name: String,
4718
- percent_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
4718
+ percent_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
4719
4719
  billable_metric_id: String?,
4720
4720
  billed_in_advance: bool?,
4721
4721
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -4733,7 +4733,7 @@ module Orb
4733
4733
  }
4734
4734
 
4735
4735
  class Percent < Orb::Internal::Type::BaseModel
4736
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence
4736
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence
4737
4737
 
4738
4738
  attr_accessor item_id: String
4739
4739
 
@@ -4741,7 +4741,7 @@ module Orb
4741
4741
 
4742
4742
  attr_accessor name: String
4743
4743
 
4744
- attr_accessor percent_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig
4744
+ attr_accessor percent_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig
4745
4745
 
4746
4746
  attr_accessor billable_metric_id: String?
4747
4747
 
@@ -4772,10 +4772,10 @@ module Orb
4772
4772
  attr_accessor reference_id: String?
4773
4773
 
4774
4774
  def initialize: (
4775
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
4775
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
4776
4776
  item_id: String,
4777
4777
  name: String,
4778
- percent_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
4778
+ percent_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
4779
4779
  ?billable_metric_id: String?,
4780
4780
  ?billed_in_advance: bool?,
4781
4781
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -4794,11 +4794,11 @@ module Orb
4794
4794
  ) -> void
4795
4795
 
4796
4796
  def to_hash: -> {
4797
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
4797
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence,
4798
4798
  item_id: String,
4799
4799
  model_type: :percent,
4800
4800
  name: String,
4801
- percent_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
4801
+ percent_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::PercentConfig,
4802
4802
  billable_metric_id: String?,
4803
4803
  billed_in_advance: bool?,
4804
4804
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -4833,7 +4833,7 @@ module Orb
4833
4833
  ANNUAL: :annual
4834
4834
  CUSTOM: :custom
4835
4835
 
4836
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence]
4836
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::Percent::cadence]
4837
4837
  end
4838
4838
 
4839
4839
  type percent_config =
@@ -4873,8 +4873,8 @@ module Orb
4873
4873
 
4874
4874
  type event_output =
4875
4875
  {
4876
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
4877
- event_output_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
4876
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
4877
+ event_output_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
4878
4878
  item_id: String,
4879
4879
  model_type: :event_output,
4880
4880
  name: String,
@@ -4895,9 +4895,9 @@ module Orb
4895
4895
  }
4896
4896
 
4897
4897
  class EventOutput < Orb::Internal::Type::BaseModel
4898
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence
4898
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence
4899
4899
 
4900
- attr_accessor event_output_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig
4900
+ attr_accessor event_output_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig
4901
4901
 
4902
4902
  attr_accessor item_id: String
4903
4903
 
@@ -4934,8 +4934,8 @@ module Orb
4934
4934
  attr_accessor reference_id: String?
4935
4935
 
4936
4936
  def initialize: (
4937
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
4938
- event_output_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
4937
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
4938
+ event_output_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
4939
4939
  item_id: String,
4940
4940
  name: String,
4941
4941
  ?billable_metric_id: String?,
@@ -4956,8 +4956,8 @@ module Orb
4956
4956
  ) -> void
4957
4957
 
4958
4958
  def to_hash: -> {
4959
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
4960
- event_output_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
4959
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence,
4960
+ event_output_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::EventOutputConfig,
4961
4961
  item_id: String,
4962
4962
  model_type: :event_output,
4963
4963
  name: String,
@@ -4995,7 +4995,7 @@ module Orb
4995
4995
  ANNUAL: :annual
4996
4996
  CUSTOM: :custom
4997
4997
 
4998
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence]
4998
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::EventOutput::cadence]
4999
4999
  end
5000
5000
 
5001
5001
  type event_output_config =
@@ -5028,11 +5028,11 @@ module Orb
5028
5028
 
5029
5029
  type unit_with_multiplier =
5030
5030
  {
5031
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
5031
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
5032
5032
  item_id: String,
5033
5033
  model_type: :unit_with_multiplier,
5034
5034
  name: String,
5035
- unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
5035
+ unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
5036
5036
  billable_metric_id: String?,
5037
5037
  billed_in_advance: bool?,
5038
5038
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -5050,7 +5050,7 @@ module Orb
5050
5050
  }
5051
5051
 
5052
5052
  class UnitWithMultiplier < Orb::Internal::Type::BaseModel
5053
- attr_accessor cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence
5053
+ attr_accessor cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence
5054
5054
 
5055
5055
  attr_accessor item_id: String
5056
5056
 
@@ -5058,7 +5058,7 @@ module Orb
5058
5058
 
5059
5059
  attr_accessor name: String
5060
5060
 
5061
- attr_accessor unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig
5061
+ attr_accessor unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig
5062
5062
 
5063
5063
  attr_accessor billable_metric_id: String?
5064
5064
 
@@ -5089,10 +5089,10 @@ module Orb
5089
5089
  attr_accessor reference_id: String?
5090
5090
 
5091
5091
  def initialize: (
5092
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
5092
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
5093
5093
  item_id: String,
5094
5094
  name: String,
5095
- unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
5095
+ unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
5096
5096
  ?billable_metric_id: String?,
5097
5097
  ?billed_in_advance: bool?,
5098
5098
  ?billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -5111,11 +5111,11 @@ module Orb
5111
5111
  ) -> void
5112
5112
 
5113
5113
  def to_hash: -> {
5114
- cadence: Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
5114
+ cadence: Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence,
5115
5115
  item_id: String,
5116
5116
  model_type: :unit_with_multiplier,
5117
5117
  name: String,
5118
- unit_with_multiplier_config: Orb::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
5118
+ unit_with_multiplier_config: Orb::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::UnitWithMultiplierConfig,
5119
5119
  billable_metric_id: String?,
5120
5120
  billed_in_advance: bool?,
5121
5121
  billing_cycle_configuration: Orb::NewBillingCycleConfiguration?,
@@ -5150,7 +5150,7 @@ module Orb
5150
5150
  ANNUAL: :annual
5151
5151
  CUSTOM: :custom
5152
5152
 
5153
- def self?.values: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence]
5153
+ def self?.values: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::Price::UnitWithMultiplier::cadence]
5154
5154
  end
5155
5155
 
5156
5156
  type unit_with_multiplier_config =
@@ -5186,7 +5186,7 @@ module Orb
5186
5186
  end
5187
5187
  end
5188
5188
 
5189
- def self?.variants: -> ::Array[Orb::Models::BetaCreatePlanVersionParams::ReplacePrice::price]
5189
+ def self?.variants: -> ::Array[Orb::Models::PlanCreatePlanVersionParams::ReplacePrice::price]
5190
5190
  end
5191
5191
  end
5192
5192
  end