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

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 (402) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +29 -5
  3. data/lib/orb/client.rb +4 -0
  4. data/lib/orb/internal/page.rb +6 -2
  5. data/lib/orb/internal/transport/base_client.rb +3 -3
  6. data/lib/orb/internal/transport/pooled_net_requester.rb +2 -2
  7. data/lib/orb/internal/type/array_of.rb +5 -3
  8. data/lib/orb/internal/type/base_model.rb +19 -16
  9. data/lib/orb/internal/type/base_page.rb +4 -1
  10. data/lib/orb/internal/type/{boolean_model.rb → boolean.rb} +2 -2
  11. data/lib/orb/internal/type/converter.rb +26 -23
  12. data/lib/orb/internal/type/enum.rb +10 -8
  13. data/lib/orb/internal/type/hash_of.rb +3 -1
  14. data/lib/orb/internal/util.rb +29 -50
  15. data/lib/orb/models/alert.rb +10 -10
  16. data/lib/orb/models/alert_create_for_customer_params.rb +3 -3
  17. data/lib/orb/models/alert_create_for_external_customer_params.rb +3 -3
  18. data/lib/orb/models/alert_create_for_subscription_params.rb +3 -3
  19. data/lib/orb/models/alert_list_params.rb +5 -5
  20. data/lib/orb/models/alert_update_params.rb +3 -3
  21. data/lib/orb/models/amount_discount.rb +1 -1
  22. data/lib/orb/models/billable_metric.rb +7 -7
  23. data/lib/orb/models/coupon.rb +7 -7
  24. data/lib/orb/models/coupon_create_params.rb +2 -2
  25. data/lib/orb/models/coupon_list_params.rb +3 -3
  26. data/lib/orb/models/coupons/subscription_list_params.rb +1 -1
  27. data/lib/orb/models/credit_note.rb +1 -1
  28. data/lib/orb/models/credit_note_list_params.rb +5 -5
  29. data/lib/orb/models/customer.rb +237 -237
  30. data/lib/orb/models/customer_create_params.rb +229 -229
  31. data/lib/orb/models/customer_list_params.rb +5 -5
  32. data/lib/orb/models/customer_update_by_external_id_params.rb +230 -230
  33. data/lib/orb/models/customer_update_params.rb +230 -230
  34. data/lib/orb/models/customers/balance_transaction_create_response.rb +2 -2
  35. data/lib/orb/models/customers/balance_transaction_list_params.rb +5 -5
  36. data/lib/orb/models/customers/balance_transaction_list_response.rb +2 -2
  37. data/lib/orb/models/customers/cost_list_by_external_id_params.rb +6 -6
  38. data/lib/orb/models/customers/cost_list_params.rb +6 -6
  39. data/lib/orb/models/customers/credit_list_by_external_id_params.rb +3 -3
  40. data/lib/orb/models/customers/credit_list_params.rb +3 -3
  41. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rb +22 -22
  42. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +22 -22
  43. data/lib/orb/models/customers/credits/ledger_create_entry_params.rb +22 -22
  44. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +22 -22
  45. data/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rb +5 -5
  46. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +22 -22
  47. data/lib/orb/models/customers/credits/ledger_list_params.rb +5 -5
  48. data/lib/orb/models/customers/credits/ledger_list_response.rb +22 -22
  49. data/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rb +10 -10
  50. data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +9 -9
  51. data/lib/orb/models/customers/credits/top_up_create_params.rb +10 -10
  52. data/lib/orb/models/customers/credits/top_up_create_response.rb +9 -9
  53. data/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rb +1 -1
  54. data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +9 -9
  55. data/lib/orb/models/customers/credits/top_up_list_params.rb +1 -1
  56. data/lib/orb/models/customers/credits/top_up_list_response.rb +9 -9
  57. data/lib/orb/models/dimensional_price_group.rb +7 -7
  58. data/lib/orb/models/dimensional_price_group_create_params.rb +2 -2
  59. data/lib/orb/models/dimensional_price_group_list_params.rb +1 -1
  60. data/lib/orb/models/evaluate_price_group.rb +1 -1
  61. data/lib/orb/models/event_ingest_params.rb +8 -8
  62. data/lib/orb/models/event_ingest_response.rb +4 -4
  63. data/lib/orb/models/event_search_params.rb +5 -5
  64. data/lib/orb/models/event_search_response.rb +9 -9
  65. data/lib/orb/models/event_update_params.rb +4 -4
  66. data/lib/orb/models/events/backfill_close_response.rb +8 -8
  67. data/lib/orb/models/events/backfill_create_params.rb +12 -12
  68. data/lib/orb/models/events/backfill_create_response.rb +8 -8
  69. data/lib/orb/models/events/backfill_fetch_response.rb +8 -8
  70. data/lib/orb/models/events/backfill_list_params.rb +1 -1
  71. data/lib/orb/models/events/backfill_list_response.rb +8 -8
  72. data/lib/orb/models/events/backfill_revert_response.rb +8 -8
  73. data/lib/orb/models/events/event_volumes.rb +1 -1
  74. data/lib/orb/models/events/volume_list_params.rb +7 -7
  75. data/lib/orb/models/invoice.rb +278 -278
  76. data/lib/orb/models/invoice_create_params.rb +13 -12
  77. data/lib/orb/models/invoice_fetch_upcoming_response.rb +274 -274
  78. data/lib/orb/models/invoice_issue_params.rb +5 -5
  79. data/lib/orb/models/invoice_line_item_create_params.rb +1 -1
  80. data/lib/orb/models/invoice_line_item_create_response.rb +32 -32
  81. data/lib/orb/models/invoice_list_params.rb +13 -13
  82. data/lib/orb/models/invoice_update_params.rb +2 -2
  83. data/lib/orb/models/item.rb +2 -2
  84. data/lib/orb/models/item_list_params.rb +1 -1
  85. data/lib/orb/models/metric_create_params.rb +2 -2
  86. data/lib/orb/models/metric_list_params.rb +5 -5
  87. data/lib/orb/models/metric_update_params.rb +2 -2
  88. data/lib/orb/models/pagination_metadata.rb +1 -1
  89. data/lib/orb/models/percentage_discount.rb +2 -2
  90. data/lib/orb/models/plan.rb +40 -40
  91. data/lib/orb/models/plan_create_params.rb +292 -292
  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 +186 -186
  96. data/lib/orb/models/price_create_params.rb +21 -21
  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 +120 -93
  102. data/lib/orb/models/subscription_cancel_params.rb +4 -4
  103. data/lib/orb/models/subscription_cancel_response.rb +156 -78
  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 +705 -705
  111. data/lib/orb/models/subscription_create_response.rb +156 -78
  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 +358 -358
  118. data/lib/orb/models/subscription_price_intervals_response.rb +158 -78
  119. data/lib/orb/models/subscription_schedule_plan_change_params.rb +715 -715
  120. data/lib/orb/models/subscription_schedule_plan_change_response.rb +158 -78
  121. data/lib/orb/models/subscription_trigger_phase_params.rb +4 -4
  122. data/lib/orb/models/subscription_trigger_phase_response.rb +158 -78
  123. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +158 -78
  124. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +159 -79
  125. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +158 -78
  126. data/lib/orb/models/subscription_update_fixed_fee_quantity_params.rb +9 -9
  127. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +158 -78
  128. data/lib/orb/models/subscription_update_params.rb +11 -11
  129. data/lib/orb/models/subscription_update_trial_params.rb +4 -4
  130. data/lib/orb/models/subscription_update_trial_response.rb +158 -78
  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 +40 -35
  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 +10 -5
  138. data/lib/orb/resources/customers/balance_transactions.rb +28 -23
  139. data/lib/orb/resources/customers/costs.rb +232 -232
  140. data/lib/orb/resources/customers/credits/ledger.rb +348 -338
  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 +61 -56
  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 +40 -31
  150. data/lib/orb/resources/items.rb +1 -1
  151. data/lib/orb/resources/metrics.rb +13 -8
  152. data/lib/orb/resources/plans/external_plan_id.rb +14 -14
  153. data/lib/orb/resources/plans.rb +24 -19
  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 +817 -807
  158. data/lib/orb/resources/top_level.rb +4 -4
  159. data/lib/orb/version.rb +1 -1
  160. data/lib/orb.rb +8 -1
  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 +7 -13
  166. data/rbi/lib/orb/internal/type/array_of.rbi +10 -18
  167. data/rbi/lib/orb/internal/type/base_model.rbi +45 -64
  168. data/rbi/lib/orb/internal/type/base_page.rbi +5 -10
  169. data/rbi/lib/orb/internal/type/{boolean_model.rbi → boolean.rbi} +5 -9
  170. data/rbi/lib/orb/internal/type/converter.rbi +25 -31
  171. data/rbi/lib/orb/internal/type/enum.rbi +14 -20
  172. data/rbi/lib/orb/internal/type/hash_of.rbi +8 -16
  173. data/rbi/lib/orb/internal/type/request_parameters.rbi +1 -2
  174. data/rbi/lib/orb/internal/type/union.rbi +10 -20
  175. data/rbi/lib/orb/internal/type/unknown.rbi +4 -8
  176. data/rbi/lib/orb/internal/util.rbi +40 -72
  177. data/rbi/lib/orb/internal.rbi +1 -1
  178. data/rbi/lib/orb/models/alert.rbi +21 -33
  179. data/rbi/lib/orb/models/alert_create_for_customer_params.rbi +8 -13
  180. data/rbi/lib/orb/models/alert_create_for_external_customer_params.rbi +8 -13
  181. data/rbi/lib/orb/models/alert_create_for_subscription_params.rbi +8 -13
  182. data/rbi/lib/orb/models/alert_disable_params.rbi +2 -4
  183. data/rbi/lib/orb/models/alert_enable_params.rbi +2 -4
  184. data/rbi/lib/orb/models/alert_list_params.rbi +3 -6
  185. data/rbi/lib/orb/models/alert_retrieve_params.rbi +2 -4
  186. data/rbi/lib/orb/models/alert_update_params.rbi +7 -11
  187. data/rbi/lib/orb/models/amount_discount.rbi +4 -7
  188. data/rbi/lib/orb/models/billable_metric.rbi +10 -13
  189. data/rbi/lib/orb/models/billing_cycle_relative_date.rbi +1 -2
  190. data/rbi/lib/orb/models/coupon.rbi +9 -11
  191. data/rbi/lib/orb/models/coupon_archive_params.rbi +2 -4
  192. data/rbi/lib/orb/models/coupon_create_params.rbi +8 -14
  193. data/rbi/lib/orb/models/coupon_fetch_params.rbi +2 -4
  194. data/rbi/lib/orb/models/coupon_list_params.rbi +3 -4
  195. data/rbi/lib/orb/models/coupons/subscription_list_params.rbi +3 -5
  196. data/rbi/lib/orb/models/credit_note.rbi +22 -45
  197. data/rbi/lib/orb/models/credit_note_create_params.rbi +5 -10
  198. data/rbi/lib/orb/models/credit_note_fetch_params.rbi +2 -4
  199. data/rbi/lib/orb/models/credit_note_list_params.rbi +3 -6
  200. data/rbi/lib/orb/models/customer.rbi +256 -281
  201. data/rbi/lib/orb/models/customer_create_params.rbi +251 -276
  202. data/rbi/lib/orb/models/customer_delete_params.rbi +2 -4
  203. data/rbi/lib/orb/models/customer_fetch_by_external_id_params.rbi +2 -4
  204. data/rbi/lib/orb/models/customer_fetch_params.rbi +2 -4
  205. data/rbi/lib/orb/models/customer_list_params.rbi +3 -6
  206. data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_by_external_customer_id_params.rbi +2 -4
  207. data/rbi/lib/orb/models/customer_sync_payment_methods_from_gateway_params.rbi +2 -4
  208. data/rbi/lib/orb/models/customer_update_by_external_id_params.rbi +252 -277
  209. data/rbi/lib/orb/models/customer_update_params.rbi +252 -277
  210. data/rbi/lib/orb/models/customers/balance_transaction_create_params.rbi +3 -6
  211. data/rbi/lib/orb/models/customers/balance_transaction_create_response.rbi +10 -19
  212. data/rbi/lib/orb/models/customers/balance_transaction_list_params.rbi +3 -6
  213. data/rbi/lib/orb/models/customers/balance_transaction_list_response.rbi +10 -19
  214. data/rbi/lib/orb/models/customers/cost_list_by_external_id_params.rbi +8 -10
  215. data/rbi/lib/orb/models/customers/cost_list_by_external_id_response.rbi +6 -12
  216. data/rbi/lib/orb/models/customers/cost_list_params.rbi +8 -10
  217. data/rbi/lib/orb/models/customers/cost_list_response.rbi +6 -12
  218. data/rbi/lib/orb/models/customers/credit_list_by_external_id_params.rbi +3 -4
  219. data/rbi/lib/orb/models/customers/credit_list_by_external_id_response.rbi +2 -4
  220. data/rbi/lib/orb/models/customers/credit_list_params.rbi +3 -4
  221. data/rbi/lib/orb/models/customers/credit_list_response.rbi +2 -4
  222. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_params.rbi +26 -33
  223. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +79 -136
  224. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_params.rbi +26 -33
  225. data/rbi/lib/orb/models/customers/credits/ledger_create_entry_response.rbi +78 -135
  226. data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_params.rbi +5 -10
  227. data/rbi/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +79 -136
  228. data/rbi/lib/orb/models/customers/credits/ledger_list_params.rbi +5 -10
  229. data/rbi/lib/orb/models/customers/credits/ledger_list_response.rbi +74 -131
  230. data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_params.rbi +13 -19
  231. data/rbi/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +12 -18
  232. data/rbi/lib/orb/models/customers/credits/top_up_create_params.rbi +13 -19
  233. data/rbi/lib/orb/models/customers/credits/top_up_create_response.rbi +12 -18
  234. data/rbi/lib/orb/models/customers/credits/top_up_delete_by_external_id_params.rbi +2 -4
  235. data/rbi/lib/orb/models/customers/credits/top_up_delete_params.rbi +2 -4
  236. data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_params.rbi +3 -5
  237. data/rbi/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +12 -18
  238. data/rbi/lib/orb/models/customers/credits/top_up_list_params.rbi +3 -5
  239. data/rbi/lib/orb/models/customers/credits/top_up_list_response.rbi +12 -18
  240. data/rbi/lib/orb/models/dimensional_price_group.rbi +8 -9
  241. data/rbi/lib/orb/models/dimensional_price_group_create_params.rbi +4 -7
  242. data/rbi/lib/orb/models/dimensional_price_group_list_params.rbi +3 -5
  243. data/rbi/lib/orb/models/dimensional_price_group_retrieve_params.rbi +2 -4
  244. data/rbi/lib/orb/models/dimensional_price_groups/external_dimensional_price_group_id_retrieve_params.rbi +2 -4
  245. data/rbi/lib/orb/models/dimensional_price_groups.rbi +2 -4
  246. data/rbi/lib/orb/models/discount.rbi +1 -2
  247. data/rbi/lib/orb/models/evaluate_price_group.rbi +3 -6
  248. data/rbi/lib/orb/models/event_deprecate_params.rbi +2 -4
  249. data/rbi/lib/orb/models/event_deprecate_response.rbi +2 -4
  250. data/rbi/lib/orb/models/event_ingest_params.rbi +10 -13
  251. data/rbi/lib/orb/models/event_ingest_response.rbi +10 -16
  252. data/rbi/lib/orb/models/event_search_params.rbi +7 -9
  253. data/rbi/lib/orb/models/event_search_response.rbi +11 -14
  254. data/rbi/lib/orb/models/event_update_params.rbi +5 -6
  255. data/rbi/lib/orb/models/event_update_response.rbi +2 -4
  256. data/rbi/lib/orb/models/events/backfill_close_params.rbi +2 -4
  257. data/rbi/lib/orb/models/events/backfill_close_response.rbi +10 -14
  258. data/rbi/lib/orb/models/events/backfill_create_params.rbi +13 -16
  259. data/rbi/lib/orb/models/events/backfill_create_response.rbi +10 -14
  260. data/rbi/lib/orb/models/events/backfill_fetch_params.rbi +2 -4
  261. data/rbi/lib/orb/models/events/backfill_fetch_response.rbi +10 -14
  262. data/rbi/lib/orb/models/events/backfill_list_params.rbi +3 -5
  263. data/rbi/lib/orb/models/events/backfill_list_response.rbi +10 -14
  264. data/rbi/lib/orb/models/events/backfill_revert_params.rbi +2 -4
  265. data/rbi/lib/orb/models/events/backfill_revert_response.rbi +10 -14
  266. data/rbi/lib/orb/models/events/event_volumes.rbi +5 -9
  267. data/rbi/lib/orb/models/events/volume_list_params.rbi +9 -11
  268. data/rbi/lib/orb/models/invoice.rbi +388 -465
  269. data/rbi/lib/orb/models/invoice_create_params.rbi +19 -26
  270. data/rbi/lib/orb/models/invoice_fetch_params.rbi +2 -4
  271. data/rbi/lib/orb/models/invoice_fetch_upcoming_params.rbi +2 -4
  272. data/rbi/lib/orb/models/invoice_fetch_upcoming_response.rbi +381 -460
  273. data/rbi/lib/orb/models/invoice_issue_params.rbi +6 -8
  274. data/rbi/lib/orb/models/invoice_level_discount.rbi +1 -2
  275. data/rbi/lib/orb/models/invoice_line_item_create_params.rbi +3 -5
  276. data/rbi/lib/orb/models/invoice_line_item_create_response.rbi +101 -143
  277. data/rbi/lib/orb/models/invoice_list_params.rbi +8 -13
  278. data/rbi/lib/orb/models/invoice_mark_paid_params.rbi +2 -4
  279. data/rbi/lib/orb/models/invoice_pay_params.rbi +2 -4
  280. data/rbi/lib/orb/models/invoice_update_params.rbi +4 -6
  281. data/rbi/lib/orb/models/invoice_void_params.rbi +2 -4
  282. data/rbi/lib/orb/models/item.rbi +7 -12
  283. data/rbi/lib/orb/models/item_create_params.rbi +2 -4
  284. data/rbi/lib/orb/models/item_fetch_params.rbi +2 -4
  285. data/rbi/lib/orb/models/item_list_params.rbi +3 -5
  286. data/rbi/lib/orb/models/item_update_params.rbi +5 -10
  287. data/rbi/lib/orb/models/metric_create_params.rbi +4 -6
  288. data/rbi/lib/orb/models/metric_fetch_params.rbi +2 -4
  289. data/rbi/lib/orb/models/metric_list_params.rbi +3 -6
  290. data/rbi/lib/orb/models/metric_update_params.rbi +4 -6
  291. data/rbi/lib/orb/models/pagination_metadata.rbi +2 -4
  292. data/rbi/lib/orb/models/percentage_discount.rbi +5 -8
  293. data/rbi/lib/orb/models/plan.rbi +180 -219
  294. data/rbi/lib/orb/models/plan_create_params.rbi +670 -951
  295. data/rbi/lib/orb/models/plan_fetch_params.rbi +2 -4
  296. data/rbi/lib/orb/models/plan_list_params.rbi +4 -8
  297. data/rbi/lib/orb/models/plan_update_params.rbi +6 -8
  298. data/rbi/lib/orb/models/plans/external_plan_id_fetch_params.rbi +2 -4
  299. data/rbi/lib/orb/models/plans/external_plan_id_update_params.rbi +6 -8
  300. data/rbi/lib/orb/models/price.rbi +827 -1494
  301. data/rbi/lib/orb/models/price_create_params.rbi +60 -101
  302. data/rbi/lib/orb/models/price_evaluate_params.rbi +6 -9
  303. data/rbi/lib/orb/models/price_evaluate_response.rbi +2 -4
  304. data/rbi/lib/orb/models/price_fetch_params.rbi +2 -4
  305. data/rbi/lib/orb/models/price_list_params.rbi +3 -5
  306. data/rbi/lib/orb/models/price_update_params.rbi +4 -6
  307. data/rbi/lib/orb/models/prices/external_price_id_fetch_params.rbi +2 -4
  308. data/rbi/lib/orb/models/prices/external_price_id_update_params.rbi +4 -6
  309. data/rbi/lib/orb/models/subscription.rbi +167 -187
  310. data/rbi/lib/orb/models/subscription_cancel_params.rbi +5 -7
  311. data/rbi/lib/orb/models/subscription_cancel_response.rbi +224 -178
  312. data/rbi/lib/orb/models/subscription_change_apply_params.rbi +40 -0
  313. data/rbi/lib/orb/models/subscription_change_apply_response.rbi +1554 -0
  314. data/rbi/lib/orb/models/subscription_change_cancel_params.rbi +18 -0
  315. data/rbi/lib/orb/models/subscription_change_cancel_response.rbi +1565 -0
  316. data/rbi/lib/orb/models/subscription_change_retrieve_params.rbi +18 -0
  317. data/rbi/lib/orb/models/subscription_change_retrieve_response.rbi +1581 -0
  318. data/rbi/lib/orb/models/subscription_create_params.rbi +1372 -1968
  319. data/rbi/lib/orb/models/subscription_create_response.rbi +224 -178
  320. data/rbi/lib/orb/models/subscription_fetch_costs_params.rbi +8 -10
  321. data/rbi/lib/orb/models/subscription_fetch_costs_response.rbi +6 -12
  322. data/rbi/lib/orb/models/subscription_fetch_params.rbi +2 -4
  323. data/rbi/lib/orb/models/subscription_fetch_schedule_params.rbi +3 -6
  324. data/rbi/lib/orb/models/subscription_fetch_schedule_response.rbi +6 -10
  325. data/rbi/lib/orb/models/subscription_fetch_usage_params.rbi +12 -17
  326. data/rbi/lib/orb/models/subscription_list_params.rbi +4 -8
  327. data/rbi/lib/orb/models/subscription_price_intervals_params.rbi +772 -1124
  328. data/rbi/lib/orb/models/subscription_price_intervals_response.rbi +228 -178
  329. data/rbi/lib/orb/models/subscription_schedule_plan_change_params.rbi +1396 -1993
  330. data/rbi/lib/orb/models/subscription_schedule_plan_change_response.rbi +238 -182
  331. data/rbi/lib/orb/models/subscription_trigger_phase_params.rbi +5 -7
  332. data/rbi/lib/orb/models/subscription_trigger_phase_response.rbi +224 -178
  333. data/rbi/lib/orb/models/subscription_unschedule_cancellation_params.rbi +2 -4
  334. data/rbi/lib/orb/models/subscription_unschedule_cancellation_response.rbi +238 -182
  335. data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_params.rbi +2 -4
  336. data/rbi/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +265 -199
  337. data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_params.rbi +2 -4
  338. data/rbi/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +264 -198
  339. data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_params.rbi +11 -15
  340. data/rbi/lib/orb/models/subscription_update_fixed_fee_quantity_response.rbi +238 -182
  341. data/rbi/lib/orb/models/subscription_update_params.rbi +12 -15
  342. data/rbi/lib/orb/models/subscription_update_trial_params.rbi +6 -9
  343. data/rbi/lib/orb/models/subscription_update_trial_response.rbi +224 -178
  344. data/rbi/lib/orb/models/subscription_usage.rbi +24 -43
  345. data/rbi/lib/orb/models/subscriptions.rbi +2 -4
  346. data/rbi/lib/orb/models/top_level_ping_params.rbi +2 -4
  347. data/rbi/lib/orb/models/top_level_ping_response.rbi +2 -4
  348. data/rbi/lib/orb/models/trial_discount.rbi +4 -8
  349. data/rbi/lib/orb/models/usage_discount.rbi +5 -8
  350. data/rbi/lib/orb/request_options.rbi +9 -11
  351. data/rbi/lib/orb/resources/alerts.rbi +44 -60
  352. data/rbi/lib/orb/resources/coupons/subscriptions.rbi +6 -9
  353. data/rbi/lib/orb/resources/coupons.rbi +18 -25
  354. data/rbi/lib/orb/resources/credit_notes.rbi +9 -15
  355. data/rbi/lib/orb/resources/customers/balance_transactions.rbi +26 -31
  356. data/rbi/lib/orb/resources/customers/costs.rbi +241 -246
  357. data/rbi/lib/orb/resources/customers/credits/ledger.rbi +387 -396
  358. data/rbi/lib/orb/resources/customers/credits/top_ups.rbi +29 -40
  359. data/rbi/lib/orb/resources/customers/credits.rbi +15 -20
  360. data/rbi/lib/orb/resources/customers.rbi +407 -417
  361. data/rbi/lib/orb/resources/dimensional_price_groups/external_dimensional_price_group_id.rbi +2 -4
  362. data/rbi/lib/orb/resources/dimensional_price_groups.rbi +13 -19
  363. data/rbi/lib/orb/resources/events/backfills.rbi +61 -69
  364. data/rbi/lib/orb/resources/events/volume.rbi +19 -22
  365. data/rbi/lib/orb/resources/events.rbi +311 -319
  366. data/rbi/lib/orb/resources/invoice_line_items.rbi +4 -7
  367. data/rbi/lib/orb/resources/invoices.rbi +62 -76
  368. data/rbi/lib/orb/resources/items.rbi +7 -14
  369. data/rbi/lib/orb/resources/metrics.rbi +17 -25
  370. data/rbi/lib/orb/resources/plans/external_plan_id.rbi +21 -25
  371. data/rbi/lib/orb/resources/plans.rbi +63 -71
  372. data/rbi/lib/orb/resources/prices/external_price_id.rbi +9 -13
  373. data/rbi/lib/orb/resources/prices.rbi +77 -87
  374. data/rbi/lib/orb/resources/subscription_changes.rbi +61 -0
  375. data/rbi/lib/orb/resources/subscriptions.rbi +933 -963
  376. data/rbi/lib/orb/resources/top_level.rbi +6 -8
  377. data/rbi/lib/orb/version.rbi +1 -1
  378. data/sig/orb/client.rbs +2 -0
  379. data/sig/orb/internal/type/array_of.rbs +2 -2
  380. data/sig/orb/internal/type/{boolean_model.rbs → boolean.rbs} +1 -1
  381. data/sig/orb/internal/util.rbs +5 -5
  382. data/sig/orb/models/subscription.rbs +14 -0
  383. data/sig/orb/models/subscription_cancel_response.rbs +47 -2
  384. data/sig/orb/models/subscription_change_apply_params.rbs +24 -0
  385. data/sig/orb/models/subscription_change_apply_response.rbs +784 -0
  386. data/sig/orb/models/subscription_change_cancel_params.rbs +15 -0
  387. data/sig/orb/models/subscription_change_cancel_response.rbs +784 -0
  388. data/sig/orb/models/subscription_change_retrieve_params.rbs +15 -0
  389. data/sig/orb/models/subscription_change_retrieve_response.rbs +784 -0
  390. data/sig/orb/models/subscription_create_response.rbs +47 -2
  391. data/sig/orb/models/subscription_price_intervals_response.rbs +47 -2
  392. data/sig/orb/models/subscription_schedule_plan_change_response.rbs +47 -2
  393. data/sig/orb/models/subscription_trigger_phase_response.rbs +47 -2
  394. data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +47 -2
  395. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +47 -2
  396. data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +47 -2
  397. data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +47 -2
  398. data/sig/orb/models/subscription_update_trial_response.rbs +47 -2
  399. data/sig/orb/resources/customers.rbs +2 -2
  400. data/sig/orb/resources/subscription_changes.rbs +24 -0
  401. data/sig/orb/version.rbs +1 -1
  402. metadata +26 -5
