orb-billing 0.3.2 → 0.5.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 (246) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/README.md +95 -55
  4. data/lib/orb/client.rb +4 -4
  5. data/lib/orb/errors.rb +1 -1
  6. data/lib/orb/internal/transport/base_client.rb +74 -5
  7. data/lib/orb/internal/transport/pooled_net_requester.rb +17 -1
  8. data/lib/orb/internal/type/array_of.rb +1 -1
  9. data/lib/orb/internal/type/base_model.rb +70 -30
  10. data/lib/orb/internal/type/converter.rb +18 -0
  11. data/lib/orb/internal/type/enum.rb +1 -0
  12. data/lib/orb/internal/type/hash_of.rb +1 -1
  13. data/lib/orb/internal/type/union.rb +1 -0
  14. data/lib/orb/internal/util.rb +56 -0
  15. data/lib/orb/internal.rb +6 -0
  16. data/lib/orb/models/coupon.rb +4 -0
  17. data/lib/orb/models/coupon_create_params.rb +6 -0
  18. data/lib/orb/models/customer_create_params.rb +9 -0
  19. data/lib/orb/models/customer_update_by_external_id_params.rb +9 -0
  20. data/lib/orb/models/customer_update_params.rb +9 -0
  21. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +14 -0
  22. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +14 -0
  23. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +14 -0
  24. data/lib/orb/models/customers/credits/ledger_list_response.rb +14 -0
  25. data/lib/orb/models/discount.rb +6 -0
  26. data/lib/orb/models/evaluate_price_group.rb +4 -0
  27. data/lib/orb/models/invoice.rb +22 -0
  28. data/lib/orb/models/invoice_fetch_upcoming_response.rb +22 -0
  29. data/lib/orb/models/invoice_level_discount.rb +4 -0
  30. data/lib/orb/models/invoice_line_item_create_response.rb +22 -0
  31. data/lib/orb/models/plan.rb +12 -0
  32. data/lib/orb/models/plan_create_params.rb +32 -0
  33. data/lib/orb/models/price.rb +35 -0
  34. data/lib/orb/models/subscription.rb +22 -0
  35. data/lib/orb/models/subscription_cancel_response.rb +22 -0
  36. data/lib/orb/models/subscription_change_apply_response.rb +22 -0
  37. data/lib/orb/models/subscription_change_cancel_response.rb +22 -0
  38. data/lib/orb/models/subscription_change_retrieve_response.rb +22 -0
  39. data/lib/orb/models/subscription_create_params.rb +88 -0
  40. data/lib/orb/models/subscription_create_response.rb +22 -0
  41. data/lib/orb/models/subscription_price_intervals_params.rb +89 -0
  42. data/lib/orb/models/subscription_price_intervals_response.rb +22 -0
  43. data/lib/orb/models/subscription_schedule_plan_change_params.rb +88 -0
  44. data/lib/orb/models/subscription_schedule_plan_change_response.rb +22 -0
  45. data/lib/orb/models/subscription_trigger_phase_response.rb +22 -0
  46. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +22 -0
  47. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +22 -0
  48. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +22 -0
  49. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +22 -0
  50. data/lib/orb/models/subscription_update_trial_params.rb +4 -0
  51. data/lib/orb/models/subscription_update_trial_response.rb +22 -0
  52. data/lib/orb/models/subscription_usage.rb +9 -0
  53. data/lib/orb/models.rb +24 -0
  54. data/lib/orb/request_options.rb +4 -0
  55. data/lib/orb/version.rb +1 -1
  56. data/lib/orb.rb +2 -0
  57. data/rbi/orb/internal/page.rbi +2 -1
  58. data/rbi/orb/internal/transport/base_client.rbi +31 -8
  59. data/rbi/orb/internal/transport/pooled_net_requester.rbi +10 -5
  60. data/rbi/orb/internal/type/base_model.rbi +31 -15
  61. data/rbi/orb/internal/type/base_page.rbi +1 -1
  62. data/rbi/orb/internal/type/converter.rbi +2 -0
  63. data/rbi/orb/internal/type/enum.rbi +1 -0
  64. data/rbi/orb/internal/type/union.rbi +1 -0
  65. data/rbi/orb/internal/util.rbi +28 -7
  66. data/rbi/orb/internal.rbi +2 -0
  67. data/rbi/orb/models/alert.rbi +13 -6
  68. data/rbi/orb/models/alert_create_for_customer_params.rbi +11 -2
  69. data/rbi/orb/models/alert_create_for_external_customer_params.rbi +14 -2
  70. data/rbi/orb/models/alert_create_for_subscription_params.rbi +11 -2
  71. data/rbi/orb/models/alert_disable_params.rbi +2 -1
  72. data/rbi/orb/models/alert_enable_params.rbi +2 -1
  73. data/rbi/orb/models/alert_list_params.rbi +2 -1
  74. data/rbi/orb/models/alert_retrieve_params.rbi +2 -1
  75. data/rbi/orb/models/alert_update_params.rbi +6 -2
  76. data/rbi/orb/models/amount_discount.rbi +2 -1
  77. data/rbi/orb/models/billable_metric.rbi +2 -1
  78. data/rbi/orb/models/coupon.rbi +1 -1
  79. data/rbi/orb/models/coupon_archive_params.rbi +2 -1
  80. data/rbi/orb/models/coupon_create_params.rbi +16 -3
  81. data/rbi/orb/models/coupon_fetch_params.rbi +2 -1
  82. data/rbi/orb/models/coupon_list_params.rbi +2 -1
  83. data/rbi/orb/models/coupons/subscription_list_params.rbi +4 -1
  84. data/rbi/orb/models/credit_note.rbi +45 -9
  85. data/rbi/orb/models/credit_note_create_params.rbi +8 -2
  86. data/rbi/orb/models/credit_note_fetch_params.rbi +4 -1
  87. data/rbi/orb/models/credit_note_list_params.rbi +4 -1
  88. data/rbi/orb/models/customer.rbi +41 -10
  89. data/rbi/orb/models/customer_create_params.rbi +61 -10
  90. data/rbi/orb/models/customer_delete_params.rbi +4 -1
  91. data/rbi/orb/models/customer_fetch_by_external_id_params.rbi +4 -1
  92. data/rbi/orb/models/customer_fetch_params.rbi +2 -1
  93. data/rbi/orb/models/customer_list_params.rbi +2 -1
  94. data/rbi/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +7 -1
  95. data/rbi/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +7 -1
  96. data/rbi/orb/models/customer_update_by_external_id_params.rbi +67 -10
  97. data/rbi/orb/models/customer_update_params.rbi +61 -10
  98. data/rbi/orb/models/customers/balance_transaction_create_params.rbi +7 -1
  99. data/rbi/orb/models/customers/balance_transaction_create_response.rbi +21 -3
  100. data/rbi/orb/models/customers/balance_transaction_list_params.rbi +7 -1
  101. data/rbi/orb/models/customers/balance_transaction_list_response.rbi +21 -3
  102. data/rbi/orb/models/customers/cost_list_by_external_id_params.rbi +7 -1
  103. data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +21 -3
  104. data/rbi/orb/models/customers/cost_list_params.rbi +4 -1
  105. data/rbi/orb/models/customers/cost_list_response.rbi +21 -3
  106. data/rbi/orb/models/customers/credit_list_by_external_id_params.rbi +7 -1
  107. data/rbi/orb/models/customers/credit_list_by_external_id_response.rbi +7 -1
  108. data/rbi/orb/models/customers/credit_list_params.rbi +4 -1
  109. data/rbi/orb/models/customers/credit_list_response.rbi +7 -1
  110. data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +14 -2
  111. data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +133 -21
  112. data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +14 -2
  113. data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +133 -21
  114. data/rbi/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +7 -1
  115. data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +133 -21
  116. data/rbi/orb/models/customers/credits/ledger_list_params.rbi +7 -1
  117. data/rbi/orb/models/customers/credits/ledger_list_response.rbi +133 -21
  118. data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -2
  119. data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +14 -2
  120. data/rbi/orb/models/customers/credits/top_up_create_params.rbi +14 -2
  121. data/rbi/orb/models/customers/credits/top_up_create_response.rbi +14 -2
  122. data/rbi/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +7 -1
  123. data/rbi/orb/models/customers/credits/top_up_delete_params.rbi +7 -1
  124. data/rbi/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +7 -1
  125. data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +14 -2
  126. data/rbi/orb/models/customers/credits/top_up_list_params.rbi +7 -1
  127. data/rbi/orb/models/customers/credits/top_up_list_response.rbi +14 -2
  128. data/rbi/orb/models/dimensional_price_group.rbi +4 -1
  129. data/rbi/orb/models/dimensional_price_group_create_params.rbi +4 -1
  130. data/rbi/orb/models/dimensional_price_group_list_params.rbi +4 -1
  131. data/rbi/orb/models/dimensional_price_group_retrieve_params.rbi +7 -1
  132. data/rbi/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +7 -1
  133. data/rbi/orb/models/dimensional_price_groups.rbi +4 -1
  134. data/rbi/orb/models/evaluate_price_group.rbi +2 -1
  135. data/rbi/orb/models/event_deprecate_params.rbi +4 -1
  136. data/rbi/orb/models/event_deprecate_response.rbi +4 -1
  137. data/rbi/orb/models/event_ingest_params.rbi +6 -2
  138. data/rbi/orb/models/event_ingest_response.rbi +18 -3
  139. data/rbi/orb/models/event_search_params.rbi +2 -1
  140. data/rbi/orb/models/event_search_response.rbi +11 -2
  141. data/rbi/orb/models/event_update_params.rbi +2 -1
  142. data/rbi/orb/models/event_update_response.rbi +4 -1
  143. data/rbi/orb/models/events/backfill_close_params.rbi +4 -1
  144. data/rbi/orb/models/events/backfill_close_response.rbi +7 -1
  145. data/rbi/orb/models/events/backfill_create_params.rbi +4 -1
  146. data/rbi/orb/models/events/backfill_create_response.rbi +7 -1
  147. data/rbi/orb/models/events/backfill_fetch_params.rbi +4 -1
  148. data/rbi/orb/models/events/backfill_fetch_response.rbi +7 -1
  149. data/rbi/orb/models/events/backfill_list_params.rbi +4 -1
  150. data/rbi/orb/models/events/backfill_list_response.rbi +7 -1
  151. data/rbi/orb/models/events/backfill_revert_params.rbi +4 -1
  152. data/rbi/orb/models/events/backfill_revert_response.rbi +7 -1
  153. data/rbi/orb/models/events/event_volumes.rbi +8 -2
  154. data/rbi/orb/models/events/volume_list_params.rbi +4 -1
  155. data/rbi/orb/models/invoice.rbi +156 -31
  156. data/rbi/orb/models/invoice_create_params.rbi +13 -3
  157. data/rbi/orb/models/invoice_fetch_params.rbi +2 -1
  158. data/rbi/orb/models/invoice_fetch_upcoming_params.rbi +4 -1
  159. data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +212 -31
  160. data/rbi/orb/models/invoice_issue_params.rbi +2 -1
  161. data/rbi/orb/models/invoice_line_item_create_params.rbi +4 -1
  162. data/rbi/orb/models/invoice_line_item_create_response.rbi +119 -17
  163. data/rbi/orb/models/invoice_list_params.rbi +2 -1
  164. data/rbi/orb/models/invoice_mark_paid_params.rbi +4 -1
  165. data/rbi/orb/models/invoice_pay_params.rbi +2 -1
  166. data/rbi/orb/models/invoice_update_params.rbi +2 -1
  167. data/rbi/orb/models/invoice_void_params.rbi +2 -1
  168. data/rbi/orb/models/item.rbi +5 -2
  169. data/rbi/orb/models/item_create_params.rbi +2 -1
  170. data/rbi/orb/models/item_fetch_params.rbi +2 -1
  171. data/rbi/orb/models/item_list_params.rbi +2 -1
  172. data/rbi/orb/models/item_update_params.rbi +9 -2
  173. data/rbi/orb/models/metric_create_params.rbi +2 -1
  174. data/rbi/orb/models/metric_fetch_params.rbi +2 -1
  175. data/rbi/orb/models/metric_list_params.rbi +2 -1
  176. data/rbi/orb/models/metric_update_params.rbi +2 -1
  177. data/rbi/orb/models/pagination_metadata.rbi +2 -1
  178. data/rbi/orb/models/percentage_discount.rbi +2 -1
  179. data/rbi/orb/models/plan.rbi +50 -14
  180. data/rbi/orb/models/plan_create_params.rbi +604 -89
  181. data/rbi/orb/models/plan_fetch_params.rbi +2 -1
  182. data/rbi/orb/models/plan_list_params.rbi +2 -1
  183. data/rbi/orb/models/plan_update_params.rbi +2 -1
  184. data/rbi/orb/models/plans/external_plan_id_fetch_params.rbi +4 -1
  185. data/rbi/orb/models/plans/external_plan_id_update_params.rbi +7 -1
  186. data/rbi/orb/models/price.rbi +1624 -270
  187. data/rbi/orb/models/price_create_params.rbi +100 -18
  188. data/rbi/orb/models/price_evaluate_params.rbi +2 -1
  189. data/rbi/orb/models/price_evaluate_response.rbi +4 -1
  190. data/rbi/orb/models/price_fetch_params.rbi +2 -1
  191. data/rbi/orb/models/price_list_params.rbi +2 -1
  192. data/rbi/orb/models/price_update_params.rbi +2 -1
  193. data/rbi/orb/models/prices/external_price_id_fetch_params.rbi +7 -1
  194. data/rbi/orb/models/prices/external_price_id_update_params.rbi +7 -1
  195. data/rbi/orb/models/subscription.rbi +109 -19
  196. data/rbi/orb/models/subscription_cancel_params.rbi +4 -1
  197. data/rbi/orb/models/subscription_cancel_response.rbi +137 -20
  198. data/rbi/orb/models/subscription_change_apply_params.rbi +4 -1
  199. data/rbi/orb/models/subscription_change_apply_response.rbi +142 -21
  200. data/rbi/orb/models/subscription_change_cancel_params.rbi +4 -1
  201. data/rbi/orb/models/subscription_change_cancel_response.rbi +142 -21
  202. data/rbi/orb/models/subscription_change_retrieve_params.rbi +4 -1
  203. data/rbi/orb/models/subscription_change_retrieve_response.rbi +142 -21
  204. data/rbi/orb/models/subscription_create_params.rbi +1257 -198
  205. data/rbi/orb/models/subscription_create_response.rbi +137 -20
  206. data/rbi/orb/models/subscription_fetch_costs_params.rbi +4 -1
  207. data/rbi/orb/models/subscription_fetch_costs_response.rbi +21 -3
  208. data/rbi/orb/models/subscription_fetch_params.rbi +4 -1
  209. data/rbi/orb/models/subscription_fetch_schedule_params.rbi +4 -1
  210. data/rbi/orb/models/subscription_fetch_schedule_response.rbi +14 -2
  211. data/rbi/orb/models/subscription_fetch_usage_params.rbi +4 -1
  212. data/rbi/orb/models/subscription_list_params.rbi +4 -1
  213. data/rbi/orb/models/subscription_price_intervals_params.rbi +731 -115
  214. data/rbi/orb/models/subscription_price_intervals_response.rbi +140 -20
  215. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +1260 -198
  216. data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +140 -20
  217. data/rbi/orb/models/subscription_trigger_phase_params.rbi +4 -1
  218. data/rbi/orb/models/subscription_trigger_phase_response.rbi +140 -20
  219. data/rbi/orb/models/subscription_unschedule_cancellation_params.rbi +7 -1
  220. data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +140 -20
  221. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +7 -1
  222. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +140 -20
  223. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +7 -1
  224. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +140 -20
  225. data/rbi/orb/models/subscription_update_fixed_fee_quantity_params.rbi +7 -1
  226. data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +140 -20
  227. data/rbi/orb/models/subscription_update_params.rbi +4 -1
  228. data/rbi/orb/models/subscription_update_trial_params.rbi +4 -1
  229. data/rbi/orb/models/subscription_update_trial_response.rbi +140 -20
  230. data/rbi/orb/models/subscription_usage.rbi +63 -9
  231. data/rbi/orb/models/subscriptions.rbi +2 -1
  232. data/rbi/orb/models/top_level_ping_params.rbi +2 -1
  233. data/rbi/orb/models/top_level_ping_response.rbi +4 -1
  234. data/rbi/orb/models/trial_discount.rbi +2 -1
  235. data/rbi/orb/models/usage_discount.rbi +2 -1
  236. data/rbi/orb/request_options.rbi +1 -1
  237. data/sig/orb/internal/transport/base_client.rbs +16 -1
  238. data/sig/orb/internal/transport/pooled_net_requester.rbs +4 -0
  239. data/sig/orb/internal/type/base_model.rbs +11 -5
  240. data/sig/orb/internal/type/base_page.rbs +1 -1
  241. data/sig/orb/internal/type/converter.rbs +2 -0
  242. data/sig/orb/internal/type/enum.rbs +1 -0
  243. data/sig/orb/internal/type/union.rbs +1 -0
  244. data/sig/orb/internal/util.rbs +13 -0
  245. data/sig/orb/internal.rbs +2 -0
  246. metadata +2 -2
@@ -50,7 +50,8 @@ module Orb
50
50
  end
51
51
 
52
52
  class Unit < Orb::Internal::Type::BaseModel
53
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
53
+ OrHash =
54
+ T.type_alias { T.any(Orb::Price::Unit, Orb::Internal::AnyHash) }
54
55
 
55
56
  sig { returns(String) }
56
57
  attr_accessor :id
@@ -318,7 +319,10 @@ module Orb
318
319
  end
319
320
 
320
321
  class BillableMetric < Orb::Internal::Type::BaseModel
321
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
322
+ OrHash =
323
+ T.type_alias do
324
+ T.any(Orb::Price::Unit::BillableMetric, Orb::Internal::AnyHash)
325
+ end
322
326
 
323
327
  sig { returns(String) }
324
328
  attr_accessor :id
@@ -333,7 +337,13 @@ module Orb
333
337
  end
334
338
 
335
339
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
336
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
340
+ OrHash =
341
+ T.type_alias do
342
+ T.any(
343
+ Orb::Price::Unit::BillingCycleConfiguration,
344
+ Orb::Internal::AnyHash
345
+ )
346
+ end
337
347
 
338
348
  sig { returns(Integer) }
339
349
  attr_accessor :duration
@@ -425,7 +435,10 @@ module Orb
425
435
  end
426
436
 
427
437
  class CreditAllocation < Orb::Internal::Type::BaseModel
428
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
438
+ OrHash =
439
+ T.type_alias do
440
+ T.any(Orb::Price::Unit::CreditAllocation, Orb::Internal::AnyHash)
441
+ end
429
442
 
430
443
  sig { returns(T::Boolean) }
431
444
  attr_accessor :allows_rollover
@@ -449,7 +462,13 @@ module Orb
449
462
  end
450
463
 
