orb-billing 0.1.0.pre.alpha.38 → 0.1.1

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 (409) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +10 -2
  3. data/lib/orb/client.rb +4 -0
  4. data/lib/orb/internal/transport/base_client.rb +2 -2
  5. data/lib/orb/internal/transport/pooled_net_requester.rb +15 -6
  6. data/lib/orb/internal/type/array_of.rb +12 -2
  7. data/lib/orb/internal/type/base_model.rb +23 -22
  8. data/lib/orb/internal/type/boolean.rb +5 -1
  9. data/lib/orb/internal/type/converter.rb +62 -39
  10. data/lib/orb/internal/type/enum.rb +13 -9
  11. data/lib/orb/internal/type/hash_of.rb +6 -2
  12. data/lib/orb/internal/type/io_like.rb +75 -0
  13. data/lib/orb/internal/type/request_parameters.rb +11 -2
  14. data/lib/orb/internal/type/union.rb +7 -3
  15. data/lib/orb/internal/type/unknown.rb +5 -1
  16. data/lib/orb/internal/util.rb +81 -26
  17. data/lib/orb/models/alert.rb +9 -9
  18. data/lib/orb/models/alert_create_for_customer_params.rb +3 -3
  19. data/lib/orb/models/alert_create_for_external_customer_params.rb +3 -3
  20. data/lib/orb/models/alert_create_for_subscription_params.rb +3 -3
  21. data/lib/orb/models/alert_list_params.rb +5 -5
  22. data/lib/orb/models/alert_update_params.rb +3 -3
  23. data/lib/orb/models/amount_discount.rb +1 -1
  24. data/lib/orb/models/billable_metric.rb +7 -7
  25. data/lib/orb/models/coupon.rb +7 -7
  26. data/lib/orb/models/coupon_create_params.rb +2 -2
  27. data/lib/orb/models/coupon_list_params.rb +2 -2
  28. data/lib/orb/models/coupons/subscription_list_params.rb +1 -1
  29. data/lib/orb/models/credit_note.rb +1 -1
  30. data/lib/orb/models/credit_note_list_params.rb +5 -5
  31. data/lib/orb/models/customer.rb +232 -232
  32. data/lib/orb/models/customer_create_params.rb +223 -223
  33. data/lib/orb/models/customer_list_params.rb +5 -5
  34. data/lib/orb/models/customer_update_by_external_id_params.rb +224 -224
  35. data/lib/orb/models/customer_update_params.rb +224 -224
  36. data/lib/orb/models/customers/balance_transaction_create_response.rb +2 -2
  37. data/lib/orb/models/customers/balance_transaction_list_params.rb +5 -5
  38. data/lib/orb/models/customers/balance_transaction_list_response.rb +2 -2
  39. data/lib/orb/models/customers/cost_list_by_external_id_params.rb +6 -6
  40. data/lib/orb/models/customers/cost_list_params.rb +6 -6
  41. data/lib/orb/models/customers/credit_list_by_external_id_params.rb +2 -2
  42. data/lib/orb/models/customers/credit_list_params.rb +2 -2
  43. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +20 -20
  44. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +22 -22
  45. data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +20 -20
  46. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +22 -22
  47. data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +5 -5
  48. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +22 -22
  49. data/lib/orb/models/customers/credits/ledger_list_params.rb +5 -5
  50. data/lib/orb/models/customers/credits/ledger_list_response.rb +22 -22
  51. data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +8 -8
  52. data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +7 -7
  53. data/lib/orb/models/customers/credits/top_up_create_params.rb +8 -8
  54. data/lib/orb/models/customers/credits/top_up_create_response.rb +7 -7
  55. data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +1 -1
  56. data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +7 -7
  57. data/lib/orb/models/customers/credits/top_up_list_params.rb +1 -1
  58. data/lib/orb/models/customers/credits/top_up_list_response.rb +7 -7
  59. data/lib/orb/models/dimensional_price_group.rb +7 -7
  60. data/lib/orb/models/dimensional_price_group_create_params.rb +2 -2
  61. data/lib/orb/models/dimensional_price_group_list_params.rb +1 -1
  62. data/lib/orb/models/event_ingest_params.rb +7 -7
  63. data/lib/orb/models/event_ingest_response.rb +4 -4
  64. data/lib/orb/models/event_search_params.rb +5 -5
  65. data/lib/orb/models/event_search_response.rb +8 -8
  66. data/lib/orb/models/event_update_params.rb +4 -4
  67. data/lib/orb/models/events/backfill_close_response.rb +7 -7
  68. data/lib/orb/models/events/backfill_create_params.rb +11 -11
  69. data/lib/orb/models/events/backfill_create_response.rb +7 -7
  70. data/lib/orb/models/events/backfill_fetch_response.rb +7 -7
  71. data/lib/orb/models/events/backfill_list_params.rb +1 -1
  72. data/lib/orb/models/events/backfill_list_response.rb +7 -7
  73. data/lib/orb/models/events/backfill_revert_response.rb +7 -7
  74. data/lib/orb/models/events/event_volumes.rb +1 -1
  75. data/lib/orb/models/events/volume_list_params.rb +7 -7
  76. data/lib/orb/models/invoice.rb +270 -270
  77. data/lib/orb/models/invoice_create_params.rb +12 -11
  78. data/lib/orb/models/invoice_fetch_upcoming_response.rb +266 -266
  79. data/lib/orb/models/invoice_issue_params.rb +4 -4
  80. data/lib/orb/models/invoice_line_item_create_params.rb +1 -1
  81. data/lib/orb/models/invoice_line_item_create_response.rb +27 -27
  82. data/lib/orb/models/invoice_list_params.rb +12 -12
  83. data/lib/orb/models/invoice_update_params.rb +2 -2
  84. data/lib/orb/models/item.rb +2 -2
  85. data/lib/orb/models/item_list_params.rb +1 -1
  86. data/lib/orb/models/metric_create_params.rb +2 -2
  87. data/lib/orb/models/metric_list_params.rb +5 -5
  88. data/lib/orb/models/metric_update_params.rb +2 -2
  89. data/lib/orb/models/percentage_discount.rb +2 -2
  90. data/lib/orb/models/plan.rb +35 -35
  91. data/lib/orb/models/plan_create_params.rb +267 -267
  92. data/lib/orb/models/plan_list_params.rb +5 -5
  93. data/lib/orb/models/plan_update_params.rb +4 -4
  94. data/lib/orb/models/plans/external_plan_id_update_params.rb +4 -4
  95. data/lib/orb/models/price.rb +158 -158
  96. data/lib/orb/models/price_create_params.rb +20 -20
  97. data/lib/orb/models/price_evaluate_params.rb +4 -4
  98. data/lib/orb/models/price_list_params.rb +1 -1
  99. data/lib/orb/models/price_update_params.rb +2 -2
  100. data/lib/orb/models/prices/external_price_id_update_params.rb +2 -2
  101. data/lib/orb/models/subscription.rb +114 -87
  102. data/lib/orb/models/subscription_cancel_params.rb +3 -3
  103. data/lib/orb/models/subscription_cancel_response.rb +150 -72
  104. data/lib/orb/models/subscription_change_apply_params.rb +33 -0
  105. data/lib/orb/models/subscription_change_apply_response.rb +1372 -0
  106. data/lib/orb/models/subscription_change_cancel_params.rb +19 -0
  107. data/lib/orb/models/subscription_change_cancel_response.rb +1372 -0
  108. data/lib/orb/models/subscription_change_retrieve_params.rb +19 -0
  109. data/lib/orb/models/subscription_change_retrieve_response.rb +1372 -0
  110. data/lib/orb/models/subscription_create_params.rb +641 -641
  111. data/lib/orb/models/subscription_create_response.rb +150 -72
  112. data/lib/orb/models/subscription_fetch_costs_params.rb +6 -6
  113. data/lib/orb/models/subscription_fetch_schedule_params.rb +5 -5
  114. data/lib/orb/models/subscription_fetch_schedule_response.rb +2 -2
  115. data/lib/orb/models/subscription_fetch_usage_params.rb +8 -8
  116. data/lib/orb/models/subscription_list_params.rb +5 -5
  117. data/lib/orb/models/subscription_price_intervals_params.rb +323 -323
  118. data/lib/orb/models/subscription_price_intervals_response.rb +152 -72
  119. data/lib/orb/models/subscription_schedule_plan_change_params.rb +651 -651
  120. data/lib/orb/models/subscription_schedule_plan_change_response.rb +152 -72
  121. data/lib/orb/models/subscription_trigger_phase_params.rb +3 -3
  122. data/lib/orb/models/subscription_trigger_phase_response.rb +152 -72
  123. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +152 -72
  124. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +153 -73
  125. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +152 -72
  126. data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +8 -8
  127. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +152 -72
  128. data/lib/orb/models/subscription_update_params.rb +10 -10
  129. data/lib/orb/models/subscription_update_trial_params.rb +3 -3
  130. data/lib/orb/models/subscription_update_trial_response.rb +152 -72
  131. data/lib/orb/models/trial_discount.rb +1 -1
  132. data/lib/orb/models/usage_discount.rb +2 -2
  133. data/lib/orb/request_options.rb +7 -7
  134. data/lib/orb/resources/alerts.rb +38 -38
  135. data/lib/orb/resources/coupons/subscriptions.rb +3 -3
  136. data/lib/orb/resources/coupons.rb +9 -9
  137. data/lib/orb/resources/credit_notes.rb +8 -8
  138. data/lib/orb/resources/customers/balance_transactions.rb +26 -26
  139. data/lib/orb/resources/customers/costs.rb +232 -232
  140. data/lib/orb/resources/customers/credits/ledger.rb +344 -344
  141. data/lib/orb/resources/customers/credits/top_ups.rb +12 -12
  142. data/lib/orb/resources/customers/credits.rb +8 -8
  143. data/lib/orb/resources/customers.rb +59 -59
  144. data/lib/orb/resources/dimensional_price_groups.rb +6 -6
  145. data/lib/orb/resources/events/backfills.rb +49 -49
  146. data/lib/orb/resources/events/volume.rb +10 -10
  147. data/lib/orb/resources/events.rb +295 -295
  148. data/lib/orb/resources/invoice_line_items.rb +1 -1
  149. data/lib/orb/resources/invoices.rb +38 -38
  150. data/lib/orb/resources/items.rb +1 -1
  151. data/lib/orb/resources/metrics.rb +11 -11
  152. data/lib/orb/resources/plans/external_plan_id.rb +14 -14
  153. data/lib/orb/resources/plans.rb +22 -22
  154. data/lib/orb/resources/prices/external_price_id.rb +4 -4
  155. data/lib/orb/resources/prices.rb +30 -30
  156. data/lib/orb/resources/subscription_changes.rb +87 -0
  157. data/lib/orb/resources/subscriptions.rb +813 -813
  158. data/lib/orb/resources/top_level.rb +4 -4
  159. data/lib/orb/version.rb +1 -1
  160. data/lib/orb.rb +8 -0
  161. data/rbi/lib/orb/client.rbi +5 -4
  162. data/rbi/lib/orb/errors.rbi +3 -6
  163. data/rbi/lib/orb/internal/page.rbi +3 -6
  164. data/rbi/lib/orb/internal/transport/base_client.rbi +13 -27
  165. data/rbi/lib/orb/internal/transport/pooled_net_requester.rbi +8 -14
  166. data/rbi/lib/orb/internal/type/array_of.rbi +14 -18
  167. data/rbi/lib/orb/internal/type/base_model.rbi +51 -66
  168. data/rbi/lib/orb/internal/type/base_page.rbi +5 -10
  169. data/rbi/lib/orb/internal/type/boolean.rbi +12 -10
  170. data/rbi/lib/orb/internal/type/converter.rbi +44 -37
  171. data/rbi/lib/orb/internal/type/enum.rbi +24 -21
  172. data/rbi/lib/orb/internal/type/hash_of.rbi +13 -18
  173. data/rbi/lib/orb/internal/type/io_like.rbi +49 -0
  174. data/rbi/lib/orb/internal/type/request_parameters.rbi +1 -2
  175. data/rbi/lib/orb/internal/type/union.rbi +19 -21
  176. data/rbi/lib/orb/internal/type/unknown.rbi +10 -9
  177. data/rbi/lib/orb/internal/util.rbi +67 -70
  178. data/rbi/lib/orb/internal.rbi +1 -1
  179. data/rbi/lib/orb/models/alert.rbi +21 -33
  180. data/rbi/lib/orb/models/alert_create_for_customer_params.rbi +8 -13
  181. data/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +8 -13
  182. data/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +8 -13
  183. data/rbi/lib/orb/models/alert_disable_params.rbi +2 -4
  184. data/rbi/lib/orb/models/alert_enable_params.rbi +2 -4
  185. data/rbi/lib/orb/models/alert_list_params.rbi +3 -6
  186. data/rbi/lib/orb/models/alert_retrieve_params.rbi +2 -4
  187. data/rbi/lib/orb/models/alert_update_params.rbi +7 -11
  188. data/rbi/lib/orb/models/amount_discount.rbi +4 -7
  189. data/rbi/lib/orb/models/billable_metric.rbi +10 -13
  190. data/rbi/lib/orb/models/billing_cycle_relative_date.rbi +1 -2
  191. data/rbi/lib/orb/models/coupon.rbi +9 -11
  192. data/rbi/lib/orb/models/coupon_archive_params.rbi +2 -4
  193. data/rbi/lib/orb/models/coupon_create_params.rbi +8 -14
  194. data/rbi/lib/orb/models/coupon_fetch_params.rbi +2 -4
  195. data/rbi/lib/orb/models/coupon_list_params.rbi +3 -4
  196. data/rbi/lib/orb/models/coupons/subscription_list_params.rbi +3 -5
  197. data/rbi/lib/orb/models/credit_note.rbi +22 -45
  198. data/rbi/lib/orb/models/credit_note_create_params.rbi +5 -10
  199. data/rbi/lib/orb/models/credit_note_fetch_params.rbi +2 -4
  200. data/rbi/lib/orb/models/credit_note_list_params.rbi +3 -6
  201. data/rbi/lib/orb/models/customer.rbi +256 -281
  202. data/rbi/lib/orb/models/customer_create_params.rbi +251 -276
  203. data/rbi/lib/orb/models/customer_delete_params.rbi +2 -4
  204. data/rbi/lib/orb/models/customer_fetch_by_external_id_params.rbi +2 -4
  205. data/rbi/lib/orb/models/customer_fetch_params.rbi +2 -4
  206. data/rbi/lib/orb/models/customer_list_params.rbi +3 -6
  207. data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +2 -4
  208. data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +2 -4
  209. data/rbi/lib/orb/models/customer_update_by_external_id_params.rbi +252 -277
  210. data/rbi/lib/orb/models/customer_update_params.rbi +252 -277
  211. data/rbi/lib/orb/models/customers/balance_transaction_create_params.rbi +3 -6
  212. data/rbi/lib/orb/models/customers/balance_transaction_create_response.rbi +10 -19
  213. data/rbi/lib/orb/models/customers/balance_transaction_list_params.rbi +3 -6
  214. data/rbi/lib/orb/models/customers/balance_transaction_list_response.rbi +10 -19
  215. data/rbi/lib/orb/models/customers/cost_list_by_external_id_params.rbi +8 -10
  216. data/rbi/lib/orb/models/customers/cost_list_by_external_id_response.rbi +6 -12
  217. data/rbi/lib/orb/models/customers/cost_list_params.rbi +8 -10
  218. data/rbi/lib/orb/models/customers/cost_list_response.rbi +6 -12
  219. data/rbi/lib/orb/models/customers/credit_list_by_external_id_params.rbi +3 -4
  220. data/rbi/lib/orb/models/customers/credit_list_by_external_id_response.rbi +2 -4
  221. data/rbi/lib/orb/models/customers/credit_list_params.rbi +3 -4
  222. data/rbi/lib/orb/models/customers/credit_list_response.rbi +2 -4
  223. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +26 -33
  224. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +79 -136
  225. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_params.rbi +26 -33
  226. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_response.rbi +78 -135
  227. data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +5 -10
  228. data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +79 -136
  229. data/rbi/lib/orb/models/customers/credits/ledger_list_params.rbi +5 -10
  230. data/rbi/lib/orb/models/customers/credits/ledger_list_response.rbi +74 -131
  231. data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +13 -19
  232. data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +12 -18
  233. data/rbi/lib/orb/models/customers/credits/top_up_create_params.rbi +13 -19
  234. data/rbi/lib/orb/models/customers/credits/top_up_create_response.rbi +12 -18
  235. data/rbi/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +2 -4
  236. data/rbi/lib/orb/models/customers/credits/top_up_delete_params.rbi +2 -4
  237. data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +3 -5
  238. data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +12 -18
  239. data/rbi/lib/orb/models/customers/credits/top_up_list_params.rbi +3 -5
  240. data/rbi/lib/orb/models/customers/credits/top_up_list_response.rbi +12 -18
  241. data/rbi/lib/orb/models/dimensional_price_group.rbi +8 -9
  242. data/rbi/lib/orb/models/dimensional_price_group_create_params.rbi +4 -7
  243. data/rbi/lib/orb/models/dimensional_price_group_list_params.rbi +3 -5
  244. data/rbi/lib/orb/models/dimensional_price_group_retrieve_params.rbi +2 -4
  245. data/rbi/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +2 -4
  246. data/rbi/lib/orb/models/dimensional_price_groups.rbi +2 -4
  247. data/rbi/lib/orb/models/discount.rbi +1 -2
  248. data/rbi/lib/orb/models/evaluate_price_group.rbi +3 -6
  249. data/rbi/lib/orb/models/event_deprecate_params.rbi +2 -4
  250. data/rbi/lib/orb/models/event_deprecate_response.rbi +2 -4
  251. data/rbi/lib/orb/models/event_ingest_params.rbi +10 -13
  252. data/rbi/lib/orb/models/event_ingest_response.rbi +10 -16
  253. data/rbi/lib/orb/models/event_search_params.rbi +7 -9
  254. data/rbi/lib/orb/models/event_search_response.rbi +11 -14
  255. data/rbi/lib/orb/models/event_update_params.rbi +5 -6
  256. data/rbi/lib/orb/models/event_update_response.rbi +2 -4
  257. data/rbi/lib/orb/models/events/backfill_close_params.rbi +2 -4
  258. data/rbi/lib/orb/models/events/backfill_close_response.rbi +10 -14
  259. data/rbi/lib/orb/models/events/backfill_create_params.rbi +13 -16
  260. data/rbi/lib/orb/models/events/backfill_create_response.rbi +10 -14
  261. data/rbi/lib/orb/models/events/backfill_fetch_params.rbi +2 -4
  262. data/rbi/lib/orb/models/events/backfill_fetch_response.rbi +10 -14
  263. data/rbi/lib/orb/models/events/backfill_list_params.rbi +3 -5
  264. data/rbi/lib/orb/models/events/backfill_list_response.rbi +10 -14
  265. data/rbi/lib/orb/models/events/backfill_revert_params.rbi +2 -4
  266. data/rbi/lib/orb/models/events/backfill_revert_response.rbi +10 -14
  267. data/rbi/lib/orb/models/events/event_volumes.rbi +5 -9
  268. data/rbi/lib/orb/models/events/volume_list_params.rbi +9 -11
  269. data/rbi/lib/orb/models/invoice.rbi +388 -465
  270. data/rbi/lib/orb/models/invoice_create_params.rbi +19 -26
  271. data/rbi/lib/orb/models/invoice_fetch_params.rbi +2 -4
  272. data/rbi/lib/orb/models/invoice_fetch_upcoming_params.rbi +2 -4
  273. data/rbi/lib/orb/models/invoice_fetch_upcoming_response.rbi +381 -460
  274. data/rbi/lib/orb/models/invoice_issue_params.rbi +6 -8
  275. data/rbi/lib/orb/models/invoice_level_discount.rbi +1 -2
  276. data/rbi/lib/orb/models/invoice_line_item_create_params.rbi +3 -5
  277. data/rbi/lib/orb/models/invoice_line_item_create_response.rbi +101 -143
  278. data/rbi/lib/orb/models/invoice_list_params.rbi +8 -13
  279. data/rbi/lib/orb/models/invoice_mark_paid_params.rbi +2 -4
  280. data/rbi/lib/orb/models/invoice_pay_params.rbi +2 -4
  281. data/rbi/lib/orb/models/invoice_update_params.rbi +4 -6
  282. data/rbi/lib/orb/models/invoice_void_params.rbi +2 -4
  283. data/rbi/lib/orb/models/item.rbi +7 -12
  284. data/rbi/lib/orb/models/item_create_params.rbi +2 -4
  285. data/rbi/lib/orb/models/item_fetch_params.rbi +2 -4
  286. data/rbi/lib/orb/models/item_list_params.rbi +3 -5
  287. data/rbi/lib/orb/models/item_update_params.rbi +5 -10
  288. data/rbi/lib/orb/models/metric_create_params.rbi +4 -6
  289. data/rbi/lib/orb/models/metric_fetch_params.rbi +2 -4
  290. data/rbi/lib/orb/models/metric_list_params.rbi +3 -6
  291. data/rbi/lib/orb/models/metric_update_params.rbi +4 -6
  292. data/rbi/lib/orb/models/pagination_metadata.rbi +2 -4
  293. data/rbi/lib/orb/models/percentage_discount.rbi +5 -8
  294. data/rbi/lib/orb/models/plan.rbi +180 -219
  295. data/rbi/lib/orb/models/plan_create_params.rbi +670 -951
  296. data/rbi/lib/orb/models/plan_fetch_params.rbi +2 -4
  297. data/rbi/lib/orb/models/plan_list_params.rbi +4 -8
  298. data/rbi/lib/orb/models/plan_update_params.rbi +6 -8
  299. data/rbi/lib/orb/models/plans/external_plan_id_fetch_params.rbi +2 -4
  300. data/rbi/lib/orb/models/plans/external_plan_id_update_params.rbi +6 -8
  301. data/rbi/lib/orb/models/price.rbi +827 -1494
  302. data/rbi/lib/orb/models/price_create_params.rbi +60 -101
  303. data/rbi/lib/orb/models/price_evaluate_params.rbi +6 -9
  304. data/rbi/lib/orb/models/price_evaluate_response.rbi +2 -4
  305. data/rbi/lib/orb/models/price_fetch_params.rbi +2 -4
  306. data/rbi/lib/orb/models/price_list_params.rbi +3 -5
  307. data/rbi/lib/orb/models/price_update_params.rbi +4 -6
  308. data/rbi/lib/orb/models/prices/external_price_id_fetch_params.rbi +2 -4
  309. data/rbi/lib/orb/models/prices/external_price_id_update_params.rbi +4 -6
  310. data/rbi/lib/orb/models/subscription.rbi +167 -187
  311. data/rbi/lib/orb/models/subscription_cancel_params.rbi +5 -7
  312. data/rbi/lib/orb/models/subscription_cancel_response.rbi +224 -178
  313. data/rbi/lib/orb/models/subscription_change_apply_params.rbi +40 -0
  314. data/rbi/lib/orb/models/subscription_change_apply_response.rbi +1554 -0
  315. data/rbi/lib/orb/models/subscription_change_cancel_params.rbi +18 -0
  316. data/rbi/lib/orb/models/subscription_change_cancel_response.rbi +1565 -0
  317. data/rbi/lib/orb/models/subscription_change_retrieve_params.rbi +18 -0
  318. data/rbi/lib/orb/models/subscription_change_retrieve_response.rbi +1581 -0
  319. data/rbi/lib/orb/models/subscription_create_params.rbi +1372 -1968
  320. data/rbi/lib/orb/models/subscription_create_response.rbi +224 -178
  321. data/rbi/lib/orb/models/subscription_fetch_costs_params.rbi +8 -10
  322. data/rbi/lib/orb/models/subscription_fetch_costs_response.rbi +6 -12
  323. data/rbi/lib/orb/models/subscription_fetch_params.rbi +2 -4
  324. data/rbi/lib/orb/models/subscription_fetch_schedule_params.rbi +3 -6
  325. data/rbi/lib/orb/models/subscription_fetch_schedule_response.rbi +6 -10
  326. data/rbi/lib/orb/models/subscription_fetch_usage_params.rbi +12 -17
  327. data/rbi/lib/orb/models/subscription_list_params.rbi +4 -8
  328. data/rbi/lib/orb/models/subscription_price_intervals_params.rbi +772 -1124
  329. data/rbi/lib/orb/models/subscription_price_intervals_response.rbi +228 -178
  330. data/rbi/lib/orb/models/subscription_schedule_plan_change_params.rbi +1396 -1993
  331. data/rbi/lib/orb/models/subscription_schedule_plan_change_response.rbi +238 -182
  332. data/rbi/lib/orb/models/subscription_trigger_phase_params.rbi +5 -7
  333. data/rbi/lib/orb/models/subscription_trigger_phase_response.rbi +224 -178
  334. data/rbi/lib/orb/models/subscription_unschedule_cancellation_params.rbi +2 -4
  335. data/rbi/lib/orb/models/subscription_unschedule_cancellation_response.rbi +238 -182
  336. data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +2 -4
  337. data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +265 -199
  338. data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +2 -4
  339. data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +264 -198
  340. data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_params.rbi +11 -15
  341. data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_response.rbi +238 -182
  342. data/rbi/lib/orb/models/subscription_update_params.rbi +12 -15
  343. data/rbi/lib/orb/models/subscription_update_trial_params.rbi +6 -9
  344. data/rbi/lib/orb/models/subscription_update_trial_response.rbi +224 -178
  345. data/rbi/lib/orb/models/subscription_usage.rbi +24 -43
  346. data/rbi/lib/orb/models/subscriptions.rbi +2 -4
  347. data/rbi/lib/orb/models/top_level_ping_params.rbi +2 -4
  348. data/rbi/lib/orb/models/top_level_ping_response.rbi +2 -4
  349. data/rbi/lib/orb/models/trial_discount.rbi +4 -8
  350. data/rbi/lib/orb/models/usage_discount.rbi +5 -8
  351. data/rbi/lib/orb/request_options.rbi +9 -11
  352. data/rbi/lib/orb/resources/alerts.rbi +44 -60
  353. data/rbi/lib/orb/resources/coupons/subscriptions.rbi +6 -9
  354. data/rbi/lib/orb/resources/coupons.rbi +18 -25
  355. data/rbi/lib/orb/resources/credit_notes.rbi +9 -15
  356. data/rbi/lib/orb/resources/customers/balance_transactions.rbi +26 -31
  357. data/rbi/lib/orb/resources/customers/costs.rbi +241 -246
  358. data/rbi/lib/orb/resources/customers/credits/ledger.rbi +387 -396
  359. data/rbi/lib/orb/resources/customers/credits/top_ups.rbi +29 -40
  360. data/rbi/lib/orb/resources/customers/credits.rbi +15 -20
  361. data/rbi/lib/orb/resources/customers.rbi +407 -417
  362. data/rbi/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +2 -4
  363. data/rbi/lib/orb/resources/dimensional_price_groups.rbi +13 -19
  364. data/rbi/lib/orb/resources/events/backfills.rbi +61 -69
  365. data/rbi/lib/orb/resources/events/volume.rbi +19 -22
  366. data/rbi/lib/orb/resources/events.rbi +311 -319
  367. data/rbi/lib/orb/resources/invoice_line_items.rbi +4 -7
  368. data/rbi/lib/orb/resources/invoices.rbi +62 -76
  369. data/rbi/lib/orb/resources/items.rbi +7 -14
  370. data/rbi/lib/orb/resources/metrics.rbi +17 -25
  371. data/rbi/lib/orb/resources/plans/external_plan_id.rbi +21 -25
  372. data/rbi/lib/orb/resources/plans.rbi +63 -71
  373. data/rbi/lib/orb/resources/prices/external_price_id.rbi +9 -13
  374. data/rbi/lib/orb/resources/prices.rbi +77 -87
  375. data/rbi/lib/orb/resources/subscription_changes.rbi +61 -0
  376. data/rbi/lib/orb/resources/subscriptions.rbi +933 -963
  377. data/rbi/lib/orb/resources/top_level.rbi +6 -8
  378. data/sig/orb/client.rbs +2 -0
  379. data/sig/orb/internal/transport/pooled_net_requester.rbs +1 -1
  380. data/sig/orb/internal/type/array_of.rbs +5 -2
  381. data/sig/orb/internal/type/base_model.rbs +5 -2
  382. data/sig/orb/internal/type/boolean.rbs +5 -2
  383. data/sig/orb/internal/type/converter.rbs +11 -5
  384. data/sig/orb/internal/type/enum.rbs +5 -2
  385. data/sig/orb/internal/type/hash_of.rbs +5 -2
  386. data/sig/orb/internal/type/io_like.rbs +23 -0
  387. data/sig/orb/internal/type/union.rbs +5 -2
  388. data/sig/orb/internal/type/unknown.rbs +5 -2
  389. data/sig/orb/internal/util.rbs +17 -2
  390. data/sig/orb/models/subscription.rbs +14 -0
  391. data/sig/orb/models/subscription_cancel_response.rbs +47 -2
  392. data/sig/orb/models/subscription_change_apply_params.rbs +24 -0
  393. data/sig/orb/models/subscription_change_apply_response.rbs +784 -0
  394. data/sig/orb/models/subscription_change_cancel_params.rbs +15 -0
  395. data/sig/orb/models/subscription_change_cancel_response.rbs +784 -0
  396. data/sig/orb/models/subscription_change_retrieve_params.rbs +15 -0
  397. data/sig/orb/models/subscription_change_retrieve_response.rbs +784 -0
  398. data/sig/orb/models/subscription_create_response.rbs +47 -2
  399. data/sig/orb/models/subscription_price_intervals_response.rbs +47 -2
  400. data/sig/orb/models/subscription_schedule_plan_change_response.rbs +47 -2
  401. data/sig/orb/models/subscription_trigger_phase_response.rbs +47 -2
  402. data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +47 -2
  403. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +47 -2
  404. data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +47 -2
  405. data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +47 -2
  406. data/sig/orb/models/subscription_update_trial_response.rbs +47 -2
  407. data/sig/orb/resources/customers.rbs +2 -2
  408. data/sig/orb/resources/subscription_changes.rbs +24 -0
  409. metadata +28 -4