@@ -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]
@@ -337,7 +337,7 @@ module Orb
337
337
  # @!attribute allows_rollover
338
338
  #
339
339
  # @return [Boolean]
340
- required :allows_rollover, Orb::Internal::Type::BooleanModel
340
+ required :allows_rollover, Orb::Internal::Type::Boolean
341
341
 
342
342
  # @!attribute currency
343
343
  #
@@ -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]
@@ -771,7 +771,7 @@ module Orb
771
771
  # @!attribute allows_rollover
772
772
  #
773
773
  # @return [Boolean]
774
- required :allows_rollover, Orb::Internal::Type::BooleanModel
774
+ required :allows_rollover, Orb::Internal::Type::Boolean
775
775
 
776
776
  # @!attribute currency
777
777
  #
@@ -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]
@@ -1213,7 +1213,7 @@ module Orb
1213
1213
  # @!attribute allows_rollover
1214
1214
  #
1215
1215
  # @return [Boolean]
1216
- required :allows_rollover, Orb::Internal::Type::BooleanModel
1216
+ required :allows_rollover, Orb::Internal::Type::Boolean
1217
1217
 
1218
1218
  # @!attribute currency
1219
1219
  #
@@ -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]
@@ -1686,7 +1686,7 @@ module Orb
1686
1686
  # @!attribute allows_rollover
