orb-billing 0.1.0.pre.alpha.36 → 0.1.0.pre.alpha.37

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 (663) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +31 -4
  3. data/lib/orb/client.rb +1 -1
  4. data/lib/orb/errors.rb +1 -53
  5. data/lib/orb/internal/page.rb +108 -0
  6. data/lib/orb/internal/transport/base_client.rb +473 -0
  7. data/lib/orb/internal/transport/pooled_net_requester.rb +184 -0
  8. data/lib/orb/internal/type/array_of.rb +116 -0
  9. data/lib/orb/internal/type/base_model.rb +369 -0
  10. data/lib/orb/internal/type/base_page.rb +43 -0
  11. data/lib/orb/internal/type/boolean_model.rb +54 -0
  12. data/lib/orb/internal/type/converter.rb +219 -0
  13. data/lib/orb/internal/type/enum.rb +103 -0
  14. data/lib/orb/internal/type/hash_of.rb +142 -0
  15. data/lib/orb/internal/type/request_parameters.rb +40 -0
  16. data/lib/orb/internal/type/union.rb +227 -0
  17. data/lib/orb/internal/type/unknown.rb +58 -0
  18. data/lib/orb/internal/util.rb +717 -0
  19. data/lib/orb/internal.rb +8 -0
  20. data/lib/orb/models/alert.rb +15 -15
  21. data/lib/orb/models/alert_create_for_customer_params.rb +8 -8
  22. data/lib/orb/models/alert_create_for_external_customer_params.rb +8 -8
  23. data/lib/orb/models/alert_create_for_subscription_params.rb +9 -8
  24. data/lib/orb/models/alert_disable_params.rb +4 -4
  25. data/lib/orb/models/alert_enable_params.rb +4 -4
  26. data/lib/orb/models/alert_list_params.rb +4 -4
  27. data/lib/orb/models/alert_retrieve_params.rb +4 -4
  28. data/lib/orb/models/alert_update_params.rb +7 -7
  29. data/lib/orb/models/amount_discount.rb +4 -4
  30. data/lib/orb/models/billable_metric.rb +4 -4
  31. data/lib/orb/models/billing_cycle_relative_date.rb +1 -1
  32. data/lib/orb/models/coupon.rb +3 -3
  33. data/lib/orb/models/coupon_archive_params.rb +4 -4
  34. data/lib/orb/models/coupon_create_params.rb +9 -9
  35. data/lib/orb/models/coupon_fetch_params.rb +4 -4
  36. data/lib/orb/models/coupon_list_params.rb +5 -5
  37. data/lib/orb/models/coupons/subscription_list_params.rb +4 -4
  38. data/lib/orb/models/credit_note.rb +30 -30
  39. data/lib/orb/models/credit_note_create_params.rb +8 -8
  40. data/lib/orb/models/credit_note_fetch_params.rb +4 -4
  41. data/lib/orb/models/credit_note_list_params.rb +4 -4
  42. data/lib/orb/models/customer.rb +33 -33
  43. data/lib/orb/models/customer_create_params.rb +36 -36
  44. data/lib/orb/models/customer_delete_params.rb +4 -4
  45. data/lib/orb/models/customer_fetch_by_external_id_params.rb +4 -4
  46. data/lib/orb/models/customer_fetch_params.rb +4 -4
  47. data/lib/orb/models/customer_list_params.rb +4 -4
  48. data/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rb +4 -4
  49. data/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rb +4 -4
  50. data/lib/orb/models/customer_update_by_external_id_params.rb +36 -36
  51. data/lib/orb/models/customer_update_params.rb +36 -36
  52. data/lib/orb/models/customers/balance_transaction_create_params.rb +5 -5
  53. data/lib/orb/models/customers/balance_transaction_create_response.rb +8 -8
  54. data/lib/orb/models/customers/balance_transaction_list_params.rb +4 -4
  55. data/lib/orb/models/customers/balance_transaction_list_response.rb +8 -8
  56. data/lib/orb/models/customers/cost_list_by_external_id_params.rb +5 -5
  57. data/lib/orb/models/customers/cost_list_by_external_id_response.rb +9 -8
  58. data/lib/orb/models/customers/cost_list_params.rb +5 -5
  59. data/lib/orb/models/customers/cost_list_response.rb +8 -8
  60. data/lib/orb/models/customers/credit_list_by_external_id_params.rb +5 -5
  61. data/lib/orb/models/customers/credit_list_by_external_id_response.rb +3 -3
  62. data/lib/orb/models/customers/credit_list_params.rb +5 -5
  63. data/lib/orb/models/customers/credit_list_response.rb +3 -3
  64. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +11 -11
  65. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +57 -57
  66. data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +11 -11
  67. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +57 -57
  68. data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +6 -6
  69. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +57 -57
  70. data/lib/orb/models/customers/credits/ledger_list_params.rb +6 -6
  71. data/lib/orb/models/customers/credits/ledger_list_response.rb +57 -57
  72. data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +9 -9
  73. data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +7 -7
  74. data/lib/orb/models/customers/credits/top_up_create_params.rb +9 -9
  75. data/lib/orb/models/customers/credits/top_up_create_response.rb +7 -7
  76. data/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rb +4 -4
  77. data/lib/orb/models/customers/credits/top_up_delete_params.rb +4 -4
  78. data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +4 -4
  79. data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +7 -7
  80. data/lib/orb/models/customers/credits/top_up_list_params.rb +4 -4
  81. data/lib/orb/models/customers/credits/top_up_list_response.rb +7 -7
  82. data/lib/orb/models/dimensional_price_group.rb +4 -4
  83. data/lib/orb/models/dimensional_price_group_create_params.rb +6 -6
  84. data/lib/orb/models/dimensional_price_group_list_params.rb +4 -4
  85. data/lib/orb/models/dimensional_price_group_retrieve_params.rb +4 -4
  86. data/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rb +4 -4
  87. data/lib/orb/models/dimensional_price_groups.rb +3 -3
  88. data/lib/orb/models/discount.rb +1 -1
  89. data/lib/orb/models/evaluate_price_group.rb +6 -5
  90. data/lib/orb/models/event_deprecate_params.rb +4 -4
  91. data/lib/orb/models/event_deprecate_response.rb +2 -2
  92. data/lib/orb/models/event_ingest_params.rb +9 -9
  93. data/lib/orb/models/event_ingest_response.rb +11 -10
  94. data/lib/orb/models/event_search_params.rb +5 -5
  95. data/lib/orb/models/event_search_response.rb +7 -7
  96. data/lib/orb/models/event_update_params.rb +5 -5
  97. data/lib/orb/models/event_update_response.rb +2 -2
  98. data/lib/orb/models/events/backfill_close_params.rb +4 -4
  99. data/lib/orb/models/events/backfill_close_response.rb +4 -4
  100. data/lib/orb/models/events/backfill_create_params.rb +5 -5
  101. data/lib/orb/models/events/backfill_create_response.rb +4 -4
  102. data/lib/orb/models/events/backfill_fetch_params.rb +4 -4
  103. data/lib/orb/models/events/backfill_fetch_response.rb +4 -4
  104. data/lib/orb/models/events/backfill_list_params.rb +4 -4
  105. data/lib/orb/models/events/backfill_list_response.rb +4 -4
  106. data/lib/orb/models/events/backfill_revert_params.rb +4 -4
  107. data/lib/orb/models/events/backfill_revert_response.rb +4 -4
  108. data/lib/orb/models/events/event_volumes.rb +5 -5
  109. data/lib/orb/models/events/volume_list_params.rb +4 -4
  110. data/lib/orb/models/invoice.rb +102 -100
  111. data/lib/orb/models/invoice_create_params.rb +12 -12
  112. data/lib/orb/models/invoice_fetch_params.rb +4 -4
  113. data/lib/orb/models/invoice_fetch_upcoming_params.rb +4 -4
  114. data/lib/orb/models/invoice_fetch_upcoming_response.rb +104 -100
  115. data/lib/orb/models/invoice_issue_params.rb +5 -5
  116. data/lib/orb/models/invoice_level_discount.rb +1 -1
  117. data/lib/orb/models/invoice_line_item_create_params.rb +4 -4
  118. data/lib/orb/models/invoice_line_item_create_response.rb +55 -53
  119. data/lib/orb/models/invoice_list_params.rb +10 -8
  120. data/lib/orb/models/invoice_mark_paid_params.rb +4 -4
  121. data/lib/orb/models/invoice_pay_params.rb +4 -4
  122. data/lib/orb/models/invoice_update_params.rb +5 -5
  123. data/lib/orb/models/invoice_void_params.rb +4 -4
  124. data/lib/orb/models/item.rb +6 -6
  125. data/lib/orb/models/item_create_params.rb +4 -4
  126. data/lib/orb/models/item_fetch_params.rb +4 -4
  127. data/lib/orb/models/item_list_params.rb +4 -4
  128. data/lib/orb/models/item_update_params.rb +8 -8
  129. data/lib/orb/models/metric_create_params.rb +5 -5
  130. data/lib/orb/models/metric_fetch_params.rb +4 -4
  131. data/lib/orb/models/metric_list_params.rb +4 -4
  132. data/lib/orb/models/metric_update_params.rb +5 -5
  133. data/lib/orb/models/pagination_metadata.rb +3 -3
  134. data/lib/orb/models/percentage_discount.rb +4 -4
  135. data/lib/orb/models/plan.rb +50 -50
  136. data/lib/orb/models/plan_create_params.rb +337 -333
  137. data/lib/orb/models/plan_fetch_params.rb +4 -4
  138. data/lib/orb/models/plan_list_params.rb +5 -5
  139. data/lib/orb/models/plan_update_params.rb +5 -5
  140. data/lib/orb/models/plans/external_plan_id_fetch_params.rb +4 -4
  141. data/lib/orb/models/plans/external_plan_id_update_params.rb +5 -5
  142. data/lib/orb/models/price.rb +824 -816
  143. data/lib/orb/models/price_create_params.rb +78 -73
  144. data/lib/orb/models/price_evaluate_params.rb +5 -5
  145. data/lib/orb/models/price_evaluate_response.rb +3 -3
  146. data/lib/orb/models/price_fetch_params.rb +4 -4
  147. data/lib/orb/models/price_list_params.rb +4 -4
  148. data/lib/orb/models/price_update_params.rb +5 -5
  149. data/lib/orb/models/prices/external_price_id_fetch_params.rb +4 -4
  150. data/lib/orb/models/prices/external_price_id_update_params.rb +5 -5
  151. data/lib/orb/models/subscription.rb +74 -70
  152. data/lib/orb/models/subscription_cancel_params.rb +6 -6
  153. data/lib/orb/models/subscription_cancel_response.rb +73 -70
  154. data/lib/orb/models/subscription_create_params.rb +758 -740
  155. data/lib/orb/models/subscription_create_response.rb +73 -70
  156. data/lib/orb/models/subscription_fetch_costs_params.rb +5 -5
  157. data/lib/orb/models/subscription_fetch_costs_response.rb +8 -8
  158. data/lib/orb/models/subscription_fetch_params.rb +4 -4
  159. data/lib/orb/models/subscription_fetch_schedule_params.rb +4 -4
  160. data/lib/orb/models/subscription_fetch_schedule_response.rb +4 -4
  161. data/lib/orb/models/subscription_fetch_usage_params.rb +6 -6
  162. data/lib/orb/models/subscription_list_params.rb +7 -7
  163. data/lib/orb/models/subscription_price_intervals_params.rb +443 -434
  164. data/lib/orb/models/subscription_price_intervals_response.rb +70 -70
  165. data/lib/orb/models/subscription_schedule_plan_change_params.rb +756 -740
  166. data/lib/orb/models/subscription_schedule_plan_change_response.rb +70 -70
  167. data/lib/orb/models/subscription_trigger_phase_params.rb +5 -5
  168. data/lib/orb/models/subscription_trigger_phase_response.rb +70 -70
  169. data/lib/orb/models/subscription_unschedule_cancellation_params.rb +4 -4
  170. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +70 -70
  171. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rb +4 -4
  172. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +70 -70
  173. data/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rb +4 -4
  174. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +70 -70
  175. data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +6 -6
  176. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +70 -70
  177. data/lib/orb/models/subscription_update_params.rb +6 -6
  178. data/lib/orb/models/subscription_update_trial_params.rb +6 -6
  179. data/lib/orb/models/subscription_update_trial_response.rb +70 -70
  180. data/lib/orb/models/subscription_usage.rb +27 -25
  181. data/lib/orb/models/subscriptions.rb +3 -3
  182. data/lib/orb/models/top_level_ping_params.rb +4 -4
  183. data/lib/orb/models/top_level_ping_response.rb +2 -2
  184. data/lib/orb/models/trial_discount.rb +4 -4
  185. data/lib/orb/models/usage_discount.rb +4 -4
  186. data/lib/orb/request_options.rb +4 -4
  187. data/lib/orb/resources/alerts.rb +2 -2
  188. data/lib/orb/resources/coupons/subscriptions.rb +2 -2
  189. data/lib/orb/resources/coupons.rb +2 -2
  190. data/lib/orb/resources/credit_notes.rb +2 -2
  191. data/lib/orb/resources/customers/balance_transactions.rb +2 -2
  192. data/lib/orb/resources/customers/credits/ledger.rb +4 -4
  193. data/lib/orb/resources/customers/credits/top_ups.rb +4 -4
  194. data/lib/orb/resources/customers/credits.rb +4 -4
  195. data/lib/orb/resources/customers.rb +2 -2
  196. data/lib/orb/resources/dimensional_price_groups.rb +2 -2
  197. data/lib/orb/resources/events/backfills.rb +2 -2
  198. data/lib/orb/resources/invoices.rb +2 -2
  199. data/lib/orb/resources/items.rb +2 -2
  200. data/lib/orb/resources/metrics.rb +2 -2
  201. data/lib/orb/resources/plans.rb +2 -2
  202. data/lib/orb/resources/prices.rb +2 -2
  203. data/lib/orb/resources/subscriptions.rb +4 -4
  204. data/lib/orb/version.rb +1 -1
  205. data/lib/orb.rb +15 -15
  206. data/rbi/lib/orb/client.rbi +1 -1
  207. data/rbi/lib/orb/errors.rbi +0 -52
  208. data/rbi/lib/orb/internal/page.rbi +37 -0
  209. data/rbi/lib/orb/internal/transport/base_client.rbi +209 -0
  210. data/rbi/lib/orb/internal/transport/pooled_net_requester.rbi +66 -0
  211. data/rbi/lib/orb/internal/type/array_of.rbi +88 -0
  212. data/rbi/lib/orb/internal/type/base_model.rbi +208 -0
  213. data/rbi/lib/orb/internal/type/base_page.rbi +41 -0
  214. data/rbi/lib/orb/internal/type/boolean_model.rbi +43 -0
  215. data/rbi/lib/orb/internal/type/converter.rbi +106 -0
  216. data/rbi/lib/orb/internal/type/enum.rbi +60 -0
  217. data/rbi/lib/orb/internal/type/hash_of.rbi +87 -0
  218. data/rbi/lib/orb/internal/type/request_parameters.rbi +22 -0
  219. data/rbi/lib/orb/internal/type/union.rbi +70 -0
  220. data/rbi/lib/orb/internal/type/unknown.rbi +42 -0
  221. data/rbi/lib/orb/internal/util.rbi +280 -0
  222. data/rbi/lib/orb/internal.rbi +12 -0
  223. data/rbi/lib/orb/models/alert.rbi +16 -16
  224. data/rbi/lib/orb/models/alert_create_for_customer_params.rbi +7 -7
  225. data/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +7 -7
  226. data/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +7 -7
  227. data/rbi/lib/orb/models/alert_disable_params.rbi +4 -4
  228. data/rbi/lib/orb/models/alert_enable_params.rbi +4 -4
  229. data/rbi/lib/orb/models/alert_list_params.rbi +4 -4
  230. data/rbi/lib/orb/models/alert_retrieve_params.rbi +4 -4
  231. data/rbi/lib/orb/models/alert_update_params.rbi +6 -6
  232. data/rbi/lib/orb/models/amount_discount.rbi +2 -2
  233. data/rbi/lib/orb/models/billable_metric.rbi +4 -4
  234. data/rbi/lib/orb/models/billing_cycle_relative_date.rbi +1 -1
  235. data/rbi/lib/orb/models/coupon.rbi +3 -3
  236. data/rbi/lib/orb/models/coupon_archive_params.rbi +4 -4
  237. data/rbi/lib/orb/models/coupon_create_params.rbi +8 -8
  238. data/rbi/lib/orb/models/coupon_fetch_params.rbi +4 -4
  239. data/rbi/lib/orb/models/coupon_list_params.rbi +4 -4
  240. data/rbi/lib/orb/models/coupons/subscription_list_params.rbi +4 -4
  241. data/rbi/lib/orb/models/credit_note.rbi +29 -26
  242. data/rbi/lib/orb/models/credit_note_create_params.rbi +7 -7
  243. data/rbi/lib/orb/models/credit_note_fetch_params.rbi +4 -4
  244. data/rbi/lib/orb/models/credit_note_list_params.rbi +4 -4
  245. data/rbi/lib/orb/models/customer.rbi +36 -30
  246. data/rbi/lib/orb/models/customer_create_params.rbi +34 -31
  247. data/rbi/lib/orb/models/customer_delete_params.rbi +4 -4
  248. data/rbi/lib/orb/models/customer_fetch_by_external_id_params.rbi +4 -4
  249. data/rbi/lib/orb/models/customer_fetch_params.rbi +4 -4
  250. data/rbi/lib/orb/models/customer_list_params.rbi +4 -4
  251. data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +4 -4
  252. data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +4 -4
  253. data/rbi/lib/orb/models/customer_update_by_external_id_params.rbi +33 -31
  254. data/rbi/lib/orb/models/customer_update_params.rbi +34 -31
  255. data/rbi/lib/orb/models/customers/balance_transaction_create_params.rbi +5 -5
  256. data/rbi/lib/orb/models/customers/balance_transaction_create_response.rbi +17 -9
  257. data/rbi/lib/orb/models/customers/balance_transaction_list_params.rbi +4 -4
  258. data/rbi/lib/orb/models/customers/balance_transaction_list_response.rbi +13 -9
  259. data/rbi/lib/orb/models/customers/cost_list_by_external_id_params.rbi +5 -5
  260. data/rbi/lib/orb/models/customers/cost_list_by_external_id_response.rbi +6 -6
  261. data/rbi/lib/orb/models/customers/cost_list_params.rbi +5 -5
  262. data/rbi/lib/orb/models/customers/cost_list_response.rbi +6 -6
  263. data/rbi/lib/orb/models/customers/credit_list_by_external_id_params.rbi +4 -4
  264. data/rbi/lib/orb/models/customers/credit_list_by_external_id_response.rbi +2 -2
  265. data/rbi/lib/orb/models/customers/credit_list_params.rbi +4 -4
  266. data/rbi/lib/orb/models/customers/credit_list_response.rbi +2 -2
  267. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +9 -9
  268. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +57 -57
  269. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_params.rbi +9 -9
  270. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_response.rbi +57 -57
  271. data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +6 -6
  272. data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +57 -57
  273. data/rbi/lib/orb/models/customers/credits/ledger_list_params.rbi +6 -6
  274. data/rbi/lib/orb/models/customers/credits/ledger_list_response.rbi +63 -57
  275. data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +14 -8
  276. data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +5 -5
  277. data/rbi/lib/orb/models/customers/credits/top_up_create_params.rbi +8 -8
  278. data/rbi/lib/orb/models/customers/credits/top_up_create_response.rbi +5 -5
  279. data/rbi/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +4 -4
  280. data/rbi/lib/orb/models/customers/credits/top_up_delete_params.rbi +4 -4
  281. data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +4 -4
  282. data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +11 -5
  283. data/rbi/lib/orb/models/customers/credits/top_up_list_params.rbi +4 -4
  284. data/rbi/lib/orb/models/customers/credits/top_up_list_response.rbi +5 -5
  285. data/rbi/lib/orb/models/dimensional_price_group.rbi +1 -1
  286. data/rbi/lib/orb/models/dimensional_price_group_create_params.rbi +4 -4
  287. data/rbi/lib/orb/models/dimensional_price_group_list_params.rbi +4 -4
  288. data/rbi/lib/orb/models/dimensional_price_group_retrieve_params.rbi +4 -4
  289. data/rbi/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +9 -4
  290. data/rbi/lib/orb/models/dimensional_price_groups.rbi +4 -4
  291. data/rbi/lib/orb/models/discount.rbi +1 -1
  292. data/rbi/lib/orb/models/evaluate_price_group.rbi +2 -2
  293. data/rbi/lib/orb/models/event_deprecate_params.rbi +4 -4
  294. data/rbi/lib/orb/models/event_deprecate_response.rbi +1 -1
  295. data/rbi/lib/orb/models/event_ingest_params.rbi +6 -6
  296. data/rbi/lib/orb/models/event_ingest_response.rbi +6 -6
  297. data/rbi/lib/orb/models/event_search_params.rbi +4 -4
  298. data/rbi/lib/orb/models/event_search_response.rbi +3 -3
  299. data/rbi/lib/orb/models/event_update_params.rbi +4 -4
  300. data/rbi/lib/orb/models/event_update_response.rbi +1 -1
  301. data/rbi/lib/orb/models/events/backfill_close_params.rbi +9 -4
  302. data/rbi/lib/orb/models/events/backfill_close_response.rbi +2 -2
  303. data/rbi/lib/orb/models/events/backfill_create_params.rbi +4 -4
  304. data/rbi/lib/orb/models/events/backfill_create_response.rbi +2 -2
  305. data/rbi/lib/orb/models/events/backfill_fetch_params.rbi +9 -4
  306. data/rbi/lib/orb/models/events/backfill_fetch_response.rbi +2 -2
  307. data/rbi/lib/orb/models/events/backfill_list_params.rbi +4 -4
  308. data/rbi/lib/orb/models/events/backfill_list_response.rbi +2 -2
  309. data/rbi/lib/orb/models/events/backfill_revert_params.rbi +9 -4
  310. data/rbi/lib/orb/models/events/backfill_revert_response.rbi +2 -2
  311. data/rbi/lib/orb/models/events/event_volumes.rbi +3 -3
  312. data/rbi/lib/orb/models/events/volume_list_params.rbi +4 -4
  313. data/rbi/lib/orb/models/invoice.rbi +96 -84
  314. data/rbi/lib/orb/models/invoice_create_params.rbi +14 -11
  315. data/rbi/lib/orb/models/invoice_fetch_params.rbi +4 -4
  316. data/rbi/lib/orb/models/invoice_fetch_upcoming_params.rbi +4 -4
  317. data/rbi/lib/orb/models/invoice_fetch_upcoming_response.rbi +94 -84
  318. data/rbi/lib/orb/models/invoice_issue_params.rbi +4 -4
  319. data/rbi/lib/orb/models/invoice_level_discount.rbi +1 -1
  320. data/rbi/lib/orb/models/invoice_line_item_create_params.rbi +4 -4
  321. data/rbi/lib/orb/models/invoice_line_item_create_response.rbi +42 -38
  322. data/rbi/lib/orb/models/invoice_list_params.rbi +6 -6
  323. data/rbi/lib/orb/models/invoice_mark_paid_params.rbi +4 -4
  324. data/rbi/lib/orb/models/invoice_pay_params.rbi +4 -4
  325. data/rbi/lib/orb/models/invoice_update_params.rbi +4 -4
  326. data/rbi/lib/orb/models/invoice_void_params.rbi +4 -4
  327. data/rbi/lib/orb/models/item.rbi +4 -4
  328. data/rbi/lib/orb/models/item_create_params.rbi +4 -4
  329. data/rbi/lib/orb/models/item_fetch_params.rbi +4 -4
  330. data/rbi/lib/orb/models/item_list_params.rbi +4 -4
  331. data/rbi/lib/orb/models/item_update_params.rbi +7 -7
  332. data/rbi/lib/orb/models/metric_create_params.rbi +4 -4
  333. data/rbi/lib/orb/models/metric_fetch_params.rbi +4 -4
  334. data/rbi/lib/orb/models/metric_list_params.rbi +4 -4
  335. data/rbi/lib/orb/models/metric_update_params.rbi +4 -4
  336. data/rbi/lib/orb/models/pagination_metadata.rbi +1 -1
  337. data/rbi/lib/orb/models/percentage_discount.rbi +2 -2
  338. data/rbi/lib/orb/models/plan.rbi +37 -37
  339. data/rbi/lib/orb/models/plan_create_params.rbi +307 -291
  340. data/rbi/lib/orb/models/plan_fetch_params.rbi +4 -4
  341. data/rbi/lib/orb/models/plan_list_params.rbi +5 -5
  342. data/rbi/lib/orb/models/plan_update_params.rbi +4 -4
  343. data/rbi/lib/orb/models/plans/external_plan_id_fetch_params.rbi +9 -4
  344. data/rbi/lib/orb/models/plans/external_plan_id_update_params.rbi +4 -4
  345. data/rbi/lib/orb/models/price.rbi +1038 -880
  346. data/rbi/lib/orb/models/price_create_params.rbi +60 -53
  347. data/rbi/lib/orb/models/price_evaluate_params.rbi +4 -4
  348. data/rbi/lib/orb/models/price_evaluate_response.rbi +2 -2
  349. data/rbi/lib/orb/models/price_fetch_params.rbi +4 -4
  350. data/rbi/lib/orb/models/price_list_params.rbi +4 -4
  351. data/rbi/lib/orb/models/price_update_params.rbi +4 -4
  352. data/rbi/lib/orb/models/prices/external_price_id_fetch_params.rbi +9 -4
  353. data/rbi/lib/orb/models/prices/external_price_id_update_params.rbi +4 -4
  354. data/rbi/lib/orb/models/subscription.rbi +42 -40
  355. data/rbi/lib/orb/models/subscription_cancel_params.rbi +5 -5
  356. data/rbi/lib/orb/models/subscription_cancel_response.rbi +40 -40
  357. data/rbi/lib/orb/models/subscription_create_params.rbi +630 -620
  358. data/rbi/lib/orb/models/subscription_create_response.rbi +40 -40
  359. data/rbi/lib/orb/models/subscription_fetch_costs_params.rbi +5 -5
  360. data/rbi/lib/orb/models/subscription_fetch_costs_response.rbi +6 -6
  361. data/rbi/lib/orb/models/subscription_fetch_params.rbi +4 -4
  362. data/rbi/lib/orb/models/subscription_fetch_schedule_params.rbi +4 -4
  363. data/rbi/lib/orb/models/subscription_fetch_schedule_response.rbi +4 -4
  364. data/rbi/lib/orb/models/subscription_fetch_usage_params.rbi +6 -6
  365. data/rbi/lib/orb/models/subscription_list_params.rbi +5 -5
  366. data/rbi/lib/orb/models/subscription_price_intervals_params.rbi +385 -365
  367. data/rbi/lib/orb/models/subscription_price_intervals_response.rbi +42 -40
  368. data/rbi/lib/orb/models/subscription_schedule_plan_change_params.rbi +627 -621
  369. data/rbi/lib/orb/models/subscription_schedule_plan_change_response.rbi +49 -40
  370. data/rbi/lib/orb/models/subscription_trigger_phase_params.rbi +4 -4
  371. data/rbi/lib/orb/models/subscription_trigger_phase_response.rbi +48 -40
  372. data/rbi/lib/orb/models/subscription_unschedule_cancellation_params.rbi +4 -4
  373. data/rbi/lib/orb/models/subscription_unschedule_cancellation_response.rbi +40 -40
  374. data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +4 -4
  375. data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +46 -40
  376. data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +4 -4
  377. data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +61 -40
  378. data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_params.rbi +5 -5
  379. data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_response.rbi +40 -40
  380. data/rbi/lib/orb/models/subscription_update_params.rbi +4 -4
  381. data/rbi/lib/orb/models/subscription_update_trial_params.rbi +5 -5
  382. data/rbi/lib/orb/models/subscription_update_trial_response.rbi +49 -40
  383. data/rbi/lib/orb/models/subscription_usage.rbi +30 -24
  384. data/rbi/lib/orb/models/subscriptions.rbi +4 -4
  385. data/rbi/lib/orb/models/top_level_ping_params.rbi +4 -4
  386. data/rbi/lib/orb/models/top_level_ping_response.rbi +1 -1
  387. data/rbi/lib/orb/models/trial_discount.rbi +2 -2
  388. data/rbi/lib/orb/models/usage_discount.rbi +2 -2
  389. data/rbi/lib/orb/request_options.rbi +2 -2
  390. data/rbi/lib/orb/resources/alerts.rbi +16 -13
  391. data/rbi/lib/orb/resources/coupons/subscriptions.rbi +2 -2
  392. data/rbi/lib/orb/resources/coupons.rbi +12 -6
  393. data/rbi/lib/orb/resources/credit_notes.rbi +5 -5
  394. data/rbi/lib/orb/resources/customers/balance_transactions.rbi +3 -3
  395. data/rbi/lib/orb/resources/customers/costs.rbi +2 -2
  396. data/rbi/lib/orb/resources/customers/credits/ledger.rbi +8 -8
  397. data/rbi/lib/orb/resources/customers/credits/top_ups.rbi +13 -10
  398. data/rbi/lib/orb/resources/customers/credits.rbi +4 -4
  399. data/rbi/lib/orb/resources/customers.rbi +31 -31
  400. data/rbi/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +1 -1
  401. data/rbi/lib/orb/resources/dimensional_price_groups.rbi +4 -4
  402. data/rbi/lib/orb/resources/events/backfills.rbi +6 -6
  403. data/rbi/lib/orb/resources/events/volume.rbi +1 -1
  404. data/rbi/lib/orb/resources/events.rbi +8 -5
  405. data/rbi/lib/orb/resources/invoice_line_items.rbi +1 -1
  406. data/rbi/lib/orb/resources/invoices.rbi +21 -12
  407. data/rbi/lib/orb/resources/items.rbi +9 -6
  408. data/rbi/lib/orb/resources/metrics.rbi +8 -5
  409. data/rbi/lib/orb/resources/plans/external_plan_id.rbi +2 -2
  410. data/rbi/lib/orb/resources/plans.rbi +9 -6
  411. data/rbi/lib/orb/resources/prices/external_price_id.rbi +2 -2
  412. data/rbi/lib/orb/resources/prices.rbi +20 -17
  413. data/rbi/lib/orb/resources/subscriptions.rbi +40 -36
  414. data/rbi/lib/orb/resources/top_level.rbi +1 -1
  415. data/rbi/lib/orb/version.rbi +1 -1
  416. data/sig/orb/client.rbs +1 -1
  417. data/sig/orb/errors.rbs +0 -52
  418. data/sig/orb/internal/page.rbs +24 -0
  419. data/sig/orb/internal/transport/base_client.rbs +110 -0
  420. data/sig/orb/internal/transport/pooled_net_requester.rbs +41 -0
  421. data/sig/orb/internal/type/array_of.rbs +38 -0
  422. data/sig/orb/internal/type/base_model.rbs +79 -0
  423. data/sig/orb/internal/type/base_page.rbs +24 -0
  424. data/sig/orb/internal/type/boolean_model.rbs +20 -0
  425. data/sig/orb/internal/type/converter.rbs +44 -0
  426. data/sig/orb/internal/type/enum.rbs +24 -0
  427. data/sig/orb/internal/type/hash_of.rbs +38 -0
  428. data/sig/orb/internal/type/request_parameters.rbs +15 -0
  429. data/sig/orb/internal/type/union.rbs +42 -0
  430. data/sig/orb/internal/type/unknown.rbs +20 -0
  431. data/sig/orb/internal/util.rbs +139 -0
  432. data/sig/orb/internal.rbs +5 -0
  433. data/sig/orb/models/alert.rbs +7 -7
  434. data/sig/orb/models/alert_create_for_customer_params.rbs +6 -6
  435. data/sig/orb/models/alert_create_for_external_customer_params.rbs +6 -6
  436. data/sig/orb/models/alert_create_for_subscription_params.rbs +6 -6
  437. data/sig/orb/models/alert_disable_params.rbs +4 -4
  438. data/sig/orb/models/alert_enable_params.rbs +4 -4
  439. data/sig/orb/models/alert_list_params.rbs +4 -4
  440. data/sig/orb/models/alert_retrieve_params.rbs +4 -4
  441. data/sig/orb/models/alert_update_params.rbs +5 -5
  442. data/sig/orb/models/amount_discount.rbs +2 -2
  443. data/sig/orb/models/billable_metric.rbs +2 -2
  444. data/sig/orb/models/billing_cycle_relative_date.rbs +1 -1
  445. data/sig/orb/models/coupon.rbs +2 -2
  446. data/sig/orb/models/coupon_archive_params.rbs +4 -4
  447. data/sig/orb/models/coupon_create_params.rbs +7 -7
  448. data/sig/orb/models/coupon_fetch_params.rbs +4 -4
  449. data/sig/orb/models/coupon_list_params.rbs +4 -4
  450. data/sig/orb/models/coupons/subscription_list_params.rbs +5 -4
  451. data/sig/orb/models/credit_note.rbs +14 -14
  452. data/sig/orb/models/credit_note_create_params.rbs +6 -6
  453. data/sig/orb/models/credit_note_fetch_params.rbs +5 -4
  454. data/sig/orb/models/credit_note_list_params.rbs +4 -4
  455. data/sig/orb/models/customer.rbs +14 -14
  456. data/sig/orb/models/customer_create_params.rbs +17 -17
  457. data/sig/orb/models/customer_delete_params.rbs +4 -4
  458. data/sig/orb/models/customer_fetch_by_external_id_params.rbs +5 -4
  459. data/sig/orb/models/customer_fetch_params.rbs +4 -4
  460. data/sig/orb/models/customer_list_params.rbs +4 -4
  461. data/sig/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbs +4 -4
  462. data/sig/orb/models/customer_sync_payment_methods_from_gateway_params.rbs +4 -4
  463. data/sig/orb/models/customer_update_by_external_id_params.rbs +17 -17
  464. data/sig/orb/models/customer_update_params.rbs +17 -17
  465. data/sig/orb/models/customers/balance_transaction_create_params.rbs +5 -5
  466. data/sig/orb/models/customers/balance_transaction_create_response.rbs +5 -5
  467. data/sig/orb/models/customers/balance_transaction_list_params.rbs +4 -4
  468. data/sig/orb/models/customers/balance_transaction_list_response.rbs +5 -5
  469. data/sig/orb/models/customers/cost_list_by_external_id_params.rbs +5 -5
  470. data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +3 -3
  471. data/sig/orb/models/customers/cost_list_params.rbs +5 -5
  472. data/sig/orb/models/customers/cost_list_response.rbs +3 -3
  473. data/sig/orb/models/customers/credit_list_by_external_id_params.rbs +4 -4
  474. data/sig/orb/models/customers/credit_list_by_external_id_response.rbs +2 -2
  475. data/sig/orb/models/customers/credit_list_params.rbs +4 -4
  476. data/sig/orb/models/customers/credit_list_response.rbs +2 -2
  477. data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbs +7 -7
  478. data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +29 -29
  479. data/sig/orb/models/customers/credits/ledger_create_entry_params.rbs +7 -7
  480. data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +29 -29
  481. data/sig/orb/models/customers/credits/ledger_list_by_external_id_params.rbs +6 -6
  482. data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +29 -29
  483. data/sig/orb/models/customers/credits/ledger_list_params.rbs +6 -6
  484. data/sig/orb/models/customers/credits/ledger_list_response.rbs +29 -29
  485. data/sig/orb/models/customers/credits/top_up_create_by_external_id_params.rbs +6 -6
  486. data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +3 -3
  487. data/sig/orb/models/customers/credits/top_up_create_params.rbs +6 -6
  488. data/sig/orb/models/customers/credits/top_up_create_response.rbs +3 -3
  489. data/sig/orb/models/customers/credits/top_up_delete_by_external_id_params.rbs +5 -4
  490. data/sig/orb/models/customers/credits/top_up_delete_params.rbs +4 -4
  491. data/sig/orb/models/customers/credits/top_up_list_by_external_id_params.rbs +5 -4
  492. data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +3 -3
  493. data/sig/orb/models/customers/credits/top_up_list_params.rbs +5 -4
  494. data/sig/orb/models/customers/credits/top_up_list_response.rbs +3 -3
  495. data/sig/orb/models/dimensional_price_group.rbs +1 -1
  496. data/sig/orb/models/dimensional_price_group_create_params.rbs +4 -4
  497. data/sig/orb/models/dimensional_price_group_list_params.rbs +5 -4
  498. data/sig/orb/models/dimensional_price_group_retrieve_params.rbs +4 -4
  499. data/sig/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbs +4 -4
  500. data/sig/orb/models/dimensional_price_groups.rbs +1 -1
  501. data/sig/orb/models/discount.rbs +1 -1
  502. data/sig/orb/models/evaluate_price_group.rbs +2 -2
  503. data/sig/orb/models/event_deprecate_params.rbs +4 -4
  504. data/sig/orb/models/event_deprecate_response.rbs +1 -1
  505. data/sig/orb/models/event_ingest_params.rbs +5 -5
  506. data/sig/orb/models/event_ingest_response.rbs +3 -3
  507. data/sig/orb/models/event_search_params.rbs +4 -4
  508. data/sig/orb/models/event_search_response.rbs +2 -2
  509. data/sig/orb/models/event_update_params.rbs +4 -4
  510. data/sig/orb/models/event_update_response.rbs +1 -1
  511. data/sig/orb/models/events/backfill_close_params.rbs +5 -4
  512. data/sig/orb/models/events/backfill_close_response.rbs +2 -2
  513. data/sig/orb/models/events/backfill_create_params.rbs +4 -4
  514. data/sig/orb/models/events/backfill_create_response.rbs +2 -2
  515. data/sig/orb/models/events/backfill_fetch_params.rbs +5 -4
  516. data/sig/orb/models/events/backfill_fetch_response.rbs +2 -2
  517. data/sig/orb/models/events/backfill_list_params.rbs +5 -4
  518. data/sig/orb/models/events/backfill_list_response.rbs +2 -2
  519. data/sig/orb/models/events/backfill_revert_params.rbs +5 -4
  520. data/sig/orb/models/events/backfill_revert_response.rbs +2 -2
  521. data/sig/orb/models/events/event_volumes.rbs +2 -2
  522. data/sig/orb/models/events/volume_list_params.rbs +4 -4
  523. data/sig/orb/models/invoice.rbs +40 -40
  524. data/sig/orb/models/invoice_create_params.rbs +7 -7
  525. data/sig/orb/models/invoice_fetch_params.rbs +4 -4
  526. data/sig/orb/models/invoice_fetch_upcoming_params.rbs +4 -4
  527. data/sig/orb/models/invoice_fetch_upcoming_response.rbs +40 -40
  528. data/sig/orb/models/invoice_issue_params.rbs +5 -4
  529. data/sig/orb/models/invoice_level_discount.rbs +1 -1
  530. data/sig/orb/models/invoice_line_item_create_params.rbs +4 -4
  531. data/sig/orb/models/invoice_line_item_create_response.rbs +19 -19
  532. data/sig/orb/models/invoice_list_params.rbs +6 -6
  533. data/sig/orb/models/invoice_mark_paid_params.rbs +4 -4
  534. data/sig/orb/models/invoice_pay_params.rbs +4 -4
  535. data/sig/orb/models/invoice_update_params.rbs +5 -4
  536. data/sig/orb/models/invoice_void_params.rbs +4 -4
  537. data/sig/orb/models/item.rbs +3 -3
  538. data/sig/orb/models/item_create_params.rbs +5 -4
  539. data/sig/orb/models/item_fetch_params.rbs +4 -4
  540. data/sig/orb/models/item_list_params.rbs +5 -4
  541. data/sig/orb/models/item_update_params.rbs +6 -6
  542. data/sig/orb/models/metric_create_params.rbs +4 -4
  543. data/sig/orb/models/metric_fetch_params.rbs +4 -4
  544. data/sig/orb/models/metric_list_params.rbs +4 -4
  545. data/sig/orb/models/metric_update_params.rbs +5 -4
  546. data/sig/orb/models/pagination_metadata.rbs +1 -1
  547. data/sig/orb/models/percentage_discount.rbs +2 -2
  548. data/sig/orb/models/plan.rbs +18 -18
  549. data/sig/orb/models/plan_create_params.rbs +169 -169
  550. data/sig/orb/models/plan_fetch_params.rbs +4 -4
  551. data/sig/orb/models/plan_list_params.rbs +5 -5
  552. data/sig/orb/models/plan_update_params.rbs +4 -4
  553. data/sig/orb/models/plans/external_plan_id_fetch_params.rbs +5 -4
  554. data/sig/orb/models/plans/external_plan_id_update_params.rbs +4 -4
  555. data/sig/orb/models/price.rbs +380 -380
  556. data/sig/orb/models/price_create_params.rbs +25 -25
  557. data/sig/orb/models/price_evaluate_params.rbs +4 -4
  558. data/sig/orb/models/price_evaluate_response.rbs +1 -1
  559. data/sig/orb/models/price_fetch_params.rbs +4 -4
  560. data/sig/orb/models/price_list_params.rbs +5 -4
  561. data/sig/orb/models/price_update_params.rbs +5 -4
  562. data/sig/orb/models/prices/external_price_id_fetch_params.rbs +5 -4
  563. data/sig/orb/models/prices/external_price_id_update_params.rbs +5 -4
  564. data/sig/orb/models/subscription.rbs +21 -21
  565. data/sig/orb/models/subscription_cancel_params.rbs +5 -5
  566. data/sig/orb/models/subscription_cancel_response.rbs +21 -21
  567. data/sig/orb/models/subscription_create_params.rbs +360 -360
  568. data/sig/orb/models/subscription_create_response.rbs +21 -21
  569. data/sig/orb/models/subscription_fetch_costs_params.rbs +5 -5
  570. data/sig/orb/models/subscription_fetch_costs_response.rbs +3 -3
  571. data/sig/orb/models/subscription_fetch_params.rbs +5 -4
  572. data/sig/orb/models/subscription_fetch_schedule_params.rbs +4 -4
  573. data/sig/orb/models/subscription_fetch_schedule_response.rbs +2 -2
  574. data/sig/orb/models/subscription_fetch_usage_params.rbs +6 -6
  575. data/sig/orb/models/subscription_list_params.rbs +5 -5
  576. data/sig/orb/models/subscription_price_intervals_params.rbs +214 -214
  577. data/sig/orb/models/subscription_price_intervals_response.rbs +21 -21
  578. data/sig/orb/models/subscription_schedule_plan_change_params.rbs +361 -361
  579. data/sig/orb/models/subscription_schedule_plan_change_response.rbs +21 -21
  580. data/sig/orb/models/subscription_trigger_phase_params.rbs +4 -4
  581. data/sig/orb/models/subscription_trigger_phase_response.rbs +21 -21
  582. data/sig/orb/models/subscription_unschedule_cancellation_params.rbs +4 -4
  583. data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +21 -21
  584. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbs +4 -4
  585. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +21 -21
  586. data/sig/orb/models/subscription_unschedule_pending_plan_changes_params.rbs +4 -4
  587. data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +21 -21
  588. data/sig/orb/models/subscription_update_fixed_fee_quantity_params.rbs +5 -5
  589. data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +21 -21
  590. data/sig/orb/models/subscription_update_params.rbs +4 -4
  591. data/sig/orb/models/subscription_update_trial_params.rbs +5 -5
  592. data/sig/orb/models/subscription_update_trial_response.rbs +21 -21
  593. data/sig/orb/models/subscription_usage.rbs +12 -12
  594. data/sig/orb/models/subscriptions.rbs +1 -1
  595. data/sig/orb/models/top_level_ping_params.rbs +4 -4
  596. data/sig/orb/models/top_level_ping_response.rbs +1 -1
  597. data/sig/orb/models/trial_discount.rbs +2 -2
  598. data/sig/orb/models/usage_discount.rbs +2 -2
  599. data/sig/orb/request_options.rbs +1 -1
  600. data/sig/orb/resources/alerts.rbs +1 -1
  601. data/sig/orb/resources/coupons/subscriptions.rbs +1 -1
  602. data/sig/orb/resources/coupons.rbs +1 -1
  603. data/sig/orb/resources/credit_notes.rbs +1 -1
  604. data/sig/orb/resources/customers/balance_transactions.rbs +1 -1
  605. data/sig/orb/resources/customers/credits/ledger.rbs +2 -2
  606. data/sig/orb/resources/customers/credits/top_ups.rbs +2 -2
  607. data/sig/orb/resources/customers/credits.rbs +2 -2
  608. data/sig/orb/resources/customers.rbs +1 -1
  609. data/sig/orb/resources/dimensional_price_groups.rbs +1 -1
  610. data/sig/orb/resources/events/backfills.rbs +1 -1
  611. data/sig/orb/resources/invoices.rbs +1 -1
  612. data/sig/orb/resources/items.rbs +1 -1
  613. data/sig/orb/resources/metrics.rbs +1 -1
  614. data/sig/orb/resources/plans.rbs +1 -1
  615. data/sig/orb/resources/prices.rbs +1 -1
  616. data/sig/orb/resources/subscriptions.rbs +2 -2
  617. data/sig/orb/version.rbs +1 -1
  618. metadata +47 -47
  619. data/lib/orb/page.rb +0 -114
  620. data/lib/orb/transport/base_client.rb +0 -459
  621. data/lib/orb/transport/pooled_net_requester.rb +0 -182
  622. data/lib/orb/type/array_of.rb +0 -112
  623. data/lib/orb/type/base_model.rb +0 -367
  624. data/lib/orb/type/base_page.rb +0 -61
  625. data/lib/orb/type/boolean_model.rb +0 -52
  626. data/lib/orb/type/converter.rb +0 -217
  627. data/lib/orb/type/enum.rb +0 -101
  628. data/lib/orb/type/hash_of.rb +0 -132
  629. data/lib/orb/type/request_parameters.rb +0 -38
  630. data/lib/orb/type/union.rb +0 -225
  631. data/lib/orb/type/unknown.rb +0 -56
  632. data/lib/orb/type.rb +0 -23
  633. data/lib/orb/util.rb +0 -722
  634. data/rbi/lib/orb/page.rbi +0 -35
  635. data/rbi/lib/orb/transport/base_client.rbi +0 -205
  636. data/rbi/lib/orb/transport/pooled_net_requester.rbi +0 -64
  637. data/rbi/lib/orb/type/array_of.rbi +0 -82
  638. data/rbi/lib/orb/type/base_model.rbi +0 -197
  639. data/rbi/lib/orb/type/base_page.rbi +0 -38
  640. data/rbi/lib/orb/type/boolean_model.rbi +0 -41
  641. data/rbi/lib/orb/type/converter.rbi +0 -95
  642. data/rbi/lib/orb/type/enum.rbi +0 -58
  643. data/rbi/lib/orb/type/hash_of.rbi +0 -86
  644. data/rbi/lib/orb/type/request_parameters.rbi +0 -20
  645. data/rbi/lib/orb/type/union.rbi +0 -66
  646. data/rbi/lib/orb/type/unknown.rbi +0 -37
  647. data/rbi/lib/orb/type.rbi +0 -23
  648. data/rbi/lib/orb/util.rbi +0 -278
  649. data/sig/orb/page.rbs +0 -22
  650. data/sig/orb/transport/base_client.rbs +0 -110
  651. data/sig/orb/transport/pooled_net_requester.rbs +0 -39
  652. data/sig/orb/type/array_of.rbs +0 -36
  653. data/sig/orb/type/base_model.rbs +0 -77
  654. data/sig/orb/type/base_page.rbs +0 -22
  655. data/sig/orb/type/boolean_model.rbs +0 -18
  656. data/sig/orb/type/converter.rbs +0 -36
  657. data/sig/orb/type/enum.rbs +0 -22
  658. data/sig/orb/type/hash_of.rbs +0 -36
  659. data/sig/orb/type/request_parameters.rbs +0 -13
  660. data/sig/orb/type/union.rbs +0 -37
  661. data/sig/orb/type/unknown.rbs +0 -15
  662. data/sig/orb/type.rbs +0 -22
  663. data/sig/orb/util.rbs +0 -132