@@ -3,15 +3,15 @@
3
3
  module Orb
4
4
  module Models
5
5
  # The Price resource represents a price that can be billed on a subscription,
6
- # resulting in a charge on an invoice in the form of an invoice line item. Prices
7
- # take a quantity and determine an amount to bill.
6
+ # resulting in a charge on an invoice in the form of an invoice line item. Prices
7
+ # take a quantity and determine an amount to bill.
8
8
  #
9
- # Orb supports a few different pricing models out of the box. Each of these models
10
- # is serialized differently in a given Price object. The model_type field
11
- # determines the key for the configuration object that is present.
9
+ # Orb supports a few different pricing models out of the box. Each of these models
10
+ # is serialized differently in a given Price object. The model_type field
11
+ # determines the key for the configuration object that is present.
12
12
  #
13
- # For more on the types of prices, see
14
- # [the core concepts documentation](/core-concepts#plan-and-price)
13
+ # For more on the types of prices, see
14
+ # [the core concepts documentation](/core-concepts#plan-and-price)
15
15
  #
16
16
  # @see Orb::Resources::Prices#create
17
17
  module Price
@@ -156,9 +156,9 @@ module Orb
156
156
 
157
157
  # @!attribute metadata
158
158
  # User specified key-value pairs for the resource. If not present, this defaults