1687
1687
  #
1688
1688
  # @return [Boolean]
1689
- required :allows_rollover, Orb::Internal::Type::BooleanModel
1689
+ required :allows_rollover, Orb::Internal::Type::Boolean
1690
1690
 
1691
1691
  # @!attribute currency
1692
1692
  #
@@ -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]
@@ -2150,7 +2150,7 @@ module Orb
2150
2150
  # @!attribute allows_rollover
2151
2151
  #
2152
2152
  # @return [Boolean]
2153
- required :allows_rollover, Orb::Internal::Type::BooleanModel
2153
+ required :allows_rollover, Orb::Internal::Type::Boolean
2154
2154
 
2155
2155
  # @!attribute currency
2156
2156
  #
@@ -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]
@@ -2645,7 +2645,7 @@ module Orb
2645
2645
  # @!attribute allows_rollover
2646
2646
  #
2647
2647
  # @return [Boolean]
2648
- required :allows_rollover, Orb::Internal::Type::BooleanModel
2648
+ required :allows_rollover, Orb::Internal::Type::Boolean
2649
2649
 
2650
2650
  # @!attribute currency
2651
2651
  #
@@ -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,
@@ -3110,7 +3110,7 @@ module Orb
3110
3110
  # @!attribute allows_rollover
3111
3111
  #