451
464
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
452
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
465
+ OrHash =
466
+ T.type_alias do
467
+ T.any(
468
+ Orb::Price::Unit::InvoicingCycleConfiguration,
469
+ Orb::Internal::AnyHash
470
+ )
471
+ end
453
472
 
454
473
  sig { returns(Integer) }
455
474
  attr_accessor :duration
@@ -519,7 +538,10 @@ module Orb
519
538
  end
520
539
 
521
540
  class Item < Orb::Internal::Type::BaseModel
522
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
541
+ OrHash =
542
+ T.type_alias do
543
+ T.any(Orb::Price::Unit::Item, Orb::Internal::AnyHash)
544
+ end
523
545
 
524
546
  sig { returns(String) }
525
547
  attr_accessor :id
@@ -537,7 +559,10 @@ module Orb
537
559
  end
538
560
 
539
561
  class Maximum < Orb::Internal::Type::BaseModel
540
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
562
+ OrHash =
563
+ T.type_alias do
564
+ T.any(Orb::Price::Unit::Maximum, Orb::Internal::AnyHash)
565
+ end
541
566
 
542
567
  # List of price_ids that this maximum amount applies to. For plan/plan phase
543
568
  # maximums, this can be a subset of prices.
@@ -573,7 +598,10 @@ module Orb
573
598
  end
574
599
 
575
600
  class Minimum < Orb::Internal::Type::BaseModel
576
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
601
+ OrHash =
602
+ T.type_alias do
603
+ T.any(Orb::Price::Unit::Minimum, Orb::Internal::AnyHash)
604
+ end
577
605
 
578
606
  # List of price_ids that this minimum amount applies to. For plan/plan phase
579
607
  # minimums, this can be a subset of prices.
@@ -630,7 +658,10 @@ module Orb
630
658
  end
631
659
 
632
660
  class UnitConfig < Orb::Internal::Type::BaseModel
633
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
661
+ OrHash =
662
+ T.type_alias do
663
+ T.any(Orb::Price::Unit::UnitConfig, Orb::Internal::AnyHash)
664
+ end
634
665
 
635
666
  # Rate per unit of usage
636
667
  sig { returns(String) }
@@ -649,7 +680,13 @@ module Orb
649
680
  end
650
681
 
651
682
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
652
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
683
+ OrHash =
684
+ T.type_alias do
685
+ T.any(
686
+ Orb::Price::Unit::DimensionalPriceConfiguration,
687
+ Orb::Internal::AnyHash
688
+ )
689
+ end
653
690
 
654
691
  sig { returns(T::Array[String]) }
655
692
  attr_accessor :dimension_values
@@ -680,7 +717,8 @@ module Orb
680
717
  end
681
718
 
682
719
  class Package < Orb::Internal::Type::BaseModel
683
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
720
+ OrHash =
721
+ T.type_alias { T.any(Orb::Price::Package, Orb::Internal::AnyHash) }
684
722
 
685
723
  sig { returns(String) }
686
724
  attr_accessor :id
@@ -960,7 +998,10 @@ module Orb
960
998
  end
961
999
 
962
1000
  class BillableMetric < Orb::Internal::Type::BaseModel
963
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1001
+ OrHash =
1002
+ T.type_alias do
1003
+ T.any(Orb::Price::Package::BillableMetric, Orb::Internal::AnyHash)
1004
+ end
964
1005
 
965
1006
  sig { returns(String) }
966
1007
  attr_accessor :id
@@ -975,7 +1016,13 @@ module Orb
975
1016
  end
976
1017
 
977
1018
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
978
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1019
+ OrHash =
1020
+ T.type_alias do
1021
+ T.any(
1022
+ Orb::Price::Package::BillingCycleConfiguration,
1023
+ Orb::Internal::AnyHash
1024
+ )
1025
+ end
979
1026
 
980
1027
  sig { returns(Integer) }
981
1028
  attr_accessor :duration
@@ -1071,7 +1118,13 @@ module Orb
1071
1118
  end
1072
1119
 
1073
1120
  class CreditAllocation < Orb::Internal::Type::BaseModel
1074
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1121
+ OrHash =
1122
+ T.type_alias do
1123
+ T.any(
1124
+ Orb::Price::Package::CreditAllocation,
1125
+ Orb::Internal::AnyHash
1126
+ )
1127
+ end
1075
1128
 
1076
1129
  sig { returns(T::Boolean) }
1077
1130
  attr_accessor :allows_rollover
@@ -1095,7 +1148,13 @@ module Orb
1095
1148
  end
1096
1149
 
1097
1150
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1098
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1151
+ OrHash =
1152
+ T.type_alias do
1153
+ T.any(
1154
+ Orb::Price::Package::InvoicingCycleConfiguration,
1155
+ Orb::Internal::AnyHash
1156
+ )
1157
+ end
1099
1158
 
1100
1159
  sig { returns(Integer) }
1101
1160
  attr_accessor :duration
@@ -1165,7 +1224,10 @@ module Orb
1165
1224
  end
1166
1225
 
1167
1226
  class Item < Orb::Internal::Type::BaseModel
1168
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1227
+ OrHash =
1228
+ T.type_alias do
1229
+ T.any(Orb::Price::Package::Item, Orb::Internal::AnyHash)
1230
+ end
1169
1231
 
1170
1232
  sig { returns(String) }
1171
1233
  attr_accessor :id
@@ -1183,7 +1245,10 @@ module Orb
1183
1245
  end
1184
1246
 
1185
1247
  class Maximum < Orb::Internal::Type::BaseModel
1186
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1248
+ OrHash =
1249
+ T.type_alias do
1250
+ T.any(Orb::Price::Package::Maximum, Orb::Internal::AnyHash)
1251
+ end
1187
1252
 
1188
1253
  # List of price_ids that this maximum amount applies to. For plan/plan phase
1189
1254
  # maximums, this can be a subset of prices.
@@ -1219,7 +1284,10 @@ module Orb
1219
1284
  end
1220
1285
 
1221
1286
  class Minimum < Orb::Internal::Type::BaseModel
1222
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1287
+ OrHash =
1288
+ T.type_alias do
1289
+ T.any(Orb::Price::Package::Minimum, Orb::Internal::AnyHash)
1290
+ end
1223
1291
 
1224
1292
  # List of price_ids that this minimum amount applies to. For plan/plan phase
1225
1293
  # minimums, this can be a subset of prices.
@@ -1255,7 +1323,10 @@ module Orb
1255
1323
  end
1256
1324
 
1257
1325
  class PackageConfig < Orb::Internal::Type::BaseModel
1258
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1326
+ OrHash =
1327
+ T.type_alias do
1328
+ T.any(Orb::Price::Package::PackageConfig, Orb::Internal::AnyHash)
1329
+ end
1259
1330
 
1260
1331
  # A currency amount to rate usage by
1261
1332
  sig { returns(String) }
@@ -1309,7 +1380,13 @@ module Orb
1309
1380
  end
1310
1381
 
1311
1382
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
1312
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1383
+ OrHash =
1384
+ T.type_alias do
1385
+ T.any(
1386
+ Orb::Price::Package::DimensionalPriceConfiguration,
1387
+ Orb::Internal::AnyHash
1388
+ )
1389
+ end
1313
1390
 
1314
1391
  sig { returns(T::Array[String]) }
1315
1392
  attr_accessor :dimension_values
@@ -1340,7 +1417,8 @@ module Orb
1340
1417
  end
1341
1418
 
1342
1419
  class Matrix < Orb::Internal::Type::BaseModel
1343
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1420
+ OrHash =
1421
+ T.type_alias { T.any(Orb::Price::Matrix, Orb::Internal::AnyHash) }
1344
1422
 
1345
1423
  sig { returns(String) }
1346
1424
  attr_accessor :id
@@ -1616,7 +1694,10 @@ module Orb
1616
1694
  end
1617
1695
 
1618
1696
  class BillableMetric < Orb::Internal::Type::BaseModel
1619
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1697
+ OrHash =
1698
+ T.type_alias do
1699
+ T.any(Orb::Price::Matrix::BillableMetric, Orb::Internal::AnyHash)
1700
+ end
1620
1701
 
1621
1702
  sig { returns(String) }
1622
1703
  attr_accessor :id
@@ -1631,7 +1712,13 @@ module Orb
1631
1712
  end
1632
1713
 
1633
1714
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
1634
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1715
+ OrHash =
1716
+ T.type_alias do
1717
+ T.any(
1718
+ Orb::Price::Matrix::BillingCycleConfiguration,
1719
+ Orb::Internal::AnyHash
1720
+ )
1721
+ end
1635
1722
 
1636
1723
  sig { returns(Integer) }
1637
1724
  attr_accessor :duration
@@ -1726,7 +1813,13 @@ module Orb
1726
1813
  end
1727
1814
 
1728
1815
  class CreditAllocation < Orb::Internal::Type::BaseModel
1729
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1816
+ OrHash =
1817
+ T.type_alias do
1818
+ T.any(
1819
+ Orb::Price::Matrix::CreditAllocation,
1820
+ Orb::Internal::AnyHash
1821
+ )
1822
+ end
1730
1823
 
1731
1824
  sig { returns(T::Boolean) }
1732
1825
  attr_accessor :allows_rollover
@@ -1750,7 +1843,13 @@ module Orb
1750
1843
  end
1751
1844
 
1752
1845
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1753
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1846
+ OrHash =
1847
+ T.type_alias do
1848
+ T.any(
1849
+ Orb::Price::Matrix::InvoicingCycleConfiguration,
1850
+ Orb::Internal::AnyHash
1851
+ )
1852
+ end
1754
1853
 
1755
1854
  sig { returns(Integer) }
1756
1855
  attr_accessor :duration
@@ -1820,7 +1919,10 @@ module Orb
1820
1919
  end
1821
1920
 
1822
1921
  class Item < Orb::Internal::Type::BaseModel
1823
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1922
+ OrHash =
1923
+ T.type_alias do
1924
+ T.any(Orb::Price::Matrix::Item, Orb::Internal::AnyHash)
1925
+ end
1824
1926
 
1825
1927
  sig { returns(String) }
1826
1928
  attr_accessor :id
@@ -1838,7 +1940,10 @@ module Orb
1838
1940
  end
1839
1941
 
1840
1942
  class MatrixConfig < Orb::Internal::Type::BaseModel
1841
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1943
+ OrHash =
1944
+ T.type_alias do
1945
+ T.any(Orb::Price::Matrix::MatrixConfig, Orb::Internal::AnyHash)
1946
+ end
1842
1947
 
1843
1948
  # Default per unit rate for any usage not bucketed into a specified matrix_value
1844
1949
  sig { returns(String) }
@@ -1886,7 +1991,13 @@ module Orb
1886
1991
  end
1887
1992
 
1888
1993
  class MatrixValue < Orb::Internal::Type::BaseModel
1889
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1994
+ OrHash =
1995
+ T.type_alias do
1996
+ T.any(
1997
+ Orb::Price::Matrix::MatrixConfig::MatrixValue,
1998
+ Orb::Internal::AnyHash
1999
+ )
2000
+ end
1890
2001
 
1891
2002
  # One or two matrix keys to filter usage to this Matrix value by. For example,
1892
2003
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
@@ -1928,7 +2039,10 @@ module Orb
1928
2039
  end
1929
2040
 
1930
2041
  class Maximum < Orb::Internal::Type::BaseModel
1931
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2042
+ OrHash =
2043
+ T.type_alias do
2044
+ T.any(Orb::Price::Matrix::Maximum, Orb::Internal::AnyHash)
2045
+ end
1932
2046
 
1933
2047
  # List of price_ids that this maximum amount applies to. For plan/plan phase
1934
2048
  # maximums, this can be a subset of prices.
@@ -1964,7 +2078,10 @@ module Orb
1964
2078
  end
1965
2079
 
1966
2080
  class Minimum < Orb::Internal::Type::BaseModel
1967
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2081
+ OrHash =
2082
+ T.type_alias do
2083
+ T.any(Orb::Price::Matrix::Minimum, Orb::Internal::AnyHash)
2084
+ end
1968
2085
 
1969
2086
  # List of price_ids that this minimum amount applies to. For plan/plan phase
1970
2087
  # minimums, this can be a subset of prices.
@@ -2021,7 +2138,13 @@ module Orb
2021
2138
  end
2022
2139
 
2023
2140
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
2024
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2141
+ OrHash =
2142
+ T.type_alias do
2143
+ T.any(
2144
+ Orb::Price::Matrix::DimensionalPriceConfiguration,
2145
+ Orb::Internal::AnyHash
2146
+ )
2147
+ end
2025
2148
 
2026
2149
  sig { returns(T::Array[String]) }
2027
2150
  attr_accessor :dimension_values
@@ -2052,7 +2175,8 @@ module Orb
2052
2175
  end
2053
2176
 
2054
2177
  class Tiered < Orb::Internal::Type::BaseModel
2055
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2178
+ OrHash =
2179
+ T.type_alias { T.any(Orb::Price::Tiered, Orb::Internal::AnyHash) }
2056
2180
 
2057
2181
  sig { returns(String) }
2058
2182
  attr_accessor :id
@@ -2328,7 +2452,10 @@ module Orb
2328
2452
  end
2329
2453
 
2330
2454
  class BillableMetric < Orb::Internal::Type::BaseModel
2331
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2455
+ OrHash =
2456
+ T.type_alias do
2457
+ T.any(Orb::Price::Tiered::BillableMetric, Orb::Internal::AnyHash)
2458
+ end
2332
2459
 
2333
2460
  sig { returns(String) }
2334
2461
  attr_accessor :id
@@ -2343,7 +2470,13 @@ module Orb
2343
2470
  end
2344
2471
 
2345
2472
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2346
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2473
+ OrHash =
2474
+ T.type_alias do
2475
+ T.any(
2476
+ Orb::Price::Tiered::BillingCycleConfiguration,
2477
+ Orb::Internal::AnyHash
2478
+ )
2479
+ end
2347
2480
 
2348
2481
  sig { returns(Integer) }
2349
2482
  attr_accessor :duration
@@ -2438,7 +2571,13 @@ module Orb
2438
2571
  end
2439
2572
 
2440
2573
  class CreditAllocation < Orb::Internal::Type::BaseModel
2441
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2574
+ OrHash =
2575
+ T.type_alias do
2576
+ T.any(
2577
+ Orb::Price::Tiered::CreditAllocation,
2578
+ Orb::Internal::AnyHash
2579
+ )
2580
+ end
2442
2581
 
2443
2582
  sig { returns(T::Boolean) }
2444
2583
  attr_accessor :allows_rollover
@@ -2462,7 +2601,13 @@ module Orb
2462
2601
  end
2463
2602
 
2464
2603
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2465
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2604
+ OrHash =
2605
+ T.type_alias do
2606
+ T.any(
2607
+ Orb::Price::Tiered::InvoicingCycleConfiguration,
2608
+ Orb::Internal::AnyHash
2609
+ )
2610
+ end
2466
2611
 
2467
2612
  sig { returns(Integer) }
2468
2613
  attr_accessor :duration
@@ -2532,7 +2677,10 @@ module Orb
2532
2677
  end
2533
2678
 
2534
2679
  class Item < Orb::Internal::Type::BaseModel
2535
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2680
+ OrHash =
2681
+ T.type_alias do
2682
+ T.any(Orb::Price::Tiered::Item, Orb::Internal::AnyHash)
2683
+ end
2536
2684
 
2537
2685
  sig { returns(String) }
2538
2686
  attr_accessor :id
@@ -2550,7 +2698,10 @@ module Orb
2550
2698
  end
2551
2699
 
2552
2700
  class Maximum < Orb::Internal::Type::BaseModel
2553
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2701
+ OrHash =
2702
+ T.type_alias do
2703
+ T.any(Orb::Price::Tiered::Maximum, Orb::Internal::AnyHash)
2704
+ end
2554
2705
 
2555
2706
  # List of price_ids that this maximum amount applies to. For plan/plan phase
2556
2707
  # maximums, this can be a subset of prices.
@@ -2586,7 +2737,10 @@ module Orb
2586
2737
  end
2587
2738
 
2588
2739
  class Minimum < Orb::Internal::Type::BaseModel
2589
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2740
+ OrHash =
2741
+ T.type_alias do
2742
+ T.any(Orb::Price::Tiered::Minimum, Orb::Internal::AnyHash)
2743
+ end
2590
2744
 
2591
2745
  # List of price_ids that this minimum amount applies to. For plan/plan phase
2592
2746
  # minimums, this can be a subset of prices.
@@ -2643,7 +2797,10 @@ module Orb
2643
2797
  end
2644
2798
 
2645
2799
  class TieredConfig < Orb::Internal::Type::BaseModel
2646
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2800
+ OrHash =
2801
+ T.type_alias do
2802
+ T.any(Orb::Price::Tiered::TieredConfig, Orb::Internal::AnyHash)
2803
+ end
2647
2804
 
2648
2805
  # Tiers for rating based on total usage quantities into the specified tier
2649
2806
  sig { returns(T::Array[Orb::Price::Tiered::TieredConfig::Tier]) }
@@ -2669,7 +2826,13 @@ module Orb
2669
2826
  end
2670
2827
 
2671
2828
  class Tier < Orb::Internal::Type::BaseModel
2672
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2829
+ OrHash =
2830
+ T.type_alias do
2831
+ T.any(
2832
+ Orb::Price::Tiered::TieredConfig::Tier,
2833
+ Orb::Internal::AnyHash
2834
+ )
2835
+ end
2673
2836
 
2674
2837
  # Exclusive tier starting value
2675
2838
  sig { returns(Float) }
@@ -2715,7 +2878,13 @@ module Orb
2715
2878
  end
2716
2879
 
2717
2880
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
2718
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2881
+ OrHash =
2882
+ T.type_alias do
2883
+ T.any(
2884
+ Orb::Price::Tiered::DimensionalPriceConfiguration,
2885
+ Orb::Internal::AnyHash
2886
+ )
2887
+ end
2719
2888
 
2720
2889
  sig { returns(T::Array[String]) }
2721
2890
  attr_accessor :dimension_values
@@ -2746,7 +2915,8 @@ module Orb
2746
2915
  end
2747
2916
 
2748
2917
  class TieredBps < Orb::Internal::Type::BaseModel
2749
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2918
+ OrHash =
2919
+ T.type_alias { T.any(Orb::Price::TieredBps, Orb::Internal::AnyHash) }
2750
2920
 
2751
2921
  sig { returns(String) }
2752
2922
  attr_accessor :id
@@ -3032,7 +3202,13 @@ module Orb
3032
3202
  end
3033
3203
 
3034
3204
  class BillableMetric < Orb::Internal::Type::BaseModel
3035
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3205
+ OrHash =
3206
+ T.type_alias do
3207
+ T.any(
3208
+ Orb::Price::TieredBps::BillableMetric,
3209
+ Orb::Internal::AnyHash
3210
+ )
3211
+ end
3036
3212
 
3037
3213
  sig { returns(String) }
3038
3214
  attr_accessor :id
