orb-billing 0.3.2 → 0.4.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 (245) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +21 -0
  3. data/README.md +1 -1
  4. data/lib/orb/errors.rb +1 -1
  5. data/lib/orb/internal/transport/base_client.rb +74 -5
  6. data/lib/orb/internal/transport/pooled_net_requester.rb +14 -0
  7. data/lib/orb/internal/type/array_of.rb +1 -1
  8. data/lib/orb/internal/type/base_model.rb +62 -30
  9. data/lib/orb/internal/type/converter.rb +18 -0
  10. data/lib/orb/internal/type/enum.rb +1 -0
  11. data/lib/orb/internal/type/hash_of.rb +1 -1
  12. data/lib/orb/internal/type/union.rb +1 -0
  13. data/lib/orb/internal/util.rb +56 -0
  14. data/lib/orb/internal.rb +6 -0
  15. data/lib/orb/models/coupon.rb +4 -0
  16. data/lib/orb/models/coupon_create_params.rb +6 -0
  17. data/lib/orb/models/customer_create_params.rb +9 -0
  18. data/lib/orb/models/customer_update_by_external_id_params.rb +9 -0
  19. data/lib/orb/models/customer_update_params.rb +9 -0
  20. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +14 -0
  21. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +14 -0
  22. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +14 -0
  23. data/lib/orb/models/customers/credits/ledger_list_response.rb +14 -0
  24. data/lib/orb/models/discount.rb +6 -0
  25. data/lib/orb/models/evaluate_price_group.rb +4 -0
  26. data/lib/orb/models/invoice.rb +22 -0
  27. data/lib/orb/models/invoice_fetch_upcoming_response.rb +22 -0
  28. data/lib/orb/models/invoice_level_discount.rb +4 -0
  29. data/lib/orb/models/invoice_line_item_create_response.rb +22 -0
  30. data/lib/orb/models/plan.rb +12 -0
  31. data/lib/orb/models/plan_create_params.rb +32 -0
  32. data/lib/orb/models/price.rb +35 -0
  33. data/lib/orb/models/subscription.rb +22 -0
  34. data/lib/orb/models/subscription_cancel_response.rb +22 -0
  35. data/lib/orb/models/subscription_change_apply_response.rb +22 -0
  36. data/lib/orb/models/subscription_change_cancel_response.rb +22 -0
  37. data/lib/orb/models/subscription_change_retrieve_response.rb +22 -0
  38. data/lib/orb/models/subscription_create_params.rb +88 -0
  39. data/lib/orb/models/subscription_create_response.rb +22 -0
  40. data/lib/orb/models/subscription_price_intervals_params.rb +89 -0
  41. data/lib/orb/models/subscription_price_intervals_response.rb +22 -0
  42. data/lib/orb/models/subscription_schedule_plan_change_params.rb +88 -0
  43. data/lib/orb/models/subscription_schedule_plan_change_response.rb +22 -0
  44. data/lib/orb/models/subscription_trigger_phase_response.rb +22 -0
  45. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +22 -0
  46. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +22 -0
  47. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +22 -0
  48. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +22 -0
  49. data/lib/orb/models/subscription_update_trial_params.rb +4 -0
  50. data/lib/orb/models/subscription_update_trial_response.rb +22 -0
  51. data/lib/orb/models/subscription_usage.rb +9 -0
  52. data/lib/orb/models.rb +24 -0
  53. data/lib/orb/request_options.rb +4 -0
  54. data/lib/orb/version.rb +1 -1
  55. data/lib/orb.rb +2 -0
  56. data/rbi/orb/internal/page.rbi +2 -1
  57. data/rbi/orb/internal/transport/base_client.rbi +31 -8
  58. data/rbi/orb/internal/transport/pooled_net_requester.rbi +5 -4
  59. data/rbi/orb/internal/type/base_model.rbi +31 -15
  60. data/rbi/orb/internal/type/base_page.rbi +1 -1
  61. data/rbi/orb/internal/type/converter.rbi +2 -0
  62. data/rbi/orb/internal/type/enum.rbi +1 -0
  63. data/rbi/orb/internal/type/union.rbi +1 -0
  64. data/rbi/orb/internal/util.rbi +28 -7
  65. data/rbi/orb/internal.rbi +2 -0
  66. data/rbi/orb/models/alert.rbi +13 -6
  67. data/rbi/orb/models/alert_create_for_customer_params.rbi +11 -2
  68. data/rbi/orb/models/alert_create_for_external_customer_params.rbi +14 -2
  69. data/rbi/orb/models/alert_create_for_subscription_params.rbi +11 -2
  70. data/rbi/orb/models/alert_disable_params.rbi +2 -1
  71. data/rbi/orb/models/alert_enable_params.rbi +2 -1
  72. data/rbi/orb/models/alert_list_params.rbi +2 -1
  73. data/rbi/orb/models/alert_retrieve_params.rbi +2 -1
  74. data/rbi/orb/models/alert_update_params.rbi +6 -2
  75. data/rbi/orb/models/amount_discount.rbi +2 -1
  76. data/rbi/orb/models/billable_metric.rbi +2 -1
  77. data/rbi/orb/models/coupon.rbi +1 -1
  78. data/rbi/orb/models/coupon_archive_params.rbi +2 -1
  79. data/rbi/orb/models/coupon_create_params.rbi +16 -3
  80. data/rbi/orb/models/coupon_fetch_params.rbi +2 -1
  81. data/rbi/orb/models/coupon_list_params.rbi +2 -1
  82. data/rbi/orb/models/coupons/subscription_list_params.rbi +4 -1
  83. data/rbi/orb/models/credit_note.rbi +45 -9
  84. data/rbi/orb/models/credit_note_create_params.rbi +8 -2
  85. data/rbi/orb/models/credit_note_fetch_params.rbi +4 -1
  86. data/rbi/orb/models/credit_note_list_params.rbi +4 -1
  87. data/rbi/orb/models/customer.rbi +41 -10
  88. data/rbi/orb/models/customer_create_params.rbi +61 -10
  89. data/rbi/orb/models/customer_delete_params.rbi +4 -1
  90. data/rbi/orb/models/customer_fetch_by_external_id_params.rbi +4 -1
  91. data/rbi/orb/models/customer_fetch_params.rbi +2 -1
  92. data/rbi/orb/models/customer_list_params.rbi +2 -1
  93. data/rbi/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +7 -1
  94. data/rbi/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +7 -1
  95. data/rbi/orb/models/customer_update_by_external_id_params.rbi +67 -10
  96. data/rbi/orb/models/customer_update_params.rbi +61 -10
  97. data/rbi/orb/models/customers/balance_transaction_create_params.rbi +7 -1
  98. data/rbi/orb/models/customers/balance_transaction_create_response.rbi +21 -3
  99. data/rbi/orb/models/customers/balance_transaction_list_params.rbi +7 -1
  100. data/rbi/orb/models/customers/balance_transaction_list_response.rbi +21 -3
  101. data/rbi/orb/models/customers/cost_list_by_external_id_params.rbi +7 -1
  102. data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +21 -3
  103. data/rbi/orb/models/customers/cost_list_params.rbi +4 -1
  104. data/rbi/orb/models/customers/cost_list_response.rbi +21 -3
  105. data/rbi/orb/models/customers/credit_list_by_external_id_params.rbi +7 -1
  106. data/rbi/orb/models/customers/credit_list_by_external_id_response.rbi +7 -1
  107. data/rbi/orb/models/customers/credit_list_params.rbi +4 -1
  108. data/rbi/orb/models/customers/credit_list_response.rbi +7 -1
  109. data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +14 -2
  110. data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +133 -21
  111. data/rbi/orb/models/customers/credits/ledger_create_entry_params.rbi +14 -2
  112. data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +133 -21
  113. data/rbi/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +7 -1
  114. data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +133 -21
  115. data/rbi/orb/models/customers/credits/ledger_list_params.rbi +7 -1
  116. data/rbi/orb/models/customers/credits/ledger_list_response.rbi +133 -21
  117. data/rbi/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -2
  118. data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +14 -2
  119. data/rbi/orb/models/customers/credits/top_up_create_params.rbi +14 -2
  120. data/rbi/orb/models/customers/credits/top_up_create_response.rbi +14 -2
  121. data/rbi/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +7 -1
  122. data/rbi/orb/models/customers/credits/top_up_delete_params.rbi +7 -1
  123. data/rbi/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +7 -1
  124. data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +14 -2
  125. data/rbi/orb/models/customers/credits/top_up_list_params.rbi +7 -1
  126. data/rbi/orb/models/customers/credits/top_up_list_response.rbi +14 -2
  127. data/rbi/orb/models/dimensional_price_group.rbi +4 -1
  128. data/rbi/orb/models/dimensional_price_group_create_params.rbi +4 -1
  129. data/rbi/orb/models/dimensional_price_group_list_params.rbi +4 -1
  130. data/rbi/orb/models/dimensional_price_group_retrieve_params.rbi +7 -1
  131. data/rbi/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +7 -1
  132. data/rbi/orb/models/dimensional_price_groups.rbi +4 -1
  133. data/rbi/orb/models/evaluate_price_group.rbi +2 -1
  134. data/rbi/orb/models/event_deprecate_params.rbi +4 -1
  135. data/rbi/orb/models/event_deprecate_response.rbi +4 -1
  136. data/rbi/orb/models/event_ingest_params.rbi +6 -2
  137. data/rbi/orb/models/event_ingest_response.rbi +18 -3
  138. data/rbi/orb/models/event_search_params.rbi +2 -1
  139. data/rbi/orb/models/event_search_response.rbi +11 -2
  140. data/rbi/orb/models/event_update_params.rbi +2 -1
  141. data/rbi/orb/models/event_update_response.rbi +4 -1
  142. data/rbi/orb/models/events/backfill_close_params.rbi +4 -1
  143. data/rbi/orb/models/events/backfill_close_response.rbi +7 -1
  144. data/rbi/orb/models/events/backfill_create_params.rbi +4 -1
  145. data/rbi/orb/models/events/backfill_create_response.rbi +7 -1
  146. data/rbi/orb/models/events/backfill_fetch_params.rbi +4 -1
  147. data/rbi/orb/models/events/backfill_fetch_response.rbi +7 -1
  148. data/rbi/orb/models/events/backfill_list_params.rbi +4 -1
  149. data/rbi/orb/models/events/backfill_list_response.rbi +7 -1
  150. data/rbi/orb/models/events/backfill_revert_params.rbi +4 -1
  151. data/rbi/orb/models/events/backfill_revert_response.rbi +7 -1
  152. data/rbi/orb/models/events/event_volumes.rbi +8 -2
  153. data/rbi/orb/models/events/volume_list_params.rbi +4 -1
  154. data/rbi/orb/models/invoice.rbi +156 -31
  155. data/rbi/orb/models/invoice_create_params.rbi +13 -3
  156. data/rbi/orb/models/invoice_fetch_params.rbi +2 -1
  157. data/rbi/orb/models/invoice_fetch_upcoming_params.rbi +4 -1
  158. data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +212 -31
  159. data/rbi/orb/models/invoice_issue_params.rbi +2 -1
  160. data/rbi/orb/models/invoice_line_item_create_params.rbi +4 -1
  161. data/rbi/orb/models/invoice_line_item_create_response.rbi +119 -17
  162. data/rbi/orb/models/invoice_list_params.rbi +2 -1
  163. data/rbi/orb/models/invoice_mark_paid_params.rbi +4 -1
  164. data/rbi/orb/models/invoice_pay_params.rbi +2 -1
  165. data/rbi/orb/models/invoice_update_params.rbi +2 -1
  166. data/rbi/orb/models/invoice_void_params.rbi +2 -1
  167. data/rbi/orb/models/item.rbi +5 -2
  168. data/rbi/orb/models/item_create_params.rbi +2 -1
  169. data/rbi/orb/models/item_fetch_params.rbi +2 -1
  170. data/rbi/orb/models/item_list_params.rbi +2 -1
  171. data/rbi/orb/models/item_update_params.rbi +9 -2
  172. data/rbi/orb/models/metric_create_params.rbi +2 -1
  173. data/rbi/orb/models/metric_fetch_params.rbi +2 -1
  174. data/rbi/orb/models/metric_list_params.rbi +2 -1
  175. data/rbi/orb/models/metric_update_params.rbi +2 -1
  176. data/rbi/orb/models/pagination_metadata.rbi +2 -1
  177. data/rbi/orb/models/percentage_discount.rbi +2 -1
  178. data/rbi/orb/models/plan.rbi +50 -14
  179. data/rbi/orb/models/plan_create_params.rbi +604 -89
  180. data/rbi/orb/models/plan_fetch_params.rbi +2 -1
  181. data/rbi/orb/models/plan_list_params.rbi +2 -1
  182. data/rbi/orb/models/plan_update_params.rbi +2 -1
  183. data/rbi/orb/models/plans/external_plan_id_fetch_params.rbi +4 -1
  184. data/rbi/orb/models/plans/external_plan_id_update_params.rbi +7 -1
  185. data/rbi/orb/models/price.rbi +1624 -270
  186. data/rbi/orb/models/price_create_params.rbi +100 -18
  187. data/rbi/orb/models/price_evaluate_params.rbi +2 -1
  188. data/rbi/orb/models/price_evaluate_response.rbi +4 -1
  189. data/rbi/orb/models/price_fetch_params.rbi +2 -1
  190. data/rbi/orb/models/price_list_params.rbi +2 -1
  191. data/rbi/orb/models/price_update_params.rbi +2 -1
  192. data/rbi/orb/models/prices/external_price_id_fetch_params.rbi +7 -1
  193. data/rbi/orb/models/prices/external_price_id_update_params.rbi +7 -1
  194. data/rbi/orb/models/subscription.rbi +109 -19
  195. data/rbi/orb/models/subscription_cancel_params.rbi +4 -1
  196. data/rbi/orb/models/subscription_cancel_response.rbi +137 -20
  197. data/rbi/orb/models/subscription_change_apply_params.rbi +4 -1
  198. data/rbi/orb/models/subscription_change_apply_response.rbi +142 -21
  199. data/rbi/orb/models/subscription_change_cancel_params.rbi +4 -1
  200. data/rbi/orb/models/subscription_change_cancel_response.rbi +142 -21
  201. data/rbi/orb/models/subscription_change_retrieve_params.rbi +4 -1
  202. data/rbi/orb/models/subscription_change_retrieve_response.rbi +142 -21
  203. data/rbi/orb/models/subscription_create_params.rbi +1257 -198
  204. data/rbi/orb/models/subscription_create_response.rbi +137 -20
  205. data/rbi/orb/models/subscription_fetch_costs_params.rbi +4 -1
  206. data/rbi/orb/models/subscription_fetch_costs_response.rbi +21 -3
  207. data/rbi/orb/models/subscription_fetch_params.rbi +4 -1
  208. data/rbi/orb/models/subscription_fetch_schedule_params.rbi +4 -1
  209. data/rbi/orb/models/subscription_fetch_schedule_response.rbi +14 -2
  210. data/rbi/orb/models/subscription_fetch_usage_params.rbi +4 -1
  211. data/rbi/orb/models/subscription_list_params.rbi +4 -1
  212. data/rbi/orb/models/subscription_price_intervals_params.rbi +731 -115
  213. data/rbi/orb/models/subscription_price_intervals_response.rbi +140 -20
  214. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +1260 -198
  215. data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +140 -20
  216. data/rbi/orb/models/subscription_trigger_phase_params.rbi +4 -1
  217. data/rbi/orb/models/subscription_trigger_phase_response.rbi +140 -20
  218. data/rbi/orb/models/subscription_unschedule_cancellation_params.rbi +7 -1
  219. data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +140 -20
  220. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +7 -1
  221. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +140 -20
  222. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +7 -1
  223. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +140 -20
  224. data/rbi/orb/models/subscription_update_fixed_fee_quantity_params.rbi +7 -1
  225. data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +140 -20
  226. data/rbi/orb/models/subscription_update_params.rbi +4 -1
  227. data/rbi/orb/models/subscription_update_trial_params.rbi +4 -1
  228. data/rbi/orb/models/subscription_update_trial_response.rbi +140 -20
  229. data/rbi/orb/models/subscription_usage.rbi +63 -9
  230. data/rbi/orb/models/subscriptions.rbi +2 -1
  231. data/rbi/orb/models/top_level_ping_params.rbi +2 -1
  232. data/rbi/orb/models/top_level_ping_response.rbi +4 -1
  233. data/rbi/orb/models/trial_discount.rbi +2 -1
  234. data/rbi/orb/models/usage_discount.rbi +2 -1
  235. data/rbi/orb/request_options.rbi +1 -1
  236. data/sig/orb/internal/transport/base_client.rbs +16 -1
  237. data/sig/orb/internal/transport/pooled_net_requester.rbs +2 -0
  238. data/sig/orb/internal/type/base_model.rbs +11 -5
  239. data/sig/orb/internal/type/base_page.rbs +1 -1
  240. data/sig/orb/internal/type/converter.rbs +2 -0
  241. data/sig/orb/internal/type/enum.rbs +1 -0
  242. data/sig/orb/internal/type/union.rbs +1 -0
  243. data/sig/orb/internal/util.rbs +13 -0
  244. data/sig/orb/internal.rbs +2 -0
  245. metadata +2 -2