3112
3112
  # @return [Boolean]
3113
- required :allows_rollover, Orb::Internal::Type::BooleanModel
3113
+ required :allows_rollover, Orb::Internal::Type::Boolean
3114
3114
 
3115
3115
  # @!attribute currency
3116
3116
  #
@@ -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]
@@ -3566,7 +3566,7 @@ module Orb
3566
3566
  # @!attribute allows_rollover
3567
3567
  #
3568
3568
  # @return [Boolean]
3569
- required :allows_rollover, Orb::Internal::Type::BooleanModel
3569
+ required :allows_rollover, Orb::Internal::Type::Boolean
3570
3570
 
3571
3571
  # @!attribute currency
3572
3572
  #
@@ -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]
@@ -3989,7 +3989,7 @@ module Orb
3989
3989
  # @!attribute allows_rollover
3990
3990
  #
3991
3991
  # @return [Boolean]
3992
- required :allows_rollover, Orb::Internal::Type::BooleanModel
3992
+ required :allows_rollover, Orb::Internal::Type::Boolean
3993
3993
 
3994
3994
  # @!attribute currency
3995
3995
  #
@@ -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]
@@ -4408,7 +4408,7 @@ module Orb
4408
4408
  # @!attribute allows_rollover
4409
4409
  #
4410
4410
  # @return [Boolean]