@@ -2,15 +2,18 @@
2
2
 
3
3
  module Orb
4
4
  module Models
5
- class SubscriptionPriceIntervalsParams < Orb::BaseModel
6
- extend Orb::Type::RequestParameters::Converter
7
- include Orb::RequestParameters
5
+ class SubscriptionPriceIntervalsParams < Orb::Internal::Type::BaseModel
6
+ extend Orb::Internal::Type::RequestParameters::Converter
7
+ include Orb::Internal::Type::RequestParameters
8
8
 
9
9
  # A list of price intervals to add to the subscription.
10
10
  sig { returns(T.nilable(T::Array[Orb::Models::SubscriptionPriceIntervalsParams::Add])) }
11
11
  attr_reader :add
12
12
 
13
- sig { params(add: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add, Orb::Util::AnyHash)]).void }
13
+ sig do
14
+ params(add: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add, Orb::Internal::AnyHash)])
15
+ .void
16
+ end
14
17
  attr_writer :add
15
18
 
16
19
  # A list of adjustments to add to the subscription.
@@ -19,7 +22,7 @@ module Orb
19
22
 
20
23
  sig do
21
24
  params(
22
- add_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment, Orb::Util::AnyHash)]
25
+ add_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment, Orb::Internal::AnyHash)]
23
26
  )