@@ -6,7 +6,8 @@ module Orb
6
6
  extend Orb::Internal::Type::RequestParameters::Converter
7
7
  include Orb::Internal::Type::RequestParameters
8
8
 
9
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9
+ OrHash =
10
+ T.type_alias { T.any(Orb::PlanCreateParams, Orb::Internal::AnyHash) }
10
11
 
11
12
  # An ISO 4217 currency string for invoices generated by subscriptions on this
12
13
  # plan.
@@ -230,7 +231,10 @@ module Orb
230
231
  end
231
232
 
232
233
  class Unit < Orb::Internal::Type::BaseModel
233
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
234
+ OrHash =
235
+ T.type_alias do
236
+ T.any(Orb::PlanCreateParams::Price::Unit, Orb::Internal::AnyHash)
237
+ end
234
238
 
235
239
  # The cadence to bill for this price on.
236
240
  sig { returns(Orb::PlanCreateParams::Price::Unit::Cadence::OrSymbol) }
@@ -487,7 +491,13 @@ module Orb
487
491
  end
488
492
 
489
493
  class UnitConfig < Orb::Internal::Type::BaseModel
490
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
494
+ OrHash =
495
+ T.type_alias do
496
+ T.any(
497
+ Orb::PlanCreateParams::Price::Unit::UnitConfig,
498
+ Orb::Internal::AnyHash
499
+ )
500
+ end
491
501
 