4411
- required :allows_rollover, Orb::Internal::Type::BooleanModel
4411
+ required :allows_rollover, Orb::Internal::Type::Boolean
4412
4412
 
4413
4413
  # @!attribute currency
4414
4414
  #
@@ -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]
@@ -4827,7 +4827,7 @@ module Orb
4827
4827
  # @!attribute allows_rollover
4828
4828
  #
4829
4829
  # @return [Boolean]
4830
- required :allows_rollover, Orb::Internal::Type::BooleanModel
4830
+ required :allows_rollover, Orb::Internal::Type::Boolean
4831
4831
 
4832
4832
  # @!attribute currency
4833
4833
  #
@@ -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]
@@ -5248,7 +5248,7 @@ module Orb
5248
5248
  # @!attribute allows_rollover
5249
5249
  #
5250
5250
  # @return [Boolean]
5251
- required :allows_rollover, Orb::Internal::Type::BooleanModel
5251
+ required :allows_rollover, Orb::Internal::Type::Boolean
5252
5252
 
5253
5253
  # @!attribute currency
5254
5254
  #
@@ -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]
@@ -5672,7 +5672,7 @@ module Orb
5672
5672
  # @!attribute allows_rollover
5673
5673
  #
5674
5674
  # @return [Boolean]
5675
- required :allows_rollover, Orb::Internal::Type::BooleanModel
5675
+ required :allows_rollover, Orb::Internal::Type::Boolean
5676
5676
 
