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
@@ -6,7 +6,13 @@ 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 do
11
+ T.any(
12
+ Orb::SubscriptionSchedulePlanChangeParams,
13
+ Orb::Internal::AnyHash
14
+ )
15
+ end
10
16
 
11
17
  sig do
12
18
  returns(
@@ -472,7 +478,13 @@ module Orb
472
478
  end
473
479
 
474
480
  class AddAdjustment < Orb::Internal::Type::BaseModel
475
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
481
+ OrHash =
482
+ T.type_alias do
483
+ T.any(
484
+ Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment,
485
+ Orb::Internal::AnyHash
486
+ )
487
+ end
476
488
 
477
489
  # The definition of a new adjustment to create and add to the subscription.
478
490
  sig do
@@ -569,7 +581,13 @@ module Orb
569
581
  end
570
582
 
571
583
  class PercentageDiscount < Orb::Internal::Type::BaseModel
572
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
584
+ OrHash =
585
+ T.type_alias do
586
+ T.any(
587
+ Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::PercentageDiscount,
588
+ Orb::Internal::AnyHash
589
+ )
590
+ end
573
591
 
574
592
  sig { returns(Symbol) }
575
593
  attr_accessor :adjustment_type
@@ -623,7 +641,13 @@ module Orb
623
641
  end
624
642
 
625
643
  class UsageDiscount < Orb::Internal::Type::BaseModel
626
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
644
+ OrHash =
645
+ T.type_alias do
646
+ T.any(
647
+ Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::UsageDiscount,
648
+ Orb::Internal::AnyHash
649
+ )
650
+ end
627
651
 
628
652
  sig { returns(Symbol) }
629
653
  attr_accessor :adjustment_type
@@ -677,7 +701,13 @@ module Orb
677
701
  end
678
702
 
679
703
  class AmountDiscount < Orb::Internal::Type::BaseModel
680
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
704
+ OrHash =
705
+ T.type_alias do
706
+ T.any(
707
+ Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::AmountDiscount,
708
+ Orb::Internal::AnyHash
709
+ )
710
+ end
681
711
 
682
712
  sig { returns(Symbol) }
683
713
  attr_accessor :adjustment_type
@@ -731,7 +761,13 @@ module Orb
731
761
  end
732
762
 
733
763
  class Minimum < Orb::Internal::Type::BaseModel
734
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
764
+ OrHash =
765
+ T.type_alias do
766
+ T.any(
767
+ Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::Minimum,
768
+ Orb::Internal::AnyHash
769
+ )
770
+ end
735
771
 
736
772
  sig { returns(Symbol) }
737
773
  attr_accessor :adjustment_type
@@ -793,7 +829,13 @@ module Orb
793
829
  end
794
830
 
795
831
  class Maximum < Orb::Internal::Type::BaseModel
796
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
832
+ OrHash =
833
+ T.type_alias do
834
+ T.any(
835
+ Orb::SubscriptionSchedulePlanChangeParams::AddAdjustment::Adjustment::Maximum,
836
+ Orb::Internal::AnyHash
837
+ )
838
+ end
797
839
 
798
840
  sig { returns(Symbol) }
799
841
  attr_accessor :adjustment_type
@@ -859,7 +901,13 @@ module Orb
859
901
  end
860
902
 
861
903
  class AddPrice < Orb::Internal::Type::BaseModel
862
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
904
+ OrHash =
905
+ T.type_alias do
906
+ T.any(
907
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice,
908
+ Orb::Internal::AnyHash
909
+ )
910
+ end
863
911
 
864
912
  # The definition of a new allocation price to create and add to the subscription.
865
913
  sig do
@@ -1103,7 +1151,13 @@ module Orb
1103
1151
  end
1104
1152
 
1105
1153
  class AllocationPrice < Orb::Internal::Type::BaseModel
1106
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1154
+ OrHash =
1155
+ T.type_alias do
1156
+ T.any(
1157
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::AllocationPrice,
1158
+ Orb::Internal::AnyHash
1159
+ )
1160
+ end
1107
1161
 
1108
1162
  # An amount of the currency to allocate to the customer at the specified cadence.
1109
1163
  sig { returns(String) }
@@ -1222,7 +1276,13 @@ module Orb
1222
1276
  end
1223
1277
 
1224
1278
  class Discount < Orb::Internal::Type::BaseModel
1225
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1279
+ OrHash =
1280
+ T.type_alias do
1281
+ T.any(
1282
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Discount,
1283
+ Orb::Internal::AnyHash
1284
+ )
1285
+ end
1226
1286
 
1227
1287
  sig do
1228
1288
  returns(
@@ -1357,7 +1417,13 @@ module Orb
1357
1417
  end
1358
1418
 
1359
1419
  class Unit < Orb::Internal::Type::BaseModel
1360
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1420
+ OrHash =
1421
+ T.type_alias do
1422
+ T.any(
1423
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Unit,
1424
+ Orb::Internal::AnyHash
1425
+ )
1426
+ end
1361
1427
 
1362
1428
  # The cadence to bill for this price on.
1363
1429
  sig do
@@ -1639,7 +1705,12 @@ module Orb
1639
1705
 
1640
1706
  class UnitConfig < Orb::Internal::Type::BaseModel
1641
1707
  OrHash =
1642
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1708
+ T.type_alias do
1709
+ T.any(
1710
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Unit::UnitConfig,
1711
+ Orb::Internal::AnyHash
1712
+ )
1713
+ end
1643
1714
 
1644
1715
  # Rate per unit of usage
1645
1716
  sig { returns(String) }
@@ -1659,7 +1730,12 @@ module Orb
1659
1730
 
1660
1731
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
1661
1732
  OrHash =
1662
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1733
+ T.type_alias do
1734
+ T.any(
1735
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Unit::BillingCycleConfiguration,
1736
+ Orb::Internal::AnyHash
1737
+ )
1738
+ end
1663
1739
 
1664
1740
  # The duration of the billing period.
1665
1741
  sig { returns(Integer) }
@@ -1740,7 +1816,12 @@ module Orb
1740
1816
 
1741
1817
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1742
1818
  OrHash =
1743
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1819
+ T.type_alias do
1820
+ T.any(
1821
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Unit::InvoicingCycleConfiguration,
1822
+ Orb::Internal::AnyHash
1823
+ )
1824
+ end
1744
1825
 
1745
1826
  # The duration of the billing period.
1746
1827
  sig { returns(Integer) }
@@ -1821,7 +1902,13 @@ module Orb
1821
1902
  end
1822
1903
 
1823
1904
  class Package < Orb::Internal::Type::BaseModel
1824
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
1905
+ OrHash =
1906
+ T.type_alias do
1907
+ T.any(
1908
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Package,
1909
+ Orb::Internal::AnyHash
1910
+ )
1911
+ end
1825
1912
 
1826
1913
  # The cadence to bill for this price on.
1827
1914
  sig do
@@ -2103,7 +2190,12 @@ module Orb
2103
2190
 
2104
2191
  class PackageConfig < Orb::Internal::Type::BaseModel
2105
2192
  OrHash =
2106
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2193
+ T.type_alias do
2194
+ T.any(
2195
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Package::PackageConfig,
2196
+ Orb::Internal::AnyHash
2197
+ )
2198
+ end
2107
2199
 
2108
2200
  # A currency amount to rate usage by
2109
2201
  sig { returns(String) }
@@ -2139,7 +2231,12 @@ module Orb
2139
2231
 
2140
2232
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2141
2233
  OrHash =
2142
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2234
+ T.type_alias do
2235
+ T.any(
2236
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Package::BillingCycleConfiguration,
2237
+ Orb::Internal::AnyHash
2238
+ )
2239
+ end
2143
2240
 
2144
2241
  # The duration of the billing period.
2145
2242
  sig { returns(Integer) }
@@ -2220,7 +2317,12 @@ module Orb
2220
2317
 
2221
2318
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2222
2319
  OrHash =
2223
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2320
+ T.type_alias do
2321
+ T.any(
2322
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Package::InvoicingCycleConfiguration,
2323
+ Orb::Internal::AnyHash
2324
+ )
2325
+ end
2224
2326
 
2225
2327
  # The duration of the billing period.
2226
2328
  sig { returns(Integer) }
@@ -2301,7 +2403,13 @@ module Orb
2301
2403
  end
2302
2404
 
2303
2405
  class Matrix < Orb::Internal::Type::BaseModel
2304
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2406
+ OrHash =
2407
+ T.type_alias do
2408
+ T.any(
2409
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix,
2410
+ Orb::Internal::AnyHash
2411
+ )
2412
+ end
2305
2413
 
2306
2414
  # The cadence to bill for this price on.
2307
2415
  sig do
@@ -2583,7 +2691,12 @@ module Orb
2583
2691
 
2584
2692
  class MatrixConfig < Orb::Internal::Type::BaseModel
2585
2693
  OrHash =
2586
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2694
+ T.type_alias do
2695
+ T.any(
2696
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix::MatrixConfig,
2697
+ Orb::Internal::AnyHash
2698
+ )
2699
+ end
2587
2700
 
2588
2701
  # Default per unit rate for any usage not bucketed into a specified matrix_value
2589
2702
  sig { returns(String) }
@@ -2640,7 +2753,12 @@ module Orb
2640
2753
 
2641
2754
  class MatrixValue < Orb::Internal::Type::BaseModel
2642
2755
  OrHash =
2643
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2756
+ T.type_alias do
2757
+ T.any(
2758
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix::MatrixConfig::MatrixValue,
2759
+ Orb::Internal::AnyHash
2760
+ )
2761
+ end
2644
2762
 
2645
2763
  # One or two matrix keys to filter usage to this Matrix value by. For example,
2646
2764
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
@@ -2683,7 +2801,12 @@ module Orb
2683
2801
 
2684
2802
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2685
2803
  OrHash =
2686
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2804
+ T.type_alias do
2805
+ T.any(
2806
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix::BillingCycleConfiguration,
2807
+ Orb::Internal::AnyHash
2808
+ )
2809
+ end
2687
2810
 
2688
2811
  # The duration of the billing period.
2689
2812
  sig { returns(Integer) }
@@ -2764,7 +2887,12 @@ module Orb
2764
2887
 
2765
2888
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2766
2889
  OrHash =
2767
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2890
+ T.type_alias do
2891
+ T.any(
2892
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Matrix::InvoicingCycleConfiguration,
2893
+ Orb::Internal::AnyHash
2894
+ )
2895
+ end
2768
2896
 
2769
2897
  # The duration of the billing period.
2770
2898
  sig { returns(Integer) }
@@ -2845,7 +2973,13 @@ module Orb
2845
2973
  end
2846
2974
 
2847
2975
  class Tiered < Orb::Internal::Type::BaseModel
2848
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
2976
+ OrHash =
2977
+ T.type_alias do
2978
+ T.any(
2979
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered,
2980
+ Orb::Internal::AnyHash
2981
+ )
2982
+ end
2849
2983
 
2850
2984
  # The cadence to bill for this price on.
2851
2985
  sig do
@@ -3127,7 +3261,12 @@ module Orb
3127
3261
 
3128
3262
  class TieredConfig < Orb::Internal::Type::BaseModel
3129
3263
  OrHash =
3130
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3264
+ T.type_alias do
3265
+ T.any(
3266
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered::TieredConfig,
3267
+ Orb::Internal::AnyHash
3268
+ )
3269
+ end
3131
3270
 
3132
3271
  # Tiers for rating based on total usage quantities into the specified tier
3133
3272
  sig do
@@ -3168,7 +3307,12 @@ module Orb
3168
3307
 
3169
3308
  class Tier < Orb::Internal::Type::BaseModel
3170
3309
  OrHash =
3171
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3310
+ T.type_alias do
3311
+ T.any(
3312
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered::TieredConfig::Tier,
3313
+ Orb::Internal::AnyHash
3314
+ )
3315
+ end
3172
3316
 
3173
3317
  # Exclusive tier starting value
3174
3318
  sig { returns(Float) }
@@ -3215,7 +3359,12 @@ module Orb
3215
3359
 
3216
3360
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3217
3361
  OrHash =
3218
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3362
+ T.type_alias do
3363
+ T.any(
3364
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered::BillingCycleConfiguration,
3365
+ Orb::Internal::AnyHash
3366
+ )
3367
+ end
3219
3368
 
3220
3369
  # The duration of the billing period.
3221
3370
  sig { returns(Integer) }
@@ -3296,7 +3445,12 @@ module Orb
3296
3445
 
3297
3446
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3298
3447
  OrHash =
3299
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3448
+ T.type_alias do
3449
+ T.any(
3450
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Tiered::InvoicingCycleConfiguration,
3451
+ Orb::Internal::AnyHash
3452
+ )
3453
+ end
3300
3454
 
3301
3455
  # The duration of the billing period.
3302
3456
  sig { returns(Integer) }
@@ -3377,7 +3531,13 @@ module Orb
3377
3531
  end
3378
3532
 
3379
3533
  class TieredBps < Orb::Internal::Type::BaseModel
3380
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3534
+ OrHash =
3535
+ T.type_alias do
3536
+ T.any(
3537
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps,
3538
+ Orb::Internal::AnyHash
3539
+ )
3540
+ end
3381
3541
 
3382
3542
  # The cadence to bill for this price on.
3383
3543
  sig do
@@ -3659,7 +3819,12 @@ module Orb
3659
3819
 
3660
3820
  class TieredBpsConfig < Orb::Internal::Type::BaseModel
3661
3821
  OrHash =
3662
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3822
+ T.type_alias do
3823
+ T.any(
3824
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps::TieredBpsConfig,
3825
+ Orb::Internal::AnyHash
3826
+ )
3827
+ end
3663
3828
 
3664
3829
  # Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
3665
3830
  # tiers
@@ -3702,7 +3867,12 @@ module Orb
3702
3867
 
3703
3868
  class Tier < Orb::Internal::Type::BaseModel
3704
3869
  OrHash =
3705
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3870
+ T.type_alias do
3871
+ T.any(
3872
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps::TieredBpsConfig::Tier,
3873
+ Orb::Internal::AnyHash
3874
+ )
3875
+ end
3706
3876
 
3707
3877
  # Per-event basis point rate
3708
3878
  sig { returns(Float) }
@@ -3757,7 +3927,12 @@ module Orb
3757
3927
 
3758
3928
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3759
3929
  OrHash =
3760
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
3930
+ T.type_alias do
3931
+ T.any(
3932
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps::BillingCycleConfiguration,
3933
+ Orb::Internal::AnyHash
3934
+ )
3935
+ end
3761
3936
 
3762
3937
  # The duration of the billing period.
3763
3938
  sig { returns(Integer) }
@@ -3838,7 +4013,12 @@ module Orb
3838
4013
 
3839
4014
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3840
4015
  OrHash =
3841
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4016
+ T.type_alias do
4017
+ T.any(
4018
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredBps::InvoicingCycleConfiguration,
4019
+ Orb::Internal::AnyHash
4020
+ )
4021
+ end
3842
4022
 
3843
4023
  # The duration of the billing period.
3844
4024
  sig { returns(Integer) }
@@ -3919,7 +4099,13 @@ module Orb
3919
4099
  end
3920
4100
 
3921
4101
  class Bps < Orb::Internal::Type::BaseModel
3922
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4102
+ OrHash =
4103
+ T.type_alias do
4104
+ T.any(
4105
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bps,
4106
+ Orb::Internal::AnyHash
4107
+ )
4108
+ end
3923
4109
 
3924
4110
  sig do
3925
4111
  returns(
@@ -4146,7 +4332,12 @@ module Orb
4146
4332
 
4147
4333
  class BpsConfig < Orb::Internal::Type::BaseModel
4148
4334
  OrHash =
4149
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4335
+ T.type_alias do
4336
+ T.any(
4337
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bps::BpsConfig,
4338
+ Orb::Internal::AnyHash
4339
+ )
4340
+ end
4150
4341
 
4151
4342
  # Basis point take rate per event
4152
4343
  sig { returns(Float) }
@@ -4235,7 +4426,12 @@ module Orb
4235
4426
 
4236
4427
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4237
4428
  OrHash =
4238
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4429
+ T.type_alias do
4430
+ T.any(
4431
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bps::BillingCycleConfiguration,
4432
+ Orb::Internal::AnyHash
4433
+ )
4434
+ end
4239
4435
 
4240
4436
  # The duration of the billing period.
4241
4437
  sig { returns(Integer) }
@@ -4316,7 +4512,12 @@ module Orb
4316
4512
 
4317
4513
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4318
4514
  OrHash =
4319
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4515
+ T.type_alias do
4516
+ T.any(
4517
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bps::InvoicingCycleConfiguration,
4518
+ Orb::Internal::AnyHash
4519
+ )
4520
+ end
4320
4521
 
4321
4522
  # The duration of the billing period.
4322
4523
  sig { returns(Integer) }
@@ -4397,7 +4598,13 @@ module Orb
4397
4598
  end
4398
4599
 
4399
4600
  class BulkBps < Orb::Internal::Type::BaseModel
4400
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4601
+ OrHash =
4602
+ T.type_alias do
4603
+ T.any(
4604
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps,
4605
+ Orb::Internal::AnyHash
4606
+ )
4607
+ end
4401
4608
 
4402
4609
  sig do
4403
4610
  returns(
@@ -4624,7 +4831,12 @@ module Orb
4624
4831
 
4625
4832
  class BulkBpsConfig < Orb::Internal::Type::BaseModel
4626
4833
  OrHash =
4627
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4834
+ T.type_alias do
4835
+ T.any(
4836
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps::BulkBpsConfig,
4837
+ Orb::Internal::AnyHash
4838
+ )
4839
+ end
4628
4840
 
4629
4841
  # Tiers for a bulk BPS pricing model where all usage is aggregated to a single
4630
4842
  # tier based on total volume
@@ -4667,7 +4879,12 @@ module Orb
4667
4879
 
4668
4880
  class Tier < Orb::Internal::Type::BaseModel
4669
4881
  OrHash =
4670
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4882
+ T.type_alias do
4883
+ T.any(
4884
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps::BulkBpsConfig::Tier,
4885
+ Orb::Internal::AnyHash
4886
+ )
4887
+ end
4671
4888
 
4672
4889
  # Basis points to rate on
4673
4890
  sig { returns(Float) }
@@ -4769,7 +4986,12 @@ module Orb
4769
4986
 
4770
4987
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4771
4988
  OrHash =
4772
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
4989
+ T.type_alias do
4990
+ T.any(
4991
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps::BillingCycleConfiguration,
4992
+ Orb::Internal::AnyHash
4993
+ )
4994
+ end
4773
4995
 
4774
4996
  # The duration of the billing period.
4775
4997
  sig { returns(Integer) }
@@ -4850,7 +5072,12 @@ module Orb
4850
5072
 
4851
5073
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4852
5074
  OrHash =
4853
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5075
+ T.type_alias do
5076
+ T.any(
5077
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkBps::InvoicingCycleConfiguration,
5078
+ Orb::Internal::AnyHash
5079
+ )
5080
+ end
4854
5081
 
4855
5082
  # The duration of the billing period.
4856
5083
  sig { returns(Integer) }
@@ -4931,7 +5158,13 @@ module Orb
4931
5158
  end
4932
5159
 
4933
5160
  class Bulk < Orb::Internal::Type::BaseModel
4934
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5161
+ OrHash =
5162
+ T.type_alias do
5163
+ T.any(
5164
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk,
5165
+ Orb::Internal::AnyHash
5166
+ )
5167
+ end
4935
5168
 
4936
5169
  sig do
4937
5170
  returns(
@@ -5158,7 +5391,12 @@ module Orb
5158
5391
 
5159
5392
  class BulkConfig < Orb::Internal::Type::BaseModel
5160
5393
  OrHash =
5161
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5394
+ T.type_alias do
5395
+ T.any(
5396
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk::BulkConfig,
5397
+ Orb::Internal::AnyHash
5398
+ )
5399
+ end
5162
5400
 
5163
5401
  # Bulk tiers for rating based on total usage volume
5164
5402
  sig do
@@ -5199,7 +5437,12 @@ module Orb
5199
5437
 
5200
5438
  class Tier < Orb::Internal::Type::BaseModel
5201
5439
  OrHash =
5202
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5440
+ T.type_alias do
5441
+ T.any(
5442
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk::BulkConfig::Tier,
5443
+ Orb::Internal::AnyHash
5444
+ )
5445
+ end
5203
5446
 
5204
5447
  # Amount per unit
5205
5448
  sig { returns(String) }
@@ -5290,7 +5533,12 @@ module Orb
5290
5533
 
5291
5534
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5292
5535
  OrHash =
5293
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5536
+ T.type_alias do
5537
+ T.any(
5538
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk::BillingCycleConfiguration,
5539
+ Orb::Internal::AnyHash
5540
+ )
5541
+ end
5294
5542
 
5295
5543
  # The duration of the billing period.
5296
5544
  sig { returns(Integer) }
@@ -5371,7 +5619,12 @@ module Orb
5371
5619
 
5372
5620
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5373
5621
  OrHash =
5374
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5622
+ T.type_alias do
5623
+ T.any(
5624
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::Bulk::InvoicingCycleConfiguration,
5625
+ Orb::Internal::AnyHash
5626
+ )
5627
+ end
5375
5628
 
5376
5629
  # The duration of the billing period.
5377
5630
  sig { returns(Integer) }
@@ -5452,7 +5705,13 @@ module Orb
5452
5705
  end
5453
5706
 
5454
5707
  class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
5455
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5708
+ OrHash =
5709
+ T.type_alias do
5710
+ T.any(
5711
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ThresholdTotalAmount,
5712
+ Orb::Internal::AnyHash
5713
+ )
5714
+ end
5456
5715
 
5457
5716
  # The cadence to bill for this price on.
5458
5717
  sig do
@@ -5720,7 +5979,12 @@ module Orb
5720
5979
 
5721
5980
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5722
5981
  OrHash =
5723
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
5982
+ T.type_alias do
5983
+ T.any(
5984
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ThresholdTotalAmount::BillingCycleConfiguration,
5985
+ Orb::Internal::AnyHash
5986
+ )
5987
+ end
5724
5988
 
5725
5989
  # The duration of the billing period.
5726
5990
  sig { returns(Integer) }
@@ -5801,7 +6065,12 @@ module Orb
5801
6065
 
5802
6066
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5803
6067
  OrHash =
5804
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6068
+ T.type_alias do
6069
+ T.any(
6070
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ThresholdTotalAmount::InvoicingCycleConfiguration,
6071
+ Orb::Internal::AnyHash
6072
+ )
6073
+ end
5805
6074
 
5806
6075
  # The duration of the billing period.
5807
6076
  sig { returns(Integer) }
@@ -5882,7 +6151,13 @@ module Orb
5882
6151
  end
5883
6152
 
5884
6153
  class TieredPackage < Orb::Internal::Type::BaseModel
5885
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6154
+ OrHash =
6155
+ T.type_alias do
6156
+ T.any(
6157
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredPackage,
6158
+ Orb::Internal::AnyHash
6159
+ )
6160
+ end
5886
6161
 
5887
6162
  # The cadence to bill for this price on.
5888
6163
  sig do
@@ -6150,7 +6425,12 @@ module Orb
6150
6425
 
6151
6426
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6152
6427
  OrHash =
6153
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6428
+ T.type_alias do
6429
+ T.any(
6430
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredPackage::BillingCycleConfiguration,
6431
+ Orb::Internal::AnyHash
6432
+ )
6433
+ end
6154
6434
 
6155
6435
  # The duration of the billing period.
6156
6436
  sig { returns(Integer) }
@@ -6231,7 +6511,12 @@ module Orb
6231
6511
 
6232
6512
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6233
6513
  OrHash =
6234
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6514
+ T.type_alias do
6515
+ T.any(
6516
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredPackage::InvoicingCycleConfiguration,
6517
+ Orb::Internal::AnyHash
6518
+ )
6519
+ end
6235
6520
 
6236
6521
  # The duration of the billing period.
6237
6522
  sig { returns(Integer) }
@@ -6312,7 +6597,13 @@ module Orb
6312
6597
  end
6313
6598
 
6314
6599
  class TieredWithMinimum < Orb::Internal::Type::BaseModel
6315
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6600
+ OrHash =
6601
+ T.type_alias do
6602
+ T.any(
6603
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithMinimum,
6604
+ Orb::Internal::AnyHash
6605
+ )
6606
+ end
6316
6607
 
6317
6608
  # The cadence to bill for this price on.
6318
6609
  sig do
@@ -6580,7 +6871,12 @@ module Orb
6580
6871
 
6581
6872
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6582
6873
  OrHash =
6583
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6874
+ T.type_alias do
6875
+ T.any(
6876
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithMinimum::BillingCycleConfiguration,
6877
+ Orb::Internal::AnyHash
6878
+ )
6879
+ end
6584
6880
 
6585
6881
  # The duration of the billing period.
6586
6882
  sig { returns(Integer) }
@@ -6661,7 +6957,12 @@ module Orb
6661
6957
 
6662
6958
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6663
6959
  OrHash =
6664
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
6960
+ T.type_alias do
6961
+ T.any(
6962
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithMinimum::InvoicingCycleConfiguration,
6963
+ Orb::Internal::AnyHash
6964
+ )
6965
+ end
6665
6966
 
6666
6967
  # The duration of the billing period.
6667
6968
  sig { returns(Integer) }
@@ -6742,7 +7043,13 @@ module Orb
6742
7043
  end
6743
7044
 
6744
7045
  class UnitWithPercent < Orb::Internal::Type::BaseModel
6745
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7046
+ OrHash =
7047
+ T.type_alias do
7048
+ T.any(
7049
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithPercent,
7050
+ Orb::Internal::AnyHash
7051
+ )
7052
+ end
6746
7053
 
6747
7054
  # The cadence to bill for this price on.
6748
7055
  sig do
@@ -7010,7 +7317,12 @@ module Orb
7010
7317
 
7011
7318
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7012
7319
  OrHash =
7013
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7320
+ T.type_alias do
7321
+ T.any(
7322
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithPercent::BillingCycleConfiguration,
7323
+ Orb::Internal::AnyHash
7324
+ )
7325
+ end
7014
7326
 
7015
7327
  # The duration of the billing period.
7016
7328
  sig { returns(Integer) }
@@ -7091,7 +7403,12 @@ module Orb
7091
7403
 
7092
7404
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7093
7405
  OrHash =
7094
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7406
+ T.type_alias do
7407
+ T.any(
7408
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithPercent::InvoicingCycleConfiguration,
7409
+ Orb::Internal::AnyHash
7410
+ )
7411
+ end
7095
7412
 
7096
7413
  # The duration of the billing period.
7097
7414
  sig { returns(Integer) }
@@ -7172,7 +7489,13 @@ module Orb
7172
7489
  end
7173
7490
 
7174
7491
  class PackageWithAllocation < Orb::Internal::Type::BaseModel
7175
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7492
+ OrHash =
7493
+ T.type_alias do
7494
+ T.any(
7495
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::PackageWithAllocation,
7496
+ Orb::Internal::AnyHash
7497
+ )
7498
+ end
7176
7499
 
7177
7500
  # The cadence to bill for this price on.
7178
7501
  sig do
@@ -7440,7 +7763,12 @@ module Orb
7440
7763
 
7441
7764
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7442
7765
  OrHash =
7443
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7766
+ T.type_alias do
7767
+ T.any(
7768
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::PackageWithAllocation::BillingCycleConfiguration,
7769
+ Orb::Internal::AnyHash
7770
+ )
7771
+ end
7444
7772
 
7445
7773
  # The duration of the billing period.
7446
7774
  sig { returns(Integer) }
@@ -7521,7 +7849,12 @@ module Orb
7521
7849
 
7522
7850
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7523
7851
  OrHash =
7524
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7852
+ T.type_alias do
7853
+ T.any(
7854
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::PackageWithAllocation::InvoicingCycleConfiguration,
7855
+ Orb::Internal::AnyHash
7856
+ )
7857
+ end
7525
7858
 
7526
7859
  # The duration of the billing period.
7527
7860
  sig { returns(Integer) }
@@ -7602,7 +7935,13 @@ module Orb
7602
7935
  end
7603
7936
 
7604
7937
  class TieredWithProration < Orb::Internal::Type::BaseModel
7605
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
7938
+ OrHash =
7939
+ T.type_alias do
7940
+ T.any(
7941
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration,
7942
+ Orb::Internal::AnyHash
7943
+ )
7944
+ end
7606
7945
 
7607
7946
  # The cadence to bill for this price on.
7608
7947
  sig do
@@ -7870,7 +8209,12 @@ module Orb
7870
8209
 
7871
8210
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7872
8211
  OrHash =
7873
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8212
+ T.type_alias do
8213
+ T.any(
8214
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration::BillingCycleConfiguration,
8215
+ Orb::Internal::AnyHash
8216
+ )
8217
+ end
7874
8218
 
7875
8219
  # The duration of the billing period.
7876
8220
  sig { returns(Integer) }
@@ -7951,7 +8295,12 @@ module Orb
7951
8295
 
7952
8296
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7953
8297
  OrHash =
7954
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8298
+ T.type_alias do
8299
+ T.any(
8300
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::TieredWithProration::InvoicingCycleConfiguration,
8301
+ Orb::Internal::AnyHash
8302
+ )
8303
+ end
7955
8304
 
7956
8305
  # The duration of the billing period.
7957
8306
  sig { returns(Integer) }
@@ -8032,7 +8381,13 @@ module Orb
8032
8381
  end
8033
8382
 
8034
8383
  class UnitWithProration < Orb::Internal::Type::BaseModel
8035
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8384
+ OrHash =
8385
+ T.type_alias do
8386
+ T.any(
8387
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithProration,
8388
+ Orb::Internal::AnyHash
8389
+ )
8390
+ end
8036
8391
 
8037
8392
  # The cadence to bill for this price on.
8038
8393
  sig do
@@ -8300,7 +8655,12 @@ module Orb
8300
8655
 
8301
8656
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8302
8657
  OrHash =
8303
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8658
+ T.type_alias do
8659
+ T.any(
8660
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithProration::BillingCycleConfiguration,
8661
+ Orb::Internal::AnyHash
8662
+ )
8663
+ end
8304
8664
 
8305
8665
  # The duration of the billing period.
8306
8666
  sig { returns(Integer) }
@@ -8381,7 +8741,12 @@ module Orb
8381
8741
 
8382
8742
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8383
8743
  OrHash =
8384
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8744
+ T.type_alias do
8745
+ T.any(
8746
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::UnitWithProration::InvoicingCycleConfiguration,
8747
+ Orb::Internal::AnyHash
8748
+ )
8749
+ end
8385
8750
 
8386
8751
  # The duration of the billing period.
8387
8752
  sig { returns(Integer) }
@@ -8462,7 +8827,13 @@ module Orb
8462
8827
  end
8463
8828
 
8464
8829
  class GroupedAllocation < Orb::Internal::Type::BaseModel
8465
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
8830
+ OrHash =
8831
+ T.type_alias do
8832
+ T.any(
8833
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedAllocation,
8834
+ Orb::Internal::AnyHash
8835
+ )
8836
+ end
8466
8837
 
8467
8838
  # The cadence to bill for this price on.
8468
8839
  sig do
@@ -8730,7 +9101,12 @@ module Orb
8730
9101
 
8731
9102
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8732
9103
  OrHash =
8733
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9104
+ T.type_alias do
9105
+ T.any(
9106
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedAllocation::BillingCycleConfiguration,
9107
+ Orb::Internal::AnyHash
9108
+ )
9109
+ end
8734
9110
 
8735
9111
  # The duration of the billing period.
8736
9112
  sig { returns(Integer) }
@@ -8811,7 +9187,12 @@ module Orb
8811
9187
 
8812
9188
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8813
9189
  OrHash =
8814
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9190
+ T.type_alias do
9191
+ T.any(
9192
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedAllocation::InvoicingCycleConfiguration,
9193
+ Orb::Internal::AnyHash
9194
+ )
9195
+ end
8815
9196
 
8816
9197
  # The duration of the billing period.
8817
9198
  sig { returns(Integer) }
@@ -8892,7 +9273,13 @@ module Orb
8892
9273
  end
8893
9274
 
8894
9275
  class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
8895
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9276
+ OrHash =
9277
+ T.type_alias do
9278
+ T.any(
9279
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithProratedMinimum,
9280
+ Orb::Internal::AnyHash
9281
+ )
9282
+ end
8896
9283
 
8897
9284
  # The cadence to bill for this price on.
8898
9285
  sig do
@@ -9162,7 +9549,12 @@ module Orb
9162
9549
 
9163
9550
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9164
9551
  OrHash =
9165
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9552
+ T.type_alias do
9553
+ T.any(
9554
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithProratedMinimum::BillingCycleConfiguration,
9555
+ Orb::Internal::AnyHash
9556
+ )
9557
+ end
9166
9558
 
9167
9559
  # The duration of the billing period.
9168
9560
  sig { returns(Integer) }
@@ -9243,7 +9635,12 @@ module Orb
9243
9635
 
9244
9636
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9245
9637
  OrHash =
9246
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9638
+ T.type_alias do
9639
+ T.any(
9640
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration,
9641
+ Orb::Internal::AnyHash
9642
+ )
9643
+ end
9247
9644
 
9248
9645
  # The duration of the billing period.
9249
9646
  sig { returns(Integer) }
@@ -9324,7 +9721,13 @@ module Orb
9324
9721
  end
9325
9722
 
9326
9723
  class BulkWithProration < Orb::Internal::Type::BaseModel
9327
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9724
+ OrHash =
9725
+ T.type_alias do
9726
+ T.any(
9727
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithProration,
9728
+ Orb::Internal::AnyHash
9729
+ )
9730
+ end
9328
9731
 
9329
9732
  sig { returns(T::Hash[Symbol, T.anything]) }
9330
9733
  attr_accessor :bulk_with_proration_config
@@ -9592,7 +9995,12 @@ module Orb
9592
9995
 
9593
9996
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9594
9997
  OrHash =
9595
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
9998
+ T.type_alias do
9999
+ T.any(
10000
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithProration::BillingCycleConfiguration,
10001
+ Orb::Internal::AnyHash
10002
+ )
10003
+ end
9596
10004
 
9597
10005
  # The duration of the billing period.
9598
10006
  sig { returns(Integer) }
@@ -9673,7 +10081,12 @@ module Orb
9673
10081
 
9674
10082
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9675
10083
  OrHash =
9676
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10084
+ T.type_alias do
10085
+ T.any(
10086
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::BulkWithProration::InvoicingCycleConfiguration,
10087
+ Orb::Internal::AnyHash
10088
+ )
10089
+ end
9677
10090
 
9678
10091
  # The duration of the billing period.
9679
10092
  sig { returns(Integer) }
@@ -9754,7 +10167,13 @@ module Orb
9754
10167
  end
9755
10168
 
9756
10169
  class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
9757
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10170
+ OrHash =
10171
+ T.type_alias do
10172
+ T.any(
10173
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithUnitPricing,
10174
+ Orb::Internal::AnyHash
10175
+ )
10176
+ end
9758
10177
 
9759
10178
  # The cadence to bill for this price on.
9760
10179
  sig do
@@ -10024,7 +10443,12 @@ module Orb
10024
10443
 
10025
10444
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10026
10445
  OrHash =
10027
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10446
+ T.type_alias do
10447
+ T.any(
10448
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration,
10449
+ Orb::Internal::AnyHash
10450
+ )
10451
+ end
10028
10452
 
10029
10453
  # The duration of the billing period.
10030
10454
  sig { returns(Integer) }
@@ -10105,7 +10529,12 @@ module Orb
10105
10529
 
10106
10530
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10107
10531
  OrHash =
10108
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10532
+ T.type_alias do
10533
+ T.any(
10534
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration,
10535
+ Orb::Internal::AnyHash
10536
+ )
10537
+ end
10109
10538
 
10110
10539
  # The duration of the billing period.
10111
10540
  sig { returns(Integer) }
@@ -10186,7 +10615,13 @@ module Orb
10186
10615
  end
10187
10616
 
10188
10617
  class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
10189
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10618
+ OrHash =
10619
+ T.type_alias do
10620
+ T.any(
10621
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithTieredPricing,
10622
+ Orb::Internal::AnyHash
10623
+ )
10624
+ end
10190
10625
 
10191
10626
  # The cadence to bill for this price on.
10192
10627
  sig do
@@ -10456,7 +10891,12 @@ module Orb
10456
10891
 
10457
10892
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10458
10893
  OrHash =
10459
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10894
+ T.type_alias do
10895
+ T.any(
10896
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration,
10897
+ Orb::Internal::AnyHash
10898
+ )
10899
+ end
10460
10900
 
10461
10901
  # The duration of the billing period.
10462
10902
  sig { returns(Integer) }
@@ -10537,7 +10977,12 @@ module Orb
10537
10977
 
10538
10978
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10539
10979
  OrHash =
10540
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
10980
+ T.type_alias do
10981
+ T.any(
10982
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration,
10983
+ Orb::Internal::AnyHash
10984
+ )
10985
+ end
10541
10986
 
10542
10987
  # The duration of the billing period.
10543
10988
  sig { returns(Integer) }
@@ -10618,7 +11063,13 @@ module Orb
10618
11063
  end
10619
11064
 
10620
11065
  class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
10621
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11066
+ OrHash =
11067
+ T.type_alias do
11068
+ T.any(
11069
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedBulk,
11070
+ Orb::Internal::AnyHash
11071
+ )
11072
+ end
10622
11073
 
10623
11074
  # The cadence to bill for this price on.
10624
11075
  sig do
@@ -10886,7 +11337,12 @@ module Orb
10886
11337
 
10887
11338
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10888
11339
  OrHash =
10889
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11340
+ T.type_alias do
11341
+ T.any(
11342
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedBulk::BillingCycleConfiguration,
11343
+ Orb::Internal::AnyHash
11344
+ )
11345
+ end
10890
11346
 
10891
11347
  # The duration of the billing period.
10892
11348
  sig { returns(Integer) }
@@ -10967,7 +11423,12 @@ module Orb
10967
11423
 
10968
11424
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10969
11425
  OrHash =
10970
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11426
+ T.type_alias do
11427
+ T.any(
11428
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration,
11429
+ Orb::Internal::AnyHash
11430
+ )
11431
+ end
10971
11432
 
10972
11433
  # The duration of the billing period.
10973
11434
  sig { returns(Integer) }
@@ -11048,7 +11509,13 @@ module Orb
11048
11509
  end
11049
11510
 
11050
11511
  class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
11051
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11512
+ OrHash =
11513
+ T.type_alias do
11514
+ T.any(
11515
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MaxGroupTieredPackage,
11516
+ Orb::Internal::AnyHash
11517
+ )
11518
+ end
11052
11519
 
11053
11520
  # The cadence to bill for this price on.
11054
11521
  sig do
@@ -11316,7 +11783,12 @@ module Orb
11316
11783
 
11317
11784
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11318
11785
  OrHash =
11319
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11786
+ T.type_alias do
11787
+ T.any(
11788
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MaxGroupTieredPackage::BillingCycleConfiguration,
11789
+ Orb::Internal::AnyHash
11790
+ )
11791
+ end
11320
11792
 
11321
11793
  # The duration of the billing period.
11322
11794
  sig { returns(Integer) }
@@ -11397,7 +11869,12 @@ module Orb
11397
11869
 
11398
11870
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11399
11871
  OrHash =
11400
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11872
+ T.type_alias do
11873
+ T.any(
11874
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration,
11875
+ Orb::Internal::AnyHash
11876
+ )
11877
+ end
11401
11878
 
11402
11879
  # The duration of the billing period.
11403
11880
  sig { returns(Integer) }
@@ -11478,7 +11955,13 @@ module Orb
11478
11955
  end
11479
11956
 
11480
11957
  class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
11481
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
11958
+ OrHash =
11959
+ T.type_alias do
11960
+ T.any(
11961
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMeteredMinimum,
11962
+ Orb::Internal::AnyHash
11963
+ )
11964
+ end
11482
11965
 
11483
11966
  # The cadence to bill for this price on.
11484
11967
  sig do
@@ -11748,7 +12231,12 @@ module Orb
11748
12231
 
11749
12232
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11750
12233
  OrHash =
11751
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12234
+ T.type_alias do
12235
+ T.any(
12236
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration,
12237
+ Orb::Internal::AnyHash
12238
+ )
12239
+ end
11752
12240
 
11753
12241
  # The duration of the billing period.
11754
12242
  sig { returns(Integer) }
@@ -11829,7 +12317,12 @@ module Orb
11829
12317
 
11830
12318
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11831
12319
  OrHash =
11832
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12320
+ T.type_alias do
12321
+ T.any(
12322
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration,
12323
+ Orb::Internal::AnyHash
12324
+ )
12325
+ end
11833
12326
 
11834
12327
  # The duration of the billing period.
11835
12328
  sig { returns(Integer) }
@@ -11910,7 +12403,13 @@ module Orb
11910
12403
  end
11911
12404
 
11912
12405
  class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
11913
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12406
+ OrHash =
12407
+ T.type_alias do
12408
+ T.any(
12409
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithDisplayName,
12410
+ Orb::Internal::AnyHash
12411
+ )
12412
+ end
11914
12413
 
11915
12414
  # The cadence to bill for this price on.
11916
12415
  sig do
@@ -12178,7 +12677,12 @@ module Orb
12178
12677
 
12179
12678
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
12180
12679
  OrHash =
12181
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12680
+ T.type_alias do
12681
+ T.any(
12682
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithDisplayName::BillingCycleConfiguration,
12683
+ Orb::Internal::AnyHash
12684
+ )
12685
+ end
12182
12686
 
12183
12687
  # The duration of the billing period.
12184
12688
  sig { returns(Integer) }
@@ -12259,7 +12763,12 @@ module Orb
12259
12763
 
12260
12764
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
12261
12765
  OrHash =
12262
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12766
+ T.type_alias do
12767
+ T.any(
12768
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::MatrixWithDisplayName::InvoicingCycleConfiguration,
12769
+ Orb::Internal::AnyHash
12770
+ )
12771
+ end
12263
12772
 
12264
12773
  # The duration of the billing period.
12265
12774
  sig { returns(Integer) }
@@ -12340,7 +12849,13 @@ module Orb
12340
12849
  end
12341
12850
 
12342
12851
  class GroupedTieredPackage < Orb::Internal::Type::BaseModel
12343
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
12852
+ OrHash =
12853
+ T.type_alias do
12854
+ T.any(
12855
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedTieredPackage,
12856
+ Orb::Internal::AnyHash
12857
+ )
12858
+ end
12344
12859
 
12345
12860
  # The cadence to bill for this price on.
12346
12861
  sig do
@@ -12608,7 +13123,12 @@ module Orb
12608
13123
 
12609
13124
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
12610
13125
  OrHash =
12611
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13126
+ T.type_alias do
13127
+ T.any(
13128
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedTieredPackage::BillingCycleConfiguration,
13129
+ Orb::Internal::AnyHash
13130
+ )
13131
+ end
12612
13132
 
12613
13133
  # The duration of the billing period.
12614
13134
  sig { returns(Integer) }
@@ -12689,7 +13209,12 @@ module Orb
12689
13209
 
12690
13210
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
12691
13211
  OrHash =
12692
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13212
+ T.type_alias do
13213
+ T.any(
13214
+ Orb::SubscriptionSchedulePlanChangeParams::AddPrice::Price::GroupedTieredPackage::InvoicingCycleConfiguration,
13215
+ Orb::Internal::AnyHash
13216
+ )
13217
+ end
12693
13218
 
12694
13219
  # The duration of the billing period.
12695
13220
  sig { returns(Integer) }
@@ -12824,7 +13349,13 @@ module Orb
12824
13349
  end
12825
13350
 
12826
13351
  class BillingCycleAnchorConfiguration < Orb::Internal::Type::BaseModel
12827
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13352
+ OrHash =
13353
+ T.type_alias do
13354
+ T.any(
13355
+ Orb::SubscriptionSchedulePlanChangeParams::BillingCycleAnchorConfiguration,
13356
+ Orb::Internal::AnyHash
13357
+ )
13358
+ end
12828
13359
 
12829
13360
  # The day of the month on which the billing cycle is anchored. If the maximum
12830
13361
  # number of days in a month is greater than this value, the last day of the month
@@ -12881,7 +13412,13 @@ module Orb
12881
13412
  end
12882
13413
 
12883
13414
  class RemoveAdjustment < Orb::Internal::Type::BaseModel
12884
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13415
+ OrHash =
13416
+ T.type_alias do
13417
+ T.any(
13418
+ Orb::SubscriptionSchedulePlanChangeParams::RemoveAdjustment,
13419
+ Orb::Internal::AnyHash
13420
+ )
13421
+ end
12885
13422
 
12886
13423
  # The id of the adjustment to remove on the subscription.
12887
13424
  sig { returns(String) }
@@ -12900,7 +13437,13 @@ module Orb
12900
13437
  end
12901
13438
 
12902
13439
  class RemovePrice < Orb::Internal::Type::BaseModel
12903
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13440
+ OrHash =
13441
+ T.type_alias do
13442
+ T.any(
13443
+ Orb::SubscriptionSchedulePlanChangeParams::RemovePrice,
13444
+ Orb::Internal::AnyHash
13445
+ )
13446
+ end
12904
13447
 
12905
13448
  # The external price id of the price to remove on the subscription.
12906
13449
  sig { returns(T.nilable(String)) }
@@ -12937,7 +13480,13 @@ module Orb
12937
13480
  end
12938
13481
 
12939
13482
  class ReplaceAdjustment < Orb::Internal::Type::BaseModel
12940
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13483
+ OrHash =
13484
+ T.type_alias do
13485
+ T.any(
13486
+ Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment,
13487
+ Orb::Internal::AnyHash
13488
+ )
13489
+ end
12941
13490
 
12942
13491
  # The definition of a new adjustment to create and add to the subscription.
12943
13492
  sig do
@@ -13012,7 +13561,13 @@ module Orb
13012
13561
  end
13013
13562
 
13014
13563
  class PercentageDiscount < Orb::Internal::Type::BaseModel
13015
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13564
+ OrHash =
13565
+ T.type_alias do
13566
+ T.any(
13567
+ Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::PercentageDiscount,
13568
+ Orb::Internal::AnyHash
13569
+ )
13570
+ end
13016
13571
 
13017
13572
  sig { returns(Symbol) }
13018
13573
  attr_accessor :adjustment_type
@@ -13066,7 +13621,13 @@ module Orb
13066
13621
  end
13067
13622
 
13068
13623
  class UsageDiscount < Orb::Internal::Type::BaseModel
13069
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13624
+ OrHash =
13625
+ T.type_alias do
13626
+ T.any(
13627
+ Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::UsageDiscount,
13628
+ Orb::Internal::AnyHash
13629
+ )
13630
+ end
13070
13631
 
13071
13632
  sig { returns(Symbol) }
13072
13633
  attr_accessor :adjustment_type
@@ -13120,7 +13681,13 @@ module Orb
13120
13681
  end
13121
13682
 
13122
13683
  class AmountDiscount < Orb::Internal::Type::BaseModel
13123
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13684
+ OrHash =
13685
+ T.type_alias do
13686
+ T.any(
13687
+ Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::AmountDiscount,
13688
+ Orb::Internal::AnyHash
13689
+ )
13690
+ end
13124
13691
 
13125
13692
  sig { returns(Symbol) }
13126
13693
  attr_accessor :adjustment_type
@@ -13174,7 +13741,13 @@ module Orb
13174
13741
  end
13175
13742
 
13176
13743
  class Minimum < Orb::Internal::Type::BaseModel
13177
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13744
+ OrHash =
13745
+ T.type_alias do
13746
+ T.any(
13747
+ Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::Minimum,
13748
+ Orb::Internal::AnyHash
13749
+ )
13750
+ end
13178
13751
 
13179
13752
  sig { returns(Symbol) }
13180
13753
  attr_accessor :adjustment_type
@@ -13236,7 +13809,13 @@ module Orb
13236
13809
  end
13237
13810
 
13238
13811
  class Maximum < Orb::Internal::Type::BaseModel
13239
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13812
+ OrHash =
13813
+ T.type_alias do
13814
+ T.any(
13815
+ Orb::SubscriptionSchedulePlanChangeParams::ReplaceAdjustment::Adjustment::Maximum,
13816
+ Orb::Internal::AnyHash
13817
+ )
13818
+ end
13240
13819
 
13241
13820
  sig { returns(Symbol) }
13242
13821
  attr_accessor :adjustment_type
@@ -13302,7 +13881,13 @@ module Orb
13302
13881
  end
13303
13882
 
13304
13883
  class ReplacePrice < Orb::Internal::Type::BaseModel
13305
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
13884
+ OrHash =
13885
+ T.type_alias do
13886
+ T.any(
13887
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice,
13888
+ Orb::Internal::AnyHash
13889
+ )
13890
+ end
13306
13891
 
13307
13892
  # The id of the price on the plan to replace in the subscription.
13308
13893
  sig { returns(String) }
@@ -13530,7 +14115,13 @@ module Orb
13530
14115
  end
13531
14116
 
13532
14117
  class AllocationPrice < Orb::Internal::Type::BaseModel
13533
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14118
+ OrHash =
14119
+ T.type_alias do
14120
+ T.any(
14121
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::AllocationPrice,
14122
+ Orb::Internal::AnyHash
14123
+ )
14124
+ end
13534
14125
 
13535
14126
  # An amount of the currency to allocate to the customer at the specified cadence.
13536
14127
  sig { returns(String) }
@@ -13649,7 +14240,13 @@ module Orb
13649
14240
  end
13650
14241
 
13651
14242
  class Discount < Orb::Internal::Type::BaseModel
13652
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14243
+ OrHash =
14244
+ T.type_alias do
14245
+ T.any(
14246
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Discount,
14247
+ Orb::Internal::AnyHash
14248
+ )
14249
+ end
13653
14250
 
13654
14251
  sig do
13655
14252
  returns(
@@ -13784,7 +14381,13 @@ module Orb
13784
14381
  end
13785
14382
 
13786
14383
  class Unit < Orb::Internal::Type::BaseModel
13787
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14384
+ OrHash =
14385
+ T.type_alias do
14386
+ T.any(
14387
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Unit,
14388
+ Orb::Internal::AnyHash
14389
+ )
14390
+ end
13788
14391
 
13789
14392
  # The cadence to bill for this price on.
13790
14393
  sig do
@@ -14066,7 +14669,12 @@ module Orb
14066
14669
 
14067
14670
  class UnitConfig < Orb::Internal::Type::BaseModel
14068
14671
  OrHash =
14069
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14672
+ T.type_alias do
14673
+ T.any(
14674
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Unit::UnitConfig,
14675
+ Orb::Internal::AnyHash
14676
+ )
14677
+ end
14070
14678
 
14071
14679
  # Rate per unit of usage
14072
14680
  sig { returns(String) }
@@ -14086,7 +14694,12 @@ module Orb
14086
14694
 
14087
14695
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
14088
14696
  OrHash =
14089
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14697
+ T.type_alias do
14698
+ T.any(
14699
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Unit::BillingCycleConfiguration,
14700
+ Orb::Internal::AnyHash
14701
+ )
14702
+ end
14090
14703
 
14091
14704
  # The duration of the billing period.
14092
14705
  sig { returns(Integer) }
@@ -14167,7 +14780,12 @@ module Orb
14167
14780
 
14168
14781
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
14169
14782
  OrHash =
14170
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14783
+ T.type_alias do
14784
+ T.any(
14785
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Unit::InvoicingCycleConfiguration,
14786
+ Orb::Internal::AnyHash
14787
+ )
14788
+ end
14171
14789
 
14172
14790
  # The duration of the billing period.
14173
14791
  sig { returns(Integer) }
@@ -14248,7 +14866,13 @@ module Orb
14248
14866
  end
14249
14867
 
14250
14868
  class Package < Orb::Internal::Type::BaseModel
14251
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
14869
+ OrHash =
14870
+ T.type_alias do
14871
+ T.any(
14872
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Package,
14873
+ Orb::Internal::AnyHash
14874
+ )
14875
+ end
14252
14876
 
14253
14877
  # The cadence to bill for this price on.
14254
14878
  sig do
@@ -14530,7 +15154,12 @@ module Orb
14530
15154
 
14531
15155
  class PackageConfig < Orb::Internal::Type::BaseModel
14532
15156
  OrHash =
14533
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15157
+ T.type_alias do
15158
+ T.any(
15159
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Package::PackageConfig,
15160
+ Orb::Internal::AnyHash
15161
+ )
15162
+ end
14534
15163
 
14535
15164
  # A currency amount to rate usage by
14536
15165
  sig { returns(String) }
@@ -14566,7 +15195,12 @@ module Orb
14566
15195
 
14567
15196
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
14568
15197
  OrHash =
14569
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15198
+ T.type_alias do
15199
+ T.any(
15200
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Package::BillingCycleConfiguration,
15201
+ Orb::Internal::AnyHash
15202
+ )
15203
+ end
14570
15204
 
14571
15205
  # The duration of the billing period.
14572
15206
  sig { returns(Integer) }
@@ -14647,7 +15281,12 @@ module Orb
14647
15281
 
14648
15282
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
14649
15283
  OrHash =
14650
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15284
+ T.type_alias do
15285
+ T.any(
15286
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Package::InvoicingCycleConfiguration,
15287
+ Orb::Internal::AnyHash
15288
+ )
15289
+ end
14651
15290
 
14652
15291
  # The duration of the billing period.
14653
15292
  sig { returns(Integer) }
@@ -14728,7 +15367,13 @@ module Orb
14728
15367
  end
14729
15368
 
14730
15369
  class Matrix < Orb::Internal::Type::BaseModel
14731
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15370
+ OrHash =
15371
+ T.type_alias do
15372
+ T.any(
15373
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix,
15374
+ Orb::Internal::AnyHash
15375
+ )
15376
+ end
14732
15377
 
14733
15378
  # The cadence to bill for this price on.
14734
15379
  sig do
@@ -15010,7 +15655,12 @@ module Orb
15010
15655
 
15011
15656
  class MatrixConfig < Orb::Internal::Type::BaseModel
15012
15657
  OrHash =
15013
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15658
+ T.type_alias do
15659
+ T.any(
15660
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix::MatrixConfig,
15661
+ Orb::Internal::AnyHash
15662
+ )
15663
+ end
15014
15664
 
15015
15665
  # Default per unit rate for any usage not bucketed into a specified matrix_value
15016
15666
  sig { returns(String) }
@@ -15067,7 +15717,12 @@ module Orb
15067
15717
 
15068
15718
  class MatrixValue < Orb::Internal::Type::BaseModel
15069
15719
  OrHash =
15070
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15720
+ T.type_alias do
15721
+ T.any(
15722
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix::MatrixConfig::MatrixValue,
15723
+ Orb::Internal::AnyHash
15724
+ )
15725
+ end
15071
15726
 
15072
15727
  # One or two matrix keys to filter usage to this Matrix value by. For example,
15073
15728
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
@@ -15110,7 +15765,12 @@ module Orb
15110
15765
 
15111
15766
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
15112
15767
  OrHash =
15113
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15768
+ T.type_alias do
15769
+ T.any(
15770
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix::BillingCycleConfiguration,
15771
+ Orb::Internal::AnyHash
15772
+ )
15773
+ end
15114
15774
 
15115
15775
  # The duration of the billing period.
15116
15776
  sig { returns(Integer) }
@@ -15191,7 +15851,12 @@ module Orb
15191
15851
 
15192
15852
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
15193
15853
  OrHash =
15194
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15854
+ T.type_alias do
15855
+ T.any(
15856
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Matrix::InvoicingCycleConfiguration,
15857
+ Orb::Internal::AnyHash
15858
+ )
15859
+ end
15195
15860
 
15196
15861
  # The duration of the billing period.
15197
15862
  sig { returns(Integer) }
@@ -15272,7 +15937,13 @@ module Orb
15272
15937
  end
15273
15938
 
15274
15939
  class Tiered < Orb::Internal::Type::BaseModel
15275
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
15940
+ OrHash =
15941
+ T.type_alias do
15942
+ T.any(
15943
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered,
15944
+ Orb::Internal::AnyHash
15945
+ )
15946
+ end
15276
15947
 
15277
15948
  # The cadence to bill for this price on.
15278
15949
  sig do
@@ -15554,7 +16225,12 @@ module Orb
15554
16225
 
15555
16226
  class TieredConfig < Orb::Internal::Type::BaseModel
15556
16227
  OrHash =
15557
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16228
+ T.type_alias do
16229
+ T.any(
16230
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered::TieredConfig,
16231
+ Orb::Internal::AnyHash
16232
+ )
16233
+ end
15558
16234
 
15559
16235
  # Tiers for rating based on total usage quantities into the specified tier
15560
16236
  sig do
@@ -15595,7 +16271,12 @@ module Orb
15595
16271
 
15596
16272
  class Tier < Orb::Internal::Type::BaseModel
15597
16273
  OrHash =
15598
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16274
+ T.type_alias do
16275
+ T.any(
16276
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered::TieredConfig::Tier,
16277
+ Orb::Internal::AnyHash
16278
+ )
16279
+ end
15599
16280
 
15600
16281
  # Exclusive tier starting value
15601
16282
  sig { returns(Float) }
@@ -15642,7 +16323,12 @@ module Orb
15642
16323
 
15643
16324
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
15644
16325
  OrHash =
15645
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16326
+ T.type_alias do
16327
+ T.any(
16328
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered::BillingCycleConfiguration,
16329
+ Orb::Internal::AnyHash
16330
+ )
16331
+ end
15646
16332
 
15647
16333
  # The duration of the billing period.
15648
16334
  sig { returns(Integer) }
@@ -15723,7 +16409,12 @@ module Orb
15723
16409
 
15724
16410
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
15725
16411
  OrHash =
15726
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16412
+ T.type_alias do
16413
+ T.any(
16414
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Tiered::InvoicingCycleConfiguration,
16415
+ Orb::Internal::AnyHash
16416
+ )
16417
+ end
15727
16418
 
15728
16419
  # The duration of the billing period.
15729
16420
  sig { returns(Integer) }
@@ -15804,7 +16495,13 @@ module Orb
15804
16495
  end
15805
16496
 
15806
16497
  class TieredBps < Orb::Internal::Type::BaseModel
15807
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16498
+ OrHash =
16499
+ T.type_alias do
16500
+ T.any(
16501
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps,
16502
+ Orb::Internal::AnyHash
16503
+ )
16504
+ end
15808
16505
 
15809
16506
  # The cadence to bill for this price on.
15810
16507
  sig do
@@ -16086,7 +16783,12 @@ module Orb
16086
16783
 
16087
16784
  class TieredBpsConfig < Orb::Internal::Type::BaseModel
16088
16785
  OrHash =
16089
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16786
+ T.type_alias do
16787
+ T.any(
16788
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps::TieredBpsConfig,
16789
+ Orb::Internal::AnyHash
16790
+ )
16791
+ end
16090
16792
 
16091
16793
  # Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
16092
16794
  # tiers
@@ -16129,7 +16831,12 @@ module Orb
16129
16831
 
16130
16832
  class Tier < Orb::Internal::Type::BaseModel
16131
16833
  OrHash =
16132
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16834
+ T.type_alias do
16835
+ T.any(
16836
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps::TieredBpsConfig::Tier,
16837
+ Orb::Internal::AnyHash
16838
+ )
16839
+ end
16133
16840
 
16134
16841
  # Per-event basis point rate
16135
16842
  sig { returns(Float) }
@@ -16184,7 +16891,12 @@ module Orb
16184
16891
 
16185
16892
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
16186
16893
  OrHash =
16187
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16894
+ T.type_alias do
16895
+ T.any(
16896
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps::BillingCycleConfiguration,
16897
+ Orb::Internal::AnyHash
16898
+ )
16899
+ end
16188
16900
 
16189
16901
  # The duration of the billing period.
16190
16902
  sig { returns(Integer) }
@@ -16265,7 +16977,12 @@ module Orb
16265
16977
 
16266
16978
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
16267
16979
  OrHash =
16268
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
16980
+ T.type_alias do
16981
+ T.any(
16982
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredBps::InvoicingCycleConfiguration,
16983
+ Orb::Internal::AnyHash
16984
+ )
16985
+ end
16269
16986
 
16270
16987
  # The duration of the billing period.
16271
16988
  sig { returns(Integer) }
@@ -16346,7 +17063,13 @@ module Orb
16346
17063
  end
16347
17064
 
16348
17065
  class Bps < Orb::Internal::Type::BaseModel
16349
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17066
+ OrHash =
17067
+ T.type_alias do
17068
+ T.any(
17069
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bps,
17070
+ Orb::Internal::AnyHash
17071
+ )
17072
+ end
16350
17073
 
16351
17074
  sig do
16352
17075
  returns(
@@ -16573,7 +17296,12 @@ module Orb
16573
17296
 
16574
17297
  class BpsConfig < Orb::Internal::Type::BaseModel
16575
17298
  OrHash =
16576
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17299
+ T.type_alias do
17300
+ T.any(
17301
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bps::BpsConfig,
17302
+ Orb::Internal::AnyHash
17303
+ )
17304
+ end
16577
17305
 
16578
17306
  # Basis point take rate per event
16579
17307
  sig { returns(Float) }
@@ -16662,7 +17390,12 @@ module Orb
16662
17390
 
16663
17391
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
16664
17392
  OrHash =
16665
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17393
+ T.type_alias do
17394
+ T.any(
17395
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bps::BillingCycleConfiguration,
17396
+ Orb::Internal::AnyHash
17397
+ )
17398
+ end
16666
17399
 
16667
17400
  # The duration of the billing period.
16668
17401
  sig { returns(Integer) }
@@ -16743,7 +17476,12 @@ module Orb
16743
17476
 
16744
17477
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
16745
17478
  OrHash =
16746
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17479
+ T.type_alias do
17480
+ T.any(
17481
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bps::InvoicingCycleConfiguration,
17482
+ Orb::Internal::AnyHash
17483
+ )
17484
+ end
16747
17485
 
16748
17486
  # The duration of the billing period.
16749
17487
  sig { returns(Integer) }
@@ -16824,7 +17562,13 @@ module Orb
16824
17562
  end
16825
17563
 
16826
17564
  class BulkBps < Orb::Internal::Type::BaseModel
16827
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17565
+ OrHash =
17566
+ T.type_alias do
17567
+ T.any(
17568
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps,
17569
+ Orb::Internal::AnyHash
17570
+ )
17571
+ end
16828
17572
 
16829
17573
  sig do
16830
17574
  returns(
@@ -17051,7 +17795,12 @@ module Orb
17051
17795
 
17052
17796
  class BulkBpsConfig < Orb::Internal::Type::BaseModel
17053
17797
  OrHash =
17054
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17798
+ T.type_alias do
17799
+ T.any(
17800
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps::BulkBpsConfig,
17801
+ Orb::Internal::AnyHash
17802
+ )
17803
+ end
17055
17804
 
17056
17805
  # Tiers for a bulk BPS pricing model where all usage is aggregated to a single
17057
17806
  # tier based on total volume
@@ -17094,7 +17843,12 @@ module Orb
17094
17843
 
17095
17844
  class Tier < Orb::Internal::Type::BaseModel
17096
17845
  OrHash =
17097
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17846
+ T.type_alias do
17847
+ T.any(
17848
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps::BulkBpsConfig::Tier,
17849
+ Orb::Internal::AnyHash
17850
+ )
17851
+ end
17098
17852
 
17099
17853
  # Basis points to rate on
17100
17854
  sig { returns(Float) }
@@ -17196,7 +17950,12 @@ module Orb
17196
17950
 
17197
17951
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
17198
17952
  OrHash =
17199
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
17953
+ T.type_alias do
17954
+ T.any(
17955
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps::BillingCycleConfiguration,
17956
+ Orb::Internal::AnyHash
17957
+ )
17958
+ end
17200
17959
 
17201
17960
  # The duration of the billing period.
17202
17961
  sig { returns(Integer) }
@@ -17277,7 +18036,12 @@ module Orb
17277
18036
 
17278
18037
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
17279
18038
  OrHash =
17280
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18039
+ T.type_alias do
18040
+ T.any(
18041
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkBps::InvoicingCycleConfiguration,
18042
+ Orb::Internal::AnyHash
18043
+ )
18044
+ end
17281
18045
 
17282
18046
  # The duration of the billing period.
17283
18047
  sig { returns(Integer) }
@@ -17358,7 +18122,13 @@ module Orb
17358
18122
  end
17359
18123
 
17360
18124
  class Bulk < Orb::Internal::Type::BaseModel
17361
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18125
+ OrHash =
18126
+ T.type_alias do
18127
+ T.any(
18128
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk,
18129
+ Orb::Internal::AnyHash
18130
+ )
18131
+ end
17362
18132
 
17363
18133
  sig do
17364
18134
  returns(
@@ -17585,7 +18355,12 @@ module Orb
17585
18355
 
17586
18356
  class BulkConfig < Orb::Internal::Type::BaseModel
17587
18357
  OrHash =
17588
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18358
+ T.type_alias do
18359
+ T.any(
18360
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk::BulkConfig,
18361
+ Orb::Internal::AnyHash
18362
+ )
18363
+ end
17589
18364
 
17590
18365
  # Bulk tiers for rating based on total usage volume
17591
18366
  sig do
@@ -17626,7 +18401,12 @@ module Orb
17626
18401
 
17627
18402
  class Tier < Orb::Internal::Type::BaseModel
17628
18403
  OrHash =
17629
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18404
+ T.type_alias do
18405
+ T.any(
18406
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk::BulkConfig::Tier,
18407
+ Orb::Internal::AnyHash
18408
+ )
18409
+ end
17630
18410
 
17631
18411
  # Amount per unit
17632
18412
  sig { returns(String) }
@@ -17717,7 +18497,12 @@ module Orb
17717
18497
 
17718
18498
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
17719
18499
  OrHash =
17720
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18500
+ T.type_alias do
18501
+ T.any(
18502
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk::BillingCycleConfiguration,
18503
+ Orb::Internal::AnyHash
18504
+ )
18505
+ end
17721
18506
 
17722
18507
  # The duration of the billing period.
17723
18508
  sig { returns(Integer) }
@@ -17798,7 +18583,12 @@ module Orb
17798
18583
 
17799
18584
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
17800
18585
  OrHash =
17801
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18586
+ T.type_alias do
18587
+ T.any(
18588
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::Bulk::InvoicingCycleConfiguration,
18589
+ Orb::Internal::AnyHash
18590
+ )
18591
+ end
17802
18592
 
17803
18593
  # The duration of the billing period.
17804
18594
  sig { returns(Integer) }
@@ -17879,7 +18669,13 @@ module Orb
17879
18669
  end
17880
18670
 
17881
18671
  class ThresholdTotalAmount < Orb::Internal::Type::BaseModel
17882
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18672
+ OrHash =
18673
+ T.type_alias do
18674
+ T.any(
18675
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ThresholdTotalAmount,
18676
+ Orb::Internal::AnyHash
18677
+ )
18678
+ end
17883
18679
 
17884
18680
  # The cadence to bill for this price on.
17885
18681
  sig do
@@ -18147,7 +18943,12 @@ module Orb
18147
18943
 
18148
18944
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
18149
18945
  OrHash =
18150
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
18946
+ T.type_alias do
18947
+ T.any(
18948
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ThresholdTotalAmount::BillingCycleConfiguration,
18949
+ Orb::Internal::AnyHash
18950
+ )
18951
+ end
18151
18952
 
18152
18953
  # The duration of the billing period.
18153
18954
  sig { returns(Integer) }
@@ -18228,7 +19029,12 @@ module Orb
18228
19029
 
18229
19030
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
18230
19031
  OrHash =
18231
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19032
+ T.type_alias do
19033
+ T.any(
19034
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ThresholdTotalAmount::InvoicingCycleConfiguration,
19035
+ Orb::Internal::AnyHash
19036
+ )
19037
+ end
18232
19038
 
18233
19039
  # The duration of the billing period.
18234
19040
  sig { returns(Integer) }
@@ -18309,7 +19115,13 @@ module Orb
18309
19115
  end
18310
19116
 
18311
19117
  class TieredPackage < Orb::Internal::Type::BaseModel
18312
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19118
+ OrHash =
19119
+ T.type_alias do
19120
+ T.any(
19121
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredPackage,
19122
+ Orb::Internal::AnyHash
19123
+ )
19124
+ end
18313
19125
 
18314
19126
  # The cadence to bill for this price on.
18315
19127
  sig do
@@ -18577,7 +19389,12 @@ module Orb
18577
19389
 
18578
19390
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
18579
19391
  OrHash =
18580
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19392
+ T.type_alias do
19393
+ T.any(
19394
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredPackage::BillingCycleConfiguration,
19395
+ Orb::Internal::AnyHash
19396
+ )
19397
+ end
18581
19398
 
18582
19399
  # The duration of the billing period.
18583
19400
  sig { returns(Integer) }
@@ -18658,7 +19475,12 @@ module Orb
18658
19475
 
18659
19476
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
18660
19477
  OrHash =
18661
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19478
+ T.type_alias do
19479
+ T.any(
19480
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredPackage::InvoicingCycleConfiguration,
19481
+ Orb::Internal::AnyHash
19482
+ )
19483
+ end
18662
19484
 
18663
19485
  # The duration of the billing period.
18664
19486
  sig { returns(Integer) }
@@ -18739,7 +19561,13 @@ module Orb
18739
19561
  end
18740
19562
 
18741
19563
  class TieredWithMinimum < Orb::Internal::Type::BaseModel
18742
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19564
+ OrHash =
19565
+ T.type_alias do
19566
+ T.any(
19567
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithMinimum,
19568
+ Orb::Internal::AnyHash
19569
+ )
19570
+ end
18743
19571
 
18744
19572
  # The cadence to bill for this price on.
18745
19573
  sig do
@@ -19007,7 +19835,12 @@ module Orb
19007
19835
 
19008
19836
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
19009
19837
  OrHash =
19010
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19838
+ T.type_alias do
19839
+ T.any(
19840
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithMinimum::BillingCycleConfiguration,
19841
+ Orb::Internal::AnyHash
19842
+ )
19843
+ end
19011
19844
 
19012
19845
  # The duration of the billing period.
19013
19846
  sig { returns(Integer) }
@@ -19088,7 +19921,12 @@ module Orb
19088
19921
 
19089
19922
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
19090
19923
  OrHash =
19091
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
19924
+ T.type_alias do
19925
+ T.any(
19926
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithMinimum::InvoicingCycleConfiguration,
19927
+ Orb::Internal::AnyHash
19928
+ )
19929
+ end
19092
19930
 
19093
19931
  # The duration of the billing period.
19094
19932
  sig { returns(Integer) }
@@ -19169,7 +20007,13 @@ module Orb
19169
20007
  end
19170
20008
 
19171
20009
  class UnitWithPercent < Orb::Internal::Type::BaseModel
19172
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20010
+ OrHash =
20011
+ T.type_alias do
20012
+ T.any(
20013
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithPercent,
20014
+ Orb::Internal::AnyHash
20015
+ )
20016
+ end
19173
20017
 
19174
20018
  # The cadence to bill for this price on.
19175
20019
  sig do
@@ -19437,7 +20281,12 @@ module Orb
19437
20281
 
19438
20282
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
19439
20283
  OrHash =
19440
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20284
+ T.type_alias do
20285
+ T.any(
20286
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithPercent::BillingCycleConfiguration,
20287
+ Orb::Internal::AnyHash
20288
+ )
20289
+ end
19441
20290
 
19442
20291
  # The duration of the billing period.
19443
20292
  sig { returns(Integer) }
@@ -19518,7 +20367,12 @@ module Orb
19518
20367
 
19519
20368
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
19520
20369
  OrHash =
19521
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20370
+ T.type_alias do
20371
+ T.any(
20372
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithPercent::InvoicingCycleConfiguration,
20373
+ Orb::Internal::AnyHash
20374
+ )
20375
+ end
19522
20376
 
19523
20377
  # The duration of the billing period.
19524
20378
  sig { returns(Integer) }
@@ -19599,7 +20453,13 @@ module Orb
19599
20453
  end
19600
20454
 
19601
20455
  class PackageWithAllocation < Orb::Internal::Type::BaseModel
19602
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20456
+ OrHash =
20457
+ T.type_alias do
20458
+ T.any(
20459
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::PackageWithAllocation,
20460
+ Orb::Internal::AnyHash
20461
+ )
20462
+ end
19603
20463
 
19604
20464
  # The cadence to bill for this price on.
19605
20465
  sig do
@@ -19867,7 +20727,12 @@ module Orb
19867
20727
 
19868
20728
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
19869
20729
  OrHash =
19870
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20730
+ T.type_alias do
20731
+ T.any(
20732
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::PackageWithAllocation::BillingCycleConfiguration,
20733
+ Orb::Internal::AnyHash
20734
+ )
20735
+ end
19871
20736
 
19872
20737
  # The duration of the billing period.
19873
20738
  sig { returns(Integer) }
@@ -19948,7 +20813,12 @@ module Orb
19948
20813
 
19949
20814
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
19950
20815
  OrHash =
19951
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20816
+ T.type_alias do
20817
+ T.any(
20818
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::PackageWithAllocation::InvoicingCycleConfiguration,
20819
+ Orb::Internal::AnyHash
20820
+ )
20821
+ end
19952
20822
 
19953
20823
  # The duration of the billing period.
19954
20824
  sig { returns(Integer) }
@@ -20029,7 +20899,13 @@ module Orb
20029
20899
  end
20030
20900
 
20031
20901
  class TieredWithProration < Orb::Internal::Type::BaseModel
20032
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
20902
+ OrHash =
20903
+ T.type_alias do
20904
+ T.any(
20905
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration,
20906
+ Orb::Internal::AnyHash
20907
+ )
20908
+ end
20033
20909
 
20034
20910
  # The cadence to bill for this price on.
20035
20911
  sig do
@@ -20297,7 +21173,12 @@ module Orb
20297
21173
 
20298
21174
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
20299
21175
  OrHash =
20300
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
21176
+ T.type_alias do
21177
+ T.any(
21178
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration::BillingCycleConfiguration,
21179
+ Orb::Internal::AnyHash
21180
+ )
21181
+ end
20301
21182
 
20302
21183
  # The duration of the billing period.
20303
21184
  sig { returns(Integer) }
@@ -20378,7 +21259,12 @@ module Orb
20378
21259
 
20379
21260
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
20380
21261
  OrHash =
20381
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
21262
+ T.type_alias do
21263
+ T.any(
21264
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::TieredWithProration::InvoicingCycleConfiguration,
21265
+ Orb::Internal::AnyHash
21266
+ )
21267
+ end
20382
21268
 
20383
21269
  # The duration of the billing period.
20384
21270
  sig { returns(Integer) }
@@ -20459,7 +21345,13 @@ module Orb
20459
21345
  end
20460
21346
 
20461
21347
  class UnitWithProration < Orb::Internal::Type::BaseModel
20462
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
21348
+ OrHash =
21349
+ T.type_alias do
21350
+ T.any(
21351
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithProration,
21352
+ Orb::Internal::AnyHash
21353
+ )
21354
+ end
20463
21355
 
20464
21356
  # The cadence to bill for this price on.
20465
21357
  sig do
@@ -20727,7 +21619,12 @@ module Orb
20727
21619
 
20728
21620
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
20729
21621
  OrHash =
20730
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
21622
+ T.type_alias do
21623
+ T.any(
21624
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithProration::BillingCycleConfiguration,
21625
+ Orb::Internal::AnyHash
21626
+ )
21627
+ end
20731
21628
 
20732
21629
  # The duration of the billing period.
20733
21630
  sig { returns(Integer) }
@@ -20808,7 +21705,12 @@ module Orb
20808
21705
 
20809
21706
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
20810
21707
  OrHash =
20811
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
21708
+ T.type_alias do
21709
+ T.any(
21710
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::UnitWithProration::InvoicingCycleConfiguration,
21711
+ Orb::Internal::AnyHash
21712
+ )
21713
+ end
20812
21714
 
20813
21715
  # The duration of the billing period.
20814
21716
  sig { returns(Integer) }
@@ -20889,7 +21791,13 @@ module Orb
20889
21791
  end
20890
21792
 
20891
21793
  class GroupedAllocation < Orb::Internal::Type::BaseModel
20892
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
21794
+ OrHash =
21795
+ T.type_alias do
21796
+ T.any(
21797
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedAllocation,
21798
+ Orb::Internal::AnyHash
21799
+ )
21800
+ end
20893
21801
 
20894
21802
  # The cadence to bill for this price on.
20895
21803
  sig do
@@ -21157,7 +22065,12 @@ module Orb
21157
22065
 
21158
22066
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
21159
22067
  OrHash =
21160
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22068
+ T.type_alias do
22069
+ T.any(
22070
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedAllocation::BillingCycleConfiguration,
22071
+ Orb::Internal::AnyHash
22072
+ )
22073
+ end
21161
22074
 
21162
22075
  # The duration of the billing period.
21163
22076
  sig { returns(Integer) }
@@ -21238,7 +22151,12 @@ module Orb
21238
22151
 
21239
22152
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
21240
22153
  OrHash =
21241
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22154
+ T.type_alias do
22155
+ T.any(
22156
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedAllocation::InvoicingCycleConfiguration,
22157
+ Orb::Internal::AnyHash
22158
+ )
22159
+ end
21242
22160
 
21243
22161
  # The duration of the billing period.
21244
22162
  sig { returns(Integer) }
@@ -21319,7 +22237,13 @@ module Orb
21319
22237
  end
21320
22238
 
21321
22239
  class GroupedWithProratedMinimum < Orb::Internal::Type::BaseModel
21322
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22240
+ OrHash =
22241
+ T.type_alias do
22242
+ T.any(
22243
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithProratedMinimum,
22244
+ Orb::Internal::AnyHash
22245
+ )
22246
+ end
21323
22247
 
21324
22248
  # The cadence to bill for this price on.
21325
22249
  sig do
@@ -21589,7 +22513,12 @@ module Orb
21589
22513
 
21590
22514
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
21591
22515
  OrHash =
21592
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22516
+ T.type_alias do
22517
+ T.any(
22518
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithProratedMinimum::BillingCycleConfiguration,
22519
+ Orb::Internal::AnyHash
22520
+ )
22521
+ end
21593
22522
 
21594
22523
  # The duration of the billing period.
21595
22524
  sig { returns(Integer) }
@@ -21670,7 +22599,12 @@ module Orb
21670
22599
 
21671
22600
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
21672
22601
  OrHash =
21673
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22602
+ T.type_alias do
22603
+ T.any(
22604
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithProratedMinimum::InvoicingCycleConfiguration,
22605
+ Orb::Internal::AnyHash
22606
+ )
22607
+ end
21674
22608
 
21675
22609
  # The duration of the billing period.
21676
22610
  sig { returns(Integer) }
@@ -21751,7 +22685,13 @@ module Orb
21751
22685
  end
21752
22686
 
21753
22687
  class BulkWithProration < Orb::Internal::Type::BaseModel
21754
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22688
+ OrHash =
22689
+ T.type_alias do
22690
+ T.any(
22691
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithProration,
22692
+ Orb::Internal::AnyHash
22693
+ )
22694
+ end
21755
22695
 
21756
22696
  sig { returns(T::Hash[Symbol, T.anything]) }
21757
22697
  attr_accessor :bulk_with_proration_config
@@ -22019,7 +22959,12 @@ module Orb
22019
22959
 
22020
22960
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
22021
22961
  OrHash =
22022
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
22962
+ T.type_alias do
22963
+ T.any(
22964
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithProration::BillingCycleConfiguration,
22965
+ Orb::Internal::AnyHash
22966
+ )
22967
+ end
22023
22968
 
22024
22969
  # The duration of the billing period.
22025
22970
  sig { returns(Integer) }
@@ -22100,7 +23045,12 @@ module Orb
22100
23045
 
22101
23046
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
22102
23047
  OrHash =
22103
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23048
+ T.type_alias do
23049
+ T.any(
23050
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::BulkWithProration::InvoicingCycleConfiguration,
23051
+ Orb::Internal::AnyHash
23052
+ )
23053
+ end
22104
23054
 
22105
23055
  # The duration of the billing period.
22106
23056
  sig { returns(Integer) }
@@ -22181,7 +23131,13 @@ module Orb
22181
23131
  end
22182
23132
 
22183
23133
  class ScalableMatrixWithUnitPricing < Orb::Internal::Type::BaseModel
22184
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23134
+ OrHash =
23135
+ T.type_alias do
23136
+ T.any(
23137
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing,
23138
+ Orb::Internal::AnyHash
23139
+ )
23140
+ end
22185
23141
 
22186
23142
  # The cadence to bill for this price on.
22187
23143
  sig do
@@ -22451,7 +23407,12 @@ module Orb
22451
23407
 
22452
23408
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
22453
23409
  OrHash =
22454
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23410
+ T.type_alias do
23411
+ T.any(
23412
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing::BillingCycleConfiguration,
23413
+ Orb::Internal::AnyHash
23414
+ )
23415
+ end
22455
23416
 
22456
23417
  # The duration of the billing period.
22457
23418
  sig { returns(Integer) }
@@ -22532,7 +23493,12 @@ module Orb
22532
23493
 
22533
23494
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
22534
23495
  OrHash =
22535
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23496
+ T.type_alias do
23497
+ T.any(
23498
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithUnitPricing::InvoicingCycleConfiguration,
23499
+ Orb::Internal::AnyHash
23500
+ )
23501
+ end
22536
23502
 
22537
23503
  # The duration of the billing period.
22538
23504
  sig { returns(Integer) }
@@ -22613,7 +23579,13 @@ module Orb
22613
23579
  end
22614
23580
 
22615
23581
  class ScalableMatrixWithTieredPricing < Orb::Internal::Type::BaseModel
22616
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23582
+ OrHash =
23583
+ T.type_alias do
23584
+ T.any(
23585
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing,
23586
+ Orb::Internal::AnyHash
23587
+ )
23588
+ end
22617
23589
 
22618
23590
  # The cadence to bill for this price on.
22619
23591
  sig do
@@ -22883,7 +23855,12 @@ module Orb
22883
23855
 
22884
23856
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
22885
23857
  OrHash =
22886
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23858
+ T.type_alias do
23859
+ T.any(
23860
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing::BillingCycleConfiguration,
23861
+ Orb::Internal::AnyHash
23862
+ )
23863
+ end
22887
23864
 
22888
23865
  # The duration of the billing period.
22889
23866
  sig { returns(Integer) }
@@ -22964,7 +23941,12 @@ module Orb
22964
23941
 
22965
23942
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
22966
23943
  OrHash =
22967
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
23944
+ T.type_alias do
23945
+ T.any(
23946
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::ScalableMatrixWithTieredPricing::InvoicingCycleConfiguration,
23947
+ Orb::Internal::AnyHash
23948
+ )
23949
+ end
22968
23950
 
22969
23951
  # The duration of the billing period.
22970
23952
  sig { returns(Integer) }
@@ -23045,7 +24027,13 @@ module Orb
23045
24027
  end
23046
24028
 
23047
24029
  class CumulativeGroupedBulk < Orb::Internal::Type::BaseModel
23048
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24030
+ OrHash =
24031
+ T.type_alias do
24032
+ T.any(
24033
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedBulk,
24034
+ Orb::Internal::AnyHash
24035
+ )
24036
+ end
23049
24037
 
23050
24038
  # The cadence to bill for this price on.
23051
24039
  sig do
@@ -23313,7 +24301,12 @@ module Orb
23313
24301
 
23314
24302
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
23315
24303
  OrHash =
23316
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24304
+ T.type_alias do
24305
+ T.any(
24306
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedBulk::BillingCycleConfiguration,
24307
+ Orb::Internal::AnyHash
24308
+ )
24309
+ end
23317
24310
 
23318
24311
  # The duration of the billing period.
23319
24312
  sig { returns(Integer) }
@@ -23394,7 +24387,12 @@ module Orb
23394
24387
 
23395
24388
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
23396
24389
  OrHash =
23397
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24390
+ T.type_alias do
24391
+ T.any(
24392
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::CumulativeGroupedBulk::InvoicingCycleConfiguration,
24393
+ Orb::Internal::AnyHash
24394
+ )
24395
+ end
23398
24396
 
23399
24397
  # The duration of the billing period.
23400
24398
  sig { returns(Integer) }
@@ -23475,7 +24473,13 @@ module Orb
23475
24473
  end
23476
24474
 
23477
24475
  class MaxGroupTieredPackage < Orb::Internal::Type::BaseModel
23478
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24476
+ OrHash =
24477
+ T.type_alias do
24478
+ T.any(
24479
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MaxGroupTieredPackage,
24480
+ Orb::Internal::AnyHash
24481
+ )
24482
+ end
23479
24483
 
23480
24484
  # The cadence to bill for this price on.
23481
24485
  sig do
@@ -23743,7 +24747,12 @@ module Orb
23743
24747
 
23744
24748
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
23745
24749
  OrHash =
23746
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24750
+ T.type_alias do
24751
+ T.any(
24752
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MaxGroupTieredPackage::BillingCycleConfiguration,
24753
+ Orb::Internal::AnyHash
24754
+ )
24755
+ end
23747
24756
 
23748
24757
  # The duration of the billing period.
23749
24758
  sig { returns(Integer) }
@@ -23824,7 +24833,12 @@ module Orb
23824
24833
 
23825
24834
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
23826
24835
  OrHash =
23827
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24836
+ T.type_alias do
24837
+ T.any(
24838
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MaxGroupTieredPackage::InvoicingCycleConfiguration,
24839
+ Orb::Internal::AnyHash
24840
+ )
24841
+ end
23828
24842
 
23829
24843
  # The duration of the billing period.
23830
24844
  sig { returns(Integer) }
@@ -23905,7 +24919,13 @@ module Orb
23905
24919
  end
23906
24920
 
23907
24921
  class GroupedWithMeteredMinimum < Orb::Internal::Type::BaseModel
23908
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
24922
+ OrHash =
24923
+ T.type_alias do
24924
+ T.any(
24925
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMeteredMinimum,
24926
+ Orb::Internal::AnyHash
24927
+ )
24928
+ end
23909
24929
 
23910
24930
  # The cadence to bill for this price on.
23911
24931
  sig do
@@ -24175,7 +25195,12 @@ module Orb
24175
25195
 
24176
25196
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
24177
25197
  OrHash =
24178
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
25198
+ T.type_alias do
25199
+ T.any(
25200
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMeteredMinimum::BillingCycleConfiguration,
25201
+ Orb::Internal::AnyHash
25202
+ )
25203
+ end
24179
25204
 
24180
25205
  # The duration of the billing period.
24181
25206
  sig { returns(Integer) }
@@ -24256,7 +25281,12 @@ module Orb
24256
25281
 
24257
25282
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
24258
25283
  OrHash =
24259
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
25284
+ T.type_alias do
25285
+ T.any(
25286
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedWithMeteredMinimum::InvoicingCycleConfiguration,
25287
+ Orb::Internal::AnyHash
25288
+ )
25289
+ end
24260
25290
 
24261
25291
  # The duration of the billing period.
24262
25292
  sig { returns(Integer) }
@@ -24337,7 +25367,13 @@ module Orb
24337
25367
  end
24338
25368
 
24339
25369
  class MatrixWithDisplayName < Orb::Internal::Type::BaseModel
24340
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
25370
+ OrHash =
25371
+ T.type_alias do
25372
+ T.any(
25373
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithDisplayName,
25374
+ Orb::Internal::AnyHash
25375
+ )
25376
+ end
24341
25377
 
24342
25378
  # The cadence to bill for this price on.
24343
25379
  sig do
@@ -24605,7 +25641,12 @@ module Orb
24605
25641
 
24606
25642
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
24607
25643
  OrHash =
24608
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
25644
+ T.type_alias do
25645
+ T.any(
25646
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithDisplayName::BillingCycleConfiguration,
25647
+ Orb::Internal::AnyHash
25648
+ )
25649
+ end
24609
25650
 
24610
25651
  # The duration of the billing period.
24611
25652
  sig { returns(Integer) }
@@ -24686,7 +25727,12 @@ module Orb
24686
25727
 
24687
25728
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
24688
25729
  OrHash =
24689
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
25730
+ T.type_alias do
25731
+ T.any(
25732
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::MatrixWithDisplayName::InvoicingCycleConfiguration,
25733
+ Orb::Internal::AnyHash
25734
+ )
25735
+ end
24690
25736
 
24691
25737
  # The duration of the billing period.
24692
25738
  sig { returns(Integer) }
@@ -24767,7 +25813,13 @@ module Orb
24767
25813
  end
24768
25814
 
24769
25815
  class GroupedTieredPackage < Orb::Internal::Type::BaseModel
24770
- OrHash = T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
25816
+ OrHash =
25817
+ T.type_alias do
25818
+ T.any(
25819
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedTieredPackage,
25820
+ Orb::Internal::AnyHash
25821
+ )
25822
+ end
24771
25823
 
24772
25824
  # The cadence to bill for this price on.
24773
25825
  sig do
@@ -25035,7 +26087,12 @@ module Orb
25035
26087
 
25036
26088
  class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
25037
26089
  OrHash =
25038
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
26090
+ T.type_alias do
26091
+ T.any(
26092
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedTieredPackage::BillingCycleConfiguration,
26093
+ Orb::Internal::AnyHash
26094
+ )
26095
+ end
25039
26096
 
25040
26097
  # The duration of the billing period.
25041
26098
  sig { returns(Integer) }
@@ -25116,7 +26173,12 @@ module Orb
25116
26173
 
25117
26174
  class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
25118
26175
  OrHash =
25119
- T.type_alias { T.any(T.self_type, Orb::Internal::AnyHash) }
26176
+ T.type_alias do
26177
+ T.any(
26178
+ Orb::SubscriptionSchedulePlanChangeParams::ReplacePrice::Price::GroupedTieredPackage::InvoicingCycleConfiguration,
26179
+ Orb::Internal::AnyHash
26180
+ )
26181
+ end
25120
26182
 
25121
26183
  # The duration of the billing period.
25122
26184
  sig { returns(Integer) }