159
- # to an empty dictionary. Individual keys can be removed by setting the value to
160
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
161
- # `null`.
159
+ # to an empty dictionary. Individual keys can be removed by setting the value to
160
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
161
+ # `null`.
162
162
  #
163
163
  # @return [Hash{Symbol=>String}]
164
164
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -414,7 +414,7 @@ module Orb
414
414
  class Maximum < Orb::Internal::Type::BaseModel
415
415
  # @!attribute applies_to_price_ids
416
416
  # List of price_ids that this maximum amount applies to. For plan/plan phase
417
- # maximums, this can be a subset of prices.
417
+ # maximums, this can be a subset of prices.
418
418
  #
419
419
  # @return [Array<String>]
420
420
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -438,7 +438,7 @@ module Orb
438
438
  class Minimum < Orb::Internal::Type::BaseModel
439
439
  # @!attribute applies_to_price_ids
440
440
  # List of price_ids that this minimum amount applies to. For plan/plan phase
441
- # minimums, this can be a subset of prices.
441
+ # minimums, this can be a subset of prices.
442
442
  #
443
443
  # @return [Array<String>]
444
444
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -590,9 +590,9 @@ module Orb
590
590
 
591
591
  # @!attribute metadata
592
592
  # User specified key-value pairs for the resource. If not present, this defaults