492
502
  # Rate per unit of usage
493
503
  sig { returns(String) }
@@ -506,7 +516,13 @@ module Orb
506
516
  end
507
517
 
508
518
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
509
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
519
+ OrHash =
520
+ T.type_alias do
521
+ T.any(
522
+ Orb::PlanCreateParams::Price::Unit::BillingCycleConfiguration,
523
+ Orb::Internal::AnyHash
524
+ )
525
+ end
510
526
 
511
527
  # The duration of the billing period.
512
528
  sig { returns(Integer) }
@@ -586,7 +602,13 @@ module Orb
586
602
  end
587
603
 
588
604
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
589
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
605
+ OrHash =
606
+ T.type_alias do
607
+ T.any(
608
+ Orb::PlanCreateParams::Price::Unit::InvoicingCycleConfiguration,
609
+ Orb::Internal::AnyHash
610
+ )
611
+ end
590
612
 
591
613
  # The duration of the billing period.
592
614
  sig { returns(Integer) }
@@ -667,7 +689,13 @@ module Orb
667
689
  end
668
690
 
669
691
  class Package < Orb::Internal::Type::BaseModel
670
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
692
+ OrHash =
693
+ T.type_alias do
694
+ T.any(
695
+ Orb::PlanCreateParams::Price::Package,
696
+ Orb::Internal::AnyHash
697
+ )
698
+ end
671
699
 
672
700
  # The cadence to bill for this price on.
673
701
  sig do
@@ -928,7 +956,13 @@ module Orb
928
956
  end
929
957
 
930
958
  class PackageConfig < Orb::Internal::Type::BaseModel
931
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
959
+ OrHash =
960
+ T.type_alias do
961
+ T.any(
962
+ Orb::PlanCreateParams::Price::Package::PackageConfig,
963
+ Orb::Internal::AnyHash
964
+ )
965
+ end
932
966
 
933
967
  # A currency amount to rate usage by
934
968
  sig { returns(String) }
@@ -963,7 +997,13 @@ module Orb
963
997
  end
964
998
 
965
999
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
966
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1000
+ OrHash =
1001
+ T.type_alias do
1002
+ T.any(
1003
+ Orb::PlanCreateParams::Price::Package::BillingCycleConfiguration,
1004
+ Orb::Internal::AnyHash
1005
+ )
1006
+ end
967
1007
 
968
1008
  # The duration of the billing period.
969
1009
  sig { returns(Integer) }
@@ -1043,7 +1083,13 @@ module Orb
1043
1083
  end
1044
1084
 
1045
1085
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1046
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1086
+ OrHash =
1087
+ T.type_alias do
1088
+ T.any(
1089
+ Orb::PlanCreateParams::Price::Package::InvoicingCycleConfiguration,
1090
+ Orb::Internal::AnyHash
1091
+ )
1092
+ end
1047
1093
 
1048
1094
  # The duration of the billing period.
1049
1095
  sig { returns(Integer) }
@@ -1124,7 +1170,13 @@ module Orb
1124
1170
  end
1125
1171
 
1126
1172
  class Matrix < Orb::Internal::Type::BaseModel
1127
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1173
+ OrHash =
1174
+ T.type_alias do
1175
+ T.any(
1176
+ Orb::PlanCreateParams::Price::Matrix,
1177
+ Orb::Internal::AnyHash
1178
+ )
1179
+ end
1128
1180
 
1129
1181
  # The cadence to bill for this price on.
1130
1182
  sig do
@@ -1385,7 +1437,13 @@ module Orb
1385
1437
  end
1386
1438
 
1387
1439
  class MatrixConfig < Orb::Internal::Type::BaseModel
1388
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1440
+ OrHash =
1441
+ T.type_alias do
1442
+ T.any(
1443
+ Orb::PlanCreateParams::Price::Matrix::MatrixConfig,
1444
+ Orb::Internal::AnyHash
1445
+ )
1446
+ end
1389
1447
 
1390
1448
  # Default per unit rate for any usage not bucketed into a specified matrix_value
1391
1449
  sig { returns(String) }
@@ -1442,7 +1500,12 @@ module Orb
1442
1500
 
1443
1501
  class MatrixValue < Orb::Internal::Type::BaseModel
1444
1502
  OrHash =
1445
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1503
+ T.type_alias do
1504
+ T.any(
1505
+ Orb::PlanCreateParams::Price::Matrix::MatrixConfig::MatrixValue,
1506
+ Orb::Internal::AnyHash
1507
+ )
1508
+ end
1446
1509
 