24
27
  .void
25
28
  end
@@ -35,7 +38,10 @@ module Orb
35
38
  sig { returns(T.nilable(T::Array[Orb::Models::SubscriptionPriceIntervalsParams::Edit])) }
36
39
  attr_reader :edit
37
40
 
38
- sig { params(edit: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Edit, Orb::Util::AnyHash)]).void }
41
+ sig do
42
+ params(edit: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Edit, Orb::Internal::AnyHash)])
43
+ .void
44
+ end
39
45
  attr_writer :edit
40
46
 
41
47
  # A list of adjustments to edit on the subscription.
@@ -44,7 +50,7 @@ module Orb
44
50
 
45
51
  sig do
46
52
  params(
47
- edit_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment, Orb::Util::AnyHash)]
53
+ edit_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment, Orb::Internal::AnyHash)]
48
54
  )
49
55
  .void
50
56
  end
@@ -52,12 +58,12 @@ module Orb
52
58
 
53
59
  sig do
54
60
  params(
55
- add: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add, Orb::Util::AnyHash)],
56
- add_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment, Orb::Util::AnyHash)],
61
+ add: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add, Orb::Internal::AnyHash)],
62
+ add_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment, Orb::Internal::AnyHash)],
57
63
  allow_invoice_credit_or_void: T.nilable(T::Boolean),
58
- edit: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Edit, Orb::Util::AnyHash)],
59
- edit_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment, Orb::Util::AnyHash)],
60
- request_options: T.any(Orb::RequestOptions, Orb::Util::AnyHash)
64
+ edit: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Edit, Orb::Internal::AnyHash)],
65
+ edit_adjustments: T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::EditAdjustment, Orb::Internal::AnyHash)],
66
+ request_options: T.any(Orb::RequestOptions, Orb::Internal::AnyHash)
61
67
  )
62
68
  .returns(T.attached_class)
63
69
  end
@@ -87,7 +93,7 @@ module Orb
87
93
  def to_hash
88
94
  end
89
95
 
90
- class Add < Orb::BaseModel
96
+ class Add < Orb::Internal::Type::BaseModel
91
97
  # The start date of the price interval. This is the date that the price will start
92
98
  # billing on the subscription.
93
99
  sig { returns(T.any(Time, Orb::Models::BillingCycleRelativeDate::OrSymbol)) }
@@ -99,7 +105,9 @@ module Orb
99
105
 
100
106
  sig do
101
107
  params(
102
- allocation_price: T.nilable(T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add::AllocationPrice, Orb::Util::AnyHash))
108
+ allocation_price: T.nilable(
109
+ T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add::AllocationPrice, Orb::Internal::AnyHash)
110
+ )
103
111
  )
104
112
  .void
105
113
  end
@@ -210,12 +218,14 @@ module Orb
210
218
  sig do
211
219
  params(
212
220
  start_date: T.any(Time, Orb::Models::BillingCycleRelativeDate::OrSymbol),
213
- allocation_price: T.nilable(T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add::AllocationPrice, Orb::Util::AnyHash)),
221
+ allocation_price: T.nilable(
222
+ T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add::AllocationPrice, Orb::Internal::AnyHash)
223
+ ),
214
224
  discounts: T.nilable(
215
225
  T::Array[
216
226
  T.any(
217
227
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::AmountDiscountCreationParams,
218
- Orb::Util::AnyHash,
228
+ Orb::Internal::AnyHash,
219
229
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::PercentageDiscountCreationParams,
220
230
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Discount::UsageDiscountCreationParams
221
231
  )
@@ -225,14 +235,19 @@ module Orb
225
235
  external_price_id: T.nilable(String),
226
236
  filter: T.nilable(String),
227
237
  fixed_fee_quantity_transitions: T.nilable(
228
- T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Add::FixedFeeQuantityTransition, Orb::Util::AnyHash)]
238
+ T::Array[
239
+ T.any(
240
+ Orb::Models::SubscriptionPriceIntervalsParams::Add::FixedFeeQuantityTransition,
241
+ Orb::Internal::AnyHash
242
+ )
243
+ ]
229
244
  ),
230
245
  maximum_amount: T.nilable(Float),
231
246
  minimum_amount: T.nilable(Float),
232
247
  price: T.nilable(
233
248
  T.any(
234
249
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice,
235
- Orb::Util::AnyHash,
250
+ Orb::Internal::AnyHash,
236
251
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice,
237
252
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice,
238
253
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice,
@@ -347,14 +362,14 @@ module Orb
347
362
  # The start date of the price interval. This is the date that the price will start
348
363
  # billing on the subscription.
349
364
  module StartDate
350
- extend Orb::Union
365
+ extend Orb::Internal::Type::Union
351
366
 
352
367
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
353
368
  def self.variants
354
369
  end
355
370
  end
356
371
 
357
- class AllocationPrice < Orb::BaseModel
372
+ class AllocationPrice < Orb::Internal::Type::BaseModel
358
373
  # An amount of the currency to allocate to the customer at the specified cadence.
359
374
  sig { returns(String) }
360
375
  attr_accessor :amount
@@ -402,7 +417,7 @@ module Orb
402
417
 
403
418
  # The cadence at which to allocate the amount to the customer.
404
419
  module Cadence
405
- extend Orb::Enum
420
+ extend Orb::Internal::Type::Enum
406
421
 
407
422
  TaggedSymbol =
408
423
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::AllocationPrice::Cadence) }
@@ -452,9 +467,9 @@ module Orb
452
467
  end
453
468
 
454
469
  module Discount
455
- extend Orb::Union
470
+ extend Orb::Internal::Type::Union
456
471
 
457
- class AmountDiscountCreationParams < Orb::BaseModel
472
+ class AmountDiscountCreationParams < Orb::Internal::Type::BaseModel
458
473
  # Only available if discount_type is `amount`.
459
474
  sig { returns(Float) }
460
475
  attr_accessor :amount_discount
@@ -471,7 +486,7 @@ module Orb
471
486
  end
472
487
  end
473
488
 
474
- class PercentageDiscountCreationParams < Orb::BaseModel
489
+ class PercentageDiscountCreationParams < Orb::Internal::Type::BaseModel
475
490
  sig { returns(Symbol) }
476
491
  attr_accessor :discount_type
477
492
 
@@ -489,7 +504,7 @@ module Orb
489
504
  end
490
505
  end
491
506
 
492
- class UsageDiscountCreationParams < Orb::BaseModel
507
+ class UsageDiscountCreationParams < Orb::Internal::Type::BaseModel
493
508
  sig { returns(Symbol) }
494
509
  attr_accessor :discount_type
495
510
 
@@ -520,14 +535,14 @@ module Orb
520
535
  # The end date of the price interval. This is the date that the price will stop
521
536
  # billing on the subscription.
522
537
  module EndDate
523
- extend Orb::Union
538
+ extend Orb::Internal::Type::Union
524
539
 
525
540
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
526
541
  def self.variants
527
542
  end
528
543
  end
529
544
 
530
- class FixedFeeQuantityTransition < Orb::BaseModel
545
+ class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
531
546
  # The date that the fixed fee quantity transition should take effect.
532
547
  sig { returns(Time) }
533
548
  attr_accessor :effective_date
@@ -547,9 +562,9 @@ module Orb
547
562
 
548
563
  # The definition of a new price to create and add to the subscription.
549
564
  module Price
550
- extend Orb::Union
565
+ extend Orb::Internal::Type::Union
551
566
 
552
- class NewFloatingUnitPrice < Orb::BaseModel
567
+ class NewFloatingUnitPrice < Orb::Internal::Type::BaseModel
553
568
  # The cadence to bill for this price on.
554
569
  sig do
555
570
  returns(
@@ -580,7 +595,7 @@ module Orb
580
595
  params(
581
596
  unit_config: T.any(
582
597
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::UnitConfig,
583
- Orb::Util::AnyHash
598
+ Orb::Internal::AnyHash
584
599
  )
585
600
  )
586
601
  .void
@@ -613,7 +628,7 @@ module Orb
613
628
  billing_cycle_configuration: T.nilable(
614
629
  T.any(
615
630
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::BillingCycleConfiguration,
616
- Orb::Util::AnyHash
631
+ Orb::Internal::AnyHash
617
632
  )
618
633
  )
619
634
  )
@@ -654,7 +669,7 @@ module Orb
654
669
  invoicing_cycle_configuration: T.nilable(
655
670
  T.any(
656
671
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::InvoicingCycleConfiguration,
657
- Orb::Util::AnyHash
672
+ Orb::Internal::AnyHash
658
673
  )
659
674
  )
660
675
  )
@@ -676,14 +691,14 @@ module Orb
676
691
  name: String,
677
692
  unit_config: T.any(
678
693
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::UnitConfig,
679
- Orb::Util::AnyHash
694
+ Orb::Internal::AnyHash
680
695
  ),
681
696
  billable_metric_id: T.nilable(String),
682
697
  billed_in_advance: T.nilable(T::Boolean),
683
698
  billing_cycle_configuration: T.nilable(
684
699
  T.any(
685
700
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::BillingCycleConfiguration,
686
- Orb::Util::AnyHash
701
+ Orb::Internal::AnyHash
687
702
  )
688
703
  ),
689
704
  conversion_rate: T.nilable(Float),
@@ -693,7 +708,7 @@ module Orb
693
708
  invoicing_cycle_configuration: T.nilable(
694
709
  T.any(
695
710
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::InvoicingCycleConfiguration,
696
- Orb::Util::AnyHash
711
+ Orb::Internal::AnyHash
697
712
  )
698
713
  ),
699
714
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -751,7 +766,7 @@ module Orb
751
766
 
752
767
  # The cadence to bill for this price on.
753
768
  module Cadence
754
- extend Orb::Enum
769
+ extend Orb::Internal::Type::Enum
755
770
 
756
771
  TaggedSymbol =
757
772
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitPrice::Cadence) }
@@ -805,7 +820,7 @@ module Orb
805
820
  end
806
821
  end
807
822
 
808
- class UnitConfig < Orb::BaseModel
823
+ class UnitConfig < Orb::Internal::Type::BaseModel
809
824
  # Rate per unit of usage
810
825
  sig { returns(String) }
811
826
  attr_accessor :unit_amount
@@ -819,7 +834,7 @@ module Orb
819
834
  end
820
835
  end
821
836
 
822
- class BillingCycleConfiguration < Orb::BaseModel
837
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
823
838
  # The duration of the billing period.
824
839
  sig { returns(Integer) }
825
840
  attr_accessor :duration
@@ -858,7 +873,7 @@ module Orb
858
873
 
859
874
  # The unit of billing period duration.
860
875
  module DurationUnit
861
- extend Orb::Enum
876
+ extend Orb::Internal::Type::Enum
862
877
 
863
878
  TaggedSymbol =
864
879
  T.type_alias do
@@ -897,7 +912,7 @@ module Orb
897
912
  end
898
913
  end
899
914
 
900
- class InvoicingCycleConfiguration < Orb::BaseModel
915
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
901
916
  # The duration of the billing period.
902
917
  sig { returns(Integer) }
903
918
  attr_accessor :duration
@@ -936,7 +951,7 @@ module Orb
936
951
 
937
952
  # The unit of billing period duration.
938
953
  module DurationUnit
939
- extend Orb::Enum
954
+ extend Orb::Internal::Type::Enum
940
955
 
941
956
  TaggedSymbol =
942
957
  T.type_alias do
@@ -976,7 +991,7 @@ module Orb
976
991
  end
977
992
  end
978
993
 
979
- class NewFloatingPackagePrice < Orb::BaseModel
994
+ class NewFloatingPackagePrice < Orb::Internal::Type::BaseModel
980
995
  # The cadence to bill for this price on.
981
996
  sig do
982
997
  returns(
@@ -1007,7 +1022,7 @@ module Orb
1007
1022
  params(
1008
1023
  package_config: T.any(
1009
1024
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::PackageConfig,
1010
- Orb::Util::AnyHash
1025
+ Orb::Internal::AnyHash
1011
1026
  )
1012
1027
  )
1013
1028
  .void
@@ -1040,7 +1055,7 @@ module Orb
1040
1055
  billing_cycle_configuration: T.nilable(
1041
1056
  T.any(
1042
1057
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::BillingCycleConfiguration,
1043
- Orb::Util::AnyHash
1058
+ Orb::Internal::AnyHash
1044
1059
  )
1045
1060
  )
1046
1061
  )
@@ -1081,7 +1096,7 @@ module Orb
1081
1096
  invoicing_cycle_configuration: T.nilable(
1082
1097
  T.any(
1083
1098
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::InvoicingCycleConfiguration,
1084
- Orb::Util::AnyHash
1099
+ Orb::Internal::AnyHash
1085
1100
  )
1086
1101
  )
1087
1102
  )
@@ -1103,14 +1118,14 @@ module Orb
1103
1118
  name: String,
1104
1119
  package_config: T.any(
1105
1120
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::PackageConfig,
1106
- Orb::Util::AnyHash
1121
+ Orb::Internal::AnyHash
1107
1122
  ),
1108
1123
  billable_metric_id: T.nilable(String),
1109
1124
  billed_in_advance: T.nilable(T::Boolean),
1110
1125
  billing_cycle_configuration: T.nilable(
1111
1126
  T.any(
1112
1127
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::BillingCycleConfiguration,
1113
- Orb::Util::AnyHash
1128
+ Orb::Internal::AnyHash
1114
1129
  )
1115
1130
  ),
1116
1131
  conversion_rate: T.nilable(Float),
@@ -1120,7 +1135,7 @@ module Orb
1120
1135
  invoicing_cycle_configuration: T.nilable(
1121
1136
  T.any(
1122
1137
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::InvoicingCycleConfiguration,
1123
- Orb::Util::AnyHash
1138
+ Orb::Internal::AnyHash
1124
1139
  )
1125
1140
  ),
1126
1141
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -1178,7 +1193,7 @@ module Orb
1178
1193
 
1179
1194
  # The cadence to bill for this price on.
1180
1195
  module Cadence
1181
- extend Orb::Enum
1196
+ extend Orb::Internal::Type::Enum
1182
1197
 
1183
1198
  TaggedSymbol =
1184
1199
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackagePrice::Cadence) }
@@ -1232,7 +1247,7 @@ module Orb
1232
1247
  end
1233
1248
  end
1234
1249
 
1235
- class PackageConfig < Orb::BaseModel
1250
+ class PackageConfig < Orb::Internal::Type::BaseModel
1236
1251
  # A currency amount to rate usage by
1237
1252
  sig { returns(String) }
1238
1253
  attr_accessor :package_amount
@@ -1251,7 +1266,7 @@ module Orb
1251
1266
  end
1252
1267
  end
1253
1268
 
1254
- class BillingCycleConfiguration < Orb::BaseModel
1269
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
1255
1270
  # The duration of the billing period.
1256
1271
  sig { returns(Integer) }
1257
1272
  attr_accessor :duration
@@ -1290,7 +1305,7 @@ module Orb
1290
1305
 
1291
1306
  # The unit of billing period duration.
1292
1307
  module DurationUnit
1293
- extend Orb::Enum
1308
+ extend Orb::Internal::Type::Enum
1294
1309
 
1295
1310
  TaggedSymbol =
1296
1311
  T.type_alias do
@@ -1329,7 +1344,7 @@ module Orb
1329
1344
  end
1330
1345
  end
1331
1346
 
1332
- class InvoicingCycleConfiguration < Orb::BaseModel
1347
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1333
1348
  # The duration of the billing period.
1334
1349
  sig { returns(Integer) }
1335
1350
  attr_accessor :duration
@@ -1368,7 +1383,7 @@ module Orb
1368
1383
 
1369
1384
  # The unit of billing period duration.
1370
1385
  module DurationUnit
1371
- extend Orb::Enum
1386
+ extend Orb::Internal::Type::Enum
1372
1387
 
1373
1388
  TaggedSymbol =
1374
1389
  T.type_alias do
@@ -1408,7 +1423,7 @@ module Orb
1408
1423
  end
1409
1424
  end
1410
1425
 
1411
- class NewFloatingMatrixPrice < Orb::BaseModel
1426
+ class NewFloatingMatrixPrice < Orb::Internal::Type::BaseModel
1412
1427
  # The cadence to bill for this price on.
1413
1428
  sig do
1414
1429
  returns(
@@ -1432,7 +1447,7 @@ module Orb
1432
1447
  params(
1433
1448
  matrix_config: T.any(
1434
1449
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::MatrixConfig,
1435
- Orb::Util::AnyHash
1450
+ Orb::Internal::AnyHash
1436
1451
  )
1437
1452
  )
1438
1453
  .void
@@ -1472,7 +1487,7 @@ module Orb
1472
1487
  billing_cycle_configuration: T.nilable(
1473
1488
  T.any(
1474
1489
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::BillingCycleConfiguration,
1475
- Orb::Util::AnyHash
1490
+ Orb::Internal::AnyHash
1476
1491
  )
1477
1492
  )
1478
1493
  )