@@ -3047,7 +3223,13 @@ module Orb
3047
3223
  end
3048
3224
 
3049
3225
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3050
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3226
+ OrHash =
3227
+ T.type_alias do
3228
+ T.any(
3229
+ Orb::Price::TieredBps::BillingCycleConfiguration,
3230
+ Orb::Internal::AnyHash
3231
+ )
3232
+ end
3051
3233
 
3052
3234
  sig { returns(Integer) }
3053
3235
  attr_accessor :duration
@@ -3144,7 +3326,13 @@ module Orb
3144
3326
  end
3145
3327
 
3146
3328
  class CreditAllocation < Orb::Internal::Type::BaseModel
3147
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3329
+ OrHash =
3330
+ T.type_alias do
3331
+ T.any(
3332
+ Orb::Price::TieredBps::CreditAllocation,
3333
+ Orb::Internal::AnyHash
3334
+ )
3335
+ end
3148
3336
 
3149
3337
  sig { returns(T::Boolean) }
3150
3338
  attr_accessor :allows_rollover
@@ -3168,7 +3356,13 @@ module Orb
3168
3356
  end
3169
3357
 
3170
3358
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3171
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3359
+ OrHash =
3360
+ T.type_alias do
3361
+ T.any(
3362
+ Orb::Price::TieredBps::InvoicingCycleConfiguration,
3363
+ Orb::Internal::AnyHash
3364
+ )
3365
+ end
3172
3366
 
3173
3367
  sig { returns(Integer) }
3174
3368
  attr_accessor :duration
@@ -3238,7 +3432,10 @@ module Orb
3238
3432
  end
3239
3433
 
3240
3434
  class Item < Orb::Internal::Type::BaseModel
3241
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3435
+ OrHash =
3436
+ T.type_alias do
3437
+ T.any(Orb::Price::TieredBps::Item, Orb::Internal::AnyHash)
3438
+ end
3242
3439
 
3243
3440
  sig { returns(String) }
3244
3441
  attr_accessor :id
@@ -3256,7 +3453,10 @@ module Orb
3256
3453
  end
3257
3454
 
3258
3455
  class Maximum < Orb::Internal::Type::BaseModel
3259
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3456
+ OrHash =
3457
+ T.type_alias do
3458
+ T.any(Orb::Price::TieredBps::Maximum, Orb::Internal::AnyHash)
3459
+ end
3260
3460
 
3261
3461
  # List of price_ids that this maximum amount applies to. For plan/plan phase
3262
3462
  # maximums, this can be a subset of prices.
@@ -3292,7 +3492,10 @@ module Orb
3292
3492
  end
3293
3493
 
3294
3494
  class Minimum < Orb::Internal::Type::BaseModel
3295
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3495
+ OrHash =
3496
+ T.type_alias do
3497
+ T.any(Orb::Price::TieredBps::Minimum, Orb::Internal::AnyHash)
3498
+ end
3296
3499
 
3297
3500
  # List of price_ids that this minimum amount applies to. For plan/plan phase
3298
3501
  # minimums, this can be a subset of prices.
@@ -3349,7 +3552,13 @@ module Orb
3349
3552
  end
3350
3553
 
3351
3554
  class TieredBpsConfig < Orb::Internal::Type::BaseModel
3352
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3555
+ OrHash =
3556
+ T.type_alias do
3557
+ T.any(
3558
+ Orb::Price::TieredBps::TieredBpsConfig,
3559
+ Orb::Internal::AnyHash
3560
+ )
3561
+ end
3353
3562
 
3354
3563
  # Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
3355
3564
  # tiers
@@ -3380,7 +3589,13 @@ module Orb
3380
3589
  end
3381
3590
 
3382
3591
  class Tier < Orb::Internal::Type::BaseModel
3383
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3592
+ OrHash =
3593
+ T.type_alias do
3594
+ T.any(
3595
+ Orb::Price::TieredBps::TieredBpsConfig::Tier,
3596
+ Orb::Internal::AnyHash
3597
+ )
3598
+ end
3384
3599
 
3385
3600
  # Per-event basis point rate
3386
3601
  sig { returns(Float) }
@@ -3434,7 +3649,13 @@ module Orb
3434
3649
  end
3435
3650
 
3436
3651
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
3437
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3652
+ OrHash =
3653
+ T.type_alias do
3654
+ T.any(
3655
+ Orb::Price::TieredBps::DimensionalPriceConfiguration,
3656
+ Orb::Internal::AnyHash
3657
+ )
3658
+ end
3438
3659
 
3439
3660
  sig { returns(T::Array[String]) }
3440
3661
  attr_accessor :dimension_values
@@ -3465,7 +3686,7 @@ module Orb
3465
3686
  end
3466
3687
 
3467
3688
  class Bps < Orb::Internal::Type::BaseModel
3468
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3689
+ OrHash = T.type_alias { T.any(Orb::Price::Bps, Orb::Internal::AnyHash) }
3469
3690
 
3470
3691
  sig { returns(String) }
3471
3692
  attr_accessor :id
@@ -3728,7 +3949,10 @@ module Orb
3728
3949
  end
3729
3950
 
3730
3951
  class BillableMetric < Orb::Internal::Type::BaseModel
3731
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3952
+ OrHash =
3953
+ T.type_alias do
3954
+ T.any(Orb::Price::Bps::BillableMetric, Orb::Internal::AnyHash)
3955
+ end
3732
3956
 
3733
3957
  sig { returns(String) }
3734
3958
  attr_accessor :id
@@ -3743,7 +3967,13 @@ module Orb
3743
3967
  end
3744
3968
 
3745
3969
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3746
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3970
+ OrHash =
3971
+ T.type_alias do
3972
+ T.any(
3973
+ Orb::Price::Bps::BillingCycleConfiguration,
3974
+ Orb::Internal::AnyHash
3975
+ )
3976
+ end
3747
3977
 
3748
3978
  sig { returns(Integer) }
3749
3979
  attr_accessor :duration
@@ -3813,7 +4043,10 @@ module Orb
3813
4043
  end
3814
4044
 
3815
4045
  class BpsConfig < Orb::Internal::Type::BaseModel
3816
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4046
+ OrHash =
4047
+ T.type_alias do
4048
+ T.any(Orb::Price::Bps::BpsConfig, Orb::Internal::AnyHash)
4049
+ end
3817
4050
 
3818
4051
  # Basis point take rate per event
3819
4052
  sig { returns(Float) }
@@ -3868,7 +4101,10 @@ module Orb
3868
4101
  end
3869
4102
 
3870
4103
  class CreditAllocation < Orb::Internal::Type::BaseModel
3871
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4104
+ OrHash =
4105
+ T.type_alias do
4106
+ T.any(Orb::Price::Bps::CreditAllocation, Orb::Internal::AnyHash)
4107
+ end
3872
4108
 
3873
4109
  sig { returns(T::Boolean) }
3874
4110
  attr_accessor :allows_rollover
@@ -3892,7 +4128,13 @@ module Orb
3892
4128
  end
3893
4129
 
3894
4130
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3895
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4131
+ OrHash =
4132
+ T.type_alias do
4133
+ T.any(
4134
+ Orb::Price::Bps::InvoicingCycleConfiguration,
4135
+ Orb::Internal::AnyHash
4136
+ )
4137
+ end
3896
4138
 
3897
4139
  sig { returns(Integer) }
3898
4140
  attr_accessor :duration
@@ -3962,7 +4204,10 @@ module Orb
3962
4204
  end
3963
4205
 
3964
4206
  class Item < Orb::Internal::Type::BaseModel
3965
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4207
+ OrHash =
4208
+ T.type_alias do
4209
+ T.any(Orb::Price::Bps::Item, Orb::Internal::AnyHash)
4210
+ end
3966
4211
 
3967
4212
  sig { returns(String) }
3968
4213
  attr_accessor :id
@@ -3980,7 +4225,10 @@ module Orb
3980
4225
  end
3981
4226
 
3982
4227
  class Maximum < Orb::Internal::Type::BaseModel
3983
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4228
+ OrHash =
4229
+ T.type_alias do
4230
+ T.any(Orb::Price::Bps::Maximum, Orb::Internal::AnyHash)
4231
+ end
3984
4232
 
3985
4233
  # List of price_ids that this maximum amount applies to. For plan/plan phase
3986
4234
  # maximums, this can be a subset of prices.
@@ -4016,7 +4264,10 @@ module Orb
4016
4264
  end
4017
4265
 
4018
4266
  class Minimum < Orb::Internal::Type::BaseModel
4019
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4267
+ OrHash =
4268
+ T.type_alias do
4269
+ T.any(Orb::Price::Bps::Minimum, Orb::Internal::AnyHash)
4270
+ end
4020
4271
 
4021
4272
  # List of price_ids that this minimum amount applies to. For plan/plan phase
4022
4273
  # minimums, this can be a subset of prices.
@@ -4071,7 +4322,13 @@ module Orb
4071
4322
  end
4072
4323
 
4073
4324
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
4074
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4325
+ OrHash =
4326
+ T.type_alias do
4327
+ T.any(
4328
+ Orb::Price::Bps::DimensionalPriceConfiguration,
4329
+ Orb::Internal::AnyHash
4330
+ )
4331
+ end
4075
4332
 
4076
4333
  sig { returns(T::Array[String]) }
4077
4334
  attr_accessor :dimension_values
@@ -4102,7 +4359,8 @@ module Orb
4102
4359
  end
4103
4360
 
4104
4361
  class BulkBps < Orb::Internal::Type::BaseModel
4105
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4362
+ OrHash =
4363
+ T.type_alias { T.any(Orb::Price::BulkBps, Orb::Internal::AnyHash) }
4106
4364
 
4107
4365
  sig { returns(String) }
4108
4366
  attr_accessor :id
@@ -4382,7 +4640,10 @@ module Orb
4382
4640
  end
4383
4641
 
4384
4642
  class BillableMetric < Orb::Internal::Type::BaseModel
4385
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4643
+ OrHash =
4644
+ T.type_alias do
4645
+ T.any(Orb::Price::BulkBps::BillableMetric, Orb::Internal::AnyHash)
4646
+ end
4386
4647
 
4387
4648
  sig { returns(String) }
4388
4649
  attr_accessor :id
@@ -4397,7 +4658,13 @@ module Orb
4397
4658
  end
4398
4659
 
4399
4660
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4400
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4661
+ OrHash =
4662
+ T.type_alias do
4663
+ T.any(
4664
+ Orb::Price::BulkBps::BillingCycleConfiguration,
4665
+ Orb::Internal::AnyHash
4666
+ )
4667
+ end
4401
4668
 
4402
4669
  sig { returns(Integer) }
4403
4670
  attr_accessor :duration
@@ -4467,7 +4734,10 @@ module Orb
4467
4734
  end
4468
4735
 
4469
4736
  class BulkBpsConfig < Orb::Internal::Type::BaseModel
4470
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4737
+ OrHash =
4738
+ T.type_alias do
4739
+ T.any(Orb::Price::BulkBps::BulkBpsConfig, Orb::Internal::AnyHash)
4740
+ end
4471
4741
 
4472
4742
  # Tiers for a bulk BPS pricing model where all usage is aggregated to a single
4473
4743
  # tier based on total volume
@@ -4495,7 +4765,13 @@ module Orb
4495
4765
  end
4496
4766
 
4497
4767
  class Tier < Orb::Internal::Type::BaseModel
4498
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4768
+ OrHash =
4769
+ T.type_alias do
4770
+ T.any(
4771
+ Orb::Price::BulkBps::BulkBpsConfig::Tier,
4772
+ Orb::Internal::AnyHash
4773
+ )
4774
+ end
4499
4775
 
4500
4776
  # Basis points to rate on
4501
4777
  sig { returns(Float) }
@@ -4567,7 +4843,13 @@ module Orb
4567
4843
  end
4568
4844
 
4569
4845
  class CreditAllocation < Orb::Internal::Type::BaseModel
4570
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4846
+ OrHash =
4847
+ T.type_alias do
4848
+ T.any(
4849
+ Orb::Price::BulkBps::CreditAllocation,
4850
+ Orb::Internal::AnyHash
4851
+ )
4852
+ end
4571
4853
 
4572
4854
  sig { returns(T::Boolean) }
4573
4855
  attr_accessor :allows_rollover
@@ -4591,7 +4873,13 @@ module Orb
4591
4873
  end
4592
4874
 
4593
4875
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4594
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4876
+ OrHash =
4877
+ T.type_alias do
4878
+ T.any(
4879
+ Orb::Price::BulkBps::InvoicingCycleConfiguration,
4880
+ Orb::Internal::AnyHash
4881
+ )
4882
+ end
4595
4883
 
4596
4884
  sig { returns(Integer) }
4597
4885
  attr_accessor :duration
@@ -4661,7 +4949,10 @@ module Orb
4661
4949
  end
4662
4950
 
4663
4951
  class Item < Orb::Internal::Type::BaseModel
4664
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4952
+ OrHash =
4953
+ T.type_alias do
4954
+ T.any(Orb::Price::BulkBps::Item, Orb::Internal::AnyHash)
4955
+ end
4665
4956
 
4666
4957
  sig { returns(String) }
4667
4958
  attr_accessor :id
@@ -4679,7 +4970,10 @@ module Orb
4679
4970
  end
4680
4971
 
4681
4972
  class Maximum < Orb::Internal::Type::BaseModel
4682
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4973
+ OrHash =
4974
+ T.type_alias do
4975
+ T.any(Orb::Price::BulkBps::Maximum, Orb::Internal::AnyHash)
4976
+ end
4683
4977
 
4684
4978
  # List of price_ids that this maximum amount applies to. For plan/plan phase
4685
4979
  # maximums, this can be a subset of prices.
@@ -4715,7 +5009,10 @@ module Orb
4715
5009
  end
4716
5010
 
4717
5011
  class Minimum < Orb::Internal::Type::BaseModel
4718
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5012
+ OrHash =
5013
+ T.type_alias do
5014
+ T.any(Orb::Price::BulkBps::Minimum, Orb::Internal::AnyHash)
5015
+ end
4719
5016
 
4720
5017
  # List of price_ids that this minimum amount applies to. For plan/plan phase
4721
5018
  # minimums, this can be a subset of prices.
@@ -4772,7 +5069,13 @@ module Orb
4772
5069
  end
4773
5070
 
4774
5071
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
4775
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5072
+ OrHash =
5073
+ T.type_alias do
5074
+ T.any(
5075
+ Orb::Price::BulkBps::DimensionalPriceConfiguration,
5076
+ Orb::Internal::AnyHash
5077
+ )
5078
+ end
4776
5079
 
4777
5080
  sig { returns(T::Array[String]) }
4778
5081
  attr_accessor :dimension_values
@@ -4803,7 +5106,8 @@ module Orb
4803
5106
  end
4804
5107
 
4805
5108
  class Bulk < Orb::Internal::Type::BaseModel
4806
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5109
+ OrHash =
5110
+ T.type_alias { T.any(Orb::Price::Bulk, Orb::Internal::AnyHash) }
4807
5111
 
4808
5112
  sig { returns(String) }
4809
5113
  attr_accessor :id
@@ -5071,7 +5375,10 @@ module Orb
5071
5375
  end
5072
5376
 
5073
5377
  class BillableMetric < Orb::Internal::Type::BaseModel
5074
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5378
+ OrHash =
5379
+ T.type_alias do
5380
+ T.any(Orb::Price::Bulk::BillableMetric, Orb::Internal::AnyHash)
5381
+ end
5075
5382
 
5076
5383
  sig { returns(String) }
5077
5384
  attr_accessor :id
@@ -5086,7 +5393,13 @@ module Orb
5086
5393
  end
5087
5394
 
5088
5395
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5089
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5396
+ OrHash =
5397
+ T.type_alias do
5398
+ T.any(
5399
+ Orb::Price::Bulk::BillingCycleConfiguration,
5400
+ Orb::Internal::AnyHash
5401
+ )
5402
+ end
5090
5403
 
5091
5404
  sig { returns(Integer) }
5092
5405
  attr_accessor :duration
@@ -5156,7 +5469,10 @@ module Orb
5156
5469
  end
5157
5470
 
5158
5471
  class BulkConfig < Orb::Internal::Type::BaseModel
5159
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5472
+ OrHash =
5473
+ T.type_alias do
5474
+ T.any(Orb::Price::Bulk::BulkConfig, Orb::Internal::AnyHash)
5475
+ end
5160
5476
 
5161
5477
  # Bulk tiers for rating based on total usage volume
5162
5478
  sig { returns(T::Array[Orb::Price::Bulk::BulkConfig::Tier]) }
@@ -5182,7 +5498,13 @@ module Orb
5182
5498
  end
5183
5499
 
5184
5500
  class Tier < Orb::Internal::Type::BaseModel
5185
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5501
+ OrHash =
5502
+ T.type_alias do
5503
+ T.any(
5504
+ Orb::Price::Bulk::BulkConfig::Tier,
5505
+ Orb::Internal::AnyHash
5506
+ )
5507
+ end
5186
5508
 
5187
5509
  # Amount per unit
5188
5510
  sig { returns(String) }
@@ -5239,7 +5561,10 @@ module Orb
5239
5561
  end
5240
5562
 
5241
5563
  class CreditAllocation < Orb::Internal::Type::BaseModel
5242
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5564
+ OrHash =
5565
+ T.type_alias do
5566
+ T.any(Orb::Price::Bulk::CreditAllocation, Orb::Internal::AnyHash)
5567
+ end
5243
5568
 
5244
5569
  sig { returns(T::Boolean) }
5245
5570
  attr_accessor :allows_rollover
@@ -5263,7 +5588,13 @@ module Orb
5263
5588
  end
5264
5589
 
5265
5590
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5266
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5591
+ OrHash =
5592
+ T.type_alias do
5593
+ T.any(
5594
+ Orb::Price::Bulk::InvoicingCycleConfiguration,
5595
+ Orb::Internal::AnyHash
5596
+ )
5597
+ end
5267
5598
 
5268
5599
  sig { returns(Integer) }
5269
5600
  attr_accessor :duration
@@ -5333,7 +5664,10 @@ module Orb
5333
5664
  end
5334
5665
 
5335
5666
  class Item < Orb::Internal::Type::BaseModel
5336
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5667
+ OrHash =
5668
+ T.type_alias do
5669
+ T.any(Orb::Price::Bulk::Item, Orb::Internal::AnyHash)
5670
+ end
5337
5671
 
5338
5672
  sig { returns(String) }
5339
5673
  attr_accessor :id
@@ -5351,7 +5685,10 @@ module Orb
5351
5685
  end
5352
5686
 
5353
5687
  class Maximum < Orb::Internal::Type::BaseModel
5354
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5688
+ OrHash =
5689
+ T.type_alias do
5690
+ T.any(Orb::Price::Bulk::Maximum, Orb::Internal::AnyHash)
5691
+ end
5355
5692
 
5356
5693
  # List of price_ids that this maximum amount applies to. For plan/plan phase