1447
1510
  # One or two matrix keys to filter usage to this Matrix value by. For example,
1448
1511
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
@@ -1484,7 +1547,13 @@ module Orb
1484
1547
  end
1485
1548
 
1486
1549
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
1487
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1550
+ OrHash =
1551
+ T.type_alias do
1552
+ T.any(
1553
+ Orb::PlanCreateParams::Price::Matrix::BillingCycleConfiguration,
1554
+ Orb::Internal::AnyHash
1555
+ )
1556
+ end
1488
1557
 
1489
1558
  # The duration of the billing period.
1490
1559
  sig { returns(Integer) }
@@ -1564,7 +1633,13 @@ module Orb
1564
1633
  end
1565
1634
 
1566
1635
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1567
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1636
+ OrHash =
1637
+ T.type_alias do
1638
+ T.any(
1639
+ Orb::PlanCreateParams::Price::Matrix::InvoicingCycleConfiguration,
1640
+ Orb::Internal::AnyHash
1641
+ )
1642
+ end
1568
1643
 
1569
1644
  # The duration of the billing period.
1570
1645
  sig { returns(Integer) }
@@ -1645,7 +1720,13 @@ module Orb
1645
1720
  end
1646
1721
 
1647
1722
  class Tiered < Orb::Internal::Type::BaseModel
1648
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1723
+ OrHash =
1724
+ T.type_alias do
1725
+ T.any(
1726
+ Orb::PlanCreateParams::Price::Tiered,
1727
+ Orb::Internal::AnyHash
1728
+ )
1729
+ end
1649
1730
 
1650
1731
  # The cadence to bill for this price on.
1651
1732
  sig do
@@ -1906,7 +1987,13 @@ module Orb
1906
1987
  end
1907
1988
 
1908
1989
  class TieredConfig < Orb::Internal::Type::BaseModel
1909
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1990
+ OrHash =
1991
+ T.type_alias do
1992
+ T.any(
1993
+ Orb::PlanCreateParams::Price::Tiered::TieredConfig,
1994
+ Orb::Internal::AnyHash
1995
+ )
1996
+ end
1910
1997
 
1911
1998
  # Tiers for rating based on total usage quantities into the specified tier
1912
1999
  sig do
@@ -1947,7 +2034,12 @@ module Orb
1947
2034
 
1948
2035
  class Tier < Orb::Internal::Type::BaseModel
1949
2036
  OrHash =
1950
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2037
+ T.type_alias do
2038
+ T.any(
2039
+ Orb::PlanCreateParams::Price::Tiered::TieredConfig::Tier,
2040
+ Orb::Internal::AnyHash
2041
+ )
2042
+ end
1951
2043
 
1952
2044
  # Exclusive tier starting value
1953
2045
  sig { returns(Float) }
@@ -1993,7 +2085,13 @@ module Orb
1993
2085
  end
1994
2086
 
1995
2087
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
1996
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2088
+ OrHash =
2089
+ T.type_alias do
2090
+ T.any(
2091
+ Orb::PlanCreateParams::Price::Tiered::BillingCycleConfiguration,
2092
+ Orb::Internal::AnyHash
2093
+ )
2094
+ end
1997
2095
 
1998
2096
  # The duration of the billing period.
1999
2097
  sig { returns(Integer) }
@@ -2073,7 +2171,13 @@ module Orb
2073
2171
  end
2074
2172
 
2075
2173
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2076
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2174
+ OrHash =
2175
+ T.type_alias do
2176
+ T.any(
2177
+ Orb::PlanCreateParams::Price::Tiered::InvoicingCycleConfiguration,
2178
+ Orb::Internal::AnyHash
2179
+ )
2180
+ end
2077
2181
 
2078
2182
  # The duration of the billing period.
2079
2183
  sig { returns(Integer) }
@@ -2154,7 +2258,13 @@ module Orb
2154
2258
  end
2155
2259
 
2156
2260
  class TieredBps < Orb::Internal::Type::BaseModel
2157
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2261
+ OrHash =
2262
+ T.type_alias do
2263
+ T.any(
2264
+ Orb::PlanCreateParams::Price::TieredBps,
2265
+ Orb::Internal::AnyHash
2266
+ )
2267
+ end
2158
2268
 
2159
2269
  # The cadence to bill for this price on.
2160
2270
  sig do
@@ -2418,7 +2528,13 @@ module Orb
2418
2528
  end
2419
2529
 
2420
2530
  class TieredBpsConfig < Orb::Internal::Type::BaseModel
2421
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2531
+ OrHash =
2532
+ T.type_alias do
2533
+ T.any(
2534
+ Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig,
2535
+ Orb::Internal::AnyHash
2536
+ )
2537
+ end
2422
2538
 
2423
2539
  # Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
2424
2540
  # tiers
@@ -2461,7 +2577,12 @@ module Orb
2461
2577
 
2462
2578
  class Tier < Orb::Internal::Type::BaseModel
2463
2579
  OrHash =
2464
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2580
+ T.type_alias do
2581
+ T.any(
2582
+ Orb::PlanCreateParams::Price::TieredBps::TieredBpsConfig::Tier,
2583
+ Orb::Internal::AnyHash
2584
+ )
2585
+ end
2465
2586
 
2466
2587
  # Per-event basis point rate
2467
2588
  sig { returns(Float) }
@@ -2515,7 +2636,13 @@ module Orb
2515
2636
  end
2516
2637
 
2517
2638
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2518
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2639
+ OrHash =
2640
+ T.type_alias do
2641
+ T.any(
2642
+ Orb::PlanCreateParams::Price::TieredBps::BillingCycleConfiguration,
2643
+ Orb::Internal::AnyHash
2644
+ )
2645
+ end
2519
2646
 
2520
2647
  # The duration of the billing period.
2521
2648
  sig { returns(Integer) }
@@ -2595,7 +2722,13 @@ module Orb
2595
2722
  end
2596
2723
 
2597
2724
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2598
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2725
+ OrHash =
2726
+ T.type_alias do
2727
+ T.any(
2728
+ Orb::PlanCreateParams::Price::TieredBps::InvoicingCycleConfiguration,
2729
+ Orb::Internal::AnyHash
2730
+ )
2731
+ end
2599
2732
 
2600
2733
  # The duration of the billing period.
2601
2734
  sig { returns(Integer) }
@@ -2676,7 +2809,10 @@ module Orb
2676
2809
  end
2677
2810
 
2678
2811
  class Bps < Orb::Internal::Type::BaseModel
2679
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2812
+ OrHash =
2813
+ T.type_alias do
2814
+ T.any(Orb::PlanCreateParams::Price::Bps, Orb::Internal::AnyHash)
2815
+ end
2680
2816
 
2681
2817
  sig { returns(Orb::PlanCreateParams::Price::Bps::BpsConfig) }
2682
2818
  attr_reader :bps_config
@@ -2879,7 +3015,13 @@ module Orb
2879
3015
  end
2880
3016
 
2881
3017
  class BpsConfig < Orb::Internal::Type::BaseModel
2882
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3018
+ OrHash =
3019
+ T.type_alias do
3020
+ T.any(
3021
+ Orb::PlanCreateParams::Price::Bps::BpsConfig,
3022
+ Orb::Internal::AnyHash
3023
+ )
3024
+ end
2883
3025
 
2884
3026
  # Basis point take rate per event
2885
3027
  sig { returns(Float) }
@@ -2964,7 +3106,13 @@ module Orb
2964
3106
  end
2965
3107
 
2966
3108
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2967
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3109
+ OrHash =
3110
+ T.type_alias do
3111
+ T.any(
3112
+ Orb::PlanCreateParams::Price::Bps::BillingCycleConfiguration,
3113
+ Orb::Internal::AnyHash
3114
+ )
3115
+ end
2968
3116
 
2969
3117
  # The duration of the billing period.
2970
3118
  sig { returns(Integer) }