593
- # to an empty dictionary. Individual keys can be removed by setting the value to
594
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
595
- # `null`.
593
+ # to an empty dictionary. Individual keys can be removed by setting the value to
594
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
595
+ # `null`.
596
596
  #
597
597
  # @return [Hash{Symbol=>String}]
598
598
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -848,7 +848,7 @@ module Orb
848
848
  class Maximum < Orb::Internal::Type::BaseModel
849
849
  # @!attribute applies_to_price_ids
850
850
  # List of price_ids that this maximum amount applies to. For plan/plan phase
851
- # maximums, this can be a subset of prices.
851
+ # maximums, this can be a subset of prices.
852
852
  #
853
853
  # @return [Array<String>]
854
854
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -872,7 +872,7 @@ module Orb
872
872
  class Minimum < Orb::Internal::Type::BaseModel
873
873
  # @!attribute applies_to_price_ids
874
874
  # List of price_ids that this minimum amount applies to. For plan/plan phase
875
- # minimums, this can be a subset of prices.
875
+ # minimums, this can be a subset of prices.
876
876
  #
877
877
  # @return [Array<String>]
878
878
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -902,7 +902,7 @@ module Orb
902
902
 
903
903
  # @!attribute package_size
904
904
  # An integer amount to represent package size. For example, 1000 here would divide
905
- # usage by 1000 before multiplying by package_amount in rating
905
+ # usage by 1000 before multiplying by package_amount in rating
906
906
  #
907
907
  # @return [Integer]
908
908
  required :package_size, Integer
@@ -1037,9 +1037,9 @@ module Orb
1037
1037
 
1038
1038
  # @!attribute metadata
1039
1039
  # User specified key-value pairs for the resource. If not present, this defaults
1040
- # to an empty dictionary. Individual keys can be removed by setting the value to
1041
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
1042
- # `null`.
1040
+ # to an empty dictionary. Individual keys can be removed by setting the value to
1041
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
1042
+ # `null`.
1043
1043
  #
1044
1044
  # @return [Hash{Symbol=>String}]
1045
1045
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -1319,8 +1319,8 @@ module Orb
1319
1319
  class MatrixValue < Orb::Internal::Type::BaseModel
1320
1320
  # @!attribute dimension_values
1321
1321
  # One or two matrix keys to filter usage to this Matrix value by. For example,
1322
- # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
1323
- # instance tier.
1322
+ # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
1323
+ # instance tier.
1324
1324
  #
1325
1325
  # @return [Array<String, nil>]
1326
1326
  required :dimension_values, Orb::Internal::Type::ArrayOf[String, nil?: true]
@@ -1345,7 +1345,7 @@ module Orb
1345
1345
  class Maximum < Orb::Internal::Type::BaseModel
1346
1346
  # @!attribute applies_to_price_ids
1347
1347
  # List of price_ids that this maximum amount applies to. For plan/plan phase
1348
- # maximums, this can be a subset of prices.
1348
+ # maximums, this can be a subset of prices.
1349
1349
  #
1350
1350
  # @return [Array<String>]
1351
1351
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -1369,7 +1369,7 @@ module Orb
1369
1369
  class Minimum < Orb::Internal::Type::BaseModel
1370
1370
  # @!attribute applies_to_price_ids
1371
1371
  # List of price_ids that this minimum amount applies to. For plan/plan phase
1372
- # minimums, this can be a subset of prices.
1372
+ # minimums, this can be a subset of prices.
1373
1373
  #
1374
1374
  # @return [Array<String>]
1375
1375
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -1505,9 +1505,9 @@ module Orb
1505
1505
 
1506
1506
  # @!attribute metadata
1507
1507
  # User specified key-value pairs for the resource. If not present, this defaults
1508
- # to an empty dictionary. Individual keys can be removed by setting the value to
1509
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
1510
- # `null`.
1508
+ # to an empty dictionary. Individual keys can be removed by setting the value to
1509
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
1510
+ # `null`.
1511
1511
  #
1512
1512
  # @return [Hash{Symbol=>String}]
1513
1513
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -1763,7 +1763,7 @@ module Orb
1763
1763
  class Maximum < Orb::Internal::Type::BaseModel
1764
1764
  # @!attribute applies_to_price_ids
1765
1765
  # List of price_ids that this maximum amount applies to. For plan/plan phase
1766
- # maximums, this can be a subset of prices.
1766
+ # maximums, this can be a subset of prices.
1767
1767
  #
1768
1768
  # @return [Array<String>]