5357
5694
  # maximums, this can be a subset of prices.
@@ -5387,7 +5724,10 @@ module Orb
5387
5724
  end
5388
5725
 
5389
5726
  class Minimum < Orb::Internal::Type::BaseModel
5390
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5727
+ OrHash =
5728
+ T.type_alias do
5729
+ T.any(Orb::Price::Bulk::Minimum, Orb::Internal::AnyHash)
5730
+ end
5391
5731
 
5392
5732
  # List of price_ids that this minimum amount applies to. For plan/plan phase
5393
5733
  # minimums, this can be a subset of prices.
@@ -5444,7 +5784,13 @@ module Orb
5444
5784
  end
5445
5785
 
5446
5786
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
5447
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5787
+ OrHash =
5788
+ T.type_alias do
5789
+ T.any(
5790
+ Orb::Price::Bulk::DimensionalPriceConfiguration,
5791
+ Orb::Internal::AnyHash
5792
+ )
5793
+ end
5448
5794
 
5449
5795
  sig { returns(T::Array[String]) }
5450
5796
  attr_accessor :dimension_values
@@ -5475,7 +5821,10 @@ module Orb
5475
5821
  end
5476
5822
 
5477
5823
  class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
5478
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5824
+ OrHash =
5825
+ T.type_alias do
5826
+ T.any(Orb::Price::ThresholdTotalAmount, Orb::Internal::AnyHash)
5827
+ end
5479
5828
 
5480
5829
  sig { returns(String) }
5481
5830
  attr_accessor :id
@@ -5788,7 +6137,13 @@ module Orb
5788
6137
  end
5789
6138
 
5790
6139
  class BillableMetric < Orb::Internal::Type::BaseModel
5791
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6140
+ OrHash =
6141
+ T.type_alias do
6142
+ T.any(
6143
+ Orb::Price::ThresholdTotalAmount::BillableMetric,
6144
+ Orb::Internal::AnyHash
6145
+ )
6146
+ end
5792
6147
 
5793
6148
  sig { returns(String) }
5794
6149
  attr_accessor :id
@@ -5803,7 +6158,13 @@ module Orb
5803
6158
  end
5804
6159
 
5805
6160
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5806
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6161
+ OrHash =
6162
+ T.type_alias do
6163
+ T.any(
6164
+ Orb::Price::ThresholdTotalAmount::BillingCycleConfiguration,
6165
+ Orb::Internal::AnyHash
6166
+ )
6167
+ end
5807
6168
 
5808
6169
  sig { returns(Integer) }
5809
6170
  attr_accessor :duration
@@ -5922,7 +6283,13 @@ module Orb
5922
6283
  end
5923
6284
 
5924
6285
  class CreditAllocation < Orb::Internal::Type::BaseModel
5925
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6286
+ OrHash =
6287
+ T.type_alias do
6288
+ T.any(
6289
+ Orb::Price::ThresholdTotalAmount::CreditAllocation,
6290
+ Orb::Internal::AnyHash
6291
+ )
6292
+ end
5926
6293
 
5927
6294
  sig { returns(T::Boolean) }
5928
6295
  attr_accessor :allows_rollover
@@ -5946,7 +6313,13 @@ module Orb
5946
6313
  end
5947
6314
 
5948
6315
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5949
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6316
+ OrHash =
6317
+ T.type_alias do
6318
+ T.any(
6319
+ Orb::Price::ThresholdTotalAmount::InvoicingCycleConfiguration,
6320
+ Orb::Internal::AnyHash
6321
+ )
6322
+ end
5950
6323
 
5951
6324
  sig { returns(Integer) }
5952
6325
  attr_accessor :duration
@@ -6016,7 +6389,13 @@ module Orb
6016
6389
  end
6017
6390
 
6018
6391
  class Item < Orb::Internal::Type::BaseModel
6019
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6392
+ OrHash =
6393
+ T.type_alias do
6394
+ T.any(
6395
+ Orb::Price::ThresholdTotalAmount::Item,
6396
+ Orb::Internal::AnyHash
6397
+ )
6398
+ end
6020
6399
 
6021
6400
  sig { returns(String) }
6022
6401
  attr_accessor :id
@@ -6034,7 +6413,13 @@ module Orb
6034
6413
  end
6035
6414
 
6036
6415
  class Maximum < Orb::Internal::Type::BaseModel
6037
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6416
+ OrHash =
6417
+ T.type_alias do
6418
+ T.any(
6419
+ Orb::Price::ThresholdTotalAmount::Maximum,
6420
+ Orb::Internal::AnyHash
6421
+ )
6422
+ end
6038
6423
 
6039
6424
  # List of price_ids that this maximum amount applies to. For plan/plan phase
6040
6425
  # maximums, this can be a subset of prices.
@@ -6070,7 +6455,13 @@ module Orb
6070
6455
  end
6071
6456
 
6072
6457
  class Minimum < Orb::Internal::Type::BaseModel
6073
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6458
+ OrHash =
6459
+ T.type_alias do
6460
+ T.any(
6461
+ Orb::Price::ThresholdTotalAmount::Minimum,
6462
+ Orb::Internal::AnyHash
6463
+ )
6464
+ end
6074
6465
 
6075
6466
  # List of price_ids that this minimum amount applies to. For plan/plan phase
6076
6467
  # minimums, this can be a subset of prices.
@@ -6137,7 +6528,13 @@ module Orb
6137
6528
  end
6138
6529
 
6139
6530
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
6140
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6531
+ OrHash =
6532
+ T.type_alias do
6533
+ T.any(
6534
+ Orb::Price::ThresholdTotalAmount::DimensionalPriceConfiguration,
6535
+ Orb::Internal::AnyHash
6536
+ )
6537
+ end
6141
6538
 
6142
6539
  sig { returns(T::Array[String]) }
6143
6540
  attr_accessor :dimension_values
@@ -6168,7 +6565,10 @@ module Orb
6168
6565
  end
6169
6566
 
6170
6567
  class TieredPackage < Orb::Internal::Type::BaseModel
6171
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6568
+ OrHash =
6569
+ T.type_alias do
6570
+ T.any(Orb::Price::TieredPackage, Orb::Internal::AnyHash)
6571
+ end
6172
6572
 
6173
6573
  sig { returns(String) }
6174
6574
  attr_accessor :id
@@ -6454,7 +6854,13 @@ module Orb
6454
6854
  end
6455
6855
 
6456
6856
  class BillableMetric < Orb::Internal::Type::BaseModel
6457
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6857
+ OrHash =
6858
+ T.type_alias do
6859
+ T.any(
6860
+ Orb::Price::TieredPackage::BillableMetric,
6861
+ Orb::Internal::AnyHash
6862
+ )
6863
+ end
6458
6864
 
6459
6865
  sig { returns(String) }
6460
6866
  attr_accessor :id
@@ -6469,7 +6875,13 @@ module Orb
6469
6875
  end
6470
6876
 
6471
6877
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6472
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6878
+ OrHash =
6879
+ T.type_alias do
6880
+ T.any(
6881
+ Orb::Price::TieredPackage::BillingCycleConfiguration,
6882
+ Orb::Internal::AnyHash
6883
+ )
6884
+ end
6473
6885
 
6474
6886
  sig { returns(Integer) }
6475
6887
  attr_accessor :duration
@@ -6571,7 +6983,13 @@ module Orb
6571
6983
  end
6572
6984
 
6573
6985
  class CreditAllocation < Orb::Internal::Type::BaseModel
6574
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6986
+ OrHash =
6987
+ T.type_alias do
6988
+ T.any(
6989
+ Orb::Price::TieredPackage::CreditAllocation,
6990
+ Orb::Internal::AnyHash
6991
+ )
6992
+ end
6575
6993
 
6576
6994
  sig { returns(T::Boolean) }
6577
6995
  attr_accessor :allows_rollover
@@ -6595,7 +7013,13 @@ module Orb
6595
7013
  end
6596
7014
 
6597
7015
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6598
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7016
+ OrHash =
7017
+ T.type_alias do
7018
+ T.any(
7019
+ Orb::Price::TieredPackage::InvoicingCycleConfiguration,
7020
+ Orb::Internal::AnyHash
7021
+ )
7022
+ end
6599
7023
 
6600
7024
  sig { returns(Integer) }
6601
7025
  attr_accessor :duration
@@ -6665,7 +7089,10 @@ module Orb
6665
7089
  end
6666
7090
 
6667
7091
  class Item < Orb::Internal::Type::BaseModel
6668
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7092
+ OrHash =
7093
+ T.type_alias do
7094
+ T.any(Orb::Price::TieredPackage::Item, Orb::Internal::AnyHash)
7095
+ end
6669
7096
 
6670
7097
  sig { returns(String) }
6671
7098
  attr_accessor :id
@@ -6683,7 +7110,10 @@ module Orb
6683
7110
  end
6684
7111
 
6685
7112
  class Maximum < Orb::Internal::Type::BaseModel
6686
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7113
+ OrHash =
7114
+ T.type_alias do
7115
+ T.any(Orb::Price::TieredPackage::Maximum, Orb::Internal::AnyHash)
7116
+ end
6687
7117
 
6688
7118
  # List of price_ids that this maximum amount applies to. For plan/plan phase
6689
7119
  # maximums, this can be a subset of prices.
@@ -6719,7 +7149,10 @@ module Orb
6719
7149
  end
6720
7150
 
6721
7151
  class Minimum < Orb::Internal::Type::BaseModel
6722
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7152
+ OrHash =
7153
+ T.type_alias do
7154
+ T.any(Orb::Price::TieredPackage::Minimum, Orb::Internal::AnyHash)
7155
+ end
6723
7156
 
6724
7157
  # List of price_ids that this minimum amount applies to. For plan/plan phase
6725
7158
  # minimums, this can be a subset of prices.
@@ -6782,7 +7215,13 @@ module Orb
6782
7215
  end
6783
7216
 
6784
7217
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
6785
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7218
+ OrHash =
7219
+ T.type_alias do
7220
+ T.any(
7221
+ Orb::Price::TieredPackage::DimensionalPriceConfiguration,
7222
+ Orb::Internal::AnyHash
7223
+ )
7224
+ end
6786
7225
 
6787
7226
  sig { returns(T::Array[String]) }
6788
7227
  attr_accessor :dimension_values
@@ -6813,7 +7252,10 @@ module Orb
6813
7252
  end
6814
7253
 
6815
7254
  class GroupedTiered < Orb::Internal::Type::BaseModel
6816
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7255
+ OrHash =
7256
+ T.type_alias do
7257
+ T.any(Orb::Price::GroupedTiered, Orb::Internal::AnyHash)
7258
+ end
6817
7259
 
6818
7260
  sig { returns(String) }
6819
7261
  attr_accessor :id
@@ -7099,7 +7541,13 @@ module Orb
7099
7541
  end
7100
7542
 
7101
7543
  class BillableMetric < Orb::Internal::Type::BaseModel
7102
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7544
+ OrHash =
7545
+ T.type_alias do
7546
+ T.any(
7547
+ Orb::Price::GroupedTiered::BillableMetric,
7548
+ Orb::Internal::AnyHash
7549
+ )
7550
+ end
7103
7551
 
7104
7552
  sig { returns(String) }
7105
7553
  attr_accessor :id
@@ -7114,7 +7562,13 @@ module Orb
7114
7562
  end
7115
7563
 
7116
7564
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7117
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7565
+ OrHash =
7566
+ T.type_alias do
7567
+ T.any(
7568
+ Orb::Price::GroupedTiered::BillingCycleConfiguration,
7569
+ Orb::Internal::AnyHash
7570
+ )
7571
+ end
7118
7572
 
7119
7573
  sig { returns(Integer) }
7120
7574
  attr_accessor :duration
@@ -7216,7 +7670,13 @@ module Orb
7216
7670
  end
7217
7671
 
7218
7672
  class CreditAllocation < Orb::Internal::Type::BaseModel
7219
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7673
+ OrHash =
7674
+ T.type_alias do
7675
+ T.any(
7676
+ Orb::Price::GroupedTiered::CreditAllocation,
7677
+ Orb::Internal::AnyHash
7678
+ )
7679
+ end
7220
7680
 
7221
7681
  sig { returns(T::Boolean) }
7222
7682
  attr_accessor :allows_rollover
@@ -7240,7 +7700,13 @@ module Orb
7240
7700
  end
7241
7701
 
7242
7702
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7243
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7703
+ OrHash =
7704
+ T.type_alias do
7705
+ T.any(
7706
+ Orb::Price::GroupedTiered::InvoicingCycleConfiguration,
7707
+ Orb::Internal::AnyHash
7708
+ )
7709
+ end
7244
7710
 
7245
7711
  sig { returns(Integer) }
7246
7712
  attr_accessor :duration
@@ -7310,7 +7776,10 @@ module Orb
7310
7776
  end
7311
7777
 
7312
7778
  class Item < Orb::Internal::Type::BaseModel
7313
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7779
+ OrHash =
7780
+ T.type_alias do
7781
+ T.any(Orb::Price::GroupedTiered::Item, Orb::Internal::AnyHash)
7782
+ end
7314
7783
 
7315
7784
  sig { returns(String) }
7316
7785
  attr_accessor :id
@@ -7328,7 +7797,10 @@ module Orb
7328
7797
  end
7329
7798
 
7330
7799
  class Maximum < Orb::Internal::Type::BaseModel
7331
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7800
+ OrHash =
7801
+ T.type_alias do
7802
+ T.any(Orb::Price::GroupedTiered::Maximum, Orb::Internal::AnyHash)
7803
+ end
7332
7804
 
7333
7805
  # List of price_ids that this maximum amount applies to. For plan/plan phase
7334
7806
  # maximums, this can be a subset of prices.
@@ -7364,7 +7836,10 @@ module Orb
7364
7836
  end
7365
7837
 
7366
7838
  class Minimum < Orb::Internal::Type::BaseModel
7367
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7839
+ OrHash =
7840
+ T.type_alias do
7841
+ T.any(Orb::Price::GroupedTiered::Minimum, Orb::Internal::AnyHash)
7842
+ end
7368
7843
 
7369
7844
  # List of price_ids that this minimum amount applies to. For plan/plan phase
7370
7845
  # minimums, this can be a subset of prices.
@@ -7427,7 +7902,13 @@ module Orb
7427
7902
  end
7428
7903
 
7429
7904
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
7430
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7905
+ OrHash =
7906
+ T.type_alias do
7907
+ T.any(
7908
+ Orb::Price::GroupedTiered::DimensionalPriceConfiguration,
7909
+ Orb::Internal::AnyHash
7910
+ )
7911
+ end
7431
7912
 
7432
7913
  sig { returns(T::Array[String]) }
7433
7914
  attr_accessor :dimension_values
@@ -7458,7 +7939,10 @@ module Orb
7458
7939
  end
7459
7940
 
7460
7941
  class TieredWithMinimum < Orb::Internal::Type::BaseModel
7461
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7942
+ OrHash =
7943
+ T.type_alias do
7944
+ T.any(Orb::Price::TieredWithMinimum, Orb::Internal::AnyHash)
7945
+ end
7462
7946
 
7463
7947
  sig { returns(String) }
7464
7948
  attr_accessor :id
@@ -7757,7 +8241,13 @@ module Orb
7757
8241
  end
7758
8242
 
7759
8243
  class BillableMetric < Orb::Internal::Type::BaseModel
7760
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8244
+ OrHash =
8245
+ T.type_alias do
8246
+ T.any(
8247
+ Orb::Price::TieredWithMinimum::BillableMetric,
8248
+ Orb::Internal::AnyHash
8249
+ )
8250
+ end
7761
8251
 
7762
8252
  sig { returns(String) }
7763
8253
  attr_accessor :id
@@ -7772,7 +8262,13 @@ module Orb
7772
8262
  end
7773
8263
 
7774
8264
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7775
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8265
+ OrHash =
8266
+ T.type_alias do
8267
+ T.any(
8268
+ Orb::Price::TieredWithMinimum::BillingCycleConfiguration,
8269
+ Orb::Internal::AnyHash
8270
+ )
8271
+ end
7776
8272
 
7777
8273
  sig { returns(Integer) }
7778
8274
  attr_accessor :duration
@@ -7885,7 +8381,13 @@ module Orb
7885
8381
  end
7886
8382
 
7887
8383
  class CreditAllocation < Orb::Internal::Type::BaseModel
7888
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8384
+ OrHash =
8385
+ T.type_alias do
8386
+ T.any(
8387
+ Orb::Price::TieredWithMinimum::CreditAllocation,
8388
+ Orb::Internal::AnyHash
8389
+ )
8390
+ end
7889
8391
 
7890
8392
  sig { returns(T::Boolean) }
7891
8393
  attr_accessor :allows_rollover
@@ -7909,7 +8411,13 @@ module Orb
7909
8411
  end
7910
8412
 
7911
8413
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7912
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8414
+ OrHash =
8415
+ T.type_alias do
8416
+ T.any(
8417
+ Orb::Price::TieredWithMinimum::InvoicingCycleConfiguration,
8418
+ Orb::Internal::AnyHash
8419
+ )
8420
+ end
7913
8421
 
7914
8422
  sig { returns(Integer) }
7915
8423
  attr_accessor :duration
@@ -7979,7 +8487,10 @@ module Orb
7979
8487
  end
7980
8488
 
7981
8489
  class Item < Orb::Internal::Type::BaseModel
7982
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8490
+ OrHash =
8491
+ T.type_alias do
8492
+ T.any(Orb::Price::TieredWithMinimum::Item, Orb::Internal::AnyHash)
8493
+ end
7983
8494
 
7984
8495
  sig { returns(String) }
7985
8496
  attr_accessor :id
@@ -7997,7 +8508,13 @@ module Orb
7997
8508
  end
7998
8509
 
7999
8510
  class Maximum < Orb::Internal::Type::BaseModel
8000
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8511
+ OrHash =
8512
+ T.type_alias do
8513
+ T.any(
8514
+ Orb::Price::TieredWithMinimum::Maximum,
8515
+ Orb::Internal::AnyHash
8516
+ )
8517
+ end
8001
8518
 
8002
8519
  # List of price_ids that this maximum amount applies to. For plan/plan phase
8003
8520
  # maximums, this can be a subset of prices.
@@ -8033,7 +8550,13 @@ module Orb
8033
8550
  end
8034
8551
 
8035
8552
  class Minimum < Orb::Internal::Type::BaseModel
8036
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8553
+ OrHash =
8554
+ T.type_alias do
8555
+ T.any(
8556
+ Orb::Price::TieredWithMinimum::Minimum,
8557
+ Orb::Internal::AnyHash
8558
+ )
8559
+ end
8037
8560
 
8038
8561
  # List of price_ids that this minimum amount applies to. For plan/plan phase
8039
8562
  # minimums, this can be a subset of prices.
@@ -8098,7 +8621,13 @@ module Orb
8098
8621
  end
8099
8622
 