@@ -3044,7 +3192,13 @@ module Orb
3044
3192
  end
3045
3193
 
3046
3194
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3047
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3195
+ OrHash =
3196
+ T.type_alias do
3197
+ T.any(
3198
+ Orb::PlanCreateParams::Price::Bps::InvoicingCycleConfiguration,
3199
+ Orb::Internal::AnyHash
3200
+ )
3201
+ end
3048
3202
 
3049
3203
  # The duration of the billing period.
3050
3204
  sig { returns(Integer) }
@@ -3125,7 +3279,13 @@ module Orb
3125
3279
  end
3126
3280
 
3127
3281
  class BulkBps < Orb::Internal::Type::BaseModel
3128
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3282
+ OrHash =
3283
+ T.type_alias do
3284
+ T.any(
3285
+ Orb::PlanCreateParams::Price::BulkBps,
3286
+ Orb::Internal::AnyHash
3287
+ )
3288
+ end
3129
3289
 
3130
3290
  sig { returns(Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig) }
3131
3291
  attr_reader :bulk_bps_config
@@ -3334,7 +3494,13 @@ module Orb
3334
3494
  end
3335
3495
 
3336
3496
  class BulkBpsConfig < Orb::Internal::Type::BaseModel
3337
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3497
+ OrHash =
3498
+ T.type_alias do
3499
+ T.any(
3500
+ Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig,
3501
+ Orb::Internal::AnyHash
3502
+ )
3503
+ end
3338
3504
 
3339
3505
  # Tiers for a bulk BPS pricing model where all usage is aggregated to a single
3340
3506
  # tier based on total volume
@@ -3377,7 +3543,12 @@ module Orb
3377
3543
 
3378
3544
  class Tier < Orb::Internal::Type::BaseModel
3379
3545
  OrHash =
3380
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3546
+ T.type_alias do
3547
+ T.any(
3548
+ Orb::PlanCreateParams::Price::BulkBps::BulkBpsConfig::Tier,
3549
+ Orb::Internal::AnyHash
3550
+ )
3551
+ end
3381
3552
 
3382
3553
  # Basis points to rate on
3383
3554
  sig { returns(Float) }
@@ -3475,7 +3646,13 @@ module Orb
3475
3646
  end
3476
3647
 
3477
3648
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3478
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3649
+ OrHash =
3650
+ T.type_alias do
3651
+ T.any(
3652
+ Orb::PlanCreateParams::Price::BulkBps::BillingCycleConfiguration,
3653
+ Orb::Internal::AnyHash
3654
+ )
3655
+ end
3479
3656
 
3480
3657
  # The duration of the billing period.
3481
3658
  sig { returns(Integer) }
@@ -3555,7 +3732,13 @@ module Orb
3555
3732
  end
3556
3733
 
3557
3734
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3558
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3735
+ OrHash =
3736
+ T.type_alias do
3737
+ T.any(
3738
+ Orb::PlanCreateParams::Price::BulkBps::InvoicingCycleConfiguration,
3739
+ Orb::Internal::AnyHash
3740
+ )
3741
+ end
3559
3742
 
3560
3743
  # The duration of the billing period.
3561
3744
  sig { returns(Integer) }
@@ -3636,7 +3819,10 @@ module Orb
3636
3819
  end
3637
3820
 
3638
3821
  class Bulk < Orb::Internal::Type::BaseModel
3639
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3822
+ OrHash =
3823
+ T.type_alias do
3824
+ T.any(Orb::PlanCreateParams::Price::Bulk, Orb::Internal::AnyHash)
3825
+ end
3640
3826
 
3641
3827
  sig { returns(Orb::PlanCreateParams::Price::Bulk::BulkConfig) }
3642
3828
  attr_reader :bulk_config
@@ -3841,7 +4027,13 @@ module Orb
3841
4027
  end
3842
4028
 
3843
4029
  class BulkConfig < Orb::Internal::Type::BaseModel
3844
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4030
+ OrHash =
4031
+ T.type_alias do
4032
+ T.any(
4033
+ Orb::PlanCreateParams::Price::Bulk::BulkConfig,
4034
+ Orb::Internal::AnyHash
4035
+ )
4036
+ end
3845
4037
 
3846
4038
  # Bulk tiers for rating based on total usage volume
3847
4039
  sig do
@@ -3880,7 +4072,12 @@ module Orb
3880
4072
 
3881
4073
  class Tier < Orb::Internal::Type::BaseModel
3882
4074
  OrHash =
3883
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4075
+ T.type_alias do
4076
+ T.any(
4077
+ Orb::PlanCreateParams::Price::Bulk::BulkConfig::Tier,
4078
+ Orb::Internal::AnyHash
4079
+ )
4080
+ end
3884
4081
 
3885
4082
  # Amount per unit
3886
4083
  sig { returns(String) }
@@ -3967,7 +4164,13 @@ module Orb
3967
4164
  end
3968
4165
 
3969
4166
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3970
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4167
+ OrHash =
4168
+ T.type_alias do
4169
+ T.any(
4170
+ Orb::PlanCreateParams::Price::Bulk::BillingCycleConfiguration,
4171
+ Orb::Internal::AnyHash
4172
+ )
4173
+ end
3971
4174
 
3972
4175
  # The duration of the billing period.
3973
4176
  sig { returns(Integer) }
@@ -4047,7 +4250,13 @@ module Orb
4047
4250
  end
4048
4251
 
4049
4252
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4050
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4253
+ OrHash =
4254
+ T.type_alias do
4255
+ T.any(
4256
+ Orb::PlanCreateParams::Price::Bulk::InvoicingCycleConfiguration,
4257
+ Orb::Internal::AnyHash
4258
+ )
4259
+ end
4051
4260
 
4052
4261
  # The duration of the billing period.
4053
4262
  sig { returns(Integer) }
@@ -4128,7 +4337,13 @@ module Orb
4128
4337
  end
4129
4338
 
4130
4339
  class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
4131
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4340
+ OrHash =
4341
+ T.type_alias do
4342
+ T.any(
4343
+ Orb::PlanCreateParams::Price::ThresholdTotalAmount,
4344
+ Orb::Internal::AnyHash
4345
+ )
4346
+ end
4132
4347
 
4133
4348
  # The cadence to bill for this price on.
4134
4349
  sig do
@@ -4385,7 +4600,13 @@ module Orb
4385
4600
  end
4386
4601
 
4387
4602
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4388
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4603
+ OrHash =
4604
+ T.type_alias do
4605
+ T.any(
4606
+ Orb::PlanCreateParams::Price::ThresholdTotalAmount::BillingCycleConfiguration,
4607
+ Orb::Internal::AnyHash
4608
+ )
4609
+ end
4389
4610
 
4390
4611
  # The duration of the billing period.
4391
4612
  sig { returns(Integer) }
@@ -4465,7 +4686,13 @@ module Orb
4465
4686
  end
4466
4687
 
4467
4688
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4468
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4689
+ OrHash =
4690
+ T.type_alias do
4691
+ T.any(
4692
+ Orb::PlanCreateParams::Price::ThresholdTotalAmount::InvoicingCycleConfiguration,
4693
+ Orb::Internal::AnyHash
4694
+ )
4695
+ end
4469
4696
 
4470
4697
  # The duration of the billing period.
4471
4698
  sig { returns(Integer) }
@@ -4546,7 +4773,13 @@ module Orb
4546
4773
  end
4547
4774
 
4548
4775
  class TieredPackage < Orb::Internal::Type::BaseModel
4549
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4776
+ OrHash =
4777
+ T.type_alias do
4778
+ T.any(
4779
+ Orb::PlanCreateParams::Price::TieredPackage,
4780
+ Orb::Internal::AnyHash
4781
+ )
4782
+ end
4550
4783
 
4551
4784
  # The cadence to bill for this price on.