1769
1769
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -1787,7 +1787,7 @@ module Orb
1787
1787
  class Minimum < Orb::Internal::Type::BaseModel
1788
1788
  # @!attribute applies_to_price_ids
1789
1789
  # List of price_ids that this minimum amount applies to. For plan/plan phase
1790
- # minimums, this can be a subset of prices.
1790
+ # minimums, this can be a subset of prices.
1791
1791
  #
1792
1792
  # @return [Array<String>]
1793
1793
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -1838,7 +1838,7 @@ module Orb
1838
1838
 
1839
1839
  class Tier < Orb::Internal::Type::BaseModel
1840
1840
  # @!attribute first_unit
1841
- # Inclusive tier starting value
1841
+ # Exclusive tier starting value
1842
1842
  #
1843
1843
  # @return [Float]
1844
1844
  required :first_unit, Float
@@ -1850,7 +1850,7 @@ module Orb
1850
1850
  required :unit_amount, String
1851
1851
 
1852
1852
  # @!attribute last_unit
1853
- # Exclusive tier ending value. If null, this is treated as the last tier
1853
+ # Inclusive tier ending value. If null, this is treated as the last tier
1854
1854
  #
1855
1855
  # @return [Float, nil]
1856
1856
  optional :last_unit, Float, nil?: true
@@ -1969,9 +1969,9 @@ module Orb
1969
1969
 
1970
1970
  # @!attribute metadata
1971
1971
  # User specified key-value pairs for the resource. If not present, this defaults
1972
- # to an empty dictionary. Individual keys can be removed by setting the value to
1973
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
1974
- # `null`.
1972
+ # to an empty dictionary. Individual keys can be removed by setting the value to
1973
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
1974
+ # `null`.
1975
1975
  #
1976
1976
  # @return [Hash{Symbol=>String}]
1977
1977
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -2227,7 +2227,7 @@ module Orb
2227
2227
  class Maximum < Orb::Internal::Type::BaseModel
2228
2228
  # @!attribute applies_to_price_ids
2229
2229
  # List of price_ids that this maximum amount applies to. For plan/plan phase
2230
- # maximums, this can be a subset of prices.
2230
+ # maximums, this can be a subset of prices.
2231
2231
  #
2232
2232
  # @return [Array<String>]
2233
2233
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -2251,7 +2251,7 @@ module Orb
2251
2251
  class Minimum < Orb::Internal::Type::BaseModel
2252
2252
  # @!attribute applies_to_price_ids
2253
2253
  # List of price_ids that this minimum amount applies to. For plan/plan phase
2254
- # minimums, this can be a subset of prices.
2254
+ # minimums, this can be a subset of prices.
2255
2255
  #
2256
2256
  # @return [Array<String>]
2257
2257
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -2289,7 +2289,7 @@ module Orb
2289
2289
  class TieredBpsConfig < Orb::Internal::Type::BaseModel
2290
2290
  # @!attribute tiers
2291
2291
  # Tiers for a Graduated BPS pricing model, where usage is bucketed into specified
2292
- # tiers
2292
+ # tiers
2293
2293
  #
2294
2294
  # @return [Array<Orb::Models::Price::TieredBpsPrice::TieredBpsConfig::Tier>]
2295
2295
  required :tiers,
@@ -2310,13 +2310,13 @@ module Orb
2310
2310
  required :bps, Float
2311
2311
 
2312
2312
  # @!attribute minimum_amount
2313
- # Inclusive tier starting value
2313
+ # Exclusive tier starting value
2314
2314
  #
2315
2315
  # @return [String]
2316
2316
  required :minimum_amount, String
2317
2317
 
2318
2318
  # @!attribute maximum_amount
2319
- # Exclusive tier ending value
2319
+ # Inclusive tier ending value
2320
2320
  #
2321
2321
  # @return [String, nil]
2322
2322
  optional :maximum_amount, String, nil?: true
@@ -2446,9 +2446,9 @@ module Orb
2446
2446
 
2447
2447
  # @!attribute metadata
2448
2448
  # User specified key-value pairs for the resource. If not present, this defaults
2449
- # to an empty dictionary. Individual keys can be removed by setting the value to
2450
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
2451
- # `null`.
2449
+ # to an empty dictionary. Individual keys can be removed by setting the value to
2450
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
2451
+ # `null`.
2452
2452
  #
2453
2453
  # @return [Hash{Symbol=>String}]
2454
2454
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -2722,7 +2722,7 @@ module Orb
2722
2722
  class Maximum < Orb::Internal::Type::BaseModel
2723
2723
  # @!attribute applies_to_price_ids
2724
2724
  # List of price_ids that this maximum amount applies to. For plan/plan phase
2725
- # maximums, this can be a subset of prices.
2725
+ # maximums, this can be a subset of prices.
2726
2726
  #
2727
2727
  # @return [Array<String>]
2728
2728
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -2746,7 +2746,7 @@ module Orb
2746
2746
  class Minimum < Orb::Internal::Type::BaseModel
2747
2747
  # @!attribute applies_to_price_ids
2748
2748
  # List of price_ids that this minimum amount applies to. For plan/plan phase
2749
- # minimums, this can be a subset of prices.
2749
+ # minimums, this can be a subset of prices.
2750
2750
  #
2751
2751
  # @return [Array<String>]
2752
2752
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -2887,9 +2887,9 @@ module Orb
2887
2887
 
2888
2888
  # @!attribute metadata
2889
2889
  # User specified key-value pairs for the resource. If not present, this defaults
2890
- # to an empty dictionary. Individual keys can be removed by setting the value to
2891
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
2892
- # `null`.
2890
+ # to an empty dictionary. Individual keys can be removed by setting the value to
2891
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
2892
+ # `null`.
2893
2893
  #
2894
2894
  # @return [Hash{Symbol=>String}]
2895
2895
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -3044,7 +3044,7 @@ module Orb
3044
3044
  class BulkBpsConfig < Orb::Internal::Type::BaseModel
3045
3045
  # @!attribute tiers
3046
3046
  # Tiers for a bulk BPS pricing model where all usage is aggregated to a single
3047
- # tier based on total volume
3047
+ # tier based on total volume
3048
3048
  #
3049
3049
  # @return [Array<Orb::Models::Price::BulkBpsPrice::BulkBpsConfig::Tier>]
3050
3050
  required :tiers,
@@ -3187,7 +3187,7 @@ module Orb
3187
3187
  class Maximum < Orb::Internal::Type::BaseModel
3188
3188
  # @!attribute applies_to_price_ids
3189
3189
  # List of price_ids that this maximum amount applies to. For plan/plan phase
3190
- # maximums, this can be a subset of prices.
3190
+ # maximums, this can be a subset of prices.
3191
3191
  #
3192
3192
  # @return [Array<String>]
3193
3193
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -3211,7 +3211,7 @@ module Orb
3211
3211
  class Minimum < Orb::Internal::Type::BaseModel
3212
3212
  # @!attribute applies_to_price_ids
3213
3213
  # List of price_ids that this minimum amount applies to. For plan/plan phase
3214
- # minimums, this can be a subset of prices.
3214
+ # minimums, this can be a subset of prices.
3215
3215
  #
3216
3216
  # @return [Array<String>]
3217
3217
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -3352,9 +3352,9 @@ module Orb
3352
3352
 
3353
3353
  # @!attribute metadata
3354
3354
  # User specified key-value pairs for the resource. If not present, this defaults
3355
- # to an empty dictionary. Individual keys can be removed by setting the value to
3356
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
3357
- # `null`.
3355
+ # to an empty dictionary. Individual keys can be removed by setting the value to
3356
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
3357
+ # `null`.
3358
3358
  #
3359
3359
  # @return [Hash{Symbol=>String}]
3360
3360
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -3643,7 +3643,7 @@ module Orb
3643
3643
  class Maximum < Orb::Internal::Type::BaseModel
3644
3644
  # @!attribute applies_to_price_ids
3645
3645
  # List of price_ids that this maximum amount applies to. For plan/plan phase
3646
- # maximums, this can be a subset of prices.
3646
+ # maximums, this can be a subset of prices.
3647
3647
  #
3648
3648
  # @return [Array<String>]
3649
3649
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -3667,7 +3667,7 @@ module Orb
3667
3667
  class Minimum < Orb::Internal::Type::BaseModel
3668
3668
  # @!attribute applies_to_price_ids
3669
3669
  # List of price_ids that this minimum amount applies to. For plan/plan phase
3670
- # minimums, this can be a subset of prices.
3670
+ # minimums, this can be a subset of prices.
3671
3671
  #
3672
3672
  # @return [Array<String>]
3673
3673
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -3808,9 +3808,9 @@ module Orb
3808
3808
 
3809
3809
  # @!attribute metadata
3810
3810
  # User specified key-value pairs for the resource. If not present, this defaults
3811
- # to an empty dictionary. Individual keys can be removed by setting the value to
3812
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
3813
- # `null`.
3811
+ # to an empty dictionary. Individual keys can be removed by setting the value to
3812
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
3813
+ # `null`.
3814
3814
  #
3815
3815
  # @return [Hash{Symbol=>String}]
3816
3816
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -4066,7 +4066,7 @@ module Orb
4066
4066
  class Maximum < Orb::Internal::Type::BaseModel
4067
4067
  # @!attribute applies_to_price_ids
4068
4068
  # List of price_ids that this maximum amount applies to. For plan/plan phase
4069
- # maximums, this can be a subset of prices.
4069
+ # maximums, this can be a subset of prices.
4070
4070
  #