@@ -1513,7 +1528,7 @@ module Orb
1513
1528
  invoicing_cycle_configuration: T.nilable(
1514
1529
  T.any(
1515
1530
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::InvoicingCycleConfiguration,
1516
- Orb::Util::AnyHash
1531
+ Orb::Internal::AnyHash
1517
1532
  )
1518
1533
  )
1519
1534
  )
@@ -1534,7 +1549,7 @@ module Orb
1534
1549
  item_id: String,
1535
1550
  matrix_config: T.any(
1536
1551
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::MatrixConfig,
1537
- Orb::Util::AnyHash
1552
+ Orb::Internal::AnyHash
1538
1553
  ),
1539
1554
  name: String,
1540
1555
  billable_metric_id: T.nilable(String),
@@ -1542,7 +1557,7 @@ module Orb
1542
1557
  billing_cycle_configuration: T.nilable(
1543
1558
  T.any(
1544
1559
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::BillingCycleConfiguration,
1545
- Orb::Util::AnyHash
1560
+ Orb::Internal::AnyHash
1546
1561
  )
1547
1562
  ),
1548
1563
  conversion_rate: T.nilable(Float),
@@ -1552,7 +1567,7 @@ module Orb
1552
1567
  invoicing_cycle_configuration: T.nilable(
1553
1568
  T.any(
1554
1569
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::InvoicingCycleConfiguration,
1555
- Orb::Util::AnyHash
1570
+ Orb::Internal::AnyHash
1556
1571
  )
1557
1572
  ),
1558
1573
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -1610,7 +1625,7 @@ module Orb
1610
1625
 
1611
1626
  # The cadence to bill for this price on.
1612
1627
  module Cadence
1613
- extend Orb::Enum
1628
+ extend Orb::Internal::Type::Enum
1614
1629
 
1615
1630
  TaggedSymbol =
1616
1631
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::Cadence) }
@@ -1664,7 +1679,7 @@ module Orb
1664
1679
  end
1665
1680
  end
1666
1681
 
1667
- class MatrixConfig < Orb::BaseModel
1682
+ class MatrixConfig < Orb::Internal::Type::BaseModel
1668
1683
  # Default per unit rate for any usage not bucketed into a specified matrix_value
1669
1684
  sig { returns(String) }
1670
1685
  attr_accessor :default_unit_amount
@@ -1690,7 +1705,7 @@ module Orb
1690
1705
  matrix_values: T::Array[
1691
1706
  T.any(
1692
1707
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixPrice::MatrixConfig::MatrixValue,
1693
- Orb::Util::AnyHash
1708
+ Orb::Internal::AnyHash
1694
1709
  )
1695
1710
  ]
1696
1711
  )
@@ -1714,7 +1729,7 @@ module Orb
1714
1729
  def to_hash
1715
1730
  end
1716
1731
 
1717
- class MatrixValue < Orb::BaseModel
1732
+ class MatrixValue < Orb::Internal::Type::BaseModel
1718
1733
  # One or two matrix keys to filter usage to this Matrix value by. For example,
1719
1734
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
1720
1735
  # instance tier.
@@ -1740,7 +1755,7 @@ module Orb
1740
1755
  end
1741
1756
  end
1742
1757
 
1743
- class BillingCycleConfiguration < Orb::BaseModel
1758
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
1744
1759
  # The duration of the billing period.
1745
1760
  sig { returns(Integer) }
1746
1761
  attr_accessor :duration
@@ -1779,7 +1794,7 @@ module Orb
1779
1794
 
1780
1795
  # The unit of billing period duration.
1781
1796
  module DurationUnit
1782
- extend Orb::Enum
1797
+ extend Orb::Internal::Type::Enum
1783
1798
 
1784
1799
  TaggedSymbol =
1785
1800
  T.type_alias do
@@ -1818,7 +1833,7 @@ module Orb
1818
1833
  end
1819
1834
  end
1820
1835
 
1821
- class InvoicingCycleConfiguration < Orb::BaseModel
1836
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
1822
1837
  # The duration of the billing period.
1823
1838
  sig { returns(Integer) }
1824
1839
  attr_accessor :duration
@@ -1857,7 +1872,7 @@ module Orb
1857
1872
 
1858
1873
  # The unit of billing period duration.
1859
1874
  module DurationUnit
1860
- extend Orb::Enum
1875
+ extend Orb::Internal::Type::Enum
1861
1876
 
1862
1877
  TaggedSymbol =
1863
1878
  T.type_alias do
@@ -1897,7 +1912,7 @@ module Orb
1897
1912
  end
1898
1913
  end
1899
1914
 
1900
- class NewFloatingMatrixWithAllocationPrice < Orb::BaseModel
1915
+ class NewFloatingMatrixWithAllocationPrice < Orb::Internal::Type::BaseModel
1901
1916
  # The cadence to bill for this price on.
1902
1917
  sig do
1903
1918
  returns(
@@ -1925,7 +1940,7 @@ module Orb
1925
1940
  params(
1926
1941
  matrix_with_allocation_config: T.any(
1927
1942
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::MatrixWithAllocationConfig,
1928
- Orb::Util::AnyHash
1943
+ Orb::Internal::AnyHash
1929
1944
  )
1930
1945
  )
1931
1946
  .void
@@ -1965,7 +1980,7 @@ module Orb
1965
1980
  billing_cycle_configuration: T.nilable(
1966
1981
  T.any(
1967
1982
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::BillingCycleConfiguration,
1968
- Orb::Util::AnyHash
1983
+ Orb::Internal::AnyHash
1969
1984
  )
1970
1985
  )
1971
1986
  )
@@ -2006,7 +2021,7 @@ module Orb
2006
2021
  invoicing_cycle_configuration: T.nilable(
2007
2022
  T.any(
2008
2023
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::InvoicingCycleConfiguration,
2009
- Orb::Util::AnyHash
2024
+ Orb::Internal::AnyHash
2010
2025
  )
2011
2026
  )
2012
2027
  )
@@ -2027,7 +2042,7 @@ module Orb
2027
2042
  item_id: String,
2028
2043
  matrix_with_allocation_config: T.any(
2029
2044
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::MatrixWithAllocationConfig,
2030
- Orb::Util::AnyHash
2045
+ Orb::Internal::AnyHash
2031
2046
  ),
2032
2047
  name: String,
2033
2048
  billable_metric_id: T.nilable(String),
@@ -2035,7 +2050,7 @@ module Orb
2035
2050
  billing_cycle_configuration: T.nilable(
2036
2051
  T.any(
2037
2052
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::BillingCycleConfiguration,
2038
- Orb::Util::AnyHash
2053
+ Orb::Internal::AnyHash
2039
2054
  )
2040
2055
  ),
2041
2056
  conversion_rate: T.nilable(Float),
@@ -2045,7 +2060,7 @@ module Orb
2045
2060
  invoicing_cycle_configuration: T.nilable(
2046
2061
  T.any(
2047
2062
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::InvoicingCycleConfiguration,
2048
- Orb::Util::AnyHash
2063
+ Orb::Internal::AnyHash
2049
2064
  )
2050
2065
  ),
2051
2066
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -2103,7 +2118,7 @@ module Orb
2103
2118
 
2104
2119
  # The cadence to bill for this price on.
2105
2120
  module Cadence
2106
- extend Orb::Enum
2121
+ extend Orb::Internal::Type::Enum
2107
2122
 
2108
2123
  TaggedSymbol =
2109
2124
  T.type_alias do
@@ -2161,7 +2176,7 @@ module Orb
2161
2176
  end
2162
2177
  end
2163
2178
 
2164
- class MatrixWithAllocationConfig < Orb::BaseModel
2179
+ class MatrixWithAllocationConfig < Orb::Internal::Type::BaseModel
2165
2180
  # Allocation to be used to calculate the price
2166
2181
  sig { returns(Float) }
2167
2182
  attr_accessor :allocation
@@ -2192,7 +2207,7 @@ module Orb
2192
2207
  matrix_values: T::Array[
2193
2208
  T.any(
2194
2209
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithAllocationPrice::MatrixWithAllocationConfig::MatrixValue,
2195
- Orb::Util::AnyHash
2210
+ Orb::Internal::AnyHash
2196
2211
  )
2197
2212
  ]
2198
2213
  )
@@ -2217,7 +2232,7 @@ module Orb
2217
2232
  def to_hash
2218
2233
  end
2219
2234
 
2220
- class MatrixValue < Orb::BaseModel
2235
+ class MatrixValue < Orb::Internal::Type::BaseModel
2221
2236
  # One or two matrix keys to filter usage to this Matrix value by. For example,
2222
2237
  # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
2223
2238
  # instance tier.
@@ -2243,7 +2258,7 @@ module Orb
2243
2258
  end
2244
2259
  end
2245
2260
 
2246
- class BillingCycleConfiguration < Orb::BaseModel
2261
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2247
2262
  # The duration of the billing period.
2248
2263
  sig { returns(Integer) }
2249
2264
  attr_accessor :duration
@@ -2282,7 +2297,7 @@ module Orb
2282
2297
 
2283
2298
  # The unit of billing period duration.
2284
2299
  module DurationUnit
2285
- extend Orb::Enum
2300
+ extend Orb::Internal::Type::Enum
2286
2301
 
2287
2302
  TaggedSymbol =
2288
2303
  T.type_alias do
@@ -2321,7 +2336,7 @@ module Orb
2321
2336
  end
2322
2337
  end
2323
2338
 
2324
- class InvoicingCycleConfiguration < Orb::BaseModel
2339
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2325
2340
  # The duration of the billing period.
2326
2341
  sig { returns(Integer) }
2327
2342
  attr_accessor :duration
@@ -2360,7 +2375,7 @@ module Orb
2360
2375
 
2361
2376
  # The unit of billing period duration.
2362
2377
  module DurationUnit
2363
- extend Orb::Enum
2378
+ extend Orb::Internal::Type::Enum
2364
2379
 
2365
2380
  TaggedSymbol =
2366
2381
  T.type_alias do
@@ -2400,7 +2415,7 @@ module Orb
2400
2415
  end
2401
2416
  end
2402
2417
 
2403
- class NewFloatingTieredPrice < Orb::BaseModel
2418
+ class NewFloatingTieredPrice < Orb::Internal::Type::BaseModel
2404
2419
  # The cadence to bill for this price on.
2405
2420
  sig do
2406
2421
  returns(
@@ -2431,7 +2446,7 @@ module Orb
2431
2446
  params(
2432
2447
  tiered_config: T.any(
2433
2448
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig,
2434
- Orb::Util::AnyHash
2449
+ Orb::Internal::AnyHash
2435
2450
  )
2436
2451
  )
2437
2452
  .void
@@ -2464,7 +2479,7 @@ module Orb
2464
2479
  billing_cycle_configuration: T.nilable(
2465
2480
  T.any(
2466
2481
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::BillingCycleConfiguration,
2467
- Orb::Util::AnyHash
2482
+ Orb::Internal::AnyHash
2468
2483
  )
2469
2484
  )
2470
2485
  )
@@ -2505,7 +2520,7 @@ module Orb
2505
2520
  invoicing_cycle_configuration: T.nilable(
2506
2521
  T.any(
2507
2522
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::InvoicingCycleConfiguration,
2508
- Orb::Util::AnyHash
2523
+ Orb::Internal::AnyHash
2509
2524
  )
2510
2525
  )
2511
2526
  )
@@ -2527,14 +2542,14 @@ module Orb
2527
2542
  name: String,
2528
2543
  tiered_config: T.any(
2529
2544
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig,
2530
- Orb::Util::AnyHash
2545
+ Orb::Internal::AnyHash
2531
2546
  ),
2532
2547
  billable_metric_id: T.nilable(String),
2533
2548
  billed_in_advance: T.nilable(T::Boolean),
2534
2549
  billing_cycle_configuration: T.nilable(
2535
2550
  T.any(
2536
2551
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::BillingCycleConfiguration,
2537
- Orb::Util::AnyHash
2552
+ Orb::Internal::AnyHash
2538
2553
  )
2539
2554
  ),
2540
2555
  conversion_rate: T.nilable(Float),
@@ -2544,7 +2559,7 @@ module Orb
2544
2559
  invoicing_cycle_configuration: T.nilable(
2545
2560
  T.any(
2546
2561
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::InvoicingCycleConfiguration,
2547
- Orb::Util::AnyHash
2562
+ Orb::Internal::AnyHash
2548
2563
  )
2549
2564
  ),
2550
2565
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -2602,7 +2617,7 @@ module Orb
2602
2617
 
2603
2618
  # The cadence to bill for this price on.
2604
2619
  module Cadence
2605
- extend Orb::Enum
2620
+ extend Orb::Internal::Type::Enum
2606
2621
 
2607
2622
  TaggedSymbol =
2608
2623
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::Cadence) }
@@ -2656,7 +2671,7 @@ module Orb
2656
2671
  end
2657
2672
  end
2658
2673
 
2659
- class TieredConfig < Orb::BaseModel
2674
+ class TieredConfig < Orb::Internal::Type::BaseModel
2660
2675
  # Tiers for rating based on total usage quantities into the specified tier
2661
2676
  sig do
2662
2677
  returns(
@@ -2670,7 +2685,7 @@ module Orb
2670
2685
  tiers: T::Array[
2671
2686
  T.any(
2672
2687
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPrice::TieredConfig::Tier,
2673
- Orb::Util::AnyHash
2688
+ Orb::Internal::AnyHash
2674
2689
  )
2675
2690
  ]
2676
2691
  )
@@ -2690,7 +2705,7 @@ module Orb
2690
2705
  def to_hash
2691
2706
  end
2692
2707
 
2693
- class Tier < Orb::BaseModel
2708
+ class Tier < Orb::Internal::Type::BaseModel
2694
2709
  # Inclusive tier starting value
2695
2710
  sig { returns(Float) }
2696
2711
  attr_accessor :first_unit
@@ -2721,7 +2736,7 @@ module Orb
2721
2736
  end
2722
2737
  end
2723
2738
 
2724
- class BillingCycleConfiguration < Orb::BaseModel
2739
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
2725
2740
  # The duration of the billing period.
2726
2741
  sig { returns(Integer) }
2727
2742
  attr_accessor :duration
@@ -2760,7 +2775,7 @@ module Orb
2760
2775
 
2761
2776
  # The unit of billing period duration.
2762
2777
  module DurationUnit
2763
- extend Orb::Enum
2778
+ extend Orb::Internal::Type::Enum
2764
2779
 
2765
2780
  TaggedSymbol =
2766
2781
  T.type_alias do
@@ -2799,7 +2814,7 @@ module Orb
2799
2814
  end
2800
2815
  end
2801
2816
 
2802
- class InvoicingCycleConfiguration < Orb::BaseModel
2817
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
2803
2818
  # The duration of the billing period.
2804
2819
  sig { returns(Integer) }
2805
2820
  attr_accessor :duration
@@ -2838,7 +2853,7 @@ module Orb
2838
2853
 
2839
2854
  # The unit of billing period duration.
2840
2855
  module DurationUnit
2841
- extend Orb::Enum
2856
+ extend Orb::Internal::Type::Enum
2842
2857
 
2843
2858
  TaggedSymbol =
2844
2859
  T.type_alias do
@@ -2878,7 +2893,7 @@ module Orb
2878
2893
  end
2879
2894
  end
2880
2895
 
2881
- class NewFloatingTieredBpsPrice < Orb::BaseModel
2896
+ class NewFloatingTieredBpsPrice < Orb::Internal::Type::BaseModel
2882
2897
  # The cadence to bill for this price on.
2883
2898
  sig do
2884
2899
  returns(
@@ -2913,7 +2928,7 @@ module Orb
2913
2928
  params(
2914
2929
  tiered_bps_config: T.any(
2915
2930
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::TieredBpsConfig,
2916
- Orb::Util::AnyHash
2931
+ Orb::Internal::AnyHash
2917
2932
  )
2918
2933
  )
2919
2934
  .void
@@ -2946,7 +2961,7 @@ module Orb
2946
2961
  billing_cycle_configuration: T.nilable(
2947
2962
  T.any(
2948
2963
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::BillingCycleConfiguration,
2949
- Orb::Util::AnyHash
2964
+ Orb::Internal::AnyHash
2950
2965
  )
2951
2966
  )
2952
2967
  )
@@ -2987,7 +3002,7 @@ module Orb
2987
3002
  invoicing_cycle_configuration: T.nilable(
2988
3003
  T.any(
2989
3004
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::InvoicingCycleConfiguration,
2990
- Orb::Util::AnyHash
3005
+ Orb::Internal::AnyHash
2991
3006
  )
2992
3007
  )
2993
3008
  )
@@ -3009,14 +3024,14 @@ module Orb
3009
3024
  name: String,
3010
3025
  tiered_bps_config: T.any(
3011
3026
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::TieredBpsConfig,
3012
- Orb::Util::AnyHash
3027
+ Orb::Internal::AnyHash
3013
3028
  ),
3014
3029
  billable_metric_id: T.nilable(String),
3015
3030
  billed_in_advance: T.nilable(T::Boolean),
3016
3031
  billing_cycle_configuration: T.nilable(
3017
3032
  T.any(
3018
3033
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::BillingCycleConfiguration,
3019
- Orb::Util::AnyHash
3034
+ Orb::Internal::AnyHash
3020
3035
  )
3021
3036
  ),
3022
3037
  conversion_rate: T.nilable(Float),
@@ -3026,7 +3041,7 @@ module Orb
3026
3041
  invoicing_cycle_configuration: T.nilable(
3027
3042
  T.any(
3028
3043
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::InvoicingCycleConfiguration,
3029
- Orb::Util::AnyHash
3044
+ Orb::Internal::AnyHash
3030
3045
  )
3031
3046
  ),
3032
3047
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -3084,7 +3099,7 @@ module Orb
3084
3099
 
3085
3100
  # The cadence to bill for this price on.
3086
3101
  module Cadence
3087
- extend Orb::Enum
3102
+ extend Orb::Internal::Type::Enum
3088
3103
 
3089
3104
  TaggedSymbol =
3090
3105
  T.type_alias do
@@ -3142,7 +3157,7 @@ module Orb
3142
3157
  end
3143
3158
  end
3144
3159
 
3145
- class TieredBpsConfig < Orb::BaseModel
3160
+ class TieredBpsConfig < Orb::Internal::Type::BaseModel
3146
3161
  # Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
3147
3162
  # tiers
3148
3163
  sig do
@@ -3159,7 +3174,7 @@ module Orb
3159
3174
  tiers: T::Array[
3160
3175
  T.any(
3161
3176
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredBpsPrice::TieredBpsConfig::Tier,
3162
- Orb::Util::AnyHash
3177
+ Orb::Internal::AnyHash
3163
3178
  )
3164
3179
  ]
3165
3180
  )
@@ -3181,7 +3196,7 @@ module Orb
3181
3196
  def to_hash
3182
3197
  end
3183
3198
 
3184
- class Tier < Orb::BaseModel
3199
+ class Tier < Orb::Internal::Type::BaseModel
3185
3200
  # Per-event basis point rate
3186
3201
  sig { returns(Float) }
3187
3202
  attr_accessor :bps
@@ -3226,7 +3241,7 @@ module Orb
3226
3241
  end
3227
3242
  end
3228
3243
 
3229
- class BillingCycleConfiguration < Orb::BaseModel
3244
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3230
3245
  # The duration of the billing period.
3231
3246
  sig { returns(Integer) }
3232
3247
  attr_accessor :duration
@@ -3265,7 +3280,7 @@ module Orb
3265
3280
 
3266
3281
  # The unit of billing period duration.
3267
3282
  module DurationUnit
3268
- extend Orb::Enum
3283
+ extend Orb::Internal::Type::Enum
3269
3284
 
3270
3285
  TaggedSymbol =
3271
3286
  T.type_alias do
@@ -3304,7 +3319,7 @@ module Orb
3304
3319
  end
3305
3320
  end
3306
3321
 
3307
- class InvoicingCycleConfiguration < Orb::BaseModel
3322
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3308
3323
  # The duration of the billing period.
3309
3324
  sig { returns(Integer) }
3310
3325
  attr_accessor :duration
@@ -3343,7 +3358,7 @@ module Orb
3343
3358
 
3344
3359
  # The unit of billing period duration.
3345
3360
  module DurationUnit
3346
- extend Orb::Enum
3361
+ extend Orb::Internal::Type::Enum
3347
3362
 
3348
3363
  TaggedSymbol =
3349
3364
  T.type_alias do
@@ -3383,7 +3398,7 @@ module Orb
3383
3398
  end
3384
3399
  end
3385
3400
 
3386
- class NewFloatingBpsPrice < Orb::BaseModel
3401
+ class NewFloatingBpsPrice < Orb::Internal::Type::BaseModel
3387
3402
  sig { returns(Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BpsConfig) }
3388
3403
  attr_reader :bps_config
3389
3404
 
@@ -3391,7 +3406,7 @@ module Orb
3391
3406
  params(
3392
3407
  bps_config: T.any(
3393
3408
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BpsConfig,
3394
- Orb::Util::AnyHash
3409
+ Orb::Internal::AnyHash
3395
3410
  )
3396
3411
  )
3397
3412
  .void
@@ -3443,7 +3458,7 @@ module Orb
3443
3458
  billing_cycle_configuration: T.nilable(
3444
3459
  T.any(
3445
3460
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BillingCycleConfiguration,
3446
- Orb::Util::AnyHash
3461
+ Orb::Internal::AnyHash
3447
3462
  )
3448
3463
  )
3449
3464
  )
@@ -3484,7 +3499,7 @@ module Orb
3484
3499
  invoicing_cycle_configuration: T.nilable(
3485
3500
  T.any(
3486
3501
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::InvoicingCycleConfiguration,
3487
- Orb::Util::AnyHash
3502
+ Orb::Internal::AnyHash
3488
3503
  )
3489
3504
  )
3490
3505
  )