4552
4785
  sig do
@@ -4803,7 +5036,13 @@ module Orb
4803
5036
  end
4804
5037
 
4805
5038
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4806
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5039
+ OrHash =
5040
+ T.type_alias do
5041
+ T.any(
5042
+ Orb::PlanCreateParams::Price::TieredPackage::BillingCycleConfiguration,
5043
+ Orb::Internal::AnyHash
5044
+ )
5045
+ end
4807
5046
 
4808
5047
  # The duration of the billing period.
4809
5048
  sig { returns(Integer) }
@@ -4883,7 +5122,13 @@ module Orb
4883
5122
  end
4884
5123
 
4885
5124
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4886
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5125
+ OrHash =
5126
+ T.type_alias do
5127
+ T.any(
5128
+ Orb::PlanCreateParams::Price::TieredPackage::InvoicingCycleConfiguration,
5129
+ Orb::Internal::AnyHash
5130
+ )
5131
+ end
4887
5132
 
4888
5133
  # The duration of the billing period.
4889
5134
  sig { returns(Integer) }
@@ -4964,7 +5209,13 @@ module Orb
4964
5209
  end
4965
5210
 
4966
5211
  class TieredWithMinimum < Orb::Internal::Type::BaseModel
4967
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5212
+ OrHash =
5213
+ T.type_alias do
5214
+ T.any(
5215
+ Orb::PlanCreateParams::Price::TieredWithMinimum,
5216
+ Orb::Internal::AnyHash
5217
+ )
5218
+ end
4968
5219
 
4969
5220
  # The cadence to bill for this price on.
4970
5221
  sig do
@@ -5221,7 +5472,13 @@ module Orb
5221
5472
  end
5222
5473
 
5223
5474
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5224
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5475
+ OrHash =
5476
+ T.type_alias do
5477
+ T.any(
5478
+ Orb::PlanCreateParams::Price::TieredWithMinimum::BillingCycleConfiguration,
5479
+ Orb::Internal::AnyHash
5480
+ )
5481
+ end
5225
5482
 
5226
5483
  # The duration of the billing period.
5227
5484
  sig { returns(Integer) }
@@ -5301,7 +5558,13 @@ module Orb
5301
5558
  end
5302
5559
 
5303
5560
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5304
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5561
+ OrHash =
5562
+ T.type_alias do
5563
+ T.any(
5564
+ Orb::PlanCreateParams::Price::TieredWithMinimum::InvoicingCycleConfiguration,
5565
+ Orb::Internal::AnyHash
5566
+ )
5567
+ end
5305
5568
 
5306
5569
  # The duration of the billing period.
5307
5570
  sig { returns(Integer) }
@@ -5382,7 +5645,13 @@ module Orb
5382
5645
  end
5383
5646
 
5384
5647
  class UnitWithPercent < Orb::Internal::Type::BaseModel
5385
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5648
+ OrHash =
5649
+ T.type_alias do
5650
+ T.any(
5651
+ Orb::PlanCreateParams::Price::UnitWithPercent,
5652
+ Orb::Internal::AnyHash
5653
+ )
5654
+ end
5386
5655
 
5387
5656
  # The cadence to bill for this price on.
5388
5657
  sig do
@@ -5639,7 +5908,13 @@ module Orb
5639
5908
  end
5640
5909
 
5641
5910
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5642
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5911
+ OrHash =
5912
+ T.type_alias do
5913
+ T.any(
5914
+ Orb::PlanCreateParams::Price::UnitWithPercent::BillingCycleConfiguration,
5915
+ Orb::Internal::AnyHash
5916
+ )
5917
+ end
5643
5918
 
5644
5919
  # The duration of the billing period.
5645
5920
  sig { returns(Integer) }
@@ -5719,7 +5994,13 @@ module Orb
5719
5994
  end
5720
5995
 
5721
5996
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5722
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5997
+ OrHash =
5998
+ T.type_alias do
5999
+ T.any(
6000
+ Orb::PlanCreateParams::Price::UnitWithPercent::InvoicingCycleConfiguration,
6001
+ Orb::Internal::AnyHash
6002
+ )
6003
+ end
5723
6004
 
5724
6005
  # The duration of the billing period.
5725
6006
  sig { returns(Integer) }
@@ -5800,7 +6081,13 @@ module Orb
5800
6081
  end
5801
6082
 
5802
6083
  class PackageWithAllocation < Orb::Internal::Type::BaseModel
5803
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6084
+ OrHash =
6085
+ T.type_alias do
6086
+ T.any(
6087
+ Orb::PlanCreateParams::Price::PackageWithAllocation,
6088
+ Orb::Internal::AnyHash
6089
+ )
6090
+ end
5804
6091
 
5805
6092
  # The cadence to bill for this price on.
5806
6093
  sig do
@@ -6057,7 +6344,13 @@ module Orb
6057
6344
  end
6058
6345
 
6059
6346
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6060
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6347
+ OrHash =
6348
+ T.type_alias do
6349
+ T.any(
6350
+ Orb::PlanCreateParams::Price::PackageWithAllocation::BillingCycleConfiguration,
6351
+ Orb::Internal::AnyHash
6352
+ )
6353
+ end
6061
6354
 
6062
6355
  # The duration of the billing period.
6063
6356
  sig { returns(Integer) }
@@ -6137,7 +6430,13 @@ module Orb
6137
6430
  end
6138
6431
 
6139
6432
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6140
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6433
+ OrHash =
6434
+ T.type_alias do
6435
+ T.any(
6436
+ Orb::PlanCreateParams::Price::PackageWithAllocation::InvoicingCycleConfiguration,
6437
+ Orb::Internal::AnyHash
6438
+ )
6439
+ end
6141
6440
 
6142
6441
  # The duration of the billing period.
6143
6442
  sig { returns(Integer) }
@@ -6218,7 +6517,13 @@ module Orb
6218
6517
  end
6219
6518
 
6220
6519
  class TieredWithProration < Orb::Internal::Type::BaseModel
6221
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6520
+ OrHash =
6521
+ T.type_alias do
6522
+ T.any(
6523
+ Orb::PlanCreateParams::Price::TieredWithProration,
6524
+ Orb::Internal::AnyHash
6525
+ )
6526
+ end
6222
6527
 
6223
6528
  # The cadence to bill for this price on.
6224
6529
  sig do
@@ -6475,7 +6780,13 @@ module Orb
6475
6780
  end
6476
6781
 
6477
6782
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6478
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6783
+ OrHash =
6784
+ T.type_alias do
6785
+ T.any(
6786
+ Orb::PlanCreateParams::Price::TieredWithProration::BillingCycleConfiguration,
6787
+ Orb::Internal::AnyHash
6788
+ )
6789
+ end
6479
6790
 
6480
6791
  # The duration of the billing period.
6481
6792
  sig { returns(Integer) }
@@ -6555,7 +6866,13 @@ module Orb
6555
6866
  end
6556
6867
 
6557
6868
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6558
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6869
+ OrHash =
6870
+ T.type_alias do
6871
+ T.any(
6872
+ Orb::PlanCreateParams::Price::TieredWithProration::InvoicingCycleConfiguration,
6873
+ Orb::Internal::AnyHash
6874
+ )
6875
+ end
6559
6876
 
6560
6877
  # The duration of the billing period.
6561
6878
  sig { returns(Integer) }
@@ -6636,7 +6953,13 @@ module Orb
6636
6953
  end
6637
6954
 
6638
6955
  class UnitWithProration < Orb::Internal::Type::BaseModel
6639
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6956
+ OrHash =
6957
+ T.type_alias do
6958
+ T.any(
6959
+ Orb::PlanCreateParams::Price::UnitWithProration,
6960
+ Orb::Internal::AnyHash
6961
+ )
6962
+ end
6640
6963
 
6641
6964
  # The cadence to bill for this price on.