4071
4071
  # @return [Array<String>]
4072
4072
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -4090,7 +4090,7 @@ module Orb
4090
4090
  class Minimum < Orb::Internal::Type::BaseModel
4091
4091
  # @!attribute applies_to_price_ids
4092
4092
  # List of price_ids that this minimum amount applies to. For plan/plan phase
4093
- # minimums, this can be a subset of prices.
4093
+ # minimums, this can be a subset of prices.
4094
4094
  #
4095
4095
  # @return [Array<String>]
4096
4096
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -4227,9 +4227,9 @@ module Orb
4227
4227
 
4228
4228
  # @!attribute metadata
4229
4229
  # User specified key-value pairs for the resource. If not present, this defaults
4230
- # to an empty dictionary. Individual keys can be removed by setting the value to
4231
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
4232
- # `null`.
4230
+ # to an empty dictionary. Individual keys can be removed by setting the value to
4231
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
4232
+ # `null`.
4233
4233
  #
4234
4234
  # @return [Hash{Symbol=>String}]
4235
4235
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -4485,7 +4485,7 @@ module Orb
4485
4485
  class Maximum < Orb::Internal::Type::BaseModel
4486
4486
  # @!attribute applies_to_price_ids
4487
4487
  # List of price_ids that this maximum amount applies to. For plan/plan phase
4488
- # maximums, this can be a subset of prices.
4488
+ # maximums, this can be a subset of prices.
4489
4489
  #
4490
4490
  # @return [Array<String>]
4491
4491
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -4509,7 +4509,7 @@ module Orb
4509
4509
  class Minimum < Orb::Internal::Type::BaseModel
4510
4510
  # @!attribute applies_to_price_ids
4511
4511
  # List of price_ids that this minimum amount applies to. For plan/plan phase
4512
- # minimums, this can be a subset of prices.
4512
+ # minimums, this can be a subset of prices.
4513
4513
  #
4514
4514
  # @return [Array<String>]
4515
4515
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -4651,9 +4651,9 @@ module Orb
4651
4651
 
4652
4652
  # @!attribute metadata
4653
4653
  # User specified key-value pairs for the resource. If not present, this defaults
4654
- # to an empty dictionary. Individual keys can be removed by setting the value to
4655
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
4656
- # `null`.
4654
+ # to an empty dictionary. Individual keys can be removed by setting the value to
4655
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
4656
+ # `null`.
4657
4657
  #
4658
4658
  # @return [Hash{Symbol=>String}]
4659
4659
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -4904,7 +4904,7 @@ module Orb
4904
4904
  class Maximum < Orb::Internal::Type::BaseModel
4905
4905
  # @!attribute applies_to_price_ids
4906
4906
  # List of price_ids that this maximum amount applies to. For plan/plan phase
4907
- # maximums, this can be a subset of prices.
4907
+ # maximums, this can be a subset of prices.
4908
4908
  #
4909
4909
  # @return [Array<String>]
4910
4910
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -4928,7 +4928,7 @@ module Orb
4928
4928
  class Minimum < Orb::Internal::Type::BaseModel
4929
4929
  # @!attribute applies_to_price_ids
4930
4930
  # List of price_ids that this minimum amount applies to. For plan/plan phase
4931
- # minimums, this can be a subset of prices.
4931
+ # minimums, this can be a subset of prices.
4932
4932
  #
4933
4933
  # @return [Array<String>]
4934
4934
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -5067,9 +5067,9 @@ module Orb
5067
5067
 
5068
5068
  # @!attribute metadata
5069
5069
  # User specified key-value pairs for the resource. If not present, this defaults
5070
- # to an empty dictionary. Individual keys can be removed by setting the value to
5071
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
5072
- # `null`.
5070
+ # to an empty dictionary. Individual keys can be removed by setting the value to
5071
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
5072
+ # `null`.
5073
5073
  #
5074
5074
  # @return [Hash{Symbol=>String}]
5075
5075
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -5325,7 +5325,7 @@ module Orb
5325
5325
  class Maximum < Orb::Internal::Type::BaseModel
5326
5326
  # @!attribute applies_to_price_ids
5327
5327
  # List of price_ids that this maximum amount applies to. For plan/plan phase
5328
- # maximums, this can be a subset of prices.
5328
+ # maximums, this can be a subset of prices.
5329
5329
  #
5330
5330
  # @return [Array<String>]
5331
5331
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -5349,7 +5349,7 @@ module Orb
5349
5349
  class Minimum < Orb::Internal::Type::BaseModel
5350
5350
  # @!attribute applies_to_price_ids
5351
5351
  # List of price_ids that this minimum amount applies to. For plan/plan phase
5352
- # minimums, this can be a subset of prices.
5352
+ # minimums, this can be a subset of prices.
5353
5353
  #
5354
5354
  # @return [Array<String>]
5355
5355
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -5490,9 +5490,9 @@ module Orb
5490
5490
 
5491
5491
  # @!attribute metadata
5492
5492
  # User specified key-value pairs for the resource. If not present, this defaults
5493
- # to an empty dictionary. Individual keys can be removed by setting the value to
5494
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
5495
- # `null`.
5493
+ # to an empty dictionary. Individual keys can be removed by setting the value to
5494
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
5495
+ # `null`.
5496
5496
  #
5497
5497
  # @return [Hash{Symbol=>String}]
5498
5498
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -5749,7 +5749,7 @@ module Orb
5749
5749
  class Maximum < Orb::Internal::Type::BaseModel
5750
5750
  # @!attribute applies_to_price_ids
5751
5751
  # List of price_ids that this maximum amount applies to. For plan/plan phase
5752
- # maximums, this can be a subset of prices.
5752
+ # maximums, this can be a subset of prices.
5753
5753
  #
5754
5754
  # @return [Array<String>]
5755
5755
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -5773,7 +5773,7 @@ module Orb
5773
5773
  class Minimum < Orb::Internal::Type::BaseModel
5774
5774
  # @!attribute applies_to_price_ids
5775
5775
  # List of price_ids that this minimum amount applies to. For plan/plan phase
5776
- # minimums, this can be a subset of prices.
5776
+ # minimums, this can be a subset of prices.
5777
5777
  #
5778
5778
  # @return [Array<String>]
5779
5779
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -5914,9 +5914,9 @@ module Orb
5914
5914
 
5915
5915
  # @!attribute metadata
5916
5916
  # User specified key-value pairs for the resource. If not present, this defaults
5917
- # to an empty dictionary. Individual keys can be removed by setting the value to
5918
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
5919
- # `null`.
5917
+ # to an empty dictionary. Individual keys can be removed by setting the value to
5918
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
5919
+ # `null`.
5920
5920
  #
5921
5921
  # @return [Hash{Symbol=>String}]
5922
5922
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -6172,7 +6172,7 @@ module Orb
6172
6172
  class Maximum < Orb::Internal::Type::BaseModel
6173
6173
  # @!attribute applies_to_price_ids
6174
6174
  # List of price_ids that this maximum amount applies to. For plan/plan phase
6175
- # maximums, this can be a subset of prices.
6175
+ # maximums, this can be a subset of prices.
6176
6176
  #
6177
6177
  # @return [Array<String>]
6178
6178
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -6196,7 +6196,7 @@ module Orb
6196
6196
  class Minimum < Orb::Internal::Type::BaseModel
6197
6197
  # @!attribute applies_to_price_ids
6198
6198
  # List of price_ids that this minimum amount applies to. For plan/plan phase
6199
- # minimums, this can be a subset of prices.
6199
+ # minimums, this can be a subset of prices.
6200
6200
  #
6201
6201
  # @return [Array<String>]
6202
6202
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -6333,9 +6333,9 @@ module Orb
6333
6333
 
6334
6334
  # @!attribute metadata
6335
6335
  # User specified key-value pairs for the resource. If not present, this defaults
6336
- # to an empty dictionary. Individual keys can be removed by setting the value to
6337
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
6338
- # `null`.
6336
+ # to an empty dictionary. Individual keys can be removed by setting the value to
6337
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
6338
+ # `null`.
6339
6339
  #
6340
6340
  # @return [Hash{Symbol=>String}]
6341
6341
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -6591,7 +6591,7 @@ module Orb
6591
6591
  class Maximum < Orb::Internal::Type::BaseModel
6592
6592
  # @!attribute applies_to_price_ids
6593
6593
  # List of price_ids that this maximum amount applies to. For plan/plan phase
6594
- # maximums, this can be a subset of prices.
6594
+ # maximums, this can be a subset of prices.
6595
6595
  #
6596
6596
  # @return [Array<String>]
6597
6597
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -6615,7 +6615,7 @@ module Orb
6615
6615
  class Minimum < Orb::Internal::Type::BaseModel
6616
6616
  # @!attribute applies_to_price_ids
6617
6617
  # List of price_ids that this minimum amount applies to. For plan/plan phase
6618
- # minimums, this can be a subset of prices.
6618
+ # minimums, this can be a subset of prices.
6619
6619
  #
6620
6620
  # @return [Array<String>]
6621
6621
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -6762,9 +6762,9 @@ module Orb
6762
6762
 
6763
6763
  # @!attribute metadata
6764
6764
  # User specified key-value pairs for the resource. If not present, this defaults
6765
- # to an empty dictionary. Individual keys can be removed by setting the value to
6766
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
6767
- # `null`.
6765
+ # to an empty dictionary. Individual keys can be removed by setting the value to
6766
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
6767
+ # `null`.
6768
6768
  #