@@ -3502,7 +3517,7 @@ module Orb
3502
3517
  params(
3503
3518
  bps_config: T.any(
3504
3519
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BpsConfig,
3505
- Orb::Util::AnyHash
3520
+ Orb::Internal::AnyHash
3506
3521
  ),
3507
3522
  cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::Cadence::OrSymbol,
3508
3523
  currency: String,
@@ -3513,7 +3528,7 @@ module Orb
3513
3528
  billing_cycle_configuration: T.nilable(
3514
3529
  T.any(
3515
3530
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::BillingCycleConfiguration,
3516
- Orb::Util::AnyHash
3531
+ Orb::Internal::AnyHash
3517
3532
  )
3518
3533
  ),
3519
3534
  conversion_rate: T.nilable(Float),
@@ -3523,7 +3538,7 @@ module Orb
3523
3538
  invoicing_cycle_configuration: T.nilable(
3524
3539
  T.any(
3525
3540
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::InvoicingCycleConfiguration,
3526
- Orb::Util::AnyHash
3541
+ Orb::Internal::AnyHash
3527
3542
  )
3528
3543
  ),
3529
3544
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -3579,7 +3594,7 @@ module Orb
3579
3594
  def to_hash
3580
3595
  end
3581
3596
 
3582
- class BpsConfig < Orb::BaseModel
3597
+ class BpsConfig < Orb::Internal::Type::BaseModel
3583
3598
  # Basis point take rate per event
3584
3599
  sig { returns(Float) }
3585
3600
  attr_accessor :bps
@@ -3599,7 +3614,7 @@ module Orb
3599
3614
 
3600
3615
  # The cadence to bill for this price on.
3601
3616
  module Cadence
3602
- extend Orb::Enum
3617
+ extend Orb::Internal::Type::Enum
3603
3618
 
3604
3619
  TaggedSymbol =
3605
3620
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBpsPrice::Cadence) }
@@ -3653,7 +3668,7 @@ module Orb
3653
3668
  end
3654
3669
  end
3655
3670
 
3656
- class BillingCycleConfiguration < Orb::BaseModel
3671
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
3657
3672
  # The duration of the billing period.
3658
3673
  sig { returns(Integer) }
3659
3674
  attr_accessor :duration
@@ -3692,7 +3707,7 @@ module Orb
3692
3707
 
3693
3708
  # The unit of billing period duration.
3694
3709
  module DurationUnit
3695
- extend Orb::Enum
3710
+ extend Orb::Internal::Type::Enum
3696
3711
 
3697
3712
  TaggedSymbol =
3698
3713
  T.type_alias do
@@ -3731,7 +3746,7 @@ module Orb
3731
3746
  end
3732
3747
  end
3733
3748
 
3734
- class InvoicingCycleConfiguration < Orb::BaseModel
3749
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
3735
3750
  # The duration of the billing period.
3736
3751
  sig { returns(Integer) }
3737
3752
  attr_accessor :duration
@@ -3770,7 +3785,7 @@ module Orb
3770
3785
 
3771
3786
  # The unit of billing period duration.
3772
3787
  module DurationUnit
3773
- extend Orb::Enum
3788
+ extend Orb::Internal::Type::Enum
3774
3789
 
3775
3790
  TaggedSymbol =
3776
3791
  T.type_alias do
@@ -3810,7 +3825,7 @@ module Orb
3810
3825
  end
3811
3826
  end
3812
3827
 
3813
- class NewFloatingBulkBpsPrice < Orb::BaseModel
3828
+ class NewFloatingBulkBpsPrice < Orb::Internal::Type::BaseModel
3814
3829
  sig { returns(Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig) }
3815
3830
  attr_reader :bulk_bps_config
3816
3831
 
@@ -3818,7 +3833,7 @@ module Orb
3818
3833
  params(
3819
3834
  bulk_bps_config: T.any(
3820
3835
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig,
3821
- Orb::Util::AnyHash
3836
+ Orb::Internal::AnyHash
3822
3837
  )
3823
3838
  )
3824
3839
  .void
@@ -3874,7 +3889,7 @@ module Orb
3874
3889
  billing_cycle_configuration: T.nilable(
3875
3890
  T.any(
3876
3891
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BillingCycleConfiguration,
3877
- Orb::Util::AnyHash
3892
+ Orb::Internal::AnyHash
3878
3893
  )
3879
3894
  )
3880
3895
  )
@@ -3915,7 +3930,7 @@ module Orb
3915
3930
  invoicing_cycle_configuration: T.nilable(
3916
3931
  T.any(
3917
3932
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::InvoicingCycleConfiguration,
3918
- Orb::Util::AnyHash
3933
+ Orb::Internal::AnyHash
3919
3934
  )
3920
3935
  )
3921
3936
  )
@@ -3933,7 +3948,7 @@ module Orb
3933
3948
  params(
3934
3949
  bulk_bps_config: T.any(
3935
3950
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig,
3936
- Orb::Util::AnyHash
3951
+ Orb::Internal::AnyHash
3937
3952
  ),
3938
3953
  cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::Cadence::OrSymbol,
3939
3954
  currency: String,
@@ -3944,7 +3959,7 @@ module Orb
3944
3959
  billing_cycle_configuration: T.nilable(
3945
3960
  T.any(
3946
3961
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BillingCycleConfiguration,
3947
- Orb::Util::AnyHash
3962
+ Orb::Internal::AnyHash
3948
3963
  )
3949
3964
  ),
3950
3965
  conversion_rate: T.nilable(Float),
@@ -3954,7 +3969,7 @@ module Orb
3954
3969
  invoicing_cycle_configuration: T.nilable(
3955
3970
  T.any(
3956
3971
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::InvoicingCycleConfiguration,
3957
- Orb::Util::AnyHash
3972
+ Orb::Internal::AnyHash
3958
3973
  )
3959
3974
  ),
3960
3975
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -4010,7 +4025,7 @@ module Orb
4010
4025
  def to_hash
4011
4026
  end
4012
4027
 
4013
- class BulkBpsConfig < Orb::BaseModel
4028
+ class BulkBpsConfig < Orb::Internal::Type::BaseModel
4014
4029
  # Tiers for a bulk BPS pricing model where all usage is aggregated to a single
4015
4030
  # tier based on total volume
4016
4031
  sig do
@@ -4025,7 +4040,7 @@ module Orb
4025
4040
  tiers: T::Array[
4026
4041
  T.any(
4027
4042
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::BulkBpsConfig::Tier,
4028
- Orb::Util::AnyHash
4043
+ Orb::Internal::AnyHash
4029
4044
  )
4030
4045
  ]
4031
4046
  )
@@ -4045,7 +4060,7 @@ module Orb
4045
4060
  def to_hash
4046
4061
  end
4047
4062
 
4048
- class Tier < Orb::BaseModel
4063
+ class Tier < Orb::Internal::Type::BaseModel
4049
4064
  # Basis points to rate on
4050
4065
  sig { returns(Float) }
4051
4066
  attr_accessor :bps
@@ -4081,7 +4096,7 @@ module Orb
4081
4096
 
4082
4097
  # The cadence to bill for this price on.
4083
4098
  module Cadence
4084
- extend Orb::Enum
4099
+ extend Orb::Internal::Type::Enum
4085
4100
 
4086
4101
  TaggedSymbol =
4087
4102
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkBpsPrice::Cadence) }
@@ -4135,7 +4150,7 @@ module Orb
4135
4150
  end
4136
4151
  end
4137
4152
 
4138
- class BillingCycleConfiguration < Orb::BaseModel
4153
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4139
4154
  # The duration of the billing period.
4140
4155
  sig { returns(Integer) }
4141
4156
  attr_accessor :duration
@@ -4174,7 +4189,7 @@ module Orb
4174
4189
 
4175
4190
  # The unit of billing period duration.
4176
4191
  module DurationUnit
4177
- extend Orb::Enum
4192
+ extend Orb::Internal::Type::Enum
4178
4193
 
4179
4194
  TaggedSymbol =
4180
4195
  T.type_alias do
@@ -4213,7 +4228,7 @@ module Orb
4213
4228
  end
4214
4229
  end
4215
4230
 
4216
- class InvoicingCycleConfiguration < Orb::BaseModel
4231
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4217
4232
  # The duration of the billing period.
4218
4233
  sig { returns(Integer) }
4219
4234
  attr_accessor :duration
@@ -4252,7 +4267,7 @@ module Orb
4252
4267
 
4253
4268
  # The unit of billing period duration.
4254
4269
  module DurationUnit
4255
- extend Orb::Enum
4270
+ extend Orb::Internal::Type::Enum
4256
4271
 
4257
4272
  TaggedSymbol =
4258
4273
  T.type_alias do
@@ -4292,7 +4307,7 @@ module Orb
4292
4307
  end
4293
4308
  end
4294
4309
 
4295
- class NewFloatingBulkPrice < Orb::BaseModel
4310
+ class NewFloatingBulkPrice < Orb::Internal::Type::BaseModel
4296
4311
  sig { returns(Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig) }
4297
4312
  attr_reader :bulk_config
4298
4313
 
@@ -4300,7 +4315,7 @@ module Orb
4300
4315
  params(
4301
4316
  bulk_config: T.any(
4302
4317
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig,
4303
- Orb::Util::AnyHash
4318
+ Orb::Internal::AnyHash
4304
4319
  )
4305
4320
  )
4306
4321
  .void
@@ -4356,7 +4371,7 @@ module Orb
4356
4371
  billing_cycle_configuration: T.nilable(
4357
4372
  T.any(
4358
4373
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BillingCycleConfiguration,
4359
- Orb::Util::AnyHash
4374
+ Orb::Internal::AnyHash
4360
4375
  )
4361
4376
  )
4362
4377
  )
@@ -4397,7 +4412,7 @@ module Orb
4397
4412
  invoicing_cycle_configuration: T.nilable(
4398
4413
  T.any(
4399
4414
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::InvoicingCycleConfiguration,
4400
- Orb::Util::AnyHash
4415
+ Orb::Internal::AnyHash
4401
4416
  )
4402
4417
  )
4403
4418
  )
@@ -4415,7 +4430,7 @@ module Orb
4415
4430
  params(
4416
4431
  bulk_config: T.any(
4417
4432
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig,
4418
- Orb::Util::AnyHash
4433
+ Orb::Internal::AnyHash
4419
4434
  ),
4420
4435
  cadence: Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::Cadence::OrSymbol,
4421
4436
  currency: String,
@@ -4426,7 +4441,7 @@ module Orb
4426
4441
  billing_cycle_configuration: T.nilable(
4427
4442
  T.any(
4428
4443
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BillingCycleConfiguration,
4429
- Orb::Util::AnyHash
4444
+ Orb::Internal::AnyHash
4430
4445
  )
4431
4446
  ),
4432
4447
  conversion_rate: T.nilable(Float),
@@ -4436,7 +4451,7 @@ module Orb
4436
4451
  invoicing_cycle_configuration: T.nilable(
4437
4452
  T.any(
4438
4453
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::InvoicingCycleConfiguration,
4439
- Orb::Util::AnyHash
4454
+ Orb::Internal::AnyHash
4440
4455
  )
4441
4456
  ),
4442
4457
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -4492,7 +4507,7 @@ module Orb
4492
4507
  def to_hash
4493
4508
  end
4494
4509
 
4495
- class BulkConfig < Orb::BaseModel
4510
+ class BulkConfig < Orb::Internal::Type::BaseModel
4496
4511
  # Bulk tiers for rating based on total usage volume
4497
4512
  sig do
4498
4513
  returns(
@@ -4506,7 +4521,7 @@ module Orb
4506
4521
  tiers: T::Array[
4507
4522
  T.any(
4508
4523
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::BulkConfig::Tier,
4509
- Orb::Util::AnyHash
4524
+ Orb::Internal::AnyHash
4510
4525
  )
4511
4526
  ]
4512
4527
  )
@@ -4526,7 +4541,7 @@ module Orb
4526
4541
  def to_hash
4527
4542
  end
4528
4543
 
4529
- class Tier < Orb::BaseModel
4544
+ class Tier < Orb::Internal::Type::BaseModel
4530
4545
  # Amount per unit
4531
4546
  sig { returns(String) }
4532
4547
  attr_accessor :unit_amount
@@ -4547,7 +4562,7 @@ module Orb
4547
4562
 
4548
4563
  # The cadence to bill for this price on.
4549
4564
  module Cadence
4550
- extend Orb::Enum
4565
+ extend Orb::Internal::Type::Enum
4551
4566
 
4552
4567
  TaggedSymbol =
4553
4568
  T.type_alias { T.all(Symbol, Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkPrice::Cadence) }
@@ -4601,7 +4616,7 @@ module Orb
4601
4616
  end
4602
4617
  end
4603
4618
 
4604
- class BillingCycleConfiguration < Orb::BaseModel
4619
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
4605
4620
  # The duration of the billing period.
4606
4621
  sig { returns(Integer) }
4607
4622
  attr_accessor :duration
@@ -4640,7 +4655,7 @@ module Orb
4640
4655
 
4641
4656
  # The unit of billing period duration.
4642
4657
  module DurationUnit
4643
- extend Orb::Enum
4658
+ extend Orb::Internal::Type::Enum
4644
4659
 
4645
4660
  TaggedSymbol =
4646
4661
  T.type_alias do
@@ -4679,7 +4694,7 @@ module Orb
4679
4694
  end
4680
4695
  end
4681
4696
 
4682
- class InvoicingCycleConfiguration < Orb::BaseModel
4697
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
4683
4698
  # The duration of the billing period.
4684
4699
  sig { returns(Integer) }
4685
4700
  attr_accessor :duration
@@ -4718,7 +4733,7 @@ module Orb
4718
4733
 
4719
4734
  # The unit of billing period duration.
4720
4735
  module DurationUnit
4721
- extend Orb::Enum
4736
+ extend Orb::Internal::Type::Enum
4722
4737
 
4723
4738
  TaggedSymbol =
4724
4739
  T.type_alias do
@@ -4758,7 +4773,7 @@ module Orb
4758
4773
  end
4759
4774
  end
4760
4775
 
4761
- class NewFloatingThresholdTotalAmountPrice < Orb::BaseModel
4776
+ class NewFloatingThresholdTotalAmountPrice < Orb::Internal::Type::BaseModel
4762
4777
  # The cadence to bill for this price on.
4763
4778
  sig do
4764
4779
  returns(
@@ -4811,7 +4826,7 @@ module Orb
4811
4826
  billing_cycle_configuration: T.nilable(
4812
4827
  T.any(
4813
4828
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::BillingCycleConfiguration,
4814
- Orb::Util::AnyHash
4829
+ Orb::Internal::AnyHash
4815
4830
  )
4816
4831
  )
4817
4832
  )
@@ -4852,7 +4867,7 @@ module Orb
4852
4867
  invoicing_cycle_configuration: T.nilable(
4853
4868
  T.any(
4854
4869
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::InvoicingCycleConfiguration,
4855
- Orb::Util::AnyHash
4870
+ Orb::Internal::AnyHash
4856
4871
  )
4857
4872
  )
4858
4873
  )
@@ -4878,7 +4893,7 @@ module Orb
4878
4893
  billing_cycle_configuration: T.nilable(
4879
4894
  T.any(
4880
4895
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::BillingCycleConfiguration,
4881
- Orb::Util::AnyHash
4896
+ Orb::Internal::AnyHash
4882
4897
  )
4883
4898
  ),
4884
4899
  conversion_rate: T.nilable(Float),
@@ -4888,7 +4903,7 @@ module Orb
4888
4903
  invoicing_cycle_configuration: T.nilable(
4889
4904
  T.any(
4890
4905
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingThresholdTotalAmountPrice::InvoicingCycleConfiguration,
4891
- Orb::Util::AnyHash
4906
+ Orb::Internal::AnyHash
4892
4907
  )
4893
4908
  ),
4894
4909
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -4946,7 +4961,7 @@ module Orb
4946
4961
 
4947
4962
  # The cadence to bill for this price on.
4948
4963
  module Cadence
4949
- extend Orb::Enum
4964
+ extend Orb::Internal::Type::Enum
4950
4965
 
4951
4966
  TaggedSymbol =
4952
4967
  T.type_alias do
@@ -5004,7 +5019,7 @@ module Orb
5004
5019
  end
5005
5020
  end
5006
5021
 
5007
- class BillingCycleConfiguration < Orb::BaseModel
5022
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5008
5023
  # The duration of the billing period.
5009
5024
  sig { returns(Integer) }
5010
5025
  attr_accessor :duration
@@ -5043,7 +5058,7 @@ module Orb
5043
5058
 
5044
5059
  # The unit of billing period duration.
5045
5060
  module DurationUnit
5046
- extend Orb::Enum
5061
+ extend Orb::Internal::Type::Enum
5047
5062
 
5048
5063
  TaggedSymbol =
5049
5064
  T.type_alias do
@@ -5082,7 +5097,7 @@ module Orb
5082
5097
  end
5083
5098
  end
5084
5099
 
5085
- class InvoicingCycleConfiguration < Orb::BaseModel
5100
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5086
5101
  # The duration of the billing period.
5087
5102
  sig { returns(Integer) }
5088
5103
  attr_accessor :duration
@@ -5121,7 +5136,7 @@ module Orb
5121
5136
 
5122
5137
  # The unit of billing period duration.
5123
5138
  module DurationUnit
5124
- extend Orb::Enum
5139
+ extend Orb::Internal::Type::Enum
5125
5140
 
5126
5141
  TaggedSymbol =
5127
5142
  T.type_alias do
@@ -5161,7 +5176,7 @@ module Orb
5161
5176
  end
5162
5177
  end
5163
5178
 
5164
- class NewFloatingTieredPackagePrice < Orb::BaseModel
5179
+ class NewFloatingTieredPackagePrice < Orb::Internal::Type::BaseModel
5165
5180
  # The cadence to bill for this price on.
5166
5181
  sig do
5167
5182
  returns(
@@ -5214,7 +5229,7 @@ module Orb
5214
5229
  billing_cycle_configuration: T.nilable(
5215
5230
  T.any(
5216
5231
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::BillingCycleConfiguration,
5217
- Orb::Util::AnyHash
5232
+ Orb::Internal::AnyHash
5218
5233
  )
5219
5234
  )
5220
5235
  )
@@ -5255,7 +5270,7 @@ module Orb
5255
5270
  invoicing_cycle_configuration: T.nilable(
5256
5271
  T.any(
5257
5272
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::InvoicingCycleConfiguration,
5258
- Orb::Util::AnyHash
5273
+ Orb::Internal::AnyHash
5259
5274
  )
5260
5275
  )
5261
5276
  )
@@ -5281,7 +5296,7 @@ module Orb
5281
5296
  billing_cycle_configuration: T.nilable(
5282
5297
  T.any(
5283
5298
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::BillingCycleConfiguration,
5284
- Orb::Util::AnyHash
5299
+ Orb::Internal::AnyHash
5285
5300
  )
5286
5301
  ),
5287
5302
  conversion_rate: T.nilable(Float),
@@ -5291,7 +5306,7 @@ module Orb
5291
5306
  invoicing_cycle_configuration: T.nilable(
5292
5307
  T.any(
5293
5308
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackagePrice::InvoicingCycleConfiguration,
5294
- Orb::Util::AnyHash
5309
+ Orb::Internal::AnyHash
5295
5310
  )
5296
5311
  ),
5297
5312
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -5349,7 +5364,7 @@ module Orb
5349
5364
 
5350
5365
  # The cadence to bill for this price on.
5351
5366
  module Cadence
5352
- extend Orb::Enum
5367
+ extend Orb::Internal::Type::Enum
5353
5368
 
5354
5369
  TaggedSymbol =
5355
5370
  T.type_alias do
@@ -5407,7 +5422,7 @@ module Orb
5407
5422
  end
5408
5423
  end
5409
5424
 
5410
- class BillingCycleConfiguration < Orb::BaseModel
5425
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5411
5426
  # The duration of the billing period.
5412
5427
  sig { returns(Integer) }
5413
5428
  attr_accessor :duration
@@ -5446,7 +5461,7 @@ module Orb
5446
5461
 
5447
5462
  # The unit of billing period duration.
5448
5463
  module DurationUnit
5449
- extend Orb::Enum
5464
+ extend Orb::Internal::Type::Enum
5450
5465
 
5451
5466
  TaggedSymbol =
5452
5467
  T.type_alias do
@@ -5485,7 +5500,7 @@ module Orb
5485
5500
  end
5486
5501
  end
5487
5502
 
5488
- class InvoicingCycleConfiguration < Orb::BaseModel
5503
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5489
5504
  # The duration of the billing period.
5490
5505
  sig { returns(Integer) }
5491
5506
  attr_accessor :duration
@@ -5524,7 +5539,7 @@ module Orb
5524
5539
 
5525
5540
  # The unit of billing period duration.
5526
5541
  module DurationUnit
5527
- extend Orb::Enum
5542
+ extend Orb::Internal::Type::Enum
5528
5543
 
5529
5544
  TaggedSymbol =
5530
5545
  T.type_alias do
@@ -5564,7 +5579,7 @@ module Orb
5564
5579
  end
5565
5580
  end
5566
5581
 
5567
- class NewFloatingGroupedTieredPrice < Orb::BaseModel
5582
+ class NewFloatingGroupedTieredPrice < Orb::Internal::Type::BaseModel
5568
5583
  # The cadence to bill for this price on.
5569
5584
  sig do
5570
5585
  returns(
@@ -5617,7 +5632,7 @@ module Orb
5617
5632
  billing_cycle_configuration: T.nilable(
5618
5633
  T.any(
5619
5634
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::BillingCycleConfiguration,
5620
- Orb::Util::AnyHash
5635
+ Orb::Internal::AnyHash
5621
5636
  )
5622
5637
  )
5623
5638
  )
@@ -5658,7 +5673,7 @@ module Orb
5658
5673
  invoicing_cycle_configuration: T.nilable(
5659
5674
  T.any(
5660
5675
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::InvoicingCycleConfiguration,
5661
- Orb::Util::AnyHash
5676
+ Orb::Internal::AnyHash
5662
5677
  )
5663
5678
  )
5664
5679
  )
@@ -5684,7 +5699,7 @@ module Orb
5684
5699
  billing_cycle_configuration: T.nilable(
5685
5700
  T.any(
5686
5701
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::BillingCycleConfiguration,
5687
- Orb::Util::AnyHash
5702
+ Orb::Internal::AnyHash
5688
5703
  )
5689
5704
  ),
5690
5705
  conversion_rate: T.nilable(Float),
@@ -5694,7 +5709,7 @@ module Orb
5694
5709
  invoicing_cycle_configuration: T.nilable(
5695
5710
  T.any(
5696
5711
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPrice::InvoicingCycleConfiguration,
5697
- Orb::Util::AnyHash
5712
+ Orb::Internal::AnyHash
5698
5713
  )
5699
5714
  ),