6642
6965
  sig do
@@ -6893,7 +7216,13 @@ module Orb
6893
7216
  end
6894
7217
 
6895
7218
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6896
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7219
+ OrHash =
7220
+ T.type_alias do
7221
+ T.any(
7222
+ Orb::PlanCreateParams::Price::UnitWithProration::BillingCycleConfiguration,
7223
+ Orb::Internal::AnyHash
7224
+ )
7225
+ end
6897
7226
 
6898
7227
  # The duration of the billing period.
6899
7228
  sig { returns(Integer) }
@@ -6973,7 +7302,13 @@ module Orb
6973
7302
  end
6974
7303
 
6975
7304
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6976
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7305
+ OrHash =
7306
+ T.type_alias do
7307
+ T.any(
7308
+ Orb::PlanCreateParams::Price::UnitWithProration::InvoicingCycleConfiguration,
7309
+ Orb::Internal::AnyHash
7310
+ )
7311
+ end
6977
7312
 
6978
7313
  # The duration of the billing period.
6979
7314
  sig { returns(Integer) }
@@ -7054,7 +7389,13 @@ module Orb
7054
7389
  end
7055
7390
 
7056
7391
  class GroupedAllocation < Orb::Internal::Type::BaseModel
7057
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7392
+ OrHash =
7393
+ T.type_alias do
7394
+ T.any(
7395
+ Orb::PlanCreateParams::Price::GroupedAllocation,
7396
+ Orb::Internal::AnyHash
7397
+ )
7398
+ end
7058
7399
 
7059
7400
  # The cadence to bill for this price on.
7060
7401
  sig do
@@ -7311,7 +7652,13 @@ module Orb
7311
7652
  end
7312
7653
 
7313
7654
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7314
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7655
+ OrHash =
7656
+ T.type_alias do
7657
+ T.any(
7658
+ Orb::PlanCreateParams::Price::GroupedAllocation::BillingCycleConfiguration,
7659
+ Orb::Internal::AnyHash
7660
+ )
7661
+ end
7315
7662
 
7316
7663
  # The duration of the billing period.
7317
7664
  sig { returns(Integer) }
@@ -7391,7 +7738,13 @@ module Orb
7391
7738
  end
7392
7739
 
7393
7740
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7394
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7741
+ OrHash =
7742
+ T.type_alias do
7743
+ T.any(
7744
+ Orb::PlanCreateParams::Price::GroupedAllocation::InvoicingCycleConfiguration,
7745
+ Orb::Internal::AnyHash
7746
+ )
7747
+ end
7395
7748
 
7396
7749
  # The duration of the billing period.
7397
7750
  sig { returns(Integer) }
@@ -7472,7 +7825,13 @@ module Orb
7472
7825
  end
7473
7826
 
7474
7827
  class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
7475
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7828
+ OrHash =
7829
+ T.type_alias do
7830
+ T.any(
7831
+ Orb::PlanCreateParams::Price::GroupedWithProratedMinimum,
7832
+ Orb::Internal::AnyHash
7833
+ )
7834
+ end
7476
7835
 
7477
7836
  # The cadence to bill for this price on.
7478
7837
  sig do
@@ -7730,7 +8089,13 @@ module Orb
7730
8089
  end
7731
8090
 
7732
8091
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7733
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8092
+ OrHash =
8093
+ T.type_alias do
8094
+ T.any(
8095
+ Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::BillingCycleConfiguration,
8096
+ Orb::Internal::AnyHash
8097
+ )
8098
+ end
7734
8099
 
7735
8100
  # The duration of the billing period.
7736
8101
  sig { returns(Integer) }
@@ -7810,7 +8175,13 @@ module Orb
7810
8175
  end
7811
8176
 
7812
8177
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7813
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8178
+ OrHash =
8179
+ T.type_alias do
8180
+ T.any(
8181
+ Orb::PlanCreateParams::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration,
8182
+ Orb::Internal::AnyHash
8183
+ )
8184
+ end
7814
8185
 
7815
8186
  # The duration of the billing period.
7816
8187
  sig { returns(Integer) }
@@ -7891,7 +8262,13 @@ module Orb
7891
8262
  end
7892
8263
 
7893
8264
  class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
7894
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8265
+ OrHash =
8266
+ T.type_alias do
8267
+ T.any(
8268
+ Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum,
8269
+ Orb::Internal::AnyHash
8270
+ )
8271
+ end
7895
8272
 
7896
8273
  # The cadence to bill for this price on.
7897
8274
  sig do
@@ -8149,7 +8526,13 @@ module Orb
8149
8526
  end
8150
8527
 
8151
8528
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8152
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8529
+ OrHash =
8530
+ T.type_alias do
8531
+ T.any(
8532
+ Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration,
8533
+ Orb::Internal::AnyHash
8534
+ )
8535
+ end
8153
8536
 
8154
8537
  # The duration of the billing period.
8155
8538
  sig { returns(Integer) }
@@ -8229,7 +8612,13 @@ module Orb
8229
8612
  end
8230
8613
 
8231
8614
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8232
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8615
+ OrHash =
8616
+ T.type_alias do
8617
+ T.any(
8618
+ Orb::PlanCreateParams::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration,
8619
+ Orb::Internal::AnyHash
8620
+ )
8621
+ end
8233
8622
 
8234
8623
  # The duration of the billing period.
8235
8624
  sig { returns(Integer) }
@@ -8310,7 +8699,13 @@ module Orb
8310
8699
  end
8311
8700
 
8312
8701
  class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
8313
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8702
+ OrHash =
8703
+ T.type_alias do
8704
+ T.any(
8705
+ Orb::PlanCreateParams::Price::MatrixWithDisplayName,
8706
+ Orb::Internal::AnyHash
8707
+ )
8708
+ end
8314
8709
 
8315
8710
  # The cadence to bill for this price on.
8316
8711
  sig do
@@ -8567,7 +8962,13 @@ module Orb
8567
8962
  end
8568
8963
 
8569
8964
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8570
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8965
+ OrHash =
8966
+ T.type_alias do
8967
+ T.any(
8968
+ Orb::PlanCreateParams::Price::MatrixWithDisplayName::BillingCycleConfiguration,
8969
+ Orb::Internal::AnyHash
8970
+ )
8971
+ end
8571
8972
 
8572
8973
  # The duration of the billing period.
8573
8974
  sig { returns(Integer) }
@@ -8647,7 +9048,13 @@ module Orb
8647
9048
  end
8648
9049
 
8649
9050
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8650
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9051
+ OrHash =
9052
+ T.type_alias do
9053
+ T.any(
9054
+ Orb::PlanCreateParams::Price::MatrixWithDisplayName::InvoicingCycleConfiguration,
9055
+ Orb::Internal::AnyHash
9056
+ )
9057
+ end
8651
9058
 
8652
9059
  # The duration of the billing period.
8653
9060
  sig { returns(Integer) }
@@ -8728,7 +9135,13 @@ module Orb
8728
9135
  end
8729
9136
 
8730
9137
  class BulkWithProration < Orb::Internal::Type::BaseModel
8731
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9138
+ OrHash =
9139
+ T.type_alias do
9140
+ T.any(
9141
+ Orb::PlanCreateParams::Price::BulkWithProration,
9142
+ Orb::Internal::AnyHash
9143
+ )
9144
+ end
8732
9145
 
8733
9146
  sig { returns(T::Hash[Symbol, T.anything]) }
8734
9147
  attr_accessor :bulk_with_proration_config
@@ -8985,7 +9398,13 @@ module Orb
8985
9398
  end
8986
9399
 
8987
9400
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8988
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9401
+ OrHash =
9402
+ T.type_alias do
9403
+ T.any(
9404
+ Orb::PlanCreateParams::Price::BulkWithProration::BillingCycleConfiguration,
9405
+ Orb::Internal::AnyHash
9406
+ )
9407
+ end
8989
9408
 