5677
5677
  # @!attribute currency
5678
5678
  #
@@ -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]
@@ -6095,7 +6095,7 @@ module Orb
6095
6095
  # @!attribute allows_rollover
6096
6096
  #
6097
6097
  # @return [Boolean]
6098
- required :allows_rollover, Orb::Internal::Type::BooleanModel
6098
+ required :allows_rollover, Orb::Internal::Type::Boolean
6099
6099
 
6100
6100
  # @!attribute currency
6101
6101
  #
@@ -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]
@@ -6514,7 +6514,7 @@ module Orb
6514
6514
  # @!attribute allows_rollover
6515
6515
  #
6516
6516
  # @return [Boolean]
6517
- required :allows_rollover, Orb::Internal::Type::BooleanModel
6517
+ required :allows_rollover, Orb::Internal::Type::Boolean
6518
6518
 
6519
6519
  # @!attribute currency
6520
6520
  #
@@ -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]
@@ -6938,7 +6938,7 @@ module Orb
6938
6938
  # @!attribute allows_rollover
6939
6939
  #
6940
6940
  # @return [Boolean]
6941
- required :allows_rollover, Orb::Internal::Type::BooleanModel
6941
+ required :allows_rollover, Orb::Internal::Type::Boolean
6942
6942
 
6943
6943
  # @!attribute currency