5700
5715
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -5752,7 +5767,7 @@ module Orb
5752
5767
 
5753
5768
  # The cadence to bill for this price on.
5754
5769
  module Cadence
5755
- extend Orb::Enum
5770
+ extend Orb::Internal::Type::Enum
5756
5771
 
5757
5772
  TaggedSymbol =
5758
5773
  T.type_alias do
@@ -5810,7 +5825,7 @@ module Orb
5810
5825
  end
5811
5826
  end
5812
5827
 
5813
- class BillingCycleConfiguration < Orb::BaseModel
5828
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
5814
5829
  # The duration of the billing period.
5815
5830
  sig { returns(Integer) }
5816
5831
  attr_accessor :duration
@@ -5849,7 +5864,7 @@ module Orb
5849
5864
 
5850
5865
  # The unit of billing period duration.
5851
5866
  module DurationUnit
5852
- extend Orb::Enum
5867
+ extend Orb::Internal::Type::Enum
5853
5868
 
5854
5869
  TaggedSymbol =
5855
5870
  T.type_alias do
@@ -5888,7 +5903,7 @@ module Orb
5888
5903
  end
5889
5904
  end
5890
5905
 
5891
- class InvoicingCycleConfiguration < Orb::BaseModel
5906
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
5892
5907
  # The duration of the billing period.
5893
5908
  sig { returns(Integer) }
5894
5909
  attr_accessor :duration
@@ -5927,7 +5942,7 @@ module Orb
5927
5942
 
5928
5943
  # The unit of billing period duration.
5929
5944
  module DurationUnit
5930
- extend Orb::Enum
5945
+ extend Orb::Internal::Type::Enum
5931
5946
 
5932
5947
  TaggedSymbol =
5933
5948
  T.type_alias do
@@ -5967,7 +5982,7 @@ module Orb
5967
5982
  end
5968
5983
  end
5969
5984
 
5970
- class NewFloatingMaxGroupTieredPackagePrice < Orb::BaseModel
5985
+ class NewFloatingMaxGroupTieredPackagePrice < Orb::Internal::Type::BaseModel
5971
5986
  # The cadence to bill for this price on.
5972
5987
  sig do
5973
5988
  returns(
@@ -6020,7 +6035,7 @@ module Orb
6020
6035
  billing_cycle_configuration: T.nilable(
6021
6036
  T.any(
6022
6037
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::BillingCycleConfiguration,
6023
- Orb::Util::AnyHash
6038
+ Orb::Internal::AnyHash
6024
6039
  )
6025
6040
  )
6026
6041
  )
@@ -6061,7 +6076,7 @@ module Orb
6061
6076
  invoicing_cycle_configuration: T.nilable(
6062
6077
  T.any(
6063
6078
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::InvoicingCycleConfiguration,
6064
- Orb::Util::AnyHash
6079
+ Orb::Internal::AnyHash
6065
6080
  )
6066
6081
  )
6067
6082
  )
@@ -6087,7 +6102,7 @@ module Orb
6087
6102
  billing_cycle_configuration: T.nilable(
6088
6103
  T.any(
6089
6104
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::BillingCycleConfiguration,
6090
- Orb::Util::AnyHash
6105
+ Orb::Internal::AnyHash
6091
6106
  )
6092
6107
  ),
6093
6108
  conversion_rate: T.nilable(Float),
@@ -6097,7 +6112,7 @@ module Orb
6097
6112
  invoicing_cycle_configuration: T.nilable(
6098
6113
  T.any(
6099
6114
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMaxGroupTieredPackagePrice::InvoicingCycleConfiguration,
6100
- Orb::Util::AnyHash
6115
+ Orb::Internal::AnyHash
6101
6116
  )
6102
6117
  ),
6103
6118
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -6155,7 +6170,7 @@ module Orb
6155
6170
 
6156
6171
  # The cadence to bill for this price on.
6157
6172
  module Cadence
6158
- extend Orb::Enum
6173
+ extend Orb::Internal::Type::Enum
6159
6174
 
6160
6175
  TaggedSymbol =
6161
6176
  T.type_alias do
@@ -6213,7 +6228,7 @@ module Orb
6213
6228
  end
6214
6229
  end
6215
6230
 
6216
- class BillingCycleConfiguration < Orb::BaseModel
6231
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6217
6232
  # The duration of the billing period.
6218
6233
  sig { returns(Integer) }
6219
6234
  attr_accessor :duration
@@ -6252,7 +6267,7 @@ module Orb
6252
6267
 
6253
6268
  # The unit of billing period duration.
6254
6269
  module DurationUnit
6255
- extend Orb::Enum
6270
+ extend Orb::Internal::Type::Enum
6256
6271
 
6257
6272
  TaggedSymbol =
6258
6273
  T.type_alias do
@@ -6291,7 +6306,7 @@ module Orb
6291
6306
  end
6292
6307
  end
6293
6308
 
6294
- class InvoicingCycleConfiguration < Orb::BaseModel
6309
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6295
6310
  # The duration of the billing period.
6296
6311
  sig { returns(Integer) }
6297
6312
  attr_accessor :duration
@@ -6330,7 +6345,7 @@ module Orb
6330
6345
 
6331
6346
  # The unit of billing period duration.
6332
6347
  module DurationUnit
6333
- extend Orb::Enum
6348
+ extend Orb::Internal::Type::Enum
6334
6349
 
6335
6350
  TaggedSymbol =
6336
6351
  T.type_alias do
@@ -6370,7 +6385,7 @@ module Orb
6370
6385
  end
6371
6386
  end
6372
6387
 
6373
- class NewFloatingTieredWithMinimumPrice < Orb::BaseModel
6388
+ class NewFloatingTieredWithMinimumPrice < Orb::Internal::Type::BaseModel
6374
6389
  # The cadence to bill for this price on.
6375
6390
  sig do
6376
6391
  returns(
@@ -6423,7 +6438,7 @@ module Orb
6423
6438
  billing_cycle_configuration: T.nilable(
6424
6439
  T.any(
6425
6440
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::BillingCycleConfiguration,
6426
- Orb::Util::AnyHash
6441
+ Orb::Internal::AnyHash
6427
6442
  )
6428
6443
  )
6429
6444
  )
@@ -6464,7 +6479,7 @@ module Orb
6464
6479
  invoicing_cycle_configuration: T.nilable(
6465
6480
  T.any(
6466
6481
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::InvoicingCycleConfiguration,
6467
- Orb::Util::AnyHash
6482
+ Orb::Internal::AnyHash
6468
6483
  )
6469
6484
  )
6470
6485
  )
@@ -6490,7 +6505,7 @@ module Orb
6490
6505
  billing_cycle_configuration: T.nilable(
6491
6506
  T.any(
6492
6507
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::BillingCycleConfiguration,
6493
- Orb::Util::AnyHash
6508
+ Orb::Internal::AnyHash
6494
6509
  )
6495
6510
  ),
6496
6511
  conversion_rate: T.nilable(Float),
@@ -6500,7 +6515,7 @@ module Orb
6500
6515
  invoicing_cycle_configuration: T.nilable(
6501
6516
  T.any(
6502
6517
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithMinimumPrice::InvoicingCycleConfiguration,
6503
- Orb::Util::AnyHash
6518
+ Orb::Internal::AnyHash
6504
6519
  )
6505
6520
  ),
6506
6521
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -6558,7 +6573,7 @@ module Orb
6558
6573
 
6559
6574
  # The cadence to bill for this price on.
6560
6575
  module Cadence
6561
- extend Orb::Enum
6576
+ extend Orb::Internal::Type::Enum
6562
6577
 
6563
6578
  TaggedSymbol =
6564
6579
  T.type_alias do
@@ -6616,7 +6631,7 @@ module Orb
6616
6631
  end
6617
6632
  end
6618
6633
 
6619
- class BillingCycleConfiguration < Orb::BaseModel
6634
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
6620
6635
  # The duration of the billing period.
6621
6636
  sig { returns(Integer) }
6622
6637
  attr_accessor :duration
@@ -6655,7 +6670,7 @@ module Orb
6655
6670
 
6656
6671
  # The unit of billing period duration.
6657
6672
  module DurationUnit
6658
- extend Orb::Enum
6673
+ extend Orb::Internal::Type::Enum
6659
6674
 
6660
6675
  TaggedSymbol =
6661
6676
  T.type_alias do
@@ -6694,7 +6709,7 @@ module Orb
6694
6709
  end
6695
6710
  end
6696
6711
 
6697
- class InvoicingCycleConfiguration < Orb::BaseModel
6712
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
6698
6713
  # The duration of the billing period.
6699
6714
  sig { returns(Integer) }
6700
6715
  attr_accessor :duration
@@ -6733,7 +6748,7 @@ module Orb
6733
6748
 
6734
6749
  # The unit of billing period duration.
6735
6750
  module DurationUnit
6736
- extend Orb::Enum
6751
+ extend Orb::Internal::Type::Enum
6737
6752
 
6738
6753
  TaggedSymbol =
6739
6754
  T.type_alias do
@@ -6773,7 +6788,7 @@ module Orb
6773
6788
  end
6774
6789
  end
6775
6790
 
6776
- class NewFloatingPackageWithAllocationPrice < Orb::BaseModel
6791
+ class NewFloatingPackageWithAllocationPrice < Orb::Internal::Type::BaseModel
6777
6792
  # The cadence to bill for this price on.
6778
6793
  sig do
6779
6794
  returns(
@@ -6826,7 +6841,7 @@ module Orb
6826
6841
  billing_cycle_configuration: T.nilable(
6827
6842
  T.any(
6828
6843
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::BillingCycleConfiguration,
6829
- Orb::Util::AnyHash
6844
+ Orb::Internal::AnyHash
6830
6845
  )
6831
6846
  )
6832
6847
  )
@@ -6867,7 +6882,7 @@ module Orb
6867
6882
  invoicing_cycle_configuration: T.nilable(
6868
6883
  T.any(
6869
6884
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::InvoicingCycleConfiguration,
6870
- Orb::Util::AnyHash
6885
+ Orb::Internal::AnyHash
6871
6886
  )
6872
6887
  )
6873
6888
  )
@@ -6893,7 +6908,7 @@ module Orb
6893
6908
  billing_cycle_configuration: T.nilable(
6894
6909
  T.any(
6895
6910
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::BillingCycleConfiguration,
6896
- Orb::Util::AnyHash
6911
+ Orb::Internal::AnyHash
6897
6912
  )
6898
6913
  ),
6899
6914
  conversion_rate: T.nilable(Float),
@@ -6903,7 +6918,7 @@ module Orb
6903
6918
  invoicing_cycle_configuration: T.nilable(
6904
6919
  T.any(
6905
6920
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingPackageWithAllocationPrice::InvoicingCycleConfiguration,
6906
- Orb::Util::AnyHash
6921
+ Orb::Internal::AnyHash
6907
6922
  )
6908
6923
  ),
6909
6924
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -6961,7 +6976,7 @@ module Orb
6961
6976
 
6962
6977
  # The cadence to bill for this price on.
6963
6978
  module Cadence
6964
- extend Orb::Enum
6979
+ extend Orb::Internal::Type::Enum
6965
6980
 
6966
6981
  TaggedSymbol =
6967
6982
  T.type_alias do
@@ -7019,7 +7034,7 @@ module Orb
7019
7034
  end
7020
7035
  end
7021
7036
 
7022
- class BillingCycleConfiguration < Orb::BaseModel
7037
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7023
7038
  # The duration of the billing period.
7024
7039
  sig { returns(Integer) }
7025
7040
  attr_accessor :duration
@@ -7058,7 +7073,7 @@ module Orb
7058
7073
 
7059
7074
  # The unit of billing period duration.
7060
7075
  module DurationUnit
7061
- extend Orb::Enum
7076
+ extend Orb::Internal::Type::Enum
7062
7077
 
7063
7078
  TaggedSymbol =
7064
7079
  T.type_alias do
@@ -7097,7 +7112,7 @@ module Orb
7097
7112
  end
7098
7113
  end
7099
7114
 
7100
- class InvoicingCycleConfiguration < Orb::BaseModel
7115
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7101
7116
  # The duration of the billing period.
7102
7117
  sig { returns(Integer) }
7103
7118
  attr_accessor :duration
@@ -7136,7 +7151,7 @@ module Orb
7136
7151
 
7137
7152
  # The unit of billing period duration.
7138
7153
  module DurationUnit
7139
- extend Orb::Enum
7154
+ extend Orb::Internal::Type::Enum
7140
7155
 
7141
7156
  TaggedSymbol =
7142
7157
  T.type_alias do
@@ -7176,7 +7191,7 @@ module Orb
7176
7191
  end
7177
7192
  end
7178
7193
 
7179
- class NewFloatingTieredPackageWithMinimumPrice < Orb::BaseModel
7194
+ class NewFloatingTieredPackageWithMinimumPrice < Orb::Internal::Type::BaseModel
7180
7195
  # The cadence to bill for this price on.
7181
7196
  sig do
7182
7197
  returns(
@@ -7229,7 +7244,7 @@ module Orb
7229
7244
  billing_cycle_configuration: T.nilable(
7230
7245
  T.any(
7231
7246
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::BillingCycleConfiguration,
7232
- Orb::Util::AnyHash
7247
+ Orb::Internal::AnyHash
7233
7248
  )
7234
7249
  )
7235
7250
  )
@@ -7270,7 +7285,7 @@ module Orb
7270
7285
  invoicing_cycle_configuration: T.nilable(
7271
7286
  T.any(
7272
7287
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::InvoicingCycleConfiguration,
7273
- Orb::Util::AnyHash
7288
+ Orb::Internal::AnyHash
7274
7289
  )
7275
7290
  )
7276
7291
  )
@@ -7296,7 +7311,7 @@ module Orb
7296
7311
  billing_cycle_configuration: T.nilable(
7297
7312
  T.any(
7298
7313
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::BillingCycleConfiguration,
7299
- Orb::Util::AnyHash
7314
+ Orb::Internal::AnyHash
7300
7315
  )
7301
7316
  ),
7302
7317
  conversion_rate: T.nilable(Float),
@@ -7306,7 +7321,7 @@ module Orb
7306
7321
  invoicing_cycle_configuration: T.nilable(
7307
7322
  T.any(
7308
7323
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredPackageWithMinimumPrice::InvoicingCycleConfiguration,
7309
- Orb::Util::AnyHash
7324
+ Orb::Internal::AnyHash
7310
7325
  )
7311
7326
  ),
7312
7327
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -7364,7 +7379,7 @@ module Orb
7364
7379
 
7365
7380
  # The cadence to bill for this price on.
7366
7381
  module Cadence
7367
- extend Orb::Enum
7382
+ extend Orb::Internal::Type::Enum
7368
7383
 
7369
7384
  TaggedSymbol =
7370
7385
  T.type_alias do
@@ -7422,7 +7437,7 @@ module Orb
7422
7437
  end
7423
7438
  end
7424
7439
 
7425
- class BillingCycleConfiguration < Orb::BaseModel
7440
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7426
7441
  # The duration of the billing period.
7427
7442
  sig { returns(Integer) }
7428
7443
  attr_accessor :duration
@@ -7461,7 +7476,7 @@ module Orb
7461
7476
 
7462
7477
  # The unit of billing period duration.
7463
7478
  module DurationUnit
7464
- extend Orb::Enum
7479
+ extend Orb::Internal::Type::Enum
7465
7480
 
7466
7481
  TaggedSymbol =
7467
7482
  T.type_alias do
@@ -7500,7 +7515,7 @@ module Orb
7500
7515
  end
7501
7516
  end
7502
7517
 
7503
- class InvoicingCycleConfiguration < Orb::BaseModel
7518
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7504
7519
  # The duration of the billing period.
7505
7520
  sig { returns(Integer) }
7506
7521
  attr_accessor :duration
@@ -7539,7 +7554,7 @@ module Orb
7539
7554
 
7540
7555
  # The unit of billing period duration.
7541
7556
  module DurationUnit
7542
- extend Orb::Enum
7557
+ extend Orb::Internal::Type::Enum
7543
7558
 
7544
7559
  TaggedSymbol =
7545
7560
  T.type_alias do
@@ -7579,7 +7594,7 @@ module Orb
7579
7594
  end
7580
7595
  end
7581
7596
 
7582
- class NewFloatingUnitWithPercentPrice < Orb::BaseModel
7597
+ class NewFloatingUnitWithPercentPrice < Orb::Internal::Type::BaseModel
7583
7598
  # The cadence to bill for this price on.
7584
7599
  sig do
7585
7600
  returns(
@@ -7632,7 +7647,7 @@ module Orb
7632
7647
  billing_cycle_configuration: T.nilable(
7633
7648
  T.any(
7634
7649
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::BillingCycleConfiguration,
7635
- Orb::Util::AnyHash
7650
+ Orb::Internal::AnyHash
7636
7651
  )
7637
7652
  )
7638
7653
  )
@@ -7673,7 +7688,7 @@ module Orb
7673
7688
  invoicing_cycle_configuration: T.nilable(
7674
7689
  T.any(
7675
7690
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::InvoicingCycleConfiguration,
7676
- Orb::Util::AnyHash
7691
+ Orb::Internal::AnyHash
7677
7692
  )
7678
7693
  )
7679
7694
  )
@@ -7699,7 +7714,7 @@ module Orb
7699
7714
  billing_cycle_configuration: T.nilable(
7700
7715
  T.any(
7701
7716
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::BillingCycleConfiguration,
7702
- Orb::Util::AnyHash
7717
+ Orb::Internal::AnyHash
7703
7718
  )
7704
7719
  ),
7705
7720
  conversion_rate: T.nilable(Float),
@@ -7709,7 +7724,7 @@ module Orb
7709
7724
  invoicing_cycle_configuration: T.nilable(
7710
7725
  T.any(
7711
7726
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithPercentPrice::InvoicingCycleConfiguration,
7712
- Orb::Util::AnyHash
7727
+ Orb::Internal::AnyHash
7713
7728
  )
7714
7729
  ),
7715
7730
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -7767,7 +7782,7 @@ module Orb
7767
7782
 
7768
7783
  # The cadence to bill for this price on.
7769
7784
  module Cadence
7770
- extend Orb::Enum
7785
+ extend Orb::Internal::Type::Enum
7771
7786
 
7772
7787
  TaggedSymbol =
7773
7788
  T.type_alias do
@@ -7825,7 +7840,7 @@ module Orb
7825
7840
  end
7826
7841
  end
7827
7842
 
7828
- class BillingCycleConfiguration < Orb::BaseModel
7843
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
7829
7844
  # The duration of the billing period.
7830
7845
  sig { returns(Integer) }
7831
7846
  attr_accessor :duration
@@ -7864,7 +7879,7 @@ module Orb
7864
7879
 
7865
7880
  # The unit of billing period duration.
7866
7881
  module DurationUnit
7867
- extend Orb::Enum
7882
+ extend Orb::Internal::Type::Enum
7868
7883
 
7869
7884
  TaggedSymbol =
7870
7885
  T.type_alias do
@@ -7903,7 +7918,7 @@ module Orb
7903
7918
  end
7904
7919
  end
7905
7920
 
7906
- class InvoicingCycleConfiguration < Orb::BaseModel
7921
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
7907
7922
  # The duration of the billing period.
7908
7923
  sig { returns(Integer) }
7909
7924
  attr_accessor :duration
@@ -7942,7 +7957,7 @@ module Orb
7942
7957
 
7943
7958
  # The unit of billing period duration.
7944
7959
  module DurationUnit
7945
- extend Orb::Enum
7960
+ extend Orb::Internal::Type::Enum
7946
7961
 
7947
7962
  TaggedSymbol =
7948
7963
  T.type_alias do
@@ -7982,7 +7997,7 @@ module Orb
7982
7997
  end
7983
7998
  end
7984
7999
 
7985
- class NewFloatingTieredWithProrationPrice < Orb::BaseModel
8000
+ class NewFloatingTieredWithProrationPrice < Orb::Internal::Type::BaseModel
7986
8001
  # The cadence to bill for this price on.
7987
8002
  sig do
7988
8003
  returns(
@@ -8035,7 +8050,7 @@ module Orb
8035
8050
  billing_cycle_configuration: T.nilable(
8036
8051
  T.any(
8037
8052
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::BillingCycleConfiguration,
8038
- Orb::Util::AnyHash
8053
+ Orb::Internal::AnyHash
8039
8054
  )
8040
8055
  )
8041
8056
  )
@@ -8076,7 +8091,7 @@ module Orb
8076
8091
  invoicing_cycle_configuration: T.nilable(
8077
8092
  T.any(
8078
8093
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::InvoicingCycleConfiguration,
8079
- Orb::Util::AnyHash
8094
+ Orb::Internal::AnyHash
8080
8095
  )
8081
8096
  )
8082
8097
  )
@@ -8102,7 +8117,7 @@ module Orb
8102
8117
  billing_cycle_configuration: T.nilable(
8103
8118
  T.any(
8104
8119
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::BillingCycleConfiguration,
8105
- Orb::Util::AnyHash
8120
+ Orb::Internal::AnyHash
8106
8121
  )
8107
8122
  ),
8108
8123
  conversion_rate: T.nilable(Float),
@@ -8112,7 +8127,7 @@ module Orb
8112
8127
  invoicing_cycle_configuration: T.nilable(
8113
8128
  T.any(
8114
8129
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingTieredWithProrationPrice::InvoicingCycleConfiguration,
8115
- Orb::Util::AnyHash
8130
+ Orb::Internal::AnyHash
8116
8131
  )
8117
8132
  ),
8118
8133
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -8170,7 +8185,7 @@ module Orb
8170
8185
 
8171
8186
  # The cadence to bill for this price on.
8172
8187
  module Cadence
8173
- extend Orb::Enum
8188
+ extend Orb::Internal::Type::Enum
8174
8189
 
8175
8190
  TaggedSymbol =
8176
8191
  T.type_alias do
@@ -8228,7 +8243,7 @@ module Orb
8228
8243
  end
8229
8244
  end
8230
8245
 
8231
- class BillingCycleConfiguration < Orb::BaseModel
8246
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8232
8247
  # The duration of the billing period.
8233
8248
  sig { returns(Integer) }
8234
8249
  attr_accessor :duration