8990
9409
  # The duration of the billing period.
8991
9410
  sig { returns(Integer) }
@@ -9065,7 +9484,13 @@ module Orb
9065
9484
  end
9066
9485
 
9067
9486
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9068
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9487
+ OrHash =
9488
+ T.type_alias do
9489
+ T.any(
9490
+ Orb::PlanCreateParams::Price::BulkWithProration::InvoicingCycleConfiguration,
9491
+ Orb::Internal::AnyHash
9492
+ )
9493
+ end
9069
9494
 
9070
9495
  # The duration of the billing period.
9071
9496
  sig { returns(Integer) }
@@ -9146,7 +9571,13 @@ module Orb
9146
9571
  end
9147
9572
 
9148
9573
  class GroupedTieredPackage < Orb::Internal::Type::BaseModel
9149
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9574
+ OrHash =
9575
+ T.type_alias do
9576
+ T.any(
9577
+ Orb::PlanCreateParams::Price::GroupedTieredPackage,
9578
+ Orb::Internal::AnyHash
9579
+ )
9580
+ end
9150
9581
 
9151
9582
  # The cadence to bill for this price on.
9152
9583
  sig do
@@ -9403,7 +9834,13 @@ module Orb
9403
9834
  end
9404
9835
 
9405
9836
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9406
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9837
+ OrHash =
9838
+ T.type_alias do
9839
+ T.any(
9840
+ Orb::PlanCreateParams::Price::GroupedTieredPackage::BillingCycleConfiguration,
9841
+ Orb::Internal::AnyHash
9842
+ )
9843
+ end
9407
9844
 
9408
9845
  # The duration of the billing period.
9409
9846
  sig { returns(Integer) }
@@ -9483,7 +9920,13 @@ module Orb
9483
9920
  end
9484
9921
 
9485
9922
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9486
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9923
+ OrHash =
9924
+ T.type_alias do
9925
+ T.any(
9926
+ Orb::PlanCreateParams::Price::GroupedTieredPackage::InvoicingCycleConfiguration,
9927
+ Orb::Internal::AnyHash
9928
+ )
9929
+ end
9487
9930
 
9488
9931
  # The duration of the billing period.
9489
9932
  sig { returns(Integer) }
@@ -9564,7 +10007,13 @@ module Orb
9564
10007
  end
9565
10008
 
9566
10009
  class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
9567
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10010
+ OrHash =
10011
+ T.type_alias do
10012
+ T.any(
10013
+ Orb::PlanCreateParams::Price::MaxGroupTieredPackage,
10014
+ Orb::Internal::AnyHash
10015
+ )
10016
+ end
9568
10017
 
9569
10018
  # The cadence to bill for this price on.
9570
10019
  sig do
@@ -9821,7 +10270,13 @@ module Orb
9821
10270
  end
9822
10271
 
9823
10272
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9824
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10273
+ OrHash =
10274
+ T.type_alias do
10275
+ T.any(
10276
+ Orb::PlanCreateParams::Price::MaxGroupTieredPackage::BillingCycleConfiguration,
10277
+ Orb::Internal::AnyHash
10278
+ )
10279
+ end
9825
10280
 
9826
10281
  # The duration of the billing period.
9827
10282
  sig { returns(Integer) }
@@ -9901,7 +10356,13 @@ module Orb
9901
10356
  end
9902
10357
 
9903
10358
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9904
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10359
+ OrHash =
10360
+ T.type_alias do
10361
+ T.any(
10362
+ Orb::PlanCreateParams::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration,
10363
+ Orb::Internal::AnyHash
10364
+ )
10365
+ end
9905
10366
 
9906
10367
  # The duration of the billing period.
9907
10368
  sig { returns(Integer) }
@@ -9982,7 +10443,13 @@ module Orb
9982
10443
  end
9983
10444
 
9984
10445
  class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
9985
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10446
+ OrHash =
10447
+ T.type_alias do
10448
+ T.any(
10449
+ Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing,
10450
+ Orb::Internal::AnyHash
10451
+ )
10452
+ end
9986
10453
 
9987
10454
  # The cadence to bill for this price on.
9988
10455
  sig do
@@ -10241,7 +10708,13 @@ module Orb
10241
10708
  end
10242
10709
 
10243
10710
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10244
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10711
+ OrHash =
10712
+ T.type_alias do
10713
+ T.any(
10714
+ Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration,
10715
+ Orb::Internal::AnyHash
10716
+ )
10717
+ end
10245
10718
 
10246
10719
  # The duration of the billing period.
10247
10720
  sig { returns(Integer) }
@@ -10321,7 +10794,13 @@ module Orb
10321
10794
  end
10322
10795
 
10323
10796
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10324
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10797
+ OrHash =
10798
+ T.type_alias do
10799
+ T.any(
10800
+ Orb::PlanCreateParams::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration,
10801
+ Orb::Internal::AnyHash
10802
+ )
10803
+ end
10325
10804
 
10326
10805
  # The duration of the billing period.
10327
10806
  sig { returns(Integer) }
@@ -10402,7 +10881,13 @@ module Orb
10402
10881
  end
10403
10882
 
10404
10883
  class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
10405
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10884
+ OrHash =
10885
+ T.type_alias do
10886
+ T.any(
10887
+ Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing,
10888
+ Orb::Internal::AnyHash
10889
+ )
10890
+ end
10406
10891
 
10407
10892
  # The cadence to bill for this price on.
10408
10893
  sig do
@@ -10661,7 +11146,13 @@ module Orb
10661
11146
  end
10662
11147
 
10663
11148
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10664
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11149
+ OrHash =
11150
+ T.type_alias do
11151
+ T.any(
11152
+ Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration,
11153
+ Orb::Internal::AnyHash
11154
+ )
11155
+ end
10665
11156
 
10666
11157
  # The duration of the billing period.
10667
11158
  sig { returns(Integer) }
@@ -10741,7 +11232,13 @@ module Orb
10741
11232
  end
10742
11233
 
10743
11234
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10744
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11235
+ OrHash =
11236
+ T.type_alias do
11237
+ T.any(
11238
+ Orb::PlanCreateParams::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration,
11239
+ Orb::Internal::AnyHash
11240
+ )
11241
+ end
10745
11242
 
10746
11243
  # The duration of the billing period.
10747
11244
  sig { returns(Integer) }
@@ -10822,7 +11319,13 @@ module Orb
10822
11319
  end
10823
11320
 
10824
11321
  class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
10825
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11322
+ OrHash =
11323
+ T.type_alias do
11324
+ T.any(
11325
+ Orb::PlanCreateParams::Price::CumulativeGroupedBulk,
11326
+ Orb::Internal::AnyHash
11327
+ )
11328
+ end
10826
11329
 
10827
11330
  # The cadence to bill for this price on.
10828
11331
  sig do
@@ -11079,7 +11582,13 @@ module Orb
11079
11582
  end
11080
11583
 
11081
11584
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11082
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11585
+ OrHash =
11586
+ T.type_alias do
11587
+ T.any(
11588
+ Orb::PlanCreateParams::Price::CumulativeGroupedBulk::BillingCycleConfiguration,
11589
+ Orb::Internal::AnyHash
11590
+ )
11591
+ end
11083
11592
 
11084
11593
  # The duration of the billing period.
11085
11594
  sig { returns(Integer) }
@@ -11159,7 +11668,13 @@ module Orb
11159
11668
  end
11160
11669
 
11161
11670
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11162
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11671
+ OrHash =
11672
+ T.type_alias do
11673
+ T.any(
11674
+ Orb::PlanCreateParams::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration,
11675
+ Orb::Internal::AnyHash
11676
+ )
11677
+ end
11163
11678
 
11164
11679
  # The duration of the billing period.
11165
11680
  sig { returns(Integer) }