8100
8623
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
8101
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8624
+ OrHash =
8625
+ T.type_alias do
8626
+ T.any(
8627
+ Orb::Price::TieredWithMinimum::DimensionalPriceConfiguration,
8628
+ Orb::Internal::AnyHash
8629
+ )
8630
+ end
8102
8631
 
8103
8632
  sig { returns(T::Array[String]) }
8104
8633
  attr_accessor :dimension_values
@@ -8129,7 +8658,10 @@ module Orb
8129
8658
  end
8130
8659
 
8131
8660
  class TieredPackageWithMinimum < Orb::Internal::Type::BaseModel
8132
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8661
+ OrHash =
8662
+ T.type_alias do
8663
+ T.any(Orb::Price::TieredPackageWithMinimum, Orb::Internal::AnyHash)
8664
+ end
8133
8665
 
8134
8666
  sig { returns(String) }
8135
8667
  attr_accessor :id
@@ -8458,7 +8990,13 @@ module Orb
8458
8990
  end
8459
8991
 
8460
8992
  class BillableMetric < Orb::Internal::Type::BaseModel
8461
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8993
+ OrHash =
8994
+ T.type_alias do
8995
+ T.any(
8996
+ Orb::Price::TieredPackageWithMinimum::BillableMetric,
8997
+ Orb::Internal::AnyHash
8998
+ )
8999
+ end
8462
9000
 
8463
9001
  sig { returns(String) }
8464
9002
  attr_accessor :id
@@ -8473,7 +9011,13 @@ module Orb
8473
9011
  end
8474
9012
 
8475
9013
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8476
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9014
+ OrHash =
9015
+ T.type_alias do
9016
+ T.any(
9017
+ Orb::Price::TieredPackageWithMinimum::BillingCycleConfiguration,
9018
+ Orb::Internal::AnyHash
9019
+ )
9020
+ end
8477
9021
 
8478
9022
  sig { returns(Integer) }
8479
9023
  attr_accessor :duration
@@ -8594,7 +9138,13 @@ module Orb
8594
9138
  end
8595
9139
 
8596
9140
  class CreditAllocation < Orb::Internal::Type::BaseModel
8597
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9141
+ OrHash =
9142
+ T.type_alias do
9143
+ T.any(
9144
+ Orb::Price::TieredPackageWithMinimum::CreditAllocation,
9145
+ Orb::Internal::AnyHash
9146
+ )
9147
+ end
8598
9148
 
8599
9149
  sig { returns(T::Boolean) }
8600
9150
  attr_accessor :allows_rollover
@@ -8618,7 +9168,13 @@ module Orb
8618
9168
  end
8619
9169
 
8620
9170
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8621
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9171
+ OrHash =
9172
+ T.type_alias do
9173
+ T.any(
9174
+ Orb::Price::TieredPackageWithMinimum::InvoicingCycleConfiguration,
9175
+ Orb::Internal::AnyHash
9176
+ )
9177
+ end
8622
9178
 
8623
9179
  sig { returns(Integer) }
8624
9180
  attr_accessor :duration
@@ -8688,7 +9244,13 @@ module Orb
8688
9244
  end
8689
9245
 
8690
9246
  class Item < Orb::Internal::Type::BaseModel
8691
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9247
+ OrHash =
9248
+ T.type_alias do
9249
+ T.any(
9250
+ Orb::Price::TieredPackageWithMinimum::Item,
9251
+ Orb::Internal::AnyHash
9252
+ )
9253
+ end
8692
9254
 
8693
9255
  sig { returns(String) }
8694
9256
  attr_accessor :id
@@ -8706,7 +9268,13 @@ module Orb
8706
9268
  end
8707
9269
 
8708
9270
  class Maximum < Orb::Internal::Type::BaseModel
8709
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9271
+ OrHash =
9272
+ T.type_alias do
9273
+ T.any(
9274
+ Orb::Price::TieredPackageWithMinimum::Maximum,
9275
+ Orb::Internal::AnyHash
9276
+ )
9277
+ end
8710
9278
 
8711
9279
  # List of price_ids that this maximum amount applies to. For plan/plan phase
8712
9280
  # maximums, this can be a subset of prices.
@@ -8742,7 +9310,13 @@ module Orb
8742
9310
  end
8743
9311
 
8744
9312
  class Minimum < Orb::Internal::Type::BaseModel
8745
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9313
+ OrHash =
9314
+ T.type_alias do
9315
+ T.any(
9316
+ Orb::Price::TieredPackageWithMinimum::Minimum,
9317
+ Orb::Internal::AnyHash
9318
+ )
9319
+ end
8746
9320
 
8747
9321
  # List of price_ids that this minimum amount applies to. For plan/plan phase
8748
9322
  # minimums, this can be a subset of prices.
@@ -8809,7 +9383,13 @@ module Orb
8809
9383
  end
8810
9384
 
8811
9385
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
8812
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9386
+ OrHash =
9387
+ T.type_alias do
9388
+ T.any(
9389
+ Orb::Price::TieredPackageWithMinimum::DimensionalPriceConfiguration,
9390
+ Orb::Internal::AnyHash
9391
+ )
9392
+ end
8813
9393
 
8814
9394
  sig { returns(T::Array[String]) }
8815
9395
  attr_accessor :dimension_values
@@ -8840,7 +9420,10 @@ module Orb
8840
9420
  end
8841
9421
 
8842
9422
  class PackageWithAllocation < Orb::Internal::Type::BaseModel
8843
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9423
+ OrHash =
9424
+ T.type_alias do
9425
+ T.any(Orb::Price::PackageWithAllocation, Orb::Internal::AnyHash)
9426
+ end
8844
9427
 
8845
9428
  sig { returns(String) }
8846
9429
  attr_accessor :id
@@ -9157,7 +9740,13 @@ module Orb
9157
9740
  end
9158
9741
 
9159
9742
  class BillableMetric < Orb::Internal::Type::BaseModel
9160
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9743
+ OrHash =
9744
+ T.type_alias do
9745
+ T.any(
9746
+ Orb::Price::PackageWithAllocation::BillableMetric,
9747
+ Orb::Internal::AnyHash
9748
+ )
9749
+ end
9161
9750
 
9162
9751
  sig { returns(String) }
9163
9752
  attr_accessor :id
@@ -9172,7 +9761,13 @@ module Orb
9172
9761
  end
9173
9762
 
9174
9763
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9175
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9764
+ OrHash =
9765
+ T.type_alias do
9766
+ T.any(
9767
+ Orb::Price::PackageWithAllocation::BillingCycleConfiguration,
9768
+ Orb::Internal::AnyHash
9769
+ )
9770
+ end
9176
9771
 
9177
9772
  sig { returns(Integer) }
9178
9773
  attr_accessor :duration
@@ -9291,7 +9886,13 @@ module Orb
9291
9886
  end
9292
9887
 
9293
9888
  class CreditAllocation < Orb::Internal::Type::BaseModel
9294
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9889
+ OrHash =
9890
+ T.type_alias do
9891
+ T.any(
9892
+ Orb::Price::PackageWithAllocation::CreditAllocation,
9893
+ Orb::Internal::AnyHash
9894
+ )
9895
+ end
9295
9896
 
9296
9897
  sig { returns(T::Boolean) }
9297
9898
  attr_accessor :allows_rollover
@@ -9315,7 +9916,13 @@ module Orb
9315
9916
  end
9316
9917
 
9317
9918
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9318
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9919
+ OrHash =
9920
+ T.type_alias do
9921
+ T.any(
9922
+ Orb::Price::PackageWithAllocation::InvoicingCycleConfiguration,
9923
+ Orb::Internal::AnyHash
9924
+ )
9925
+ end
9319
9926
 
9320
9927
  sig { returns(Integer) }
9321
9928
  attr_accessor :duration
@@ -9385,7 +9992,13 @@ module Orb
9385
9992
  end
9386
9993
 
9387
9994
  class Item < Orb::Internal::Type::BaseModel
9388
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9995
+ OrHash =
9996
+ T.type_alias do
9997
+ T.any(
9998
+ Orb::Price::PackageWithAllocation::Item,
9999
+ Orb::Internal::AnyHash
10000
+ )
10001
+ end
9389
10002
 
9390
10003
  sig { returns(String) }
9391
10004
  attr_accessor :id
@@ -9403,7 +10016,13 @@ module Orb
9403
10016
  end
9404
10017
 
9405
10018
  class Maximum < Orb::Internal::Type::BaseModel
9406
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10019
+ OrHash =
10020
+ T.type_alias do
10021
+ T.any(
10022
+ Orb::Price::PackageWithAllocation::Maximum,
10023
+ Orb::Internal::AnyHash
10024
+ )
10025
+ end
9407
10026
 
9408
10027
  # List of price_ids that this maximum amount applies to. For plan/plan phase
9409
10028
  # maximums, this can be a subset of prices.
@@ -9439,7 +10058,13 @@ module Orb
9439
10058
  end
9440
10059
 
9441
10060
  class Minimum < Orb::Internal::Type::BaseModel
9442
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10061
+ OrHash =
10062
+ T.type_alias do
10063
+ T.any(
10064
+ Orb::Price::PackageWithAllocation::Minimum,
10065
+ Orb::Internal::AnyHash
10066
+ )
10067
+ end
9443
10068
 
9444
10069
  # List of price_ids that this minimum amount applies to. For plan/plan phase
9445
10070
  # minimums, this can be a subset of prices.
@@ -9506,7 +10131,13 @@ module Orb
9506
10131
  end
9507
10132
 
9508
10133
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
9509
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10134
+ OrHash =
10135
+ T.type_alias do
10136
+ T.any(
10137
+ Orb::Price::PackageWithAllocation::DimensionalPriceConfiguration,
10138
+ Orb::Internal::AnyHash
10139
+ )
10140
+ end
9510
10141
 
9511
10142
  sig { returns(T::Array[String]) }
9512
10143
  attr_accessor :dimension_values
@@ -9537,7 +10168,10 @@ module Orb
9537
10168
  end
9538
10169
 
9539
10170
  class UnitWithPercent < Orb::Internal::Type::BaseModel
9540
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10171
+ OrHash =
10172
+ T.type_alias do
10173
+ T.any(Orb::Price::UnitWithPercent, Orb::Internal::AnyHash)
10174
+ end
9541
10175
 
9542
10176
  sig { returns(String) }
9543
10177
  attr_accessor :id
@@ -9827,7 +10461,13 @@ module Orb
9827
10461
  end
9828
10462
 
9829
10463
  class BillableMetric < Orb::Internal::Type::BaseModel
9830
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10464
+ OrHash =
10465
+ T.type_alias do
10466
+ T.any(
10467
+ Orb::Price::UnitWithPercent::BillableMetric,
10468
+ Orb::Internal::AnyHash
10469
+ )
10470
+ end
9831
10471
 
9832
10472
  sig { returns(String) }
9833
10473
  attr_accessor :id
@@ -9842,7 +10482,13 @@ module Orb
9842
10482
  end
9843
10483
 
9844
10484
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9845
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10485
+ OrHash =
10486
+ T.type_alias do
10487
+ T.any(
10488
+ Orb::Price::UnitWithPercent::BillingCycleConfiguration,
10489
+ Orb::Internal::AnyHash
10490
+ )
10491
+ end
9846
10492
 
9847
10493
  sig { returns(Integer) }
9848
10494
  attr_accessor :duration
@@ -9947,7 +10593,13 @@ module Orb
9947
10593
  end
9948
10594
 
9949
10595
  class CreditAllocation < Orb::Internal::Type::BaseModel
9950
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10596
+ OrHash =
10597
+ T.type_alias do
10598
+ T.any(
10599
+ Orb::Price::UnitWithPercent::CreditAllocation,
10600
+ Orb::Internal::AnyHash
10601
+ )
10602
+ end
9951
10603
 
9952
10604
  sig { returns(T::Boolean) }
9953
10605
  attr_accessor :allows_rollover
@@ -9971,7 +10623,13 @@ module Orb
9971
10623
  end
9972
10624
 
9973
10625
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9974
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10626
+ OrHash =
10627
+ T.type_alias do
10628
+ T.any(
10629
+ Orb::Price::UnitWithPercent::InvoicingCycleConfiguration,
10630
+ Orb::Internal::AnyHash
10631
+ )
10632
+ end
9975
10633
 
9976
10634
  sig { returns(Integer) }
9977
10635
  attr_accessor :duration
@@ -10041,7 +10699,10 @@ module Orb
10041
10699
  end
10042
10700
 
10043
10701
  class Item < Orb::Internal::Type::BaseModel
10044
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10702
+ OrHash =
10703
+ T.type_alias do
10704
+ T.any(Orb::Price::UnitWithPercent::Item, Orb::Internal::AnyHash)
10705
+ end
10045
10706
 
10046
10707
  sig { returns(String) }
10047
10708
  attr_accessor :id
@@ -10059,7 +10720,13 @@ module Orb
10059
10720
  end
10060
10721
 
10061
10722
  class Maximum < Orb::Internal::Type::BaseModel
10062
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10723
+ OrHash =
10724
+ T.type_alias do
10725
+ T.any(
10726
+ Orb::Price::UnitWithPercent::Maximum,
10727
+ Orb::Internal::AnyHash
10728
+ )
10729
+ end
10063
10730
 
10064
10731
  # List of price_ids that this maximum amount applies to. For plan/plan phase
10065
10732
  # maximums, this can be a subset of prices.
@@ -10095,7 +10762,13 @@ module Orb
10095
10762
  end
10096
10763
 
10097
10764
  class Minimum < Orb::Internal::Type::BaseModel
10098
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10765
+ OrHash =
10766
+ T.type_alias do
10767
+ T.any(
10768
+ Orb::Price::UnitWithPercent::Minimum,
10769
+ Orb::Internal::AnyHash
10770
+ )
10771
+ end
10099
10772
 
10100
10773
  # List of price_ids that this minimum amount applies to. For plan/plan phase
10101
10774
  # minimums, this can be a subset of prices.
@@ -10160,7 +10833,13 @@ module Orb
10160
10833
  end
10161
10834
 
10162
10835
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
10163
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10836
+ OrHash =
10837
+ T.type_alias do
10838
+ T.any(
10839
+ Orb::Price::UnitWithPercent::DimensionalPriceConfiguration,
10840
+ Orb::Internal::AnyHash
10841
+ )
10842
+ end
10164
10843
 
10165
10844
  sig { returns(T::Array[String]) }
10166
10845
  attr_accessor :dimension_values
@@ -10191,7 +10870,10 @@ module Orb
10191
10870
  end
10192
10871
 
10193
10872
  class MatrixWithAllocation < Orb::Internal::Type::BaseModel
10194
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10873
+ OrHash =
10874
+ T.type_alias do
10875
+ T.any(Orb::Price::MatrixWithAllocation, Orb::Internal::AnyHash)
10876
+ end
10195
10877
 
10196
10878
  sig { returns(String) }
10197
10879
  attr_accessor :id
@@ -10516,7 +11198,13 @@ module Orb
10516
11198
  end
10517
11199
 
10518
11200
  class BillableMetric < Orb::Internal::Type::BaseModel
10519
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11201
+ OrHash =
11202
+ T.type_alias do
11203
+ T.any(
11204
+ Orb::Price::MatrixWithAllocation::BillableMetric,
11205
+ Orb::Internal::AnyHash
11206
+ )
11207
+ end
10520
11208
 
10521
11209
  sig { returns(String) }
10522
11210
  attr_accessor :id
@@ -10531,7 +11219,13 @@ module Orb
10531
11219
  end
10532
11220
 
10533
11221
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10534
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11222
+ OrHash =
11223
+ T.type_alias do
11224
+ T.any(
11225
+ Orb::Price::MatrixWithAllocation::BillingCycleConfiguration,
11226
+ Orb::Internal::AnyHash
11227
+ )
11228
+ end
10535
11229
 
10536
11230
  sig { returns(Integer) }
10537
11231
  attr_accessor :duration
@@ -10650,7 +11344,13 @@ module Orb
10650
11344
  end
10651
11345
 
10652
11346
  class CreditAllocation < Orb::Internal::Type::BaseModel
10653
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11347
+ OrHash =
11348
+ T.type_alias do
11349
+ T.any(
11350
+ Orb::Price::MatrixWithAllocation::CreditAllocation,
11351
+ Orb::Internal::AnyHash
11352
+ )
11353
+ end
10654
11354
 
10655
11355
  sig { returns(T::Boolean) }
10656
11356
  attr_accessor :allows_rollover
@@ -10674,7 +11374,13 @@ module Orb
10674
11374
  end
10675
11375
 
10676
11376
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10677
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11377
+ OrHash =
11378
+ T.type_alias do
11379
+ T.any(
11380
+ Orb::Price::MatrixWithAllocation::InvoicingCycleConfiguration,
11381
+ Orb::Internal::AnyHash
11382
+ )
11383
+ end
10678
11384
 
10679
11385
  sig { returns(Integer) }
10680
11386
  attr_accessor :duration
@@ -10744,7 +11450,13 @@ module Orb
10744
11450
  end
10745
11451
 
10746
11452
  class Item < Orb::Internal::Type::BaseModel
10747
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11453
+ OrHash =
11454
+ T.type_alias do
11455
+ T.any(
11456
+ Orb::Price::MatrixWithAllocation::Item,
11457
+ Orb::Internal::AnyHash
11458
+ )
11459
+ end
10748
11460
 
10749
11461
  sig { returns(String) }
10750
11462
  attr_accessor :id
@@ -10762,7 +11474,13 @@ module Orb
10762
11474
  end
10763
11475
 
10764
11476
  class MatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
10765
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11477
+ OrHash =
11478
+ T.type_alias do
11479
+ T.any(
11480
+ Orb::Price::MatrixWithAllocation::MatrixWithAllocationConfig,
11481
+ Orb::Internal::AnyHash
11482
+ )
11483
+ end
10766
11484
 
10767
11485
  # Allocation to be used to calculate the price
10768
11486
  sig { returns(Float) }
@@ -10826,7 +11544,13 @@ module Orb
10826
11544
  end
10827
11545
 
10828
11546
  class MatrixValue < Orb::Internal::Type::BaseModel
10829
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11547
+ OrHash =
11548
+ T.type_alias do
11549
+ T.any(
11550
+ Orb::Price::MatrixWithAllocation::MatrixWithAllocationConfig::MatrixValue,
11551
+ Orb::Internal::AnyHash
11552
+ )
11553
+ end
10830
11554
 
10831
11555
  # One or two matrix keys to filter usage to this Matrix value by. For example,
10832
11556
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
@@ -10868,7 +11592,13 @@ module Orb
10868
11592
  end
10869
11593
 
10870
11594
  class Maximum < Orb::Internal::Type::BaseModel
10871
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11595
+ OrHash =
11596
+ T.type_alias do
11597
+ T.any(
11598
+ Orb::Price::MatrixWithAllocation::Maximum,
11599
+ Orb::Internal::AnyHash
11600
+ )
11601
+ end
10872
11602
 
10873
11603
  # List of price_ids that this maximum amount applies to. For plan/plan phase
10874
11604
  # maximums, this can be a subset of prices.