@@ -8267,7 +8282,7 @@ module Orb
8267
8282
 
8268
8283
  # The unit of billing period duration.
8269
8284
  module DurationUnit
8270
- extend Orb::Enum
8285
+ extend Orb::Internal::Type::Enum
8271
8286
 
8272
8287
  TaggedSymbol =
8273
8288
  T.type_alias do
@@ -8306,7 +8321,7 @@ module Orb
8306
8321
  end
8307
8322
  end
8308
8323
 
8309
- class InvoicingCycleConfiguration < Orb::BaseModel
8324
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8310
8325
  # The duration of the billing period.
8311
8326
  sig { returns(Integer) }
8312
8327
  attr_accessor :duration
@@ -8345,7 +8360,7 @@ module Orb
8345
8360
 
8346
8361
  # The unit of billing period duration.
8347
8362
  module DurationUnit
8348
- extend Orb::Enum
8363
+ extend Orb::Internal::Type::Enum
8349
8364
 
8350
8365
  TaggedSymbol =
8351
8366
  T.type_alias do
@@ -8385,7 +8400,7 @@ module Orb
8385
8400
  end
8386
8401
  end
8387
8402
 
8388
- class NewFloatingUnitWithProrationPrice < Orb::BaseModel
8403
+ class NewFloatingUnitWithProrationPrice < Orb::Internal::Type::BaseModel
8389
8404
  # The cadence to bill for this price on.
8390
8405
  sig do
8391
8406
  returns(
@@ -8438,7 +8453,7 @@ module Orb
8438
8453
  billing_cycle_configuration: T.nilable(
8439
8454
  T.any(
8440
8455
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::BillingCycleConfiguration,
8441
- Orb::Util::AnyHash
8456
+ Orb::Internal::AnyHash
8442
8457
  )
8443
8458
  )
8444
8459
  )
@@ -8479,7 +8494,7 @@ module Orb
8479
8494
  invoicing_cycle_configuration: T.nilable(
8480
8495
  T.any(
8481
8496
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::InvoicingCycleConfiguration,
8482
- Orb::Util::AnyHash
8497
+ Orb::Internal::AnyHash
8483
8498
  )
8484
8499
  )
8485
8500
  )
@@ -8505,7 +8520,7 @@ module Orb
8505
8520
  billing_cycle_configuration: T.nilable(
8506
8521
  T.any(
8507
8522
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::BillingCycleConfiguration,
8508
- Orb::Util::AnyHash
8523
+ Orb::Internal::AnyHash
8509
8524
  )
8510
8525
  ),
8511
8526
  conversion_rate: T.nilable(Float),
@@ -8515,7 +8530,7 @@ module Orb
8515
8530
  invoicing_cycle_configuration: T.nilable(
8516
8531
  T.any(
8517
8532
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingUnitWithProrationPrice::InvoicingCycleConfiguration,
8518
- Orb::Util::AnyHash
8533
+ Orb::Internal::AnyHash
8519
8534
  )
8520
8535
  ),
8521
8536
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -8573,7 +8588,7 @@ module Orb
8573
8588
 
8574
8589
  # The cadence to bill for this price on.
8575
8590
  module Cadence
8576
- extend Orb::Enum
8591
+ extend Orb::Internal::Type::Enum
8577
8592
 
8578
8593
  TaggedSymbol =
8579
8594
  T.type_alias do
@@ -8631,7 +8646,7 @@ module Orb
8631
8646
  end
8632
8647
  end
8633
8648
 
8634
- class BillingCycleConfiguration < Orb::BaseModel
8649
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
8635
8650
  # The duration of the billing period.
8636
8651
  sig { returns(Integer) }
8637
8652
  attr_accessor :duration
@@ -8670,7 +8685,7 @@ module Orb
8670
8685
 
8671
8686
  # The unit of billing period duration.
8672
8687
  module DurationUnit
8673
- extend Orb::Enum
8688
+ extend Orb::Internal::Type::Enum
8674
8689
 
8675
8690
  TaggedSymbol =
8676
8691
  T.type_alias do
@@ -8709,7 +8724,7 @@ module Orb
8709
8724
  end
8710
8725
  end
8711
8726
 
8712
- class InvoicingCycleConfiguration < Orb::BaseModel
8727
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
8713
8728
  # The duration of the billing period.
8714
8729
  sig { returns(Integer) }
8715
8730
  attr_accessor :duration
@@ -8748,7 +8763,7 @@ module Orb
8748
8763
 
8749
8764
  # The unit of billing period duration.
8750
8765
  module DurationUnit
8751
- extend Orb::Enum
8766
+ extend Orb::Internal::Type::Enum
8752
8767
 
8753
8768
  TaggedSymbol =
8754
8769
  T.type_alias do
@@ -8788,7 +8803,7 @@ module Orb
8788
8803
  end
8789
8804
  end
8790
8805
 
8791
- class NewFloatingGroupedAllocationPrice < Orb::BaseModel
8806
+ class NewFloatingGroupedAllocationPrice < Orb::Internal::Type::BaseModel
8792
8807
  # The cadence to bill for this price on.
8793
8808
  sig do
8794
8809
  returns(
@@ -8841,7 +8856,7 @@ module Orb
8841
8856
  billing_cycle_configuration: T.nilable(
8842
8857
  T.any(
8843
8858
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::BillingCycleConfiguration,
8844
- Orb::Util::AnyHash
8859
+ Orb::Internal::AnyHash
8845
8860
  )
8846
8861
  )
8847
8862
  )
@@ -8882,7 +8897,7 @@ module Orb
8882
8897
  invoicing_cycle_configuration: T.nilable(
8883
8898
  T.any(
8884
8899
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::InvoicingCycleConfiguration,
8885
- Orb::Util::AnyHash
8900
+ Orb::Internal::AnyHash
8886
8901
  )
8887
8902
  )
8888
8903
  )
@@ -8908,7 +8923,7 @@ module Orb
8908
8923
  billing_cycle_configuration: T.nilable(
8909
8924
  T.any(
8910
8925
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::BillingCycleConfiguration,
8911
- Orb::Util::AnyHash
8926
+ Orb::Internal::AnyHash
8912
8927
  )
8913
8928
  ),
8914
8929
  conversion_rate: T.nilable(Float),
@@ -8918,7 +8933,7 @@ module Orb
8918
8933
  invoicing_cycle_configuration: T.nilable(
8919
8934
  T.any(
8920
8935
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedAllocationPrice::InvoicingCycleConfiguration,
8921
- Orb::Util::AnyHash
8936
+ Orb::Internal::AnyHash
8922
8937
  )
8923
8938
  ),
8924
8939
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -8976,7 +8991,7 @@ module Orb
8976
8991
 
8977
8992
  # The cadence to bill for this price on.
8978
8993
  module Cadence
8979
- extend Orb::Enum
8994
+ extend Orb::Internal::Type::Enum
8980
8995
 
8981
8996
  TaggedSymbol =
8982
8997
  T.type_alias do
@@ -9034,7 +9049,7 @@ module Orb
9034
9049
  end
9035
9050
  end
9036
9051
 
9037
- class BillingCycleConfiguration < Orb::BaseModel
9052
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9038
9053
  # The duration of the billing period.
9039
9054
  sig { returns(Integer) }
9040
9055
  attr_accessor :duration
@@ -9073,7 +9088,7 @@ module Orb
9073
9088
 
9074
9089
  # The unit of billing period duration.
9075
9090
  module DurationUnit
9076
- extend Orb::Enum
9091
+ extend Orb::Internal::Type::Enum
9077
9092
 
9078
9093
  TaggedSymbol =
9079
9094
  T.type_alias do
@@ -9112,7 +9127,7 @@ module Orb
9112
9127
  end
9113
9128
  end
9114
9129
 
9115
- class InvoicingCycleConfiguration < Orb::BaseModel
9130
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9116
9131
  # The duration of the billing period.
9117
9132
  sig { returns(Integer) }
9118
9133
  attr_accessor :duration
@@ -9151,7 +9166,7 @@ module Orb
9151
9166
 
9152
9167
  # The unit of billing period duration.
9153
9168
  module DurationUnit
9154
- extend Orb::Enum
9169
+ extend Orb::Internal::Type::Enum
9155
9170
 
9156
9171
  TaggedSymbol =
9157
9172
  T.type_alias do
@@ -9191,7 +9206,7 @@ module Orb
9191
9206
  end
9192
9207
  end
9193
9208
 
9194
- class NewFloatingGroupedWithProratedMinimumPrice < Orb::BaseModel
9209
+ class NewFloatingGroupedWithProratedMinimumPrice < Orb::Internal::Type::BaseModel
9195
9210
  # The cadence to bill for this price on.
9196
9211
  sig do
9197
9212
  returns(
@@ -9244,7 +9259,7 @@ module Orb
9244
9259
  billing_cycle_configuration: T.nilable(
9245
9260
  T.any(
9246
9261
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::BillingCycleConfiguration,
9247
- Orb::Util::AnyHash
9262
+ Orb::Internal::AnyHash
9248
9263
  )
9249
9264
  )
9250
9265
  )
@@ -9285,7 +9300,7 @@ module Orb
9285
9300
  invoicing_cycle_configuration: T.nilable(
9286
9301
  T.any(
9287
9302
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::InvoicingCycleConfiguration,
9288
- Orb::Util::AnyHash
9303
+ Orb::Internal::AnyHash
9289
9304
  )
9290
9305
  )
9291
9306
  )
@@ -9311,7 +9326,7 @@ module Orb
9311
9326
  billing_cycle_configuration: T.nilable(
9312
9327
  T.any(
9313
9328
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::BillingCycleConfiguration,
9314
- Orb::Util::AnyHash
9329
+ Orb::Internal::AnyHash
9315
9330
  )
9316
9331
  ),
9317
9332
  conversion_rate: T.nilable(Float),
@@ -9321,7 +9336,7 @@ module Orb
9321
9336
  invoicing_cycle_configuration: T.nilable(
9322
9337
  T.any(
9323
9338
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithProratedMinimumPrice::InvoicingCycleConfiguration,
9324
- Orb::Util::AnyHash
9339
+ Orb::Internal::AnyHash
9325
9340
  )
9326
9341
  ),
9327
9342
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -9379,7 +9394,7 @@ module Orb
9379
9394
 
9380
9395
  # The cadence to bill for this price on.
9381
9396
  module Cadence
9382
- extend Orb::Enum
9397
+ extend Orb::Internal::Type::Enum
9383
9398
 
9384
9399
  TaggedSymbol =
9385
9400
  T.type_alias do
@@ -9437,7 +9452,7 @@ module Orb
9437
9452
  end
9438
9453
  end
9439
9454
 
9440
- class BillingCycleConfiguration < Orb::BaseModel
9455
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9441
9456
  # The duration of the billing period.
9442
9457
  sig { returns(Integer) }
9443
9458
  attr_accessor :duration
@@ -9476,7 +9491,7 @@ module Orb
9476
9491
 
9477
9492
  # The unit of billing period duration.
9478
9493
  module DurationUnit
9479
- extend Orb::Enum
9494
+ extend Orb::Internal::Type::Enum
9480
9495
 
9481
9496
  TaggedSymbol =
9482
9497
  T.type_alias do
@@ -9515,7 +9530,7 @@ module Orb
9515
9530
  end
9516
9531
  end
9517
9532
 
9518
- class InvoicingCycleConfiguration < Orb::BaseModel
9533
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9519
9534
  # The duration of the billing period.
9520
9535
  sig { returns(Integer) }
9521
9536
  attr_accessor :duration
@@ -9554,7 +9569,7 @@ module Orb
9554
9569
 
9555
9570
  # The unit of billing period duration.
9556
9571
  module DurationUnit
9557
- extend Orb::Enum
9572
+ extend Orb::Internal::Type::Enum
9558
9573
 
9559
9574
  TaggedSymbol =
9560
9575
  T.type_alias do
@@ -9594,7 +9609,7 @@ module Orb
9594
9609
  end
9595
9610
  end
9596
9611
 
9597
- class NewFloatingGroupedWithMeteredMinimumPrice < Orb::BaseModel
9612
+ class NewFloatingGroupedWithMeteredMinimumPrice < Orb::Internal::Type::BaseModel
9598
9613
  # The cadence to bill for this price on.
9599
9614
  sig do
9600
9615
  returns(
@@ -9647,7 +9662,7 @@ module Orb
9647
9662
  billing_cycle_configuration: T.nilable(
9648
9663
  T.any(
9649
9664
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::BillingCycleConfiguration,
9650
- Orb::Util::AnyHash
9665
+ Orb::Internal::AnyHash
9651
9666
  )
9652
9667
  )
9653
9668
  )
@@ -9688,7 +9703,7 @@ module Orb
9688
9703
  invoicing_cycle_configuration: T.nilable(
9689
9704
  T.any(
9690
9705
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration,
9691
- Orb::Util::AnyHash
9706
+ Orb::Internal::AnyHash
9692
9707
  )
9693
9708
  )
9694
9709
  )
@@ -9714,7 +9729,7 @@ module Orb
9714
9729
  billing_cycle_configuration: T.nilable(
9715
9730
  T.any(
9716
9731
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::BillingCycleConfiguration,
9717
- Orb::Util::AnyHash
9732
+ Orb::Internal::AnyHash
9718
9733
  )
9719
9734
  ),
9720
9735
  conversion_rate: T.nilable(Float),
@@ -9724,7 +9739,7 @@ module Orb
9724
9739
  invoicing_cycle_configuration: T.nilable(
9725
9740
  T.any(
9726
9741
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedWithMeteredMinimumPrice::InvoicingCycleConfiguration,
9727
- Orb::Util::AnyHash
9742
+ Orb::Internal::AnyHash
9728
9743
  )
9729
9744
  ),
9730
9745
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -9782,7 +9797,7 @@ module Orb
9782
9797
 
9783
9798
  # The cadence to bill for this price on.
9784
9799
  module Cadence
9785
- extend Orb::Enum
9800
+ extend Orb::Internal::Type::Enum
9786
9801
 
9787
9802
  TaggedSymbol =
9788
9803
  T.type_alias do
@@ -9840,7 +9855,7 @@ module Orb
9840
9855
  end
9841
9856
  end
9842
9857
 
9843
- class BillingCycleConfiguration < Orb::BaseModel
9858
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
9844
9859
  # The duration of the billing period.
9845
9860
  sig { returns(Integer) }
9846
9861
  attr_accessor :duration
@@ -9879,7 +9894,7 @@ module Orb
9879
9894
 
9880
9895
  # The unit of billing period duration.
9881
9896
  module DurationUnit
9882
- extend Orb::Enum
9897
+ extend Orb::Internal::Type::Enum
9883
9898
 
9884
9899
  TaggedSymbol =
9885
9900
  T.type_alias do
@@ -9918,7 +9933,7 @@ module Orb
9918
9933
  end
9919
9934
  end
9920
9935
 
9921
- class InvoicingCycleConfiguration < Orb::BaseModel
9936
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
9922
9937
  # The duration of the billing period.
9923
9938
  sig { returns(Integer) }
9924
9939
  attr_accessor :duration
@@ -9957,7 +9972,7 @@ module Orb
9957
9972
 
9958
9973
  # The unit of billing period duration.
9959
9974
  module DurationUnit
9960
- extend Orb::Enum
9975
+ extend Orb::Internal::Type::Enum
9961
9976
 
9962
9977
  TaggedSymbol =
9963
9978
  T.type_alias do
@@ -9997,7 +10012,7 @@ module Orb
9997
10012
  end
9998
10013
  end
9999
10014
 
10000
- class NewFloatingMatrixWithDisplayNamePrice < Orb::BaseModel
10015
+ class NewFloatingMatrixWithDisplayNamePrice < Orb::Internal::Type::BaseModel
10001
10016
  # The cadence to bill for this price on.
10002
10017
  sig do
10003
10018
  returns(
@@ -10050,7 +10065,7 @@ module Orb
10050
10065
  billing_cycle_configuration: T.nilable(
10051
10066
  T.any(
10052
10067
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::BillingCycleConfiguration,
10053
- Orb::Util::AnyHash
10068
+ Orb::Internal::AnyHash
10054
10069
  )
10055
10070
  )
10056
10071
  )
@@ -10091,7 +10106,7 @@ module Orb
10091
10106
  invoicing_cycle_configuration: T.nilable(
10092
10107
  T.any(
10093
10108
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::InvoicingCycleConfiguration,
10094
- Orb::Util::AnyHash
10109
+ Orb::Internal::AnyHash
10095
10110
  )
10096
10111
  )
10097
10112
  )
@@ -10117,7 +10132,7 @@ module Orb
10117
10132
  billing_cycle_configuration: T.nilable(
10118
10133
  T.any(
10119
10134
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::BillingCycleConfiguration,
10120
- Orb::Util::AnyHash
10135
+ Orb::Internal::AnyHash
10121
10136
  )
10122
10137
  ),
10123
10138
  conversion_rate: T.nilable(Float),
@@ -10127,7 +10142,7 @@ module Orb
10127
10142
  invoicing_cycle_configuration: T.nilable(
10128
10143
  T.any(
10129
10144
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingMatrixWithDisplayNamePrice::InvoicingCycleConfiguration,
10130
- Orb::Util::AnyHash
10145
+ Orb::Internal::AnyHash
10131
10146
  )
10132
10147
  ),
10133
10148
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -10185,7 +10200,7 @@ module Orb
10185
10200
 
10186
10201
  # The cadence to bill for this price on.
10187
10202
  module Cadence
10188
- extend Orb::Enum
10203
+ extend Orb::Internal::Type::Enum
10189
10204
 
10190
10205
  TaggedSymbol =
10191
10206
  T.type_alias do
@@ -10243,7 +10258,7 @@ module Orb
10243
10258
  end
10244
10259
  end
10245
10260
 
10246
- class BillingCycleConfiguration < Orb::BaseModel
10261
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10247
10262
  # The duration of the billing period.
10248
10263
  sig { returns(Integer) }
10249
10264
  attr_accessor :duration
@@ -10282,7 +10297,7 @@ module Orb
10282
10297
 
10283
10298
  # The unit of billing period duration.
10284
10299
  module DurationUnit
10285
- extend Orb::Enum
10300
+ extend Orb::Internal::Type::Enum
10286
10301
 
10287
10302
  TaggedSymbol =
10288
10303
  T.type_alias do
@@ -10321,7 +10336,7 @@ module Orb
10321
10336
  end
10322
10337
  end
10323
10338
 
10324
- class InvoicingCycleConfiguration < Orb::BaseModel
10339
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10325
10340
  # The duration of the billing period.
10326
10341
  sig { returns(Integer) }
10327
10342
  attr_accessor :duration
@@ -10360,7 +10375,7 @@ module Orb
10360
10375
 
10361
10376
  # The unit of billing period duration.
10362
10377
  module DurationUnit
10363
- extend Orb::Enum
10378
+ extend Orb::Internal::Type::Enum
10364
10379
 
10365
10380
  TaggedSymbol =
10366
10381
  T.type_alias do
@@ -10400,7 +10415,7 @@ module Orb
10400
10415
  end
10401
10416
  end
10402
10417
 
10403
- class NewFloatingBulkWithProrationPrice < Orb::BaseModel
10418
+ class NewFloatingBulkWithProrationPrice < Orb::Internal::Type::BaseModel
10404
10419
  sig { returns(T::Hash[Symbol, T.anything]) }
10405
10420
  attr_accessor :bulk_with_proration_config
10406
10421
 
@@ -10453,7 +10468,7 @@ module Orb
10453
10468
  billing_cycle_configuration: T.nilable(
10454
10469
  T.any(
10455
10470
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::BillingCycleConfiguration,
10456
- Orb::Util::AnyHash
10471
+ Orb::Internal::AnyHash
10457
10472
  )
10458
10473
  )
10459
10474
  )
@@ -10494,7 +10509,7 @@ module Orb
10494
10509
  invoicing_cycle_configuration: T.nilable(
10495
10510
  T.any(
10496
10511
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::InvoicingCycleConfiguration,
10497
- Orb::Util::AnyHash
10512
+ Orb::Internal::AnyHash
10498
10513
  )
10499
10514
  )
10500
10515
  )
@@ -10520,7 +10535,7 @@ module Orb
10520
10535
  billing_cycle_configuration: T.nilable(
10521
10536
  T.any(
10522
10537
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::BillingCycleConfiguration,
10523
- Orb::Util::AnyHash
10538
+ Orb::Internal::AnyHash
10524
10539
  )
10525
10540
  ),
10526
10541
  conversion_rate: T.nilable(Float),
@@ -10530,7 +10545,7 @@ module Orb
10530
10545
  invoicing_cycle_configuration: T.nilable(
10531
10546
  T.any(
10532
10547
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingBulkWithProrationPrice::InvoicingCycleConfiguration,
10533
- Orb::Util::AnyHash
10548
+ Orb::Internal::AnyHash
10534
10549
  )
10535
10550
  ),
10536
10551
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -10588,7 +10603,7 @@ module Orb
10588
10603
 
10589
10604
  # The cadence to bill for this price on.
10590
10605
  module Cadence
10591
- extend Orb::Enum
10606
+ extend Orb::Internal::Type::Enum
10592
10607
 
10593
10608
  TaggedSymbol =
10594
10609
  T.type_alias do
@@ -10646,7 +10661,7 @@ module Orb
10646
10661
  end
10647
10662
  end
10648
10663
 
10649
- class BillingCycleConfiguration < Orb::BaseModel
10664
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
10650
10665
  # The duration of the billing period.
10651
10666
  sig { returns(Integer) }
10652
10667
  attr_accessor :duration
@@ -10685,7 +10700,7 @@ module Orb
10685
10700
 
10686
10701
  # The unit of billing period duration.
10687
10702
  module DurationUnit
10688
- extend Orb::Enum
10703
+ extend Orb::Internal::Type::Enum
10689
10704
 
10690
10705
  TaggedSymbol =
10691
10706
  T.type_alias do
@@ -10724,7 +10739,7 @@ module Orb
10724
10739
  end
10725
10740
  end
10726
10741
 
10727
- class InvoicingCycleConfiguration < Orb::BaseModel
10742
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
10728
10743
  # The duration of the billing period.
10729
10744
  sig { returns(Integer) }
10730
10745
  attr_accessor :duration