6769
6769
  # @return [Hash{Symbol=>String}]
6770
6770
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -7051,8 +7051,8 @@ module Orb
7051
7051
  class MatrixValue < Orb::Internal::Type::BaseModel
7052
7052
  # @!attribute dimension_values
7053
7053
  # One or two matrix keys to filter usage to this Matrix value by. For example,
7054
- # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
7055
- # instance tier.
7054
+ # ["region", "tier"] could be used to filter cloud usage by a cloud region and an
7055
+ # instance tier.
7056
7056
  #
7057
7057
  # @return [Array<String, nil>]
7058
7058
  required :dimension_values, Orb::Internal::Type::ArrayOf[String, nil?: true]
@@ -7077,7 +7077,7 @@ module Orb
7077
7077
  class Maximum < Orb::Internal::Type::BaseModel
7078
7078
  # @!attribute applies_to_price_ids
7079
7079
  # List of price_ids that this maximum amount applies to. For plan/plan phase
7080
- # maximums, this can be a subset of prices.
7080
+ # maximums, this can be a subset of prices.
7081
7081
  #
7082
7082
  # @return [Array<String>]
7083
7083
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -7101,7 +7101,7 @@ module Orb
7101
7101
  class Minimum < Orb::Internal::Type::BaseModel
7102
7102
  # @!attribute applies_to_price_ids
7103
7103
  # List of price_ids that this minimum amount applies to. For plan/plan phase
7104
- # minimums, this can be a subset of prices.
7104
+ # minimums, this can be a subset of prices.
7105
7105
  #
7106
7106
  # @return [Array<String>]
7107
7107
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -7240,9 +7240,9 @@ module Orb
7240
7240
 
7241
7241
  # @!attribute metadata
7242
7242
  # User specified key-value pairs for the resource. If not present, this defaults
7243
- # to an empty dictionary. Individual keys can be removed by setting the value to
7244
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
7245
- # `null`.
7243
+ # to an empty dictionary. Individual keys can be removed by setting the value to
7244
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
7245
+ # `null`.
7246
7246
  #
7247
7247
  # @return [Hash{Symbol=>String}]
7248
7248
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -7498,7 +7498,7 @@ module Orb
7498
7498
  class Maximum < Orb::Internal::Type::BaseModel
7499
7499
  # @!attribute applies_to_price_ids
7500
7500
  # List of price_ids that this maximum amount applies to. For plan/plan phase
7501
- # maximums, this can be a subset of prices.
7501
+ # maximums, this can be a subset of prices.
7502
7502
  #
7503
7503
  # @return [Array<String>]
7504
7504
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -7522,7 +7522,7 @@ module Orb
7522
7522
  class Minimum < Orb::Internal::Type::BaseModel
7523
7523
  # @!attribute applies_to_price_ids
7524
7524
  # List of price_ids that this minimum amount applies to. For plan/plan phase
7525
- # minimums, this can be a subset of prices.
7525
+ # minimums, this can be a subset of prices.
7526
7526
  #
7527
7527
  # @return [Array<String>]
7528
7528
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -7661,9 +7661,9 @@ module Orb
7661
7661
 
7662
7662
  # @!attribute metadata
7663
7663
  # User specified key-value pairs for the resource. If not present, this defaults
7664
- # to an empty dictionary. Individual keys can be removed by setting the value to
7665
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
7666
- # `null`.
7664
+ # to an empty dictionary. Individual keys can be removed by setting the value to
7665
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
7666
+ # `null`.
7667
7667
  #
7668
7668
  # @return [Hash{Symbol=>String}]
7669
7669
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -7919,7 +7919,7 @@ module Orb
7919
7919
  class Maximum < Orb::Internal::Type::BaseModel
7920
7920
  # @!attribute applies_to_price_ids
7921
7921
  # List of price_ids that this maximum amount applies to. For plan/plan phase
7922
- # maximums, this can be a subset of prices.
7922
+ # maximums, this can be a subset of prices.
7923
7923
  #
7924
7924
  # @return [Array<String>]
7925
7925
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -7943,7 +7943,7 @@ module Orb
7943
7943
  class Minimum < Orb::Internal::Type::BaseModel
7944
7944
  # @!attribute applies_to_price_ids
7945
7945
  # List of price_ids that this minimum amount applies to. For plan/plan phase
7946
- # minimums, this can be a subset of prices.
7946
+ # minimums, this can be a subset of prices.
7947
7947
  #
7948
7948
  # @return [Array<String>]
7949
7949
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -8087,9 +8087,9 @@ module Orb
8087
8087
 
8088
8088
  # @!attribute metadata
8089
8089
  # User specified key-value pairs for the resource. If not present, this defaults
8090
- # to an empty dictionary. Individual keys can be removed by setting the value to
8091
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
8092
- # `null`.
8090
+ # to an empty dictionary. Individual keys can be removed by setting the value to
8091
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
8092
+ # `null`.
8093
8093
  #
8094
8094
  # @return [Hash{Symbol=>String}]
8095
8095
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -8340,7 +8340,7 @@ module Orb
8340
8340
  class Maximum < Orb::Internal::Type::BaseModel
8341
8341
  # @!attribute applies_to_price_ids
8342
8342
  # List of price_ids that this maximum amount applies to. For plan/plan phase
8343
- # maximums, this can be a subset of prices.
8343
+ # maximums, this can be a subset of prices.
8344
8344
  #
8345
8345
  # @return [Array<String>]
8346
8346
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -8364,7 +8364,7 @@ module Orb
8364
8364
  class Minimum < Orb::Internal::Type::BaseModel
8365
8365
  # @!attribute applies_to_price_ids
8366
8366
  # List of price_ids that this minimum amount applies to. For plan/plan phase
8367
- # minimums, this can be a subset of prices.
8367
+ # minimums, this can be a subset of prices.
8368
8368
  #
8369
8369
  # @return [Array<String>]
8370
8370
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -8511,9 +8511,9 @@ module Orb
8511
8511
 
8512
8512
  # @!attribute metadata
8513
8513
  # User specified key-value pairs for the resource. If not present, this defaults
8514
- # to an empty dictionary. Individual keys can be removed by setting the value to
8515
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
8516
- # `null`.
8514
+ # to an empty dictionary. Individual keys can be removed by setting the value to
8515
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
8516
+ # `null`.
8517
8517
  #
8518
8518
  # @return [Hash{Symbol=>String}]
8519
8519
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -8764,7 +8764,7 @@ module Orb
8764
8764
  class Maximum < Orb::Internal::Type::BaseModel
8765
8765
  # @!attribute applies_to_price_ids
8766
8766
  # List of price_ids that this maximum amount applies to. For plan/plan phase
8767
- # maximums, this can be a subset of prices.
8767
+ # maximums, this can be a subset of prices.
8768
8768
  #
8769
8769
  # @return [Array<String>]
8770
8770
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -8788,7 +8788,7 @@ module Orb
8788
8788
  class Minimum < Orb::Internal::Type::BaseModel
8789
8789
  # @!attribute applies_to_price_ids
8790
8790
  # List of price_ids that this minimum amount applies to. For plan/plan phase
8791
- # minimums, this can be a subset of prices.
8791
+ # minimums, this can be a subset of prices.
8792
8792
  #
8793
8793
  # @return [Array<String>]
8794
8794
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -8935,9 +8935,9 @@ module Orb
8935
8935
 
8936
8936
  # @!attribute metadata
8937
8937
  # User specified key-value pairs for the resource. If not present, this defaults
8938
- # to an empty dictionary. Individual keys can be removed by setting the value to
8939
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
8940
- # `null`.
8938
+ # to an empty dictionary. Individual keys can be removed by setting the value to
8939
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
8940
+ # `null`.
8941
8941
  #
8942
8942
  # @return [Hash{Symbol=>String}]
8943
8943
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -9188,7 +9188,7 @@ module Orb
9188
9188
  class Maximum < Orb::Internal::Type::BaseModel
9189
9189
  # @!attribute applies_to_price_ids
9190
9190
  # List of price_ids that this maximum amount applies to. For plan/plan phase
9191
- # maximums, this can be a subset of prices.
9191
+ # maximums, this can be a subset of prices.
9192
9192
  #
9193
9193
  # @return [Array<String>]
9194
9194
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -9212,7 +9212,7 @@ module Orb
9212
9212
  class Minimum < Orb::Internal::Type::BaseModel
9213
9213
  # @!attribute applies_to_price_ids
9214
9214
  # List of price_ids that this minimum amount applies to. For plan/plan phase
9215
- # minimums, this can be a subset of prices.
9215
+ # minimums, this can be a subset of prices.
9216
9216
  #
9217
9217
  # @return [Array<String>]
9218
9218
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -9358,9 +9358,9 @@ module Orb
9358
9358
 
9359
9359
  # @!attribute metadata
9360
9360
  # User specified key-value pairs for the resource. If not present, this defaults
9361
- # to an empty dictionary. Individual keys can be removed by setting the value to
9362
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
9363
- # `null`.
9361
+ # to an empty dictionary. Individual keys can be removed by setting the value to
9362
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
9363
+ # `null`.
9364
9364
  #
9365
9365
  # @return [Hash{Symbol=>String}]
9366
9366
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -9611,7 +9611,7 @@ module Orb
9611
9611
  class Maximum < Orb::Internal::Type::BaseModel
9612
9612
  # @!attribute applies_to_price_ids