@@ -10904,7 +11634,13 @@ module Orb
10904
11634
  end
10905
11635
 
10906
11636
  class Minimum < Orb::Internal::Type::BaseModel
10907
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11637
+ OrHash =
11638
+ T.type_alias do
11639
+ T.any(
11640
+ Orb::Price::MatrixWithAllocation::Minimum,
11641
+ Orb::Internal::AnyHash
11642
+ )
11643
+ end
10908
11644
 
10909
11645
  # List of price_ids that this minimum amount applies to. For plan/plan phase
10910
11646
  # minimums, this can be a subset of prices.
@@ -10971,7 +11707,13 @@ module Orb
10971
11707
  end
10972
11708
 
10973
11709
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
10974
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11710
+ OrHash =
11711
+ T.type_alias do
11712
+ T.any(
11713
+ Orb::Price::MatrixWithAllocation::DimensionalPriceConfiguration,
11714
+ Orb::Internal::AnyHash
11715
+ )
11716
+ end
10975
11717
 
10976
11718
  sig { returns(T::Array[String]) }
10977
11719
  attr_accessor :dimension_values
@@ -11002,7 +11744,10 @@ module Orb
11002
11744
  end
11003
11745
 
11004
11746
  class TieredWithProration < Orb::Internal::Type::BaseModel
11005
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11747
+ OrHash =
11748
+ T.type_alias do
11749
+ T.any(Orb::Price::TieredWithProration, Orb::Internal::AnyHash)
11750
+ end
11006
11751
 
11007
11752
  sig { returns(String) }
11008
11753
  attr_accessor :id
@@ -11309,7 +12054,13 @@ module Orb
11309
12054
  end
11310
12055
 
11311
12056
  class BillableMetric < Orb::Internal::Type::BaseModel
11312
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12057
+ OrHash =
12058
+ T.type_alias do
12059
+ T.any(
12060
+ Orb::Price::TieredWithProration::BillableMetric,
12061
+ Orb::Internal::AnyHash
12062
+ )
12063
+ end
11313
12064
 
11314
12065
  sig { returns(String) }
11315
12066
  attr_accessor :id
@@ -11324,7 +12075,13 @@ module Orb
11324
12075
  end
11325
12076
 
11326
12077
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11327
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12078
+ OrHash =
12079
+ T.type_alias do
12080
+ T.any(
12081
+ Orb::Price::TieredWithProration::BillingCycleConfiguration,
12082
+ Orb::Internal::AnyHash
12083
+ )
12084
+ end
11328
12085
 
11329
12086
  sig { returns(Integer) }
11330
12087
  attr_accessor :duration
@@ -11443,10 +12200,16 @@ module Orb
11443
12200
  end
11444
12201
 
11445
12202
  class CreditAllocation < Orb::Internal::Type::BaseModel
11446
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11447
-
11448
- sig { returns(T::Boolean) }
11449
- attr_accessor :allows_rollover
12203
+ OrHash =
12204
+ T.type_alias do
12205
+ T.any(
12206
+ Orb::Price::TieredWithProration::CreditAllocation,
12207
+ Orb::Internal::AnyHash
12208
+ )
12209
+ end
12210
+
12211
+ sig { returns(T::Boolean) }
12212
+ attr_accessor :allows_rollover
11450
12213
 
11451
12214
  sig { returns(String) }
11452
12215
  attr_accessor :currency
@@ -11467,7 +12230,13 @@ module Orb
11467
12230
  end
11468
12231
 
11469
12232
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11470
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12233
+ OrHash =
12234
+ T.type_alias do
12235
+ T.any(
12236
+ Orb::Price::TieredWithProration::InvoicingCycleConfiguration,
12237
+ Orb::Internal::AnyHash
12238
+ )
12239
+ end
11471
12240
 
11472
12241
  sig { returns(Integer) }
11473
12242
  attr_accessor :duration
@@ -11537,7 +12306,13 @@ module Orb
11537
12306
  end
11538
12307
 
11539
12308
  class Item < Orb::Internal::Type::BaseModel
11540
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12309
+ OrHash =
12310
+ T.type_alias do
12311
+ T.any(
12312
+ Orb::Price::TieredWithProration::Item,
12313
+ Orb::Internal::AnyHash
12314
+ )
12315
+ end
11541
12316
 
11542
12317
  sig { returns(String) }
11543
12318
  attr_accessor :id
@@ -11555,7 +12330,13 @@ module Orb
11555
12330
  end
11556
12331
 
11557
12332
  class Maximum < Orb::Internal::Type::BaseModel
11558
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12333
+ OrHash =
12334
+ T.type_alias do
12335
+ T.any(
12336
+ Orb::Price::TieredWithProration::Maximum,
12337
+ Orb::Internal::AnyHash
12338
+ )
12339
+ end
11559
12340
 
11560
12341
  # List of price_ids that this maximum amount applies to. For plan/plan phase
11561
12342
  # maximums, this can be a subset of prices.
@@ -11591,7 +12372,13 @@ module Orb
11591
12372
  end
11592
12373
 
11593
12374
  class Minimum < Orb::Internal::Type::BaseModel
11594
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12375
+ OrHash =
12376
+ T.type_alias do
12377
+ T.any(
12378
+ Orb::Price::TieredWithProration::Minimum,
12379
+ Orb::Internal::AnyHash
12380
+ )
12381
+ end
11595
12382
 
11596
12383
  # List of price_ids that this minimum amount applies to. For plan/plan phase
11597
12384
  # minimums, this can be a subset of prices.
@@ -11656,7 +12443,13 @@ module Orb
11656
12443
  end
11657
12444
 
11658
12445
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
11659
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12446
+ OrHash =
12447
+ T.type_alias do
12448
+ T.any(
12449
+ Orb::Price::TieredWithProration::DimensionalPriceConfiguration,
12450
+ Orb::Internal::AnyHash
12451
+ )
12452
+ end
11660
12453
 
11661
12454
  sig { returns(T::Array[String]) }
11662
12455
  attr_accessor :dimension_values
@@ -11687,7 +12480,10 @@ module Orb
11687
12480
  end
11688
12481
 
11689
12482
  class UnitWithProration < Orb::Internal::Type::BaseModel
11690
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12483
+ OrHash =
12484
+ T.type_alias do
12485
+ T.any(Orb::Price::UnitWithProration, Orb::Internal::AnyHash)
12486
+ end
11691
12487
 
11692
12488
  sig { returns(String) }
11693
12489
  attr_accessor :id
@@ -11986,7 +12782,13 @@ module Orb
11986
12782
  end
11987
12783
 
11988
12784
  class BillableMetric < Orb::Internal::Type::BaseModel
11989
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12785
+ OrHash =
12786
+ T.type_alias do
12787
+ T.any(
12788
+ Orb::Price::UnitWithProration::BillableMetric,
12789
+ Orb::Internal::AnyHash
12790
+ )
12791
+ end
11990
12792
 
11991
12793
  sig { returns(String) }
11992
12794
  attr_accessor :id
@@ -12001,7 +12803,13 @@ module Orb
12001
12803
  end
12002
12804
 
12003
12805
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
12004
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12806
+ OrHash =
12807
+ T.type_alias do
12808
+ T.any(
12809
+ Orb::Price::UnitWithProration::BillingCycleConfiguration,
12810
+ Orb::Internal::AnyHash
12811
+ )
12812
+ end
12005
12813
 
12006
12814
  sig { returns(Integer) }
12007
12815
  attr_accessor :duration
@@ -12114,7 +12922,13 @@ module Orb
12114
12922
  end
12115
12923
 
12116
12924
  class CreditAllocation < Orb::Internal::Type::BaseModel
12117
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12925
+ OrHash =
12926
+ T.type_alias do
12927
+ T.any(
12928
+ Orb::Price::UnitWithProration::CreditAllocation,
12929
+ Orb::Internal::AnyHash
12930
+ )
12931
+ end
12118
12932
 
12119
12933
  sig { returns(T::Boolean) }
12120
12934
  attr_accessor :allows_rollover
@@ -12138,7 +12952,13 @@ module Orb
12138
12952
  end
12139
12953
 
12140
12954
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
12141
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12955
+ OrHash =
12956
+ T.type_alias do
12957
+ T.any(
12958
+ Orb::Price::UnitWithProration::InvoicingCycleConfiguration,
12959
+ Orb::Internal::AnyHash
12960
+ )
12961
+ end
12142
12962
 
12143
12963
  sig { returns(Integer) }
12144
12964
  attr_accessor :duration
@@ -12208,7 +13028,10 @@ module Orb
12208
13028
  end
12209
13029
 
12210
13030
  class Item < Orb::Internal::Type::BaseModel
12211
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13031
+ OrHash =
13032
+ T.type_alias do
13033
+ T.any(Orb::Price::UnitWithProration::Item, Orb::Internal::AnyHash)
13034
+ end
12212
13035
 
12213
13036
  sig { returns(String) }
12214
13037
  attr_accessor :id
@@ -12226,7 +13049,13 @@ module Orb
12226
13049
  end
12227
13050
 
12228
13051
  class Maximum < Orb::Internal::Type::BaseModel
12229
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13052
+ OrHash =
13053
+ T.type_alias do
13054
+ T.any(
13055
+ Orb::Price::UnitWithProration::Maximum,
13056
+ Orb::Internal::AnyHash
13057
+ )
13058
+ end
12230
13059
 
12231
13060
  # List of price_ids that this maximum amount applies to. For plan/plan phase
12232
13061
  # maximums, this can be a subset of prices.
@@ -12262,7 +13091,13 @@ module Orb
12262
13091
  end
12263
13092
 
12264
13093
  class Minimum < Orb::Internal::Type::BaseModel
12265
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13094
+ OrHash =
13095
+ T.type_alias do
13096
+ T.any(
13097
+ Orb::Price::UnitWithProration::Minimum,
13098
+ Orb::Internal::AnyHash
13099
+ )
13100
+ end
12266
13101
 
12267
13102
  # List of price_ids that this minimum amount applies to. For plan/plan phase
12268
13103
  # minimums, this can be a subset of prices.
@@ -12327,7 +13162,13 @@ module Orb
12327
13162
  end
12328
13163
 
12329
13164
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
12330
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13165
+ OrHash =
13166
+ T.type_alias do
13167
+ T.any(
13168
+ Orb::Price::UnitWithProration::DimensionalPriceConfiguration,
13169
+ Orb::Internal::AnyHash
13170
+ )
13171
+ end
12331
13172
 
12332
13173
  sig { returns(T::Array[String]) }
12333
13174
  attr_accessor :dimension_values
@@ -12358,7 +13199,10 @@ module Orb
12358
13199
  end
12359
13200
 
12360
13201
  class GroupedAllocation < Orb::Internal::Type::BaseModel
12361
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13202
+ OrHash =
13203
+ T.type_alias do
13204
+ T.any(Orb::Price::GroupedAllocation, Orb::Internal::AnyHash)
13205
+ end
12362
13206
 
12363
13207
  sig { returns(String) }
12364
13208
  attr_accessor :id
@@ -12657,7 +13501,13 @@ module Orb
12657
13501
  end
12658
13502
 
12659
13503
  class BillableMetric < Orb::Internal::Type::BaseModel
12660
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13504
+ OrHash =
13505
+ T.type_alias do
13506
+ T.any(
13507
+ Orb::Price::GroupedAllocation::BillableMetric,
13508
+ Orb::Internal::AnyHash
13509
+ )
13510
+ end
12661
13511
 
12662
13512
  sig { returns(String) }
12663
13513
  attr_accessor :id
@@ -12672,7 +13522,13 @@ module Orb
12672
13522
  end
12673
13523
 
12674
13524
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
12675
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13525
+ OrHash =
13526
+ T.type_alias do
13527
+ T.any(
13528
+ Orb::Price::GroupedAllocation::BillingCycleConfiguration,
13529
+ Orb::Internal::AnyHash
13530
+ )
13531
+ end
12676
13532
 
12677
13533
  sig { returns(Integer) }
12678
13534
  attr_accessor :duration
@@ -12785,7 +13641,13 @@ module Orb
12785
13641
  end
12786
13642
 
12787
13643
  class CreditAllocation < Orb::Internal::Type::BaseModel
12788
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13644
+ OrHash =
13645
+ T.type_alias do
13646
+ T.any(
13647
+ Orb::Price::GroupedAllocation::CreditAllocation,
13648
+ Orb::Internal::AnyHash
13649
+ )
13650
+ end
12789
13651
 
12790
13652
  sig { returns(T::Boolean) }
12791
13653
  attr_accessor :allows_rollover
@@ -12809,7 +13671,13 @@ module Orb
12809
13671
  end
12810
13672
 
12811
13673
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
12812
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13674
+ OrHash =
13675
+ T.type_alias do
13676
+ T.any(
13677
+ Orb::Price::GroupedAllocation::InvoicingCycleConfiguration,
13678
+ Orb::Internal::AnyHash
13679
+ )
13680
+ end
12813
13681
 
12814
13682
  sig { returns(Integer) }
12815
13683
  attr_accessor :duration
@@ -12879,7 +13747,10 @@ module Orb
12879
13747
  end
12880
13748
 
12881
13749
  class Item < Orb::Internal::Type::BaseModel
12882
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13750
+ OrHash =
13751
+ T.type_alias do
13752
+ T.any(Orb::Price::GroupedAllocation::Item, Orb::Internal::AnyHash)
13753
+ end
12883
13754
 
12884
13755
  sig { returns(String) }
12885
13756
  attr_accessor :id
@@ -12897,7 +13768,13 @@ module Orb
12897
13768
  end
12898
13769
 
12899
13770
  class Maximum < Orb::Internal::Type::BaseModel
12900
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13771
+ OrHash =
13772
+ T.type_alias do
13773
+ T.any(
13774
+ Orb::Price::GroupedAllocation::Maximum,
13775
+ Orb::Internal::AnyHash
13776
+ )
13777
+ end
12901
13778
 
12902
13779
  # List of price_ids that this maximum amount applies to. For plan/plan phase
12903
13780
  # maximums, this can be a subset of prices.
@@ -12933,7 +13810,13 @@ module Orb
12933
13810
  end
12934
13811
 
12935
13812
  class Minimum < Orb::Internal::Type::BaseModel
12936
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13813
+ OrHash =
13814
+ T.type_alias do
13815
+ T.any(
13816
+ Orb::Price::GroupedAllocation::Minimum,
13817
+ Orb::Internal::AnyHash
13818
+ )
13819
+ end
12937
13820
 
12938
13821
  # List of price_ids that this minimum amount applies to. For plan/plan phase
12939
13822
  # minimums, this can be a subset of prices.
@@ -12998,7 +13881,13 @@ module Orb
12998
13881
  end
12999
13882
 
13000
13883
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
13001
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13884
+ OrHash =
13885
+ T.type_alias do
13886
+ T.any(
13887
+ Orb::Price::GroupedAllocation::DimensionalPriceConfiguration,
13888
+ Orb::Internal::AnyHash
13889
+ )
13890
+ end
13002
13891
 
13003
13892
  sig { returns(T::Array[String]) }
13004
13893
  attr_accessor :dimension_values
@@ -13029,7 +13918,13 @@ module Orb
13029
13918
  end
13030
13919
 
13031
13920
  class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
13032
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13921
+ OrHash =
13922
+ T.type_alias do
13923
+ T.any(
13924
+ Orb::Price::GroupedWithProratedMinimum,
13925
+ Orb::Internal::AnyHash
13926
+ )
13927
+ end
13033
13928
 
13034
13929
  sig { returns(String) }
13035
13930
  attr_accessor :id
@@ -13370,7 +14265,13 @@ module Orb
13370
14265
  end
13371
14266
 
13372
14267
  class BillableMetric < Orb::Internal::Type::BaseModel
13373
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14268
+ OrHash =
14269
+ T.type_alias do
14270
+ T.any(
14271
+ Orb::Price::GroupedWithProratedMinimum::BillableMetric,
14272
+ Orb::Internal::AnyHash
14273
+ )
14274
+ end
13374
14275
 
13375
14276
  sig { returns(String) }
13376
14277
  attr_accessor :id
@@ -13385,7 +14286,13 @@ module Orb
13385
14286
  end
13386
14287
 
13387
14288
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
13388
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14289
+ OrHash =
14290
+ T.type_alias do
14291
+ T.any(
14292
+ Orb::Price::GroupedWithProratedMinimum::BillingCycleConfiguration,
14293
+ Orb::Internal::AnyHash
14294
+ )
14295
+ end
13389
14296
 
13390
14297
  sig { returns(Integer) }
13391
14298
  attr_accessor :duration
@@ -13506,7 +14413,13 @@ module Orb
13506
14413
  end
13507
14414
 
13508
14415
  class CreditAllocation < Orb::Internal::Type::BaseModel
13509
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14416
+ OrHash =
14417
+ T.type_alias do
14418
+ T.any(
14419
+ Orb::Price::GroupedWithProratedMinimum::CreditAllocation,
14420
+ Orb::Internal::AnyHash
14421
+ )
14422
+ end
13510
14423
 
13511
14424
  sig { returns(T::Boolean) }
13512
14425
  attr_accessor :allows_rollover
@@ -13530,7 +14443,13 @@ module Orb
13530
14443
  end
13531
14444
 
13532
14445
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
13533
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14446
+ OrHash =
14447
+ T.type_alias do
14448
+ T.any(
14449
+ Orb::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration,
14450
+ Orb::Internal::AnyHash
14451
+ )
14452
+ end
13534
14453
 
13535
14454
  sig { returns(Integer) }
13536
14455
  attr_accessor :duration
@@ -13600,7 +14519,13 @@ module Orb
13600
14519
  end
13601
14520
 
13602
14521
  class Item < Orb::Internal::Type::BaseModel
13603
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14522
+ OrHash =
14523
+ T.type_alias do
14524
+ T.any(
14525
+ Orb::Price::GroupedWithProratedMinimum::Item,
14526
+ Orb::Internal::AnyHash
14527
+ )
14528
+ end
13604
14529
 
13605
14530
  sig { returns(String) }
13606
14531
  attr_accessor :id
@@ -13618,7 +14543,13 @@ module Orb
13618
14543
  end
13619
14544
 
13620
14545
  class Maximum < Orb::Internal::Type::BaseModel
13621
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14546
+ OrHash =
14547
+ T.type_alias do
14548
+ T.any(
14549
+ Orb::Price::GroupedWithProratedMinimum::Maximum,
14550
+ Orb::Internal::AnyHash
14551
+ )
14552
+ end
13622
14553
 
13623
14554
  # List of price_ids that this maximum amount applies to. For plan/plan phase
13624
14555
  # maximums, this can be a subset of prices.
@@ -13654,7 +14585,13 @@ module Orb
13654
14585
  end
13655
14586
 
13656
14587
  class Minimum < Orb::Internal::Type::BaseModel