6944
6944
  #
@@ -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]
@@ -7421,7 +7421,7 @@ module Orb
7421
7421
  # @!attribute allows_rollover
7422
7422
  #
7423
7423
  # @return [Boolean]
7424
- required :allows_rollover, Orb::Internal::Type::BooleanModel
7424
+ required :allows_rollover, Orb::Internal::Type::Boolean
7425
7425
 
7426
7426
  # @!attribute currency
7427
7427
  #
@@ -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]
@@ -7842,7 +7842,7 @@ module Orb
7842
7842
  # @!attribute allows_rollover
7843
7843
  #
7844
7844
  # @return [Boolean]
7845
- required :allows_rollover, Orb::Internal::Type::BooleanModel
7845
+ required :allows_rollover, Orb::Internal::Type::Boolean
7846
7846
 
7847
7847
  # @!attribute currency
7848
7848
  #
@@ -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]
@@ -8263,7 +8263,7 @@ module Orb
8263
8263
  # @!attribute allows_rollover
8264
8264
  #
8265
8265
  # @return [Boolean]
8266
- required :allows_rollover, Orb::Internal::Type::BooleanModel
8266
+ required :allows_rollover, Orb::Internal::Type::Boolean
8267
8267
 
8268
8268
  # @!attribute currency
8269
8269
  #