@@ -10763,7 +10778,7 @@ module Orb
10763
10778
 
10764
10779
  # The unit of billing period duration.
10765
10780
  module DurationUnit
10766
- extend Orb::Enum
10781
+ extend Orb::Internal::Type::Enum
10767
10782
 
10768
10783
  TaggedSymbol =
10769
10784
  T.type_alias do
@@ -10803,7 +10818,7 @@ module Orb
10803
10818
  end
10804
10819
  end
10805
10820
 
10806
- class NewFloatingGroupedTieredPackagePrice < Orb::BaseModel
10821
+ class NewFloatingGroupedTieredPackagePrice < Orb::Internal::Type::BaseModel
10807
10822
  # The cadence to bill for this price on.
10808
10823
  sig do
10809
10824
  returns(
@@ -10856,7 +10871,7 @@ module Orb
10856
10871
  billing_cycle_configuration: T.nilable(
10857
10872
  T.any(
10858
10873
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::BillingCycleConfiguration,
10859
- Orb::Util::AnyHash
10874
+ Orb::Internal::AnyHash
10860
10875
  )
10861
10876
  )
10862
10877
  )
@@ -10897,7 +10912,7 @@ module Orb
10897
10912
  invoicing_cycle_configuration: T.nilable(
10898
10913
  T.any(
10899
10914
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::InvoicingCycleConfiguration,
10900
- Orb::Util::AnyHash
10915
+ Orb::Internal::AnyHash
10901
10916
  )
10902
10917
  )
10903
10918
  )
@@ -10923,7 +10938,7 @@ module Orb
10923
10938
  billing_cycle_configuration: T.nilable(
10924
10939
  T.any(
10925
10940
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::BillingCycleConfiguration,
10926
- Orb::Util::AnyHash
10941
+ Orb::Internal::AnyHash
10927
10942
  )
10928
10943
  ),
10929
10944
  conversion_rate: T.nilable(Float),
@@ -10933,7 +10948,7 @@ module Orb
10933
10948
  invoicing_cycle_configuration: T.nilable(
10934
10949
  T.any(
10935
10950
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingGroupedTieredPackagePrice::InvoicingCycleConfiguration,
10936
- Orb::Util::AnyHash
10951
+ Orb::Internal::AnyHash
10937
10952
  )
10938
10953
  ),
10939
10954
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -10991,7 +11006,7 @@ module Orb
10991
11006
 
10992
11007
  # The cadence to bill for this price on.
10993
11008
  module Cadence
10994
- extend Orb::Enum
11009
+ extend Orb::Internal::Type::Enum
10995
11010
 
10996
11011
  TaggedSymbol =
10997
11012
  T.type_alias do
@@ -11049,7 +11064,7 @@ module Orb
11049
11064
  end
11050
11065
  end
11051
11066
 
11052
- class BillingCycleConfiguration < Orb::BaseModel
11067
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11053
11068
  # The duration of the billing period.
11054
11069
  sig { returns(Integer) }
11055
11070
  attr_accessor :duration
@@ -11088,7 +11103,7 @@ module Orb
11088
11103
 
11089
11104
  # The unit of billing period duration.
11090
11105
  module DurationUnit
11091
- extend Orb::Enum
11106
+ extend Orb::Internal::Type::Enum
11092
11107
 
11093
11108
  TaggedSymbol =
11094
11109
  T.type_alias do
@@ -11127,7 +11142,7 @@ module Orb
11127
11142
  end
11128
11143
  end
11129
11144
 
11130
- class InvoicingCycleConfiguration < Orb::BaseModel
11145
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11131
11146
  # The duration of the billing period.
11132
11147
  sig { returns(Integer) }
11133
11148
  attr_accessor :duration
@@ -11166,7 +11181,7 @@ module Orb
11166
11181
 
11167
11182
  # The unit of billing period duration.
11168
11183
  module DurationUnit
11169
- extend Orb::Enum
11184
+ extend Orb::Internal::Type::Enum
11170
11185
 
11171
11186
  TaggedSymbol =
11172
11187
  T.type_alias do
@@ -11206,7 +11221,7 @@ module Orb
11206
11221
  end
11207
11222
  end
11208
11223
 
11209
- class NewFloatingScalableMatrixWithUnitPricingPrice < Orb::BaseModel
11224
+ class NewFloatingScalableMatrixWithUnitPricingPrice < Orb::Internal::Type::BaseModel
11210
11225
  # The cadence to bill for this price on.
11211
11226
  sig do
11212
11227
  returns(
@@ -11259,7 +11274,7 @@ module Orb
11259
11274
  billing_cycle_configuration: T.nilable(
11260
11275
  T.any(
11261
11276
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration,
11262
- Orb::Util::AnyHash
11277
+ Orb::Internal::AnyHash
11263
11278
  )
11264
11279
  )
11265
11280
  )
@@ -11300,7 +11315,7 @@ module Orb
11300
11315
  invoicing_cycle_configuration: T.nilable(
11301
11316
  T.any(
11302
11317
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration,
11303
- Orb::Util::AnyHash
11318
+ Orb::Internal::AnyHash
11304
11319
  )
11305
11320
  )
11306
11321
  )
@@ -11326,7 +11341,7 @@ module Orb
11326
11341
  billing_cycle_configuration: T.nilable(
11327
11342
  T.any(
11328
11343
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::BillingCycleConfiguration,
11329
- Orb::Util::AnyHash
11344
+ Orb::Internal::AnyHash
11330
11345
  )
11331
11346
  ),
11332
11347
  conversion_rate: T.nilable(Float),
@@ -11336,7 +11351,7 @@ module Orb
11336
11351
  invoicing_cycle_configuration: T.nilable(
11337
11352
  T.any(
11338
11353
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithUnitPricingPrice::InvoicingCycleConfiguration,
11339
- Orb::Util::AnyHash
11354
+ Orb::Internal::AnyHash
11340
11355
  )
11341
11356
  ),
11342
11357
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -11394,7 +11409,7 @@ module Orb
11394
11409
 
11395
11410
  # The cadence to bill for this price on.
11396
11411
  module Cadence
11397
- extend Orb::Enum
11412
+ extend Orb::Internal::Type::Enum
11398
11413
 
11399
11414
  TaggedSymbol =
11400
11415
  T.type_alias do
@@ -11452,7 +11467,7 @@ module Orb
11452
11467
  end
11453
11468
  end
11454
11469
 
11455
- class BillingCycleConfiguration < Orb::BaseModel
11470
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11456
11471
  # The duration of the billing period.
11457
11472
  sig { returns(Integer) }
11458
11473
  attr_accessor :duration
@@ -11491,7 +11506,7 @@ module Orb
11491
11506
 
11492
11507
  # The unit of billing period duration.
11493
11508
  module DurationUnit
11494
- extend Orb::Enum
11509
+ extend Orb::Internal::Type::Enum
11495
11510
 
11496
11511
  TaggedSymbol =
11497
11512
  T.type_alias do
@@ -11530,7 +11545,7 @@ module Orb
11530
11545
  end
11531
11546
  end
11532
11547
 
11533
- class InvoicingCycleConfiguration < Orb::BaseModel
11548
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11534
11549
  # The duration of the billing period.
11535
11550
  sig { returns(Integer) }
11536
11551
  attr_accessor :duration
@@ -11569,7 +11584,7 @@ module Orb
11569
11584
 
11570
11585
  # The unit of billing period duration.
11571
11586
  module DurationUnit
11572
- extend Orb::Enum
11587
+ extend Orb::Internal::Type::Enum
11573
11588
 
11574
11589
  TaggedSymbol =
11575
11590
  T.type_alias do
@@ -11609,7 +11624,7 @@ module Orb
11609
11624
  end
11610
11625
  end
11611
11626
 
11612
- class NewFloatingScalableMatrixWithTieredPricingPrice < Orb::BaseModel
11627
+ class NewFloatingScalableMatrixWithTieredPricingPrice < Orb::Internal::Type::BaseModel
11613
11628
  # The cadence to bill for this price on.
11614
11629
  sig do
11615
11630
  returns(
@@ -11662,7 +11677,7 @@ module Orb
11662
11677
  billing_cycle_configuration: T.nilable(
11663
11678
  T.any(
11664
11679
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration,
11665
- Orb::Util::AnyHash
11680
+ Orb::Internal::AnyHash
11666
11681
  )
11667
11682
  )
11668
11683
  )
@@ -11703,7 +11718,7 @@ module Orb
11703
11718
  invoicing_cycle_configuration: T.nilable(
11704
11719
  T.any(
11705
11720
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration,
11706
- Orb::Util::AnyHash
11721
+ Orb::Internal::AnyHash
11707
11722
  )
11708
11723
  )
11709
11724
  )
@@ -11729,7 +11744,7 @@ module Orb
11729
11744
  billing_cycle_configuration: T.nilable(
11730
11745
  T.any(
11731
11746
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::BillingCycleConfiguration,
11732
- Orb::Util::AnyHash
11747
+ Orb::Internal::AnyHash
11733
11748
  )
11734
11749
  ),
11735
11750
  conversion_rate: T.nilable(Float),
@@ -11739,7 +11754,7 @@ module Orb
11739
11754
  invoicing_cycle_configuration: T.nilable(
11740
11755
  T.any(
11741
11756
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingScalableMatrixWithTieredPricingPrice::InvoicingCycleConfiguration,
11742
- Orb::Util::AnyHash
11757
+ Orb::Internal::AnyHash
11743
11758
  )
11744
11759
  ),
11745
11760
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -11797,7 +11812,7 @@ module Orb
11797
11812
 
11798
11813
  # The cadence to bill for this price on.
11799
11814
  module Cadence
11800
- extend Orb::Enum
11815
+ extend Orb::Internal::Type::Enum
11801
11816
 
11802
11817
  TaggedSymbol =
11803
11818
  T.type_alias do
@@ -11855,7 +11870,7 @@ module Orb
11855
11870
  end
11856
11871
  end
11857
11872
 
11858
- class BillingCycleConfiguration < Orb::BaseModel
11873
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
11859
11874
  # The duration of the billing period.
11860
11875
  sig { returns(Integer) }
11861
11876
  attr_accessor :duration
@@ -11894,7 +11909,7 @@ module Orb
11894
11909
 
11895
11910
  # The unit of billing period duration.
11896
11911
  module DurationUnit
11897
- extend Orb::Enum
11912
+ extend Orb::Internal::Type::Enum
11898
11913
 
11899
11914
  TaggedSymbol =
11900
11915
  T.type_alias do
@@ -11933,7 +11948,7 @@ module Orb
11933
11948
  end
11934
11949
  end
11935
11950
 
11936
- class InvoicingCycleConfiguration < Orb::BaseModel
11951
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
11937
11952
  # The duration of the billing period.
11938
11953
  sig { returns(Integer) }
11939
11954
  attr_accessor :duration
@@ -11972,7 +11987,7 @@ module Orb
11972
11987
 
11973
11988
  # The unit of billing period duration.
11974
11989
  module DurationUnit
11975
- extend Orb::Enum
11990
+ extend Orb::Internal::Type::Enum
11976
11991
 
11977
11992
  TaggedSymbol =
11978
11993
  T.type_alias do
@@ -12012,7 +12027,7 @@ module Orb
12012
12027
  end
12013
12028
  end
12014
12029
 
12015
- class NewFloatingCumulativeGroupedBulkPrice < Orb::BaseModel
12030
+ class NewFloatingCumulativeGroupedBulkPrice < Orb::Internal::Type::BaseModel
12016
12031
  # The cadence to bill for this price on.
12017
12032
  sig do
12018
12033
  returns(
@@ -12065,7 +12080,7 @@ module Orb
12065
12080
  billing_cycle_configuration: T.nilable(
12066
12081
  T.any(
12067
12082
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::BillingCycleConfiguration,
12068
- Orb::Util::AnyHash
12083
+ Orb::Internal::AnyHash
12069
12084
  )
12070
12085
  )
12071
12086
  )
@@ -12106,7 +12121,7 @@ module Orb
12106
12121
  invoicing_cycle_configuration: T.nilable(
12107
12122
  T.any(
12108
12123
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::InvoicingCycleConfiguration,
12109
- Orb::Util::AnyHash
12124
+ Orb::Internal::AnyHash
12110
12125
  )
12111
12126
  )
12112
12127
  )
@@ -12132,7 +12147,7 @@ module Orb
12132
12147
  billing_cycle_configuration: T.nilable(
12133
12148
  T.any(
12134
12149
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::BillingCycleConfiguration,
12135
- Orb::Util::AnyHash
12150
+ Orb::Internal::AnyHash
12136
12151
  )
12137
12152
  ),
12138
12153
  conversion_rate: T.nilable(Float),
@@ -12142,7 +12157,7 @@ module Orb
12142
12157
  invoicing_cycle_configuration: T.nilable(
12143
12158
  T.any(
12144
12159
  Orb::Models::SubscriptionPriceIntervalsParams::Add::Price::NewFloatingCumulativeGroupedBulkPrice::InvoicingCycleConfiguration,
12145
- Orb::Util::AnyHash
12160
+ Orb::Internal::AnyHash
12146
12161
  )
12147
12162
  ),
12148
12163
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
@@ -12200,7 +12215,7 @@ module Orb
12200
12215
 
12201
12216
  # The cadence to bill for this price on.
12202
12217
  module Cadence
12203
- extend Orb::Enum
12218
+ extend Orb::Internal::Type::Enum
12204
12219
 
12205
12220
  TaggedSymbol =
12206
12221
  T.type_alias do
@@ -12258,7 +12273,7 @@ module Orb
12258
12273
  end
12259
12274
  end
12260
12275
 
12261
- class BillingCycleConfiguration < Orb::BaseModel
12276
+ class BillingCycleConfiguration < Orb::Internal::Type::BaseModel
12262
12277
  # The duration of the billing period.
12263
12278
  sig { returns(Integer) }
12264
12279
  attr_accessor :duration
@@ -12297,7 +12312,7 @@ module Orb
12297
12312
 
12298
12313
  # The unit of billing period duration.
12299
12314
  module DurationUnit
12300
- extend Orb::Enum
12315
+ extend Orb::Internal::Type::Enum
12301
12316
 
12302
12317
  TaggedSymbol =
12303
12318
  T.type_alias do
@@ -12336,7 +12351,7 @@ module Orb
12336
12351
  end
12337
12352
  end
12338
12353
 
12339
- class InvoicingCycleConfiguration < Orb::BaseModel
12354
+ class InvoicingCycleConfiguration < Orb::Internal::Type::BaseModel
12340
12355
  # The duration of the billing period.
12341
12356
  sig { returns(Integer) }
12342
12357
  attr_accessor :duration
@@ -12375,7 +12390,7 @@ module Orb
12375
12390
 
12376
12391
  # The unit of billing period duration.
12377
12392
  module DurationUnit
12378
- extend Orb::Enum
12393
+ extend Orb::Internal::Type::Enum
12379
12394
 
12380
12395
  TaggedSymbol =
12381
12396
  T.type_alias do
@@ -12426,7 +12441,7 @@ module Orb
12426
12441
  end
12427
12442
  end
12428
12443
 
12429
- class AddAdjustment < Orb::BaseModel
12444
+ class AddAdjustment < Orb::Internal::Type::BaseModel
12430
12445
  # The definition of a new adjustment to create and add to the subscription.
12431
12446
  sig do
12432
12447
  returns(
@@ -12459,7 +12474,7 @@ module Orb
12459
12474
  params(
12460
12475
  adjustment: T.any(
12461
12476
  Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewPercentageDiscount,
12462
- Orb::Util::AnyHash,
12477
+ Orb::Internal::AnyHash,
12463
12478
  Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewUsageDiscount,
12464
12479
  Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewAmountDiscount,
12465
12480
  Orb::Models::SubscriptionPriceIntervalsParams::AddAdjustment::Adjustment::NewMinimum,
@@ -12494,9 +12509,9 @@ module Orb
12494
12509
 
12495
12510
  # The definition of a new adjustment to create and add to the subscription.
12496
12511
  module Adjustment
12497
- extend Orb::Union
12512
+ extend Orb::Internal::Type::Union
12498
12513
 
12499
- class NewPercentageDiscount < Orb::BaseModel
12514
+ class NewPercentageDiscount < Orb::Internal::Type::BaseModel
12500
12515
  sig { returns(Symbol) }
12501
12516
  attr_accessor :adjustment_type
12502
12517
 
@@ -12547,7 +12562,7 @@ module Orb
12547
12562
  end
12548
12563
  end
12549
12564
 
12550
- class NewUsageDiscount < Orb::BaseModel
12565
+ class NewUsageDiscount < Orb::Internal::Type::BaseModel
12551
12566
  sig { returns(Symbol) }
12552
12567
  attr_accessor :adjustment_type
12553
12568
 
@@ -12598,7 +12613,7 @@ module Orb
12598
12613
  end
12599
12614
  end
12600
12615
 
12601
- class NewAmountDiscount < Orb::BaseModel
12616
+ class NewAmountDiscount < Orb::Internal::Type::BaseModel
12602
12617
  sig { returns(Symbol) }
12603
12618
  attr_accessor :adjustment_type
12604
12619
 
@@ -12649,7 +12664,7 @@ module Orb
12649
12664
  end
12650
12665
  end
12651
12666
 
12652
- class NewMinimum < Orb::BaseModel
12667
+ class NewMinimum < Orb::Internal::Type::BaseModel
12653
12668
  sig { returns(Symbol) }
12654
12669
  attr_accessor :adjustment_type
12655
12670
 
@@ -12707,7 +12722,7 @@ module Orb
12707
12722
  end
12708
12723
  end
12709
12724
 
12710
- class NewMaximum < Orb::BaseModel
12725
+ class NewMaximum < Orb::Internal::Type::BaseModel
12711
12726
  sig { returns(Symbol) }
12712
12727
  attr_accessor :adjustment_type
12713
12728
 
@@ -12773,7 +12788,7 @@ module Orb
12773
12788
  # invoice dates that overlap with this `start_date`. This `start_date` is treated
12774
12789
  # as inclusive for in-advance prices, and exclusive for in-arrears prices.
12775
12790
  module StartDate
12776
- extend Orb::Union
12791
+ extend Orb::Internal::Type::Union
12777
12792
 
12778
12793
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
12779
12794
  def self.variants
@@ -12785,7 +12800,7 @@ module Orb
12785
12800
  # invoice dates that overlap with this `end_date`.This `end_date` is treated as
12786
12801
  # exclusive for in-advance prices, and inclusive for in-arrears prices.
12787
12802
  module EndDate
12788
- extend Orb::Union
12803
+ extend Orb::Internal::Type::Union
12789
12804
 
12790
12805
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
12791
12806
  def self.variants
@@ -12793,7 +12808,7 @@ module Orb
12793
12808
  end
12794
12809
  end
12795
12810
 
12796
- class Edit < Orb::BaseModel
12811
+ class Edit < Orb::Internal::Type::BaseModel
12797
12812
  # The id of the price interval to edit.
12798
12813
  sig { returns(String) }
12799
12814
  attr_accessor :price_interval_id
@@ -12850,7 +12865,12 @@ module Orb
12850
12865
  end_date: T.nilable(T.any(Time, Orb::Models::BillingCycleRelativeDate::OrSymbol)),
12851
12866
  filter: T.nilable(String),
12852
12867
  fixed_fee_quantity_transitions: T.nilable(
12853
- T::Array[T.any(Orb::Models::SubscriptionPriceIntervalsParams::Edit::FixedFeeQuantityTransition, Orb::Util::AnyHash)]
12868
+ T::Array[
12869
+ T.any(
12870
+ Orb::Models::SubscriptionPriceIntervalsParams::Edit::FixedFeeQuantityTransition,
12871
+ Orb::Internal::AnyHash
12872
+ )
12873
+ ]
12854
12874
  ),
12855
12875
  start_date: T.any(Time, Orb::Models::BillingCycleRelativeDate::OrSymbol),
12856
12876
  usage_customer_ids: T.nilable(T::Array[String])
@@ -12888,14 +12908,14 @@ module Orb
12888
12908
  # The updated end date of this price interval. If not specified, the start date
12889
12909
  # will not be updated.
12890
12910
  module EndDate
12891
- extend Orb::Union
12911
+ extend Orb::Internal::Type::Union
12892
12912
 
12893
12913
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
12894
12914
  def self.variants
12895
12915
  end
12896
12916
  end
12897
12917
 
12898
- class FixedFeeQuantityTransition < Orb::BaseModel
12918
+ class FixedFeeQuantityTransition < Orb::Internal::Type::BaseModel
12899
12919
  # The date that the fixed fee quantity transition should take effect.
12900
12920
  sig { returns(Time) }
12901
12921
  attr_accessor :effective_date
@@ -12916,7 +12936,7 @@ module Orb
12916
12936
  # The updated start date of this price interval. If not specified, the start date
12917
12937
  # will not be updated.
12918
12938
  module StartDate
12919
- extend Orb::Union
12939
+ extend Orb::Internal::Type::Union
12920
12940
 
12921
12941
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
12922
12942
  def self.variants
@@ -12924,7 +12944,7 @@ module Orb
12924
12944
  end
12925
12945
  end
12926
12946
 
12927
- class EditAdjustment < Orb::BaseModel
12947
+ class EditAdjustment < Orb::Internal::Type::BaseModel
12928
12948
  # The id of the adjustment interval to edit.
12929
12949
  sig { returns(String) }
12930
12950
  attr_accessor :adjustment_interval_id
@@ -12969,7 +12989,7 @@ module Orb
12969
12989
  # The updated end date of this adjustment interval. If not specified, the start
12970
12990
  # date will not be updated.
12971
12991
  module EndDate
12972
- extend Orb::Union
12992
+ extend Orb::Internal::Type::Union
12973
12993
 
12974
12994
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
12975
12995
  def self.variants
@@ -12979,7 +12999,7 @@ module Orb
12979
12999
  # The updated start date of this adjustment interval. If not specified, the start
12980
13000
  # date will not be updated.
12981
13001
  module StartDate
12982
- extend Orb::Union
13002
+ extend Orb::Internal::Type::Union
12983
13003
 
12984
13004
  sig { override.returns([Time, Orb::Models::BillingCycleRelativeDate::OrSymbol]) }
12985
13005
  def self.variants