13657
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14588
+ OrHash =
14589
+ T.type_alias do
14590
+ T.any(
14591
+ Orb::Price::GroupedWithProratedMinimum::Minimum,
14592
+ Orb::Internal::AnyHash
14593
+ )
14594
+ end
13658
14595
 
13659
14596
  # List of price_ids that this minimum amount applies to. For plan/plan phase
13660
14597
  # minimums, this can be a subset of prices.
@@ -13721,7 +14658,13 @@ module Orb
13721
14658
  end
13722
14659
 
13723
14660
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
13724
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14661
+ OrHash =
14662
+ T.type_alias do
14663
+ T.any(
14664
+ Orb::Price::GroupedWithProratedMinimum::DimensionalPriceConfiguration,
14665
+ Orb::Internal::AnyHash
14666
+ )
14667
+ end
13725
14668
 
13726
14669
  sig { returns(T::Array[String]) }
13727
14670
  attr_accessor :dimension_values
@@ -13752,7 +14695,10 @@ module Orb
13752
14695
  end
13753
14696
 
13754
14697
  class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
13755
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14698
+ OrHash =
14699
+ T.type_alias do
14700
+ T.any(Orb::Price::GroupedWithMeteredMinimum, Orb::Internal::AnyHash)
14701
+ end
13756
14702
 
13757
14703
  sig { returns(String) }
13758
14704
  attr_accessor :id
@@ -14087,7 +15033,13 @@ module Orb
14087
15033
  end
14088
15034
 
14089
15035
  class BillableMetric < Orb::Internal::Type::BaseModel
14090
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15036
+ OrHash =
15037
+ T.type_alias do
15038
+ T.any(
15039
+ Orb::Price::GroupedWithMeteredMinimum::BillableMetric,
15040
+ Orb::Internal::AnyHash
15041
+ )
15042
+ end
14091
15043
 
14092
15044
  sig { returns(String) }
14093
15045
  attr_accessor :id
@@ -14102,7 +15054,13 @@ module Orb
14102
15054
  end
14103
15055
 
14104
15056
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
14105
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15057
+ OrHash =
15058
+ T.type_alias do
15059
+ T.any(
15060
+ Orb::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration,
15061
+ Orb::Internal::AnyHash
15062
+ )
15063
+ end
14106
15064
 
14107
15065
  sig { returns(Integer) }
14108
15066
  attr_accessor :duration
@@ -14223,7 +15181,13 @@ module Orb
14223
15181
  end
14224
15182
 
14225
15183
  class CreditAllocation < Orb::Internal::Type::BaseModel
14226
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15184
+ OrHash =
15185
+ T.type_alias do
15186
+ T.any(
15187
+ Orb::Price::GroupedWithMeteredMinimum::CreditAllocation,
15188
+ Orb::Internal::AnyHash
15189
+ )
15190
+ end
14227
15191
 
14228
15192
  sig { returns(T::Boolean) }
14229
15193
  attr_accessor :allows_rollover
@@ -14247,7 +15211,13 @@ module Orb
14247
15211
  end
14248
15212
 
14249
15213
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
14250
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15214
+ OrHash =
15215
+ T.type_alias do
15216
+ T.any(
15217
+ Orb::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration,
15218
+ Orb::Internal::AnyHash
15219
+ )
15220
+ end
14251
15221
 
14252
15222
  sig { returns(Integer) }
14253
15223
  attr_accessor :duration
@@ -14317,7 +15287,13 @@ module Orb
14317
15287
  end
14318
15288
 
14319
15289
  class Item < Orb::Internal::Type::BaseModel
14320
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15290
+ OrHash =
15291
+ T.type_alias do
15292
+ T.any(
15293
+ Orb::Price::GroupedWithMeteredMinimum::Item,
15294
+ Orb::Internal::AnyHash
15295
+ )
15296
+ end
14321
15297
 
14322
15298
  sig { returns(String) }
14323
15299
  attr_accessor :id
@@ -14335,7 +15311,13 @@ module Orb
14335
15311
  end
14336
15312
 
14337
15313
  class Maximum < Orb::Internal::Type::BaseModel
14338
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15314
+ OrHash =
15315
+ T.type_alias do
15316
+ T.any(
15317
+ Orb::Price::GroupedWithMeteredMinimum::Maximum,
15318
+ Orb::Internal::AnyHash
15319
+ )
15320
+ end
14339
15321
 
14340
15322
  # List of price_ids that this maximum amount applies to. For plan/plan phase
14341
15323
  # maximums, this can be a subset of prices.
@@ -14371,7 +15353,13 @@ module Orb
14371
15353
  end
14372
15354
 
14373
15355
  class Minimum < Orb::Internal::Type::BaseModel
14374
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15356
+ OrHash =
15357
+ T.type_alias do
15358
+ T.any(
15359
+ Orb::Price::GroupedWithMeteredMinimum::Minimum,
15360
+ Orb::Internal::AnyHash
15361
+ )
15362
+ end
14375
15363
 
14376
15364
  # List of price_ids that this minimum amount applies to. For plan/plan phase
14377
15365
  # minimums, this can be a subset of prices.
@@ -14438,7 +15426,13 @@ module Orb
14438
15426
  end
14439
15427
 
14440
15428
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
14441
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15429
+ OrHash =
15430
+ T.type_alias do
15431
+ T.any(
15432
+ Orb::Price::GroupedWithMeteredMinimum::DimensionalPriceConfiguration,
15433
+ Orb::Internal::AnyHash
15434
+ )
15435
+ end
14442
15436
 
14443
15437
  sig { returns(T::Array[String]) }
14444
15438
  attr_accessor :dimension_values
@@ -14469,7 +15463,10 @@ module Orb
14469
15463
  end
14470
15464
 
14471
15465
  class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
14472
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15466
+ OrHash =
15467
+ T.type_alias do
15468
+ T.any(Orb::Price::MatrixWithDisplayName, Orb::Internal::AnyHash)
15469
+ end
14473
15470
 
14474
15471
  sig { returns(String) }
14475
15472
  attr_accessor :id
@@ -14786,7 +15783,13 @@ module Orb
14786
15783
  end
14787
15784
 
14788
15785
  class BillableMetric < Orb::Internal::Type::BaseModel
14789
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15786
+ OrHash =
15787
+ T.type_alias do
15788
+ T.any(
15789
+ Orb::Price::MatrixWithDisplayName::BillableMetric,
15790
+ Orb::Internal::AnyHash
15791
+ )
15792
+ end
14790
15793
 
14791
15794
  sig { returns(String) }
14792
15795
  attr_accessor :id
@@ -14801,7 +15804,13 @@ module Orb
14801
15804
  end
14802
15805
 
14803
15806
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
14804
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15807
+ OrHash =
15808
+ T.type_alias do
15809
+ T.any(
15810
+ Orb::Price::MatrixWithDisplayName::BillingCycleConfiguration,
15811
+ Orb::Internal::AnyHash
15812
+ )
15813
+ end
14805
15814
 
14806
15815
  sig { returns(Integer) }
14807
15816
  attr_accessor :duration
@@ -14920,7 +15929,13 @@ module Orb
14920
15929
  end
14921
15930
 
14922
15931
  class CreditAllocation < Orb::Internal::Type::BaseModel
14923
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15932
+ OrHash =
15933
+ T.type_alias do
15934
+ T.any(
15935
+ Orb::Price::MatrixWithDisplayName::CreditAllocation,
15936
+ Orb::Internal::AnyHash
15937
+ )
15938
+ end
14924
15939
 
14925
15940
  sig { returns(T::Boolean) }
14926
15941
  attr_accessor :allows_rollover
@@ -14944,7 +15959,13 @@ module Orb
14944
15959
  end
14945
15960
 
14946
15961
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
14947
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15962
+ OrHash =
15963
+ T.type_alias do
15964
+ T.any(
15965
+ Orb::Price::MatrixWithDisplayName::InvoicingCycleConfiguration,
15966
+ Orb::Internal::AnyHash
15967
+ )
15968
+ end
14948
15969
 
14949
15970
  sig { returns(Integer) }
14950
15971
  attr_accessor :duration
@@ -15014,7 +16035,13 @@ module Orb
15014
16035
  end
15015
16036
 
15016
16037
  class Item < Orb::Internal::Type::BaseModel
15017
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16038
+ OrHash =
16039
+ T.type_alias do
16040
+ T.any(
16041
+ Orb::Price::MatrixWithDisplayName::Item,
16042
+ Orb::Internal::AnyHash
16043
+ )
16044
+ end
15018
16045
 
15019
16046
  sig { returns(String) }
15020
16047
  attr_accessor :id
@@ -15032,7 +16059,13 @@ module Orb
15032
16059
  end
15033
16060
 
15034
16061
  class Maximum < Orb::Internal::Type::BaseModel
15035
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16062
+ OrHash =
16063
+ T.type_alias do
16064
+ T.any(
16065
+ Orb::Price::MatrixWithDisplayName::Maximum,
16066
+ Orb::Internal::AnyHash
16067
+ )
16068
+ end
15036
16069
 
15037
16070
  # List of price_ids that this maximum amount applies to. For plan/plan phase
15038
16071
  # maximums, this can be a subset of prices.
@@ -15068,7 +16101,13 @@ module Orb
15068
16101
  end
15069
16102
 
15070
16103
  class Minimum < Orb::Internal::Type::BaseModel
15071
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16104
+ OrHash =
16105
+ T.type_alias do
16106
+ T.any(
16107
+ Orb::Price::MatrixWithDisplayName::Minimum,
16108
+ Orb::Internal::AnyHash
16109
+ )
16110
+ end
15072
16111
 
15073
16112
  # List of price_ids that this minimum amount applies to. For plan/plan phase
15074
16113
  # minimums, this can be a subset of prices.
@@ -15135,7 +16174,13 @@ module Orb
15135
16174
  end
15136
16175
 
15137
16176
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
15138
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16177
+ OrHash =
16178
+ T.type_alias do
16179
+ T.any(
16180
+ Orb::Price::MatrixWithDisplayName::DimensionalPriceConfiguration,
16181
+ Orb::Internal::AnyHash
16182
+ )
16183
+ end
15139
16184
 
15140
16185
  sig { returns(T::Array[String]) }
15141
16186
  attr_accessor :dimension_values
@@ -15166,7 +16211,10 @@ module Orb
15166
16211
  end
15167
16212
 
15168
16213
  class BulkWithProration < Orb::Internal::Type::BaseModel
15169
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16214
+ OrHash =
16215
+ T.type_alias do
16216
+ T.any(Orb::Price::BulkWithProration, Orb::Internal::AnyHash)
16217
+ end
15170
16218
 
15171
16219
  sig { returns(String) }
15172
16220
  attr_accessor :id
@@ -15465,7 +16513,13 @@ module Orb
15465
16513
  end
15466
16514
 
15467
16515
  class BillableMetric < Orb::Internal::Type::BaseModel
15468
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16516
+ OrHash =
16517
+ T.type_alias do
16518
+ T.any(
16519
+ Orb::Price::BulkWithProration::BillableMetric,
16520
+ Orb::Internal::AnyHash
16521
+ )
16522
+ end
15469
16523
 
15470
16524
  sig { returns(String) }
15471
16525
  attr_accessor :id
@@ -15480,7 +16534,13 @@ module Orb
15480
16534
  end
15481
16535
 
15482
16536
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
15483
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16537
+ OrHash =
16538
+ T.type_alias do
16539
+ T.any(
16540
+ Orb::Price::BulkWithProration::BillingCycleConfiguration,
16541
+ Orb::Internal::AnyHash
16542
+ )
16543
+ end
15484
16544
 
15485
16545
  sig { returns(Integer) }
15486
16546
  attr_accessor :duration
@@ -15593,7 +16653,13 @@ module Orb
15593
16653
  end
15594
16654
 
15595
16655
  class CreditAllocation < Orb::Internal::Type::BaseModel
15596
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16656
+ OrHash =
16657
+ T.type_alias do
16658
+ T.any(
16659
+ Orb::Price::BulkWithProration::CreditAllocation,
16660
+ Orb::Internal::AnyHash
16661
+ )
16662
+ end
15597
16663
 
15598
16664
  sig { returns(T::Boolean) }
15599
16665
  attr_accessor :allows_rollover
@@ -15617,7 +16683,13 @@ module Orb
15617
16683
  end
15618
16684
 
15619
16685
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
15620
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16686
+ OrHash =
16687
+ T.type_alias do
16688
+ T.any(
16689
+ Orb::Price::BulkWithProration::InvoicingCycleConfiguration,
16690
+ Orb::Internal::AnyHash
16691
+ )
16692
+ end
15621
16693
 
15622
16694
  sig { returns(Integer) }
15623
16695
  attr_accessor :duration
@@ -15687,7 +16759,10 @@ module Orb
15687
16759
  end
15688
16760
 
15689
16761
  class Item < Orb::Internal::Type::BaseModel
15690
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16762
+ OrHash =
16763
+ T.type_alias do
16764
+ T.any(Orb::Price::BulkWithProration::Item, Orb::Internal::AnyHash)
16765
+ end
15691
16766
 
15692
16767
  sig { returns(String) }
15693
16768
  attr_accessor :id
@@ -15705,7 +16780,13 @@ module Orb
15705
16780
  end
15706
16781
 
15707
16782
  class Maximum < Orb::Internal::Type::BaseModel
15708
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16783
+ OrHash =
16784
+ T.type_alias do
16785
+ T.any(
16786
+ Orb::Price::BulkWithProration::Maximum,
16787
+ Orb::Internal::AnyHash
16788
+ )
16789
+ end
15709
16790
 
15710
16791
  # List of price_ids that this maximum amount applies to. For plan/plan phase
15711
16792
  # maximums, this can be a subset of prices.
@@ -15741,7 +16822,13 @@ module Orb
15741
16822
  end
15742
16823
 
15743
16824
  class Minimum < Orb::Internal::Type::BaseModel
15744
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16825
+ OrHash =
16826
+ T.type_alias do
16827
+ T.any(
16828
+ Orb::Price::BulkWithProration::Minimum,
16829
+ Orb::Internal::AnyHash
16830
+ )
16831
+ end
15745
16832
 
15746
16833
  # List of price_ids that this minimum amount applies to. For plan/plan phase
15747
16834
  # minimums, this can be a subset of prices.
@@ -15806,7 +16893,13 @@ module Orb
15806
16893
  end
15807
16894
 
15808
16895
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
15809
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16896
+ OrHash =
16897
+ T.type_alias do
16898
+ T.any(
16899
+ Orb::Price::BulkWithProration::DimensionalPriceConfiguration,
16900
+ Orb::Internal::AnyHash
16901
+ )
16902
+ end
15810
16903
 
15811
16904
  sig { returns(T::Array[String]) }
15812
16905
  attr_accessor :dimension_values
@@ -15837,7 +16930,10 @@ module Orb
15837
16930
  end
15838
16931
 
15839
16932
  class GroupedTieredPackage < Orb::Internal::Type::BaseModel
15840
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16933
+ OrHash =
16934
+ T.type_alias do
16935
+ T.any(Orb::Price::GroupedTieredPackage, Orb::Internal::AnyHash)
16936
+ end
15841
16937
 
15842
16938
  sig { returns(String) }
15843
16939
  attr_accessor :id
@@ -16150,7 +17246,13 @@ module Orb
16150
17246
  end
16151
17247
 
16152
17248
  class BillableMetric < Orb::Internal::Type::BaseModel
16153
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17249
+ OrHash =
17250
+ T.type_alias do
17251
+ T.any(
17252
+ Orb::Price::GroupedTieredPackage::BillableMetric,
17253
+ Orb::Internal::AnyHash
17254
+ )
17255
+ end
16154
17256
 
16155
17257
  sig { returns(String) }
16156
17258
  attr_accessor :id
@@ -16165,7 +17267,13 @@ module Orb
16165
17267
  end
16166
17268
 
16167
17269
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
16168
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17270
+ OrHash =
17271
+ T.type_alias do
17272
+ T.any(
17273
+ Orb::Price::GroupedTieredPackage::BillingCycleConfiguration,
17274
+ Orb::Internal::AnyHash
17275
+ )
17276
+ end
16169
17277
 
16170
17278
  sig { returns(Integer) }
16171
17279
  attr_accessor :duration
@@ -16284,7 +17392,13 @@ module Orb
16284
17392
  end
16285
17393
 
16286
17394
  class CreditAllocation < Orb::Internal::Type::BaseModel
16287
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17395
+ OrHash =
17396
+ T.type_alias do
17397
+ T.any(
17398
+ Orb::Price::GroupedTieredPackage::CreditAllocation,
17399
+ Orb::Internal::AnyHash
17400
+ )
17401
+ end
16288
17402
 
16289
17403
  sig { returns(T::Boolean) }
16290
17404
  attr_accessor :allows_rollover
@@ -16308,7 +17422,13 @@ module Orb
16308
17422
  end
16309
17423
 
16310
17424
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
16311
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17425
+ OrHash =
17426
+ T.type_alias do
17427
+ T.any(
17428
+ Orb::Price::GroupedTieredPackage::InvoicingCycleConfiguration,
17429
+ Orb::Internal::AnyHash
17430
+ )
17431
+ end
16312
17432
 
16313
17433
  sig { returns(Integer) }
16314
17434
  attr_accessor :duration
@@ -16378,7 +17498,13 @@ module Orb
16378
17498
  end
16379
17499
 
16380
17500
  class Item < Orb::Internal::Type::BaseModel
16381
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17501
+ OrHash =
17502
+ T.type_alias do
17503
+ T.any(
17504
+ Orb::Price::GroupedTieredPackage::Item,
17505
+ Orb::Internal::AnyHash
17506
+ )
17507
+ end
16382
17508
 
16383
17509
  sig { returns(String) }
16384
17510
  attr_accessor :id
@@ -16396,7 +17522,13 @@ module Orb
16396
17522
  end
16397
17523
 
16398
17524
  class Maximum < Orb::Internal::Type::BaseModel
16399
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17525
+ OrHash =
17526
+ T.type_alias do
17527
+ T.any(
17528
+ Orb::Price::GroupedTieredPackage::Maximum,
17529
+ Orb::Internal::AnyHash
17530
+ )
17531
+ end
16400
17532
 
16401
17533
  # List of price_ids that this maximum amount applies to. For plan/plan phase
16402
17534
  # maximums, this can be a subset of prices.
@@ -16432,7 +17564,13 @@ module Orb
16432
17564
  end
16433
17565
 
16434
17566
  class Minimum < Orb::Internal::Type::BaseModel
16435
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17567
+ OrHash =
17568
+ T.type_alias do
17569
+ T.any(
17570
+ Orb::Price::GroupedTieredPackage::Minimum,
17571
+ Orb::Internal::AnyHash
17572
+ )
17573
+ end
16436
17574
 
16437
17575
  # List of price_ids that this minimum amount applies to. For plan/plan phase
16438
17576
  # minimums, this can be a subset of prices.
@@ -16499,7 +17637,13 @@ module Orb
16499
17637
  end
16500
17638
 