@@ -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]
@@ -8687,7 +8687,7 @@ module Orb
8687
8687
  # @!attribute allows_rollover
8688
8688
  #
8689
8689
  # @return [Boolean]
8690
- required :allows_rollover, Orb::Internal::Type::BooleanModel
8690
+ required :allows_rollover, Orb::Internal::Type::Boolean
8691
8691
 
8692
8692
  # @!attribute currency
8693
8693
  #
@@ -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]
@@ -9111,7 +9111,7 @@ module Orb
9111
9111
  # @!attribute allows_rollover
9112
9112
  #
9113
9113
  # @return [Boolean]
9114
- required :allows_rollover, Orb::Internal::Type::BooleanModel
9114
+ required :allows_rollover, Orb::Internal::Type::Boolean
9115
9115
 
9116
9116
  # @!attribute currency
9117
9117
  #
@@ -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]
@@ -9534,7 +9534,7 @@ module Orb
9534
9534
  # @!attribute allows_rollover
9535
9535
  #
9536
9536
  # @return [Boolean]
9537
- required :allows_rollover, Orb::Internal::Type::BooleanModel
9537
+ required :allows_rollover, Orb::Internal::Type::Boolean
9538
9538
 
9539
9539
  # @!attribute currency
9540
9540
  #
@@ -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]
@@ -9955,7 +9955,7 @@ module Orb
9955
9955
  # @!attribute allows_rollover
9956
9956
  #
9957
9957
  # @return [Boolean]
9958
- required :allows_rollover, Orb::Internal::Type::BooleanModel
9958
+ required :allows_rollover, Orb::Internal::Type::Boolean
9959
9959
 
9960
9960
  # @!attribute currency
9961
9961
  #
@@ -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]
@@ -10378,7 +10378,7 @@ module Orb
10378
10378
  # @!attribute allows_rollover
10379
10379
  #
10380
10380
  # @return [Boolean]
10381
- required :allows_rollover, Orb::Internal::Type::BooleanModel
10381
+ required :allows_rollover, Orb::Internal::Type::Boolean
10382
10382
 
10383
10383
  # @!attribute currency
10384
10384
  #
@@ -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]
@@ -10801,7 +10801,7 @@ module Orb
10801
10801
  # @!attribute allows_rollover
10802
10802
  #
10803
10803
  # @return [Boolean]
10804
- required :allows_rollover, Orb::Internal::Type::BooleanModel
10804
+ required :allows_rollover, Orb::Internal::Type::Boolean
10805
10805
 
10806
10806
  # @!attribute currency
10807
10807
  #
@@ -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]
@@ -11225,7 +11225,7 @@ module Orb
11225
11225
  # @!attribute allows_rollover
11226
11226
  #
11227
11227
  # @return [Boolean]
11228
- required :allows_rollover, Orb::Internal::Type::BooleanModel
11228
+ required :allows_rollover, Orb::Internal::Type::Boolean
11229
11229
 
11230
11230
  # @!attribute currency
11231
11231
  #
@@ -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]
@@ -11649,7 +11649,7 @@ module Orb
11649
11649
  # @!attribute allows_rollover
11650
11650
  #
11651
11651
  # @return [Boolean]
11652
- required :allows_rollover, Orb::Internal::Type::BooleanModel
11652
+ required :allows_rollover, Orb::Internal::Type::Boolean
11653
11653
 
11654
11654
  # @!attribute currency
11655
11655
  #
@@ -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]
@@ -12072,7 +12072,7 @@ module Orb
12072
12072
  # @!attribute allows_rollover
12073
12073
  #
12074
12074
  # @return [Boolean]
12075
- required :allows_rollover, Orb::Internal::Type::BooleanModel
12075
+ required :allows_rollover, Orb::Internal::Type::Boolean
12076
12076
 
12077
12077
  # @!attribute currency
12078
12078
  #
@@ -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]