9613
9613
  # List of price_ids that this maximum amount applies to. For plan/plan phase
9614
- # maximums, this can be a subset of prices.
9614
+ # maximums, this can be a subset of prices.
9615
9615
  #
9616
9616
  # @return [Array<String>]
9617
9617
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -9635,7 +9635,7 @@ module Orb
9635
9635
  class Minimum < Orb::Internal::Type::BaseModel
9636
9636
  # @!attribute applies_to_price_ids
9637
9637
  # List of price_ids that this minimum amount applies to. For plan/plan phase
9638
- # minimums, this can be a subset of prices.
9638
+ # minimums, this can be a subset of prices.
9639
9639
  #
9640
9640
  # @return [Array<String>]
9641
9641
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -9779,9 +9779,9 @@ module Orb
9779
9779
 
9780
9780
  # @!attribute metadata
9781
9781
  # User specified key-value pairs for the resource. If not present, this defaults
9782
- # to an empty dictionary. Individual keys can be removed by setting the value to
9783
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
9784
- # `null`.
9782
+ # to an empty dictionary. Individual keys can be removed by setting the value to
9783
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
9784
+ # `null`.
9785
9785
  #
9786
9786
  # @return [Hash{Symbol=>String}]
9787
9787
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -10032,7 +10032,7 @@ module Orb
10032
10032
  class Maximum < Orb::Internal::Type::BaseModel
10033
10033
  # @!attribute applies_to_price_ids
10034
10034
  # List of price_ids that this maximum amount applies to. For plan/plan phase
10035
- # maximums, this can be a subset of prices.
10035
+ # maximums, this can be a subset of prices.
10036
10036
  #
10037
10037
  # @return [Array<String>]
10038
10038
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -10056,7 +10056,7 @@ module Orb
10056
10056
  class Minimum < Orb::Internal::Type::BaseModel
10057
10057
  # @!attribute applies_to_price_ids
10058
10058
  # List of price_ids that this minimum amount applies to. For plan/plan phase
10059
- # minimums, this can be a subset of prices.
10059
+ # minimums, this can be a subset of prices.
10060
10060
  #
10061
10061
  # @return [Array<String>]
10062
10062
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -10202,9 +10202,9 @@ module Orb
10202
10202
 
10203
10203
  # @!attribute metadata
10204
10204
  # User specified key-value pairs for the resource. If not present, this defaults
10205
- # to an empty dictionary. Individual keys can be removed by setting the value to
10206
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
10207
- # `null`.
10205
+ # to an empty dictionary. Individual keys can be removed by setting the value to
10206
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
10207
+ # `null`.
10208
10208
  #
10209
10209
  # @return [Hash{Symbol=>String}]
10210
10210
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -10455,7 +10455,7 @@ module Orb
10455
10455
  class Maximum < Orb::Internal::Type::BaseModel
10456
10456
  # @!attribute applies_to_price_ids
10457
10457
  # List of price_ids that this maximum amount applies to. For plan/plan phase
10458
- # maximums, this can be a subset of prices.
10458
+ # maximums, this can be a subset of prices.
10459
10459
  #
10460
10460
  # @return [Array<String>]
10461
10461
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -10479,7 +10479,7 @@ module Orb
10479
10479
  class Minimum < Orb::Internal::Type::BaseModel
10480
10480
  # @!attribute applies_to_price_ids
10481
10481
  # List of price_ids that this minimum amount applies to. For plan/plan phase
10482
- # minimums, this can be a subset of prices.
10482
+ # minimums, this can be a subset of prices.
10483
10483
  #
10484
10484
  # @return [Array<String>]
10485
10485
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -10625,9 +10625,9 @@ module Orb
10625
10625
 
10626
10626
  # @!attribute metadata
10627
10627
  # User specified key-value pairs for the resource. If not present, this defaults
10628
- # to an empty dictionary. Individual keys can be removed by setting the value to
10629
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
10630
- # `null`.
10628
+ # to an empty dictionary. Individual keys can be removed by setting the value to
10629
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
10630
+ # `null`.
10631
10631
  #
10632
10632
  # @return [Hash{Symbol=>String}]
10633
10633
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -10878,7 +10878,7 @@ module Orb
10878
10878
  class Maximum < Orb::Internal::Type::BaseModel
10879
10879
  # @!attribute applies_to_price_ids
10880
10880
  # List of price_ids that this maximum amount applies to. For plan/plan phase
10881
- # maximums, this can be a subset of prices.
10881
+ # maximums, this can be a subset of prices.
10882
10882
  #
10883
10883
  # @return [Array<String>]
10884
10884
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -10902,7 +10902,7 @@ module Orb
10902
10902
  class Minimum < Orb::Internal::Type::BaseModel
10903
10903
  # @!attribute applies_to_price_ids
10904
10904
  # List of price_ids that this minimum amount applies to. For plan/plan phase
10905
- # minimums, this can be a subset of prices.
10905
+ # minimums, this can be a subset of prices.
10906
10906
  #
10907
10907
  # @return [Array<String>]
10908
10908
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -11043,9 +11043,9 @@ module Orb
11043
11043
 
11044
11044
  # @!attribute metadata
11045
11045
  # User specified key-value pairs for the resource. If not present, this defaults
11046
- # to an empty dictionary. Individual keys can be removed by setting the value to
11047
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
11048
- # `null`.
11046
+ # to an empty dictionary. Individual keys can be removed by setting the value to
11047
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
11048
+ # `null`.
11049
11049
  #
11050
11050
  # @return [Hash{Symbol=>String}]
11051
11051
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -11302,7 +11302,7 @@ module Orb
11302
11302
  class Maximum < Orb::Internal::Type::BaseModel
11303
11303
  # @!attribute applies_to_price_ids
11304
11304
  # List of price_ids that this maximum amount applies to. For plan/plan phase
11305
- # maximums, this can be a subset of prices.
11305
+ # maximums, this can be a subset of prices.
11306
11306
  #
11307
11307
  # @return [Array<String>]
11308
11308
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -11326,7 +11326,7 @@ module Orb
11326
11326
  class Minimum < Orb::Internal::Type::BaseModel
11327
11327
  # @!attribute applies_to_price_ids
11328
11328
  # List of price_ids that this minimum amount applies to. For plan/plan phase
11329
- # minimums, this can be a subset of prices.
11329
+ # minimums, this can be a subset of prices.
11330
11330
  #
11331
11331
  # @return [Array<String>]
11332
11332
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -11467,9 +11467,9 @@ module Orb
11467
11467
 
11468
11468
  # @!attribute metadata
11469
11469
  # User specified key-value pairs for the resource. If not present, this defaults
11470
- # to an empty dictionary. Individual keys can be removed by setting the value to
11471
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
11472
- # `null`.
11470
+ # to an empty dictionary. Individual keys can be removed by setting the value to
11471
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
11472
+ # `null`.
11473
11473
  #
11474
11474
  # @return [Hash{Symbol=>String}]
11475
11475
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -11726,7 +11726,7 @@ module Orb
11726
11726
  class Maximum < Orb::Internal::Type::BaseModel
11727
11727
  # @!attribute applies_to_price_ids
11728
11728
  # List of price_ids that this maximum amount applies to. For plan/plan phase
11729
- # maximums, this can be a subset of prices.
11729
+ # maximums, this can be a subset of prices.
11730
11730
  #
11731
11731
  # @return [Array<String>]
11732
11732
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -11750,7 +11750,7 @@ module Orb
11750
11750
  class Minimum < Orb::Internal::Type::BaseModel
11751
11751
  # @!attribute applies_to_price_ids
11752
11752
  # List of price_ids that this minimum amount applies to. For plan/plan phase
11753
- # minimums, this can be a subset of prices.
11753
+ # minimums, this can be a subset of prices.
11754
11754
  #
11755
11755
  # @return [Array<String>]
11756
11756
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -11896,9 +11896,9 @@ module Orb
11896
11896
 
11897
11897
  # @!attribute metadata
11898
11898
  # User specified key-value pairs for the resource. If not present, this defaults
11899
- # to an empty dictionary. Individual keys can be removed by setting the value to
11900
- # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
11901
- # `null`.
11899
+ # to an empty dictionary. Individual keys can be removed by setting the value to
11900
+ # `null`, and the entire metadata mapping can be cleared by setting `metadata` to
11901
+ # `null`.
11902
11902
  #
11903
11903
  # @return [Hash{Symbol=>String}]
11904
11904
  required :metadata, Orb::Internal::Type::HashOf[String]
@@ -12149,7 +12149,7 @@ module Orb
12149
12149
  class Maximum < Orb::Internal::Type::BaseModel
12150
12150
  # @!attribute applies_to_price_ids
12151
12151
  # List of price_ids that this maximum amount applies to. For plan/plan phase
12152
- # maximums, this can be a subset of prices.
12152
+ # maximums, this can be a subset of prices.
12153
12153
  #
12154
12154
  # @return [Array<String>]
12155
12155
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]
@@ -12173,7 +12173,7 @@ module Orb
12173
12173
  class Minimum < Orb::Internal::Type::BaseModel
12174
12174
  # @!attribute applies_to_price_ids
12175
12175
  # List of price_ids that this minimum amount applies to. For plan/plan phase
12176
- # minimums, this can be a subset of prices.
12176
+ # minimums, this can be a subset of prices.
12177
12177
  #
12178
12178
  # @return [Array<String>]
12179
12179
  required :applies_to_price_ids, Orb::Internal::Type::ArrayOf[String]