16501
17639
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
16502
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17640
+ OrHash =
17641
+ T.type_alias do
17642
+ T.any(
17643
+ Orb::Price::GroupedTieredPackage::DimensionalPriceConfiguration,
17644
+ Orb::Internal::AnyHash
17645
+ )
17646
+ end
16503
17647
 
16504
17648
  sig { returns(T::Array[String]) }
16505
17649
  attr_accessor :dimension_values
@@ -16530,7 +17674,10 @@ module Orb
16530
17674
  end
16531
17675
 
16532
17676
  class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
16533
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17677
+ OrHash =
17678
+ T.type_alias do
17679
+ T.any(Orb::Price::MaxGroupTieredPackage, Orb::Internal::AnyHash)
17680
+ end
16534
17681
 
16535
17682
  sig { returns(String) }
16536
17683
  attr_accessor :id
@@ -16847,7 +17994,13 @@ module Orb
16847
17994
  end
16848
17995
 
16849
17996
  class BillableMetric < Orb::Internal::Type::BaseModel
16850
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17997
+ OrHash =
17998
+ T.type_alias do
17999
+ T.any(
18000
+ Orb::Price::MaxGroupTieredPackage::BillableMetric,
18001
+ Orb::Internal::AnyHash
18002
+ )
18003
+ end
16851
18004
 
16852
18005
  sig { returns(String) }
16853
18006
  attr_accessor :id
@@ -16862,7 +18015,13 @@ module Orb
16862
18015
  end
16863
18016
 
16864
18017
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
16865
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18018
+ OrHash =
18019
+ T.type_alias do
18020
+ T.any(
18021
+ Orb::Price::MaxGroupTieredPackage::BillingCycleConfiguration,
18022
+ Orb::Internal::AnyHash
18023
+ )
18024
+ end
16866
18025
 
16867
18026
  sig { returns(Integer) }
16868
18027
  attr_accessor :duration
@@ -16981,7 +18140,13 @@ module Orb
16981
18140
  end
16982
18141
 
16983
18142
  class CreditAllocation < Orb::Internal::Type::BaseModel
16984
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18143
+ OrHash =
18144
+ T.type_alias do
18145
+ T.any(
18146
+ Orb::Price::MaxGroupTieredPackage::CreditAllocation,
18147
+ Orb::Internal::AnyHash
18148
+ )
18149
+ end
16985
18150
 
16986
18151
  sig { returns(T::Boolean) }
16987
18152
  attr_accessor :allows_rollover
@@ -17005,7 +18170,13 @@ module Orb
17005
18170
  end
17006
18171
 
17007
18172
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
17008
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18173
+ OrHash =
18174
+ T.type_alias do
18175
+ T.any(
18176
+ Orb::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration,
18177
+ Orb::Internal::AnyHash
18178
+ )
18179
+ end
17009
18180
 
17010
18181
  sig { returns(Integer) }
17011
18182
  attr_accessor :duration
@@ -17075,7 +18246,13 @@ module Orb
17075
18246
  end
17076
18247
 
17077
18248
  class Item < Orb::Internal::Type::BaseModel
17078
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18249
+ OrHash =
18250
+ T.type_alias do
18251
+ T.any(
18252
+ Orb::Price::MaxGroupTieredPackage::Item,
18253
+ Orb::Internal::AnyHash
18254
+ )
18255
+ end
17079
18256
 
17080
18257
  sig { returns(String) }
17081
18258
  attr_accessor :id
@@ -17093,7 +18270,13 @@ module Orb
17093
18270
  end
17094
18271
 
17095
18272
  class Maximum < Orb::Internal::Type::BaseModel
17096
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18273
+ OrHash =
18274
+ T.type_alias do
18275
+ T.any(
18276
+ Orb::Price::MaxGroupTieredPackage::Maximum,
18277
+ Orb::Internal::AnyHash
18278
+ )
18279
+ end
17097
18280
 
17098
18281
  # List of price_ids that this maximum amount applies to. For plan/plan phase
17099
18282
  # maximums, this can be a subset of prices.
@@ -17129,7 +18312,13 @@ module Orb
17129
18312
  end
17130
18313
 
17131
18314
  class Minimum < Orb::Internal::Type::BaseModel
17132
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18315
+ OrHash =
18316
+ T.type_alias do
18317
+ T.any(
18318
+ Orb::Price::MaxGroupTieredPackage::Minimum,
18319
+ Orb::Internal::AnyHash
18320
+ )
18321
+ end
17133
18322
 
17134
18323
  # List of price_ids that this minimum amount applies to. For plan/plan phase
17135
18324
  # minimums, this can be a subset of prices.
@@ -17196,7 +18385,13 @@ module Orb
17196
18385
  end
17197
18386
 
17198
18387
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
17199
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18388
+ OrHash =
18389
+ T.type_alias do
18390
+ T.any(
18391
+ Orb::Price::MaxGroupTieredPackage::DimensionalPriceConfiguration,
18392
+ Orb::Internal::AnyHash
18393
+ )
18394
+ end
17200
18395
 
17201
18396
  sig { returns(T::Array[String]) }
17202
18397
  attr_accessor :dimension_values
@@ -17227,7 +18422,13 @@ module Orb
17227
18422
  end
17228
18423
 
17229
18424
  class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
17230
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18425
+ OrHash =
18426
+ T.type_alias do
18427
+ T.any(
18428
+ Orb::Price::ScalableMatrixWithUnitPricing,
18429
+ Orb::Internal::AnyHash
18430
+ )
18431
+ end
17231
18432
 
17232
18433
  sig { returns(String) }
17233
18434
  attr_accessor :id
@@ -17579,7 +18780,13 @@ module Orb
17579
18780
  end
17580
18781
 
17581
18782
  class BillableMetric < Orb::Internal::Type::BaseModel
17582
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18783
+ OrHash =
18784
+ T.type_alias do
18785
+ T.any(
18786
+ Orb::Price::ScalableMatrixWithUnitPricing::BillableMetric,
18787
+ Orb::Internal::AnyHash
18788
+ )
18789
+ end
17583
18790
 
17584
18791
  sig { returns(String) }
17585
18792
  attr_accessor :id
@@ -17594,7 +18801,13 @@ module Orb
17594
18801
  end
17595
18802
 
17596
18803
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
17597
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18804
+ OrHash =
18805
+ T.type_alias do
18806
+ T.any(
18807
+ Orb::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration,
18808
+ Orb::Internal::AnyHash
18809
+ )
18810
+ end
17598
18811
 
17599
18812
  sig { returns(Integer) }
17600
18813
  attr_accessor :duration
@@ -17715,7 +18928,13 @@ module Orb
17715
18928
  end
17716
18929
 
17717
18930
  class CreditAllocation < Orb::Internal::Type::BaseModel
17718
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18931
+ OrHash =
18932
+ T.type_alias do
18933
+ T.any(
18934
+ Orb::Price::ScalableMatrixWithUnitPricing::CreditAllocation,
18935
+ Orb::Internal::AnyHash
18936
+ )
18937
+ end
17719
18938
 
17720
18939
  sig { returns(T::Boolean) }
17721
18940
  attr_accessor :allows_rollover
@@ -17739,7 +18958,13 @@ module Orb
17739
18958
  end
17740
18959
 
17741
18960
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
17742
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18961
+ OrHash =
18962
+ T.type_alias do
18963
+ T.any(
18964
+ Orb::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration,
18965
+ Orb::Internal::AnyHash
18966
+ )
18967
+ end
17743
18968
 
17744
18969
  sig { returns(Integer) }
17745
18970
  attr_accessor :duration
@@ -17809,7 +19034,13 @@ module Orb
17809
19034
  end
17810
19035
 
17811
19036
  class Item < Orb::Internal::Type::BaseModel
17812
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19037
+ OrHash =
19038
+ T.type_alias do
19039
+ T.any(
19040
+ Orb::Price::ScalableMatrixWithUnitPricing::Item,
19041
+ Orb::Internal::AnyHash
19042
+ )
19043
+ end
17813
19044
 
17814
19045
  sig { returns(String) }
17815
19046
  attr_accessor :id
@@ -17827,7 +19058,13 @@ module Orb
17827
19058
  end
17828
19059
 
17829
19060
  class Maximum < Orb::Internal::Type::BaseModel
17830
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19061
+ OrHash =
19062
+ T.type_alias do
19063
+ T.any(
19064
+ Orb::Price::ScalableMatrixWithUnitPricing::Maximum,
19065
+ Orb::Internal::AnyHash
19066
+ )
19067
+ end
17831
19068
 
17832
19069
  # List of price_ids that this maximum amount applies to. For plan/plan phase
17833
19070
  # maximums, this can be a subset of prices.
@@ -17863,7 +19100,13 @@ module Orb
17863
19100
  end
17864
19101
 
17865
19102
  class Minimum < Orb::Internal::Type::BaseModel
17866
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19103
+ OrHash =
19104
+ T.type_alias do
19105
+ T.any(
19106
+ Orb::Price::ScalableMatrixWithUnitPricing::Minimum,
19107
+ Orb::Internal::AnyHash
19108
+ )
19109
+ end
17867
19110
 
17868
19111
  # List of price_ids that this minimum amount applies to. For plan/plan phase
17869
19112
  # minimums, this can be a subset of prices.
@@ -17933,7 +19176,13 @@ module Orb
17933
19176
  end
17934
19177
 
17935
19178
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
17936
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19179
+ OrHash =
19180
+ T.type_alias do
19181
+ T.any(
19182
+ Orb::Price::ScalableMatrixWithUnitPricing::DimensionalPriceConfiguration,
19183
+ Orb::Internal::AnyHash
19184
+ )
19185
+ end
17937
19186
 
17938
19187
  sig { returns(T::Array[String]) }
17939
19188
  attr_accessor :dimension_values
@@ -17964,7 +19213,13 @@ module Orb
17964
19213
  end
17965
19214
 
17966
19215
  class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
17967
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19216
+ OrHash =
19217
+ T.type_alias do
19218
+ T.any(
19219
+ Orb::Price::ScalableMatrixWithTieredPricing,
19220
+ Orb::Internal::AnyHash
19221
+ )
19222
+ end
17968
19223
 
17969
19224
  sig { returns(String) }
17970
19225
  attr_accessor :id
@@ -18322,7 +19577,13 @@ module Orb
18322
19577
  end
18323
19578
 
18324
19579
  class BillableMetric < Orb::Internal::Type::BaseModel
18325
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19580
+ OrHash =
19581
+ T.type_alias do
19582
+ T.any(
19583
+ Orb::Price::ScalableMatrixWithTieredPricing::BillableMetric,
19584
+ Orb::Internal::AnyHash
19585
+ )
19586
+ end
18326
19587
 
18327
19588
  sig { returns(String) }
18328
19589
  attr_accessor :id
@@ -18337,7 +19598,13 @@ module Orb
18337
19598
  end
18338
19599
 
18339
19600
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
18340
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19601
+ OrHash =
19602
+ T.type_alias do
19603
+ T.any(
19604
+ Orb::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration,
19605
+ Orb::Internal::AnyHash
19606
+ )
19607
+ end
18341
19608
 
18342
19609
  sig { returns(Integer) }
18343
19610
  attr_accessor :duration
@@ -18461,7 +19728,13 @@ module Orb
18461
19728
  end
18462
19729
 
18463
19730
  class CreditAllocation < Orb::Internal::Type::BaseModel
18464
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19731
+ OrHash =
19732
+ T.type_alias do
19733
+ T.any(
19734
+ Orb::Price::ScalableMatrixWithTieredPricing::CreditAllocation,
19735
+ Orb::Internal::AnyHash
19736
+ )
19737
+ end
18465
19738
 
18466
19739
  sig { returns(T::Boolean) }
18467
19740
  attr_accessor :allows_rollover
@@ -18485,7 +19758,13 @@ module Orb
18485
19758
  end
18486
19759
 
18487
19760
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
18488
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19761
+ OrHash =
19762
+ T.type_alias do
19763
+ T.any(
19764
+ Orb::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration,
19765
+ Orb::Internal::AnyHash
19766
+ )
19767
+ end
18489
19768
 
18490
19769
  sig { returns(Integer) }
18491
19770
  attr_accessor :duration
@@ -18555,7 +19834,13 @@ module Orb
18555
19834
  end
18556
19835
 
18557
19836
  class Item < Orb::Internal::Type::BaseModel
18558
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19837
+ OrHash =
19838
+ T.type_alias do
19839
+ T.any(
19840
+ Orb::Price::ScalableMatrixWithTieredPricing::Item,
19841
+ Orb::Internal::AnyHash
19842
+ )
19843
+ end
18559
19844
 
18560
19845
  sig { returns(String) }
18561
19846
  attr_accessor :id
@@ -18573,7 +19858,13 @@ module Orb
18573
19858
  end
18574
19859
 
18575
19860
  class Maximum < Orb::Internal::Type::BaseModel
18576
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19861
+ OrHash =
19862
+ T.type_alias do
19863
+ T.any(
19864
+ Orb::Price::ScalableMatrixWithTieredPricing::Maximum,
19865
+ Orb::Internal::AnyHash
19866
+ )
19867
+ end
18577
19868
 
18578
19869
  # List of price_ids that this maximum amount applies to. For plan/plan phase
18579
19870
  # maximums, this can be a subset of prices.
@@ -18609,7 +19900,13 @@ module Orb
18609
19900
  end
18610
19901
 
18611
19902
  class Minimum < Orb::Internal::Type::BaseModel
18612
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19903
+ OrHash =
19904
+ T.type_alias do
19905
+ T.any(
19906
+ Orb::Price::ScalableMatrixWithTieredPricing::Minimum,
19907
+ Orb::Internal::AnyHash
19908
+ )
19909
+ end
18613
19910
 
18614
19911
  # List of price_ids that this minimum amount applies to. For plan/plan phase
18615
19912
  # minimums, this can be a subset of prices.
@@ -18679,7 +19976,13 @@ module Orb
18679
19976
  end
18680
19977
 
18681
19978
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
18682
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19979
+ OrHash =
19980
+ T.type_alias do
19981
+ T.any(
19982
+ Orb::Price::ScalableMatrixWithTieredPricing::DimensionalPriceConfiguration,
19983
+ Orb::Internal::AnyHash
19984
+ )
19985
+ end
18683
19986
 
18684
19987
  sig { returns(T::Array[String]) }
18685
19988
  attr_accessor :dimension_values
@@ -18710,7 +20013,10 @@ module Orb
18710
20013
  end
18711
20014
 
18712
20015
  class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
18713
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20016
+ OrHash =
20017
+ T.type_alias do
20018
+ T.any(Orb::Price::CumulativeGroupedBulk, Orb::Internal::AnyHash)
20019
+ end
18714
20020
 
18715
20021
  sig { returns(String) }
18716
20022
  attr_accessor :id
@@ -19027,7 +20333,13 @@ module Orb
19027
20333
  end
19028
20334
 
19029
20335
  class BillableMetric < Orb::Internal::Type::BaseModel
19030
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20336
+ OrHash =
20337
+ T.type_alias do
20338
+ T.any(
20339
+ Orb::Price::CumulativeGroupedBulk::BillableMetric,
20340
+ Orb::Internal::AnyHash
20341
+ )
20342
+ end
19031
20343
 
19032
20344
  sig { returns(String) }
19033
20345
  attr_accessor :id
@@ -19042,7 +20354,13 @@ module Orb
19042
20354
  end
19043
20355
 
19044
20356
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
19045
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20357
+ OrHash =
20358
+ T.type_alias do
20359
+ T.any(
20360
+ Orb::Price::CumulativeGroupedBulk::BillingCycleConfiguration,
20361
+ Orb::Internal::AnyHash
20362
+ )
20363
+ end
19046
20364
 
19047
20365
  sig { returns(Integer) }
19048
20366
  attr_accessor :duration
@@ -19161,7 +20479,13 @@ module Orb
19161
20479
  end
19162
20480
 
19163
20481
  class CreditAllocation < Orb::Internal::Type::BaseModel
19164
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20482
+ OrHash =
20483
+ T.type_alias do
20484
+ T.any(
20485
+ Orb::Price::CumulativeGroupedBulk::CreditAllocation,
20486
+ Orb::Internal::AnyHash
20487
+ )
20488
+ end
19165
20489
 
19166
20490
  sig { returns(T::Boolean) }
19167
20491
  attr_accessor :allows_rollover
@@ -19185,7 +20509,13 @@ module Orb
19185
20509
  end
19186
20510
 
19187
20511
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
19188
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20512
+ OrHash =
20513
+ T.type_alias do
20514
+ T.any(
20515
+ Orb::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration,
20516
+ Orb::Internal::AnyHash
20517
+ )
20518
+ end
19189
20519
 
19190
20520
  sig { returns(Integer) }
19191
20521
  attr_accessor :duration
@@ -19255,7 +20585,13 @@ module Orb
19255
20585
  end
19256
20586
 
19257
20587
  class Item < Orb::Internal::Type::BaseModel
19258
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20588
+ OrHash =
20589
+ T.type_alias do
20590
+ T.any(
20591
+ Orb::Price::CumulativeGroupedBulk::Item,
20592
+ Orb::Internal::AnyHash
20593
+ )
20594
+ end
19259
20595
 
19260
20596
  sig { returns(String) }
19261
20597
  attr_accessor :id
@@ -19273,7 +20609,13 @@ module Orb
19273
20609
  end
19274
20610
 
19275
20611
  class Maximum < Orb::Internal::Type::BaseModel
19276
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20612
+ OrHash =
20613
+ T.type_alias do
20614
+ T.any(
20615
+ Orb::Price::CumulativeGroupedBulk::Maximum,
20616
+ Orb::Internal::AnyHash
20617
+ )
20618
+ end
19277
20619
 
19278
20620
  # List of price_ids that this maximum amount applies to. For plan/plan phase
19279
20621
  # maximums, this can be a subset of prices.
@@ -19309,7 +20651,13 @@ module Orb
19309
20651
  end
19310
20652
 
19311
20653
  class Minimum < Orb::Internal::Type::BaseModel
19312
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20654
+ OrHash =
20655
+ T.type_alias do
20656
+ T.any(
20657
+ Orb::Price::CumulativeGroupedBulk::Minimum,
20658
+ Orb::Internal::AnyHash
20659
+ )
20660
+ end
19313
20661
 
19314
20662
  # List of price_ids that this minimum amount applies to. For plan/plan phase
19315
20663
  # minimums, this can be a subset of prices.
@@ -19376,7 +20724,13 @@ module Orb
19376
20724
  end
19377
20725
 
19378
20726
  class DimensionalPriceConfiguration < Orb::Internal::Type::BaseModel
19379
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20727
+ OrHash =
20728
+ T.type_alias do
20729
+ T.any(
20730
+ Orb::Price::CumulativeGroupedBulk::DimensionalPriceConfiguration,
20731
+ Orb::Internal::AnyHash
20732
+ )
20733
+ end
19380
20734
 
19381
20735
  sig { returns(T::Array[String]) }
19382
20736
  attr_accessor :dimension_values