orb-billing 1.40.0 → 1.42.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (270) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +25 -0
  3. data/README.md +1 -1
  4. data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +72 -72
  5. data/lib/orb/models/beta_create_plan_version_params.rb +72 -72
  6. data/lib/orb/models/invoice_pay_params.rb +4 -4
  7. data/lib/orb/models/new_floating_bulk_price.rb +3 -3
  8. data/lib/orb/models/new_floating_bulk_with_proration_price.rb +3 -3
  9. data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +3 -3
  10. data/lib/orb/models/new_floating_grouped_allocation_price.rb +3 -3
  11. data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +3 -3
  12. data/lib/orb/models/new_floating_grouped_tiered_price.rb +3 -3
  13. data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +3 -3
  14. data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +3 -3
  15. data/lib/orb/models/new_floating_matrix_price.rb +3 -3
  16. data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +3 -3
  17. data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +3 -3
  18. data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +3 -3
  19. data/lib/orb/models/new_floating_minimum_composite_price.rb +3 -3
  20. data/lib/orb/models/new_floating_package_price.rb +3 -3
  21. data/lib/orb/models/new_floating_package_with_allocation_price.rb +3 -3
  22. data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +3 -3
  23. data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +3 -3
  24. data/lib/orb/models/new_floating_threshold_total_amount_price.rb +3 -3
  25. data/lib/orb/models/new_floating_tiered_package_price.rb +3 -3
  26. data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +3 -3
  27. data/lib/orb/models/new_floating_tiered_price.rb +3 -3
  28. data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +3 -3
  29. data/lib/orb/models/new_floating_tiered_with_proration_price.rb +3 -3
  30. data/lib/orb/models/new_floating_unit_price.rb +3 -3
  31. data/lib/orb/models/new_floating_unit_with_percent_price.rb +3 -3
  32. data/lib/orb/models/new_floating_unit_with_proration_price.rb +3 -3
  33. data/lib/orb/models/new_plan_bulk_price.rb +3 -3
  34. data/lib/orb/models/new_plan_bulk_with_proration_price.rb +3 -3
  35. data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +3 -3
  36. data/lib/orb/models/new_plan_grouped_allocation_price.rb +3 -3
  37. data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +3 -3
  38. data/lib/orb/models/new_plan_grouped_tiered_price.rb +3 -3
  39. data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +3 -3
  40. data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +3 -3
  41. data/lib/orb/models/new_plan_matrix_price.rb +3 -3
  42. data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +3 -3
  43. data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +3 -3
  44. data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +3 -3
  45. data/lib/orb/models/new_plan_minimum_composite_price.rb +3 -3
  46. data/lib/orb/models/new_plan_package_price.rb +3 -3
  47. data/lib/orb/models/new_plan_package_with_allocation_price.rb +3 -3
  48. data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +3 -3
  49. data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +3 -3
  50. data/lib/orb/models/new_plan_threshold_total_amount_price.rb +3 -3
  51. data/lib/orb/models/new_plan_tiered_package_price.rb +3 -3
  52. data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +3 -3
  53. data/lib/orb/models/new_plan_tiered_price.rb +3 -3
  54. data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +3 -3
  55. data/lib/orb/models/new_plan_unit_price.rb +3 -3
  56. data/lib/orb/models/new_plan_unit_with_percent_price.rb +3 -3
  57. data/lib/orb/models/new_plan_unit_with_proration_price.rb +3 -3
  58. data/lib/orb/models/new_subscription_bulk_price.rb +3 -3
  59. data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +3 -3
  60. data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +3 -3
  61. data/lib/orb/models/new_subscription_grouped_allocation_price.rb +3 -3
  62. data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +3 -3
  63. data/lib/orb/models/new_subscription_grouped_tiered_price.rb +3 -3
  64. data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +3 -3
  65. data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +3 -3
  66. data/lib/orb/models/new_subscription_matrix_price.rb +3 -3
  67. data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +3 -3
  68. data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +3 -3
  69. data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +3 -3
  70. data/lib/orb/models/new_subscription_minimum_composite_price.rb +3 -3
  71. data/lib/orb/models/new_subscription_package_price.rb +3 -3
  72. data/lib/orb/models/new_subscription_package_with_allocation_price.rb +3 -3
  73. data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +3 -3
  74. data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +3 -3
  75. data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +3 -3
  76. data/lib/orb/models/new_subscription_tiered_package_price.rb +3 -3
  77. data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +3 -3
  78. data/lib/orb/models/new_subscription_tiered_price.rb +3 -3
  79. data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +3 -3
  80. data/lib/orb/models/new_subscription_unit_price.rb +3 -3
  81. data/lib/orb/models/new_subscription_unit_with_percent_price.rb +3 -3
  82. data/lib/orb/models/new_subscription_unit_with_proration_price.rb +3 -3
  83. data/lib/orb/models/plan_create_params.rb +36 -36
  84. data/lib/orb/models/price_create_params.rb +30 -30
  85. data/lib/orb/models/price_evaluate_multiple_params.rb +30 -30
  86. data/lib/orb/models/price_evaluate_preview_events_params.rb +30 -30
  87. data/lib/orb/models/subscription_create_params.rb +66 -66
  88. data/lib/orb/models/subscription_price_intervals_params.rb +30 -30
  89. data/lib/orb/models/subscription_schedule_plan_change_params.rb +66 -66
  90. data/lib/orb/resources/events/backfills.rb +3 -1
  91. data/lib/orb/resources/invoices.rb +3 -3
  92. data/lib/orb/resources/subscriptions.rb +3 -3
  93. data/lib/orb/version.rb +1 -1
  94. data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +216 -216
  95. data/rbi/orb/models/beta_create_plan_version_params.rbi +216 -216
  96. data/rbi/orb/models/invoice_pay_params.rbi +4 -4
  97. data/rbi/orb/models/new_floating_bulk_price.rbi +6 -6
  98. data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +9 -9
  99. data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +9 -9
  100. data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +9 -9
  101. data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +9 -9
  102. data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +9 -9
  103. data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +9 -9
  104. data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +9 -9
  105. data/rbi/orb/models/new_floating_matrix_price.rbi +8 -8
  106. data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +9 -9
  107. data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +9 -9
  108. data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +9 -9
  109. data/rbi/orb/models/new_floating_minimum_composite_price.rbi +9 -9
  110. data/rbi/orb/models/new_floating_package_price.rbi +8 -8
  111. data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +9 -9
  112. data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +9 -9
  113. data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +9 -9
  114. data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +9 -9
  115. data/rbi/orb/models/new_floating_tiered_package_price.rbi +9 -9
  116. data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +9 -9
  117. data/rbi/orb/models/new_floating_tiered_price.rbi +8 -8
  118. data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +9 -9
  119. data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +9 -9
  120. data/rbi/orb/models/new_floating_unit_price.rbi +6 -6
  121. data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +9 -9
  122. data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +9 -9
  123. data/rbi/orb/models/new_plan_bulk_price.rbi +5 -5
  124. data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +9 -9
  125. data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +9 -9
  126. data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +9 -9
  127. data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +9 -9
  128. data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +6 -6
  129. data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +9 -9
  130. data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +9 -9
  131. data/rbi/orb/models/new_plan_matrix_price.rbi +5 -5
  132. data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +9 -9
  133. data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +9 -9
  134. data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +9 -9
  135. data/rbi/orb/models/new_plan_minimum_composite_price.rbi +9 -9
  136. data/rbi/orb/models/new_plan_package_price.rbi +5 -5
  137. data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +9 -9
  138. data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +9 -9
  139. data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +9 -9
  140. data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +9 -9
  141. data/rbi/orb/models/new_plan_tiered_package_price.rbi +6 -6
  142. data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +9 -9
  143. data/rbi/orb/models/new_plan_tiered_price.rbi +5 -5
  144. data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +9 -9
  145. data/rbi/orb/models/new_plan_unit_price.rbi +5 -5
  146. data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +9 -9
  147. data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +9 -9
  148. data/rbi/orb/models/new_subscription_bulk_price.rbi +9 -9
  149. data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +9 -9
  150. data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +9 -9
  151. data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +9 -9
  152. data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +9 -9
  153. data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +9 -9
  154. data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +9 -9
  155. data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +9 -9
  156. data/rbi/orb/models/new_subscription_matrix_price.rbi +6 -6
  157. data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +9 -9
  158. data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +9 -9
  159. data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +9 -9
  160. data/rbi/orb/models/new_subscription_minimum_composite_price.rbi +9 -9
  161. data/rbi/orb/models/new_subscription_package_price.rbi +9 -9
  162. data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +9 -9
  163. data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +9 -9
  164. data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +9 -9
  165. data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +9 -9
  166. data/rbi/orb/models/new_subscription_tiered_package_price.rbi +9 -9
  167. data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +9 -9
  168. data/rbi/orb/models/new_subscription_tiered_price.rbi +6 -6
  169. data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +9 -9
  170. data/rbi/orb/models/new_subscription_unit_price.rbi +9 -9
  171. data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +9 -9
  172. data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +9 -9
  173. data/rbi/orb/models/plan_create_params.rbi +108 -108
  174. data/rbi/orb/models/price_create_params.rbi +90 -90
  175. data/rbi/orb/models/price_evaluate_multiple_params.rbi +90 -90
  176. data/rbi/orb/models/price_evaluate_preview_events_params.rbi +90 -90
  177. data/rbi/orb/models/subscription_create_params.rbi +198 -198
  178. data/rbi/orb/models/subscription_price_intervals_params.rbi +90 -90
  179. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +198 -198
  180. data/rbi/orb/resources/events/backfills.rbi +3 -1
  181. data/rbi/orb/resources/invoices.rbi +2 -2
  182. data/rbi/orb/resources/subscriptions.rbi +3 -3
  183. data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +144 -144
  184. data/sig/orb/models/beta_create_plan_version_params.rbs +140 -140
  185. data/sig/orb/models/invoice_pay_params.rbs +4 -4
  186. data/sig/orb/models/new_floating_bulk_price.rbs +4 -4
  187. data/sig/orb/models/new_floating_bulk_with_proration_price.rbs +4 -4
  188. data/sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs +4 -4
  189. data/sig/orb/models/new_floating_grouped_allocation_price.rbs +4 -4
  190. data/sig/orb/models/new_floating_grouped_tiered_package_price.rbs +4 -4
  191. data/sig/orb/models/new_floating_grouped_tiered_price.rbs +4 -4
  192. data/sig/orb/models/new_floating_grouped_with_metered_minimum_price.rbs +4 -4
  193. data/sig/orb/models/new_floating_grouped_with_prorated_minimum_price.rbs +4 -4
  194. data/sig/orb/models/new_floating_matrix_price.rbs +4 -4
  195. data/sig/orb/models/new_floating_matrix_with_allocation_price.rbs +4 -4
  196. data/sig/orb/models/new_floating_matrix_with_display_name_price.rbs +4 -4
  197. data/sig/orb/models/new_floating_max_group_tiered_package_price.rbs +4 -4
  198. data/sig/orb/models/new_floating_minimum_composite_price.rbs +4 -4
  199. data/sig/orb/models/new_floating_package_price.rbs +4 -4
  200. data/sig/orb/models/new_floating_package_with_allocation_price.rbs +4 -4
  201. data/sig/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbs +4 -4
  202. data/sig/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbs +4 -4
  203. data/sig/orb/models/new_floating_threshold_total_amount_price.rbs +4 -4
  204. data/sig/orb/models/new_floating_tiered_package_price.rbs +4 -4
  205. data/sig/orb/models/new_floating_tiered_package_with_minimum_price.rbs +4 -4
  206. data/sig/orb/models/new_floating_tiered_price.rbs +4 -4
  207. data/sig/orb/models/new_floating_tiered_with_minimum_price.rbs +4 -4
  208. data/sig/orb/models/new_floating_tiered_with_proration_price.rbs +4 -4
  209. data/sig/orb/models/new_floating_unit_price.rbs +4 -4
  210. data/sig/orb/models/new_floating_unit_with_percent_price.rbs +4 -4
  211. data/sig/orb/models/new_floating_unit_with_proration_price.rbs +4 -4
  212. data/sig/orb/models/new_plan_bulk_price.rbs +4 -4
  213. data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +4 -4
  214. data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +4 -4
  215. data/sig/orb/models/new_plan_grouped_allocation_price.rbs +4 -4
  216. data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +4 -4
  217. data/sig/orb/models/new_plan_grouped_tiered_price.rbs +4 -4
  218. data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +4 -4
  219. data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +4 -4
  220. data/sig/orb/models/new_plan_matrix_price.rbs +4 -4
  221. data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +4 -4
  222. data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +4 -4
  223. data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +4 -4
  224. data/sig/orb/models/new_plan_minimum_composite_price.rbs +4 -4
  225. data/sig/orb/models/new_plan_package_price.rbs +4 -4
  226. data/sig/orb/models/new_plan_package_with_allocation_price.rbs +4 -4
  227. data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +4 -4
  228. data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +4 -4
  229. data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +4 -4
  230. data/sig/orb/models/new_plan_tiered_package_price.rbs +4 -4
  231. data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +4 -4
  232. data/sig/orb/models/new_plan_tiered_price.rbs +4 -4
  233. data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +4 -4
  234. data/sig/orb/models/new_plan_unit_price.rbs +4 -4
  235. data/sig/orb/models/new_plan_unit_with_percent_price.rbs +4 -4
  236. data/sig/orb/models/new_plan_unit_with_proration_price.rbs +4 -4
  237. data/sig/orb/models/new_subscription_bulk_price.rbs +4 -4
  238. data/sig/orb/models/new_subscription_bulk_with_proration_price.rbs +4 -4
  239. data/sig/orb/models/new_subscription_cumulative_grouped_bulk_price.rbs +4 -4
  240. data/sig/orb/models/new_subscription_grouped_allocation_price.rbs +4 -4
  241. data/sig/orb/models/new_subscription_grouped_tiered_package_price.rbs +4 -4
  242. data/sig/orb/models/new_subscription_grouped_tiered_price.rbs +4 -4
  243. data/sig/orb/models/new_subscription_grouped_with_metered_minimum_price.rbs +4 -4
  244. data/sig/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbs +4 -4
  245. data/sig/orb/models/new_subscription_matrix_price.rbs +4 -4
  246. data/sig/orb/models/new_subscription_matrix_with_allocation_price.rbs +4 -4
  247. data/sig/orb/models/new_subscription_matrix_with_display_name_price.rbs +4 -4
  248. data/sig/orb/models/new_subscription_max_group_tiered_package_price.rbs +4 -4
  249. data/sig/orb/models/new_subscription_minimum_composite_price.rbs +4 -4
  250. data/sig/orb/models/new_subscription_package_price.rbs +4 -4
  251. data/sig/orb/models/new_subscription_package_with_allocation_price.rbs +4 -4
  252. data/sig/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbs +4 -4
  253. data/sig/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbs +4 -4
  254. data/sig/orb/models/new_subscription_threshold_total_amount_price.rbs +4 -4
  255. data/sig/orb/models/new_subscription_tiered_package_price.rbs +4 -4
  256. data/sig/orb/models/new_subscription_tiered_package_with_minimum_price.rbs +4 -4
  257. data/sig/orb/models/new_subscription_tiered_price.rbs +4 -4
  258. data/sig/orb/models/new_subscription_tiered_with_minimum_price.rbs +4 -4
  259. data/sig/orb/models/new_subscription_unit_price.rbs +4 -4
  260. data/sig/orb/models/new_subscription_unit_with_percent_price.rbs +4 -4
  261. data/sig/orb/models/new_subscription_unit_with_proration_price.rbs +4 -4
  262. data/sig/orb/models/plan_create_params.rbs +70 -70
  263. data/sig/orb/models/price_create_params.rbs +40 -40
  264. data/sig/orb/models/price_evaluate_multiple_params.rbs +60 -60
  265. data/sig/orb/models/price_evaluate_preview_events_params.rbs +60 -60
  266. data/sig/orb/models/subscription_create_params.rbs +132 -132
  267. data/sig/orb/models/subscription_price_intervals_params.rbs +60 -60
  268. data/sig/orb/models/subscription_schedule_plan_change_params.rbs +132 -132
  269. data/sig/orb/resources/invoices.rbs +1 -1
  270. metadata +1 -1
@@ -668,11 +668,11 @@ module Orb
668
668
  module Cadence
669
669
  extend Orb::Internal::Type::Enum
670
670
 
671
- ANNUAL = :annual
672
- SEMI_ANNUAL = :semi_annual
671
+ ONE_TIME = :one_time
673
672
  MONTHLY = :monthly
674
673
  QUARTERLY = :quarterly
675
- ONE_TIME = :one_time
674
+ SEMI_ANNUAL = :semi_annual
675
+ ANNUAL = :annual
676
676
  CUSTOM = :custom
677
677
 
678
678
  # @!method self.values
@@ -853,11 +853,11 @@ module Orb
853
853
  module Cadence
854
854
  extend Orb::Internal::Type::Enum
855
855
 
856
- ANNUAL = :annual
857
- SEMI_ANNUAL = :semi_annual
856
+ ONE_TIME = :one_time
858
857
  MONTHLY = :monthly
859
858
  QUARTERLY = :quarterly
860
- ONE_TIME = :one_time
859
+ SEMI_ANNUAL = :semi_annual
860
+ ANNUAL = :annual
861
861
  CUSTOM = :custom
862
862
 
863
863
  # @!method self.values
@@ -1102,11 +1102,11 @@ module Orb
1102
1102
  module Cadence
1103
1103
  extend Orb::Internal::Type::Enum
1104
1104
 
1105
- ANNUAL = :annual
1106
- SEMI_ANNUAL = :semi_annual
1105
+ ONE_TIME = :one_time
1107
1106
  MONTHLY = :monthly
1108
1107
  QUARTERLY = :quarterly
1109
- ONE_TIME = :one_time
1108
+ SEMI_ANNUAL = :semi_annual
1109
+ ANNUAL = :annual
1110
1110
  CUSTOM = :custom
1111
1111
 
1112
1112
  # @!method self.values
@@ -1369,11 +1369,11 @@ module Orb
1369
1369
  module Cadence
1370
1370
  extend Orb::Internal::Type::Enum
1371
1371
 
1372
- ANNUAL = :annual
1373
- SEMI_ANNUAL = :semi_annual
1372
+ ONE_TIME = :one_time
1374
1373
  MONTHLY = :monthly
1375
1374
  QUARTERLY = :quarterly
1376
- ONE_TIME = :one_time
1375
+ SEMI_ANNUAL = :semi_annual
1376
+ ANNUAL = :annual
1377
1377
  CUSTOM = :custom
1378
1378
 
1379
1379
  # @!method self.values
@@ -1679,11 +1679,11 @@ module Orb
1679
1679
  module Cadence
1680
1680
  extend Orb::Internal::Type::Enum
1681
1681
 
1682
- ANNUAL = :annual
1683
- SEMI_ANNUAL = :semi_annual
1682
+ ONE_TIME = :one_time
1684
1683
  MONTHLY = :monthly
1685
1684
  QUARTERLY = :quarterly
1686
- ONE_TIME = :one_time
1685
+ SEMI_ANNUAL = :semi_annual
1686
+ ANNUAL = :annual
1687
1687
  CUSTOM = :custom
1688
1688
 
1689
1689
  # @!method self.values
@@ -1902,11 +1902,11 @@ module Orb
1902
1902
  module Cadence
1903
1903
  extend Orb::Internal::Type::Enum
1904
1904
 
1905
- ANNUAL = :annual
1906
- SEMI_ANNUAL = :semi_annual
1905
+ ONE_TIME = :one_time
1907
1906
  MONTHLY = :monthly
1908
1907
  QUARTERLY = :quarterly
1909
- ONE_TIME = :one_time
1908
+ SEMI_ANNUAL = :semi_annual
1909
+ ANNUAL = :annual
1910
1910
  CUSTOM = :custom
1911
1911
 
1912
1912
  # @!method self.values
@@ -2125,11 +2125,11 @@ module Orb
2125
2125
  module Cadence
2126
2126
  extend Orb::Internal::Type::Enum
2127
2127
 
2128
- ANNUAL = :annual
2129
- SEMI_ANNUAL = :semi_annual
2128
+ ONE_TIME = :one_time
2130
2129
  MONTHLY = :monthly
2131
2130
  QUARTERLY = :quarterly
2132
- ONE_TIME = :one_time
2131
+ SEMI_ANNUAL = :semi_annual
2132
+ ANNUAL = :annual
2133
2133
  CUSTOM = :custom
2134
2134
 
2135
2135
  # @!method self.values
@@ -2395,11 +2395,11 @@ module Orb
2395
2395
  module Cadence
2396
2396
  extend Orb::Internal::Type::Enum
2397
2397
 
2398
- ANNUAL = :annual
2399
- SEMI_ANNUAL = :semi_annual
2398
+ ONE_TIME = :one_time
2400
2399
  MONTHLY = :monthly
2401
2400
  QUARTERLY = :quarterly
2402
- ONE_TIME = :one_time
2401
+ SEMI_ANNUAL = :semi_annual
2402
+ ANNUAL = :annual
2403
2403
  CUSTOM = :custom
2404
2404
 
2405
2405
  # @!method self.values
@@ -2641,11 +2641,11 @@ module Orb
2641
2641
  module Cadence
2642
2642
  extend Orb::Internal::Type::Enum
2643
2643
 
2644
- ANNUAL = :annual
2645
- SEMI_ANNUAL = :semi_annual
2644
+ ONE_TIME = :one_time
2646
2645
  MONTHLY = :monthly
2647
2646
  QUARTERLY = :quarterly
2648
- ONE_TIME = :one_time
2647
+ SEMI_ANNUAL = :semi_annual
2648
+ ANNUAL = :annual
2649
2649
  CUSTOM = :custom
2650
2650
 
2651
2651
  # @!method self.values
@@ -2869,11 +2869,11 @@ module Orb
2869
2869
  module Cadence
2870
2870
  extend Orb::Internal::Type::Enum
2871
2871
 
2872
- ANNUAL = :annual
2873
- SEMI_ANNUAL = :semi_annual
2872
+ ONE_TIME = :one_time
2874
2873
  MONTHLY = :monthly
2875
2874
  QUARTERLY = :quarterly
2876
- ONE_TIME = :one_time
2875
+ SEMI_ANNUAL = :semi_annual
2876
+ ANNUAL = :annual
2877
2877
  CUSTOM = :custom
2878
2878
 
2879
2879
  # @!method self.values
@@ -1021,11 +1021,11 @@ module Orb
1021
1021
  module Cadence
1022
1022
  extend Orb::Internal::Type::Enum
1023
1023
 
1024
- ANNUAL = :annual
1025
- SEMI_ANNUAL = :semi_annual
1024
+ ONE_TIME = :one_time
1026
1025
  MONTHLY = :monthly
1027
1026
  QUARTERLY = :quarterly
1028
- ONE_TIME = :one_time
1027
+ SEMI_ANNUAL = :semi_annual
1028
+ ANNUAL = :annual
1029
1029
  CUSTOM = :custom
1030
1030
 
1031
1031
  # @!method self.values
@@ -1216,11 +1216,11 @@ module Orb
1216
1216
  module Cadence
1217
1217
  extend Orb::Internal::Type::Enum
1218
1218
 
1219
- ANNUAL = :annual
1220
- SEMI_ANNUAL = :semi_annual
1219
+ ONE_TIME = :one_time
1221
1220
  MONTHLY = :monthly
1222
1221
  QUARTERLY = :quarterly
1223
- ONE_TIME = :one_time
1222
+ SEMI_ANNUAL = :semi_annual
1223
+ ANNUAL = :annual
1224
1224
  CUSTOM = :custom
1225
1225
 
1226
1226
  # @!method self.values
@@ -1479,11 +1479,11 @@ module Orb
1479
1479
  module Cadence
1480
1480
  extend Orb::Internal::Type::Enum
1481
1481
 
1482
- ANNUAL = :annual
1483
- SEMI_ANNUAL = :semi_annual
1482
+ ONE_TIME = :one_time
1484
1483
  MONTHLY = :monthly
1485
1484
  QUARTERLY = :quarterly
1486
- ONE_TIME = :one_time
1485
+ SEMI_ANNUAL = :semi_annual
1486
+ ANNUAL = :annual
1487
1487
  CUSTOM = :custom
1488
1488
 
1489
1489
  # @!method self.values
@@ -1756,11 +1756,11 @@ module Orb
1756
1756
  module Cadence
1757
1757
  extend Orb::Internal::Type::Enum
1758
1758
 
1759
- ANNUAL = :annual
1760
- SEMI_ANNUAL = :semi_annual
1759
+ ONE_TIME = :one_time
1761
1760
  MONTHLY = :monthly
1762
1761
  QUARTERLY = :quarterly
1763
- ONE_TIME = :one_time
1762
+ SEMI_ANNUAL = :semi_annual
1763
+ ANNUAL = :annual
1764
1764
  CUSTOM = :custom
1765
1765
 
1766
1766
  # @!method self.values
@@ -2076,11 +2076,11 @@ module Orb
2076
2076
  module Cadence
2077
2077
  extend Orb::Internal::Type::Enum
2078
2078
 
2079
- ANNUAL = :annual
2080
- SEMI_ANNUAL = :semi_annual
2079
+ ONE_TIME = :one_time
2081
2080
  MONTHLY = :monthly
2082
2081
  QUARTERLY = :quarterly
2083
- ONE_TIME = :one_time
2082
+ SEMI_ANNUAL = :semi_annual
2083
+ ANNUAL = :annual
2084
2084
  CUSTOM = :custom
2085
2085
 
2086
2086
  # @!method self.values
@@ -2316,11 +2316,11 @@ module Orb
2316
2316
  module Cadence
2317
2317
  extend Orb::Internal::Type::Enum
2318
2318
 
2319
- ANNUAL = :annual
2320
- SEMI_ANNUAL = :semi_annual
2319
+ ONE_TIME = :one_time
2321
2320
  MONTHLY = :monthly
2322
2321
  QUARTERLY = :quarterly
2323
- ONE_TIME = :one_time
2322
+ SEMI_ANNUAL = :semi_annual
2323
+ ANNUAL = :annual
2324
2324
  CUSTOM = :custom
2325
2325
 
2326
2326
  # @!method self.values
@@ -2549,11 +2549,11 @@ module Orb
2549
2549
  module Cadence
2550
2550
  extend Orb::Internal::Type::Enum
2551
2551
 
2552
- ANNUAL = :annual
2553
- SEMI_ANNUAL = :semi_annual
2552
+ ONE_TIME = :one_time
2554
2553
  MONTHLY = :monthly
2555
2554
  QUARTERLY = :quarterly
2556
- ONE_TIME = :one_time
2555
+ SEMI_ANNUAL = :semi_annual
2556
+ ANNUAL = :annual
2557
2557
  CUSTOM = :custom
2558
2558
 
2559
2559
  # @!method self.values
@@ -2782,11 +2782,11 @@ module Orb
2782
2782
  module Cadence
2783
2783
  extend Orb::Internal::Type::Enum
2784
2784
 
2785
- ANNUAL = :annual
2786
- SEMI_ANNUAL = :semi_annual
2785
+ ONE_TIME = :one_time
2787
2786
  MONTHLY = :monthly
2788
2787
  QUARTERLY = :quarterly
2789
- ONE_TIME = :one_time
2788
+ SEMI_ANNUAL = :semi_annual
2789
+ ANNUAL = :annual
2790
2790
  CUSTOM = :custom
2791
2791
 
2792
2792
  # @!method self.values
@@ -3062,11 +3062,11 @@ module Orb
3062
3062
  module Cadence
3063
3063
  extend Orb::Internal::Type::Enum
3064
3064
 
3065
- ANNUAL = :annual
3066
- SEMI_ANNUAL = :semi_annual
3065
+ ONE_TIME = :one_time
3067
3066
  MONTHLY = :monthly
3068
3067
  QUARTERLY = :quarterly
3069
- ONE_TIME = :one_time
3068
+ SEMI_ANNUAL = :semi_annual
3069
+ ANNUAL = :annual
3070
3070
  CUSTOM = :custom
3071
3071
 
3072
3072
  # @!method self.values
@@ -3320,11 +3320,11 @@ module Orb
3320
3320
  module Cadence
3321
3321
  extend Orb::Internal::Type::Enum
3322
3322
 
3323
- ANNUAL = :annual
3324
- SEMI_ANNUAL = :semi_annual
3323
+ ONE_TIME = :one_time
3325
3324
  MONTHLY = :monthly
3326
3325
  QUARTERLY = :quarterly
3327
- ONE_TIME = :one_time
3326
+ SEMI_ANNUAL = :semi_annual
3327
+ ANNUAL = :annual
3328
3328
  CUSTOM = :custom
3329
3329
 
3330
3330
  # @!method self.values
@@ -3559,11 +3559,11 @@ module Orb
3559
3559
  module Cadence
3560
3560
  extend Orb::Internal::Type::Enum
3561
3561
 
3562
- ANNUAL = :annual
3563
- SEMI_ANNUAL = :semi_annual
3562
+ ONE_TIME = :one_time
3564
3563
  MONTHLY = :monthly
3565
3564
  QUARTERLY = :quarterly
3566
- ONE_TIME = :one_time
3565
+ SEMI_ANNUAL = :semi_annual
3566
+ ANNUAL = :annual
3567
3567
  CUSTOM = :custom
3568
3568
 
3569
3569
  # @!method self.values
@@ -4355,11 +4355,11 @@ module Orb
4355
4355
  module Cadence
4356
4356
  extend Orb::Internal::Type::Enum
4357
4357
 
4358
- ANNUAL = :annual
4359
- SEMI_ANNUAL = :semi_annual
4358
+ ONE_TIME = :one_time
4360
4359
  MONTHLY = :monthly
4361
4360
  QUARTERLY = :quarterly
4362
- ONE_TIME = :one_time
4361
+ SEMI_ANNUAL = :semi_annual
4362
+ ANNUAL = :annual
4363
4363
  CUSTOM = :custom
4364
4364
 
4365
4365
  # @!method self.values
@@ -4550,11 +4550,11 @@ module Orb
4550
4550
  module Cadence
4551
4551
  extend Orb::Internal::Type::Enum
4552
4552
 
4553
- ANNUAL = :annual
4554
- SEMI_ANNUAL = :semi_annual
4553
+ ONE_TIME = :one_time
4555
4554
  MONTHLY = :monthly
4556
4555
  QUARTERLY = :quarterly
4557
- ONE_TIME = :one_time
4556
+ SEMI_ANNUAL = :semi_annual
4557
+ ANNUAL = :annual
4558
4558
  CUSTOM = :custom
4559
4559
 
4560
4560
  # @!method self.values
@@ -4813,11 +4813,11 @@ module Orb
4813
4813
  module Cadence
4814
4814
  extend Orb::Internal::Type::Enum
4815
4815
 
4816
- ANNUAL = :annual
4817
- SEMI_ANNUAL = :semi_annual
4816
+ ONE_TIME = :one_time
4818
4817
  MONTHLY = :monthly
4819
4818
  QUARTERLY = :quarterly
4820
- ONE_TIME = :one_time
4819
+ SEMI_ANNUAL = :semi_annual
4820
+ ANNUAL = :annual
4821
4821
  CUSTOM = :custom
4822
4822
 
4823
4823
  # @!method self.values
@@ -5090,11 +5090,11 @@ module Orb
5090
5090
  module Cadence
5091
5091
  extend Orb::Internal::Type::Enum
5092
5092
 
5093
- ANNUAL = :annual
5094
- SEMI_ANNUAL = :semi_annual
5093
+ ONE_TIME = :one_time
5095
5094
  MONTHLY = :monthly
5096
5095
  QUARTERLY = :quarterly
5097
- ONE_TIME = :one_time
5096
+ SEMI_ANNUAL = :semi_annual
5097
+ ANNUAL = :annual
5098
5098
  CUSTOM = :custom
5099
5099
 
5100
5100
  # @!method self.values
@@ -5410,11 +5410,11 @@ module Orb
5410
5410
  module Cadence
5411
5411
  extend Orb::Internal::Type::Enum
5412
5412
 
5413
- ANNUAL = :annual
5414
- SEMI_ANNUAL = :semi_annual
5413
+ ONE_TIME = :one_time
5415
5414
  MONTHLY = :monthly
5416
5415
  QUARTERLY = :quarterly
5417
- ONE_TIME = :one_time
5416
+ SEMI_ANNUAL = :semi_annual
5417
+ ANNUAL = :annual
5418
5418
  CUSTOM = :custom
5419
5419
 
5420
5420
  # @!method self.values
@@ -5650,11 +5650,11 @@ module Orb
5650
5650
  module Cadence
5651
5651
  extend Orb::Internal::Type::Enum
5652
5652
 
5653
- ANNUAL = :annual
5654
- SEMI_ANNUAL = :semi_annual
5653
+ ONE_TIME = :one_time
5655
5654
  MONTHLY = :monthly
5656
5655
  QUARTERLY = :quarterly
5657
- ONE_TIME = :one_time
5656
+ SEMI_ANNUAL = :semi_annual
5657
+ ANNUAL = :annual
5658
5658
  CUSTOM = :custom
5659
5659
 
5660
5660
  # @!method self.values
@@ -5883,11 +5883,11 @@ module Orb
5883
5883
  module Cadence
5884
5884
  extend Orb::Internal::Type::Enum
5885
5885
 
5886
- ANNUAL = :annual
5887
- SEMI_ANNUAL = :semi_annual
5886
+ ONE_TIME = :one_time
5888
5887
  MONTHLY = :monthly
5889
5888
  QUARTERLY = :quarterly
5890
- ONE_TIME = :one_time
5889
+ SEMI_ANNUAL = :semi_annual
5890
+ ANNUAL = :annual
5891
5891
  CUSTOM = :custom
5892
5892
 
5893
5893
  # @!method self.values
@@ -6116,11 +6116,11 @@ module Orb
6116
6116
  module Cadence
6117
6117
  extend Orb::Internal::Type::Enum
6118
6118
 
6119
- ANNUAL = :annual
6120
- SEMI_ANNUAL = :semi_annual
6119
+ ONE_TIME = :one_time
6121
6120
  MONTHLY = :monthly
6122
6121
  QUARTERLY = :quarterly
6123
- ONE_TIME = :one_time
6122
+ SEMI_ANNUAL = :semi_annual
6123
+ ANNUAL = :annual
6124
6124
  CUSTOM = :custom
6125
6125
 
6126
6126
  # @!method self.values
@@ -6396,11 +6396,11 @@ module Orb
6396
6396
  module Cadence
6397
6397
  extend Orb::Internal::Type::Enum
6398
6398
 
6399
- ANNUAL = :annual
6400
- SEMI_ANNUAL = :semi_annual
6399
+ ONE_TIME = :one_time
6401
6400
  MONTHLY = :monthly
6402
6401
  QUARTERLY = :quarterly
6403
- ONE_TIME = :one_time
6402
+ SEMI_ANNUAL = :semi_annual
6403
+ ANNUAL = :annual
6404
6404
  CUSTOM = :custom
6405
6405
 
6406
6406
  # @!method self.values
@@ -6654,11 +6654,11 @@ module Orb
6654
6654
  module Cadence
6655
6655
  extend Orb::Internal::Type::Enum
6656
6656
 
6657
- ANNUAL = :annual
6658
- SEMI_ANNUAL = :semi_annual
6657
+ ONE_TIME = :one_time
6659
6658
  MONTHLY = :monthly
6660
6659
  QUARTERLY = :quarterly
6661
- ONE_TIME = :one_time
6660
+ SEMI_ANNUAL = :semi_annual
6661
+ ANNUAL = :annual
6662
6662
  CUSTOM = :custom
6663
6663
 
6664
6664
  # @!method self.values
@@ -6893,11 +6893,11 @@ module Orb
6893
6893
  module Cadence
6894
6894
  extend Orb::Internal::Type::Enum
6895
6895
 
6896
- ANNUAL = :annual
6897
- SEMI_ANNUAL = :semi_annual
6896
+ ONE_TIME = :one_time
6898
6897
  MONTHLY = :monthly
6899
6898
  QUARTERLY = :quarterly
6900
- ONE_TIME = :one_time
6899
+ SEMI_ANNUAL = :semi_annual
6900
+ ANNUAL = :annual
6901
6901
  CUSTOM = :custom
6902
6902
 
6903
6903
  # @!method self.values
@@ -51,7 +51,9 @@ module Orb
51
51
  # the event reporting grace boundary. Matching events that arrive later with
52
52
  # timestamps inside the timeframe will also be deprecated.
53
53
  #
54
- # You may not have multiple backfills in a pending or pending_revert state with
54
+ # A backfill may not overlap in timeframe with another backfill in a pending or
55
+ # pending_revert state for the same customer, or with any account-wide backfill in
56
+ # one of those states. Backfills scoped to different customers may have
55
57
  # overlapping timeframes.
56
58
  #
57
59
  # @overload create(timeframe_end:, timeframe_start:, close_time: nil, customer_id: nil, deprecation_filter: nil, external_customer_id: nil, replace_existing_events: nil, request_options: {})
@@ -457,18 +457,18 @@ module Orb
457
457
  # be provided to pay using agent-granted credentials instead. This action can only
458
458
  # be taken on invoices with status "issued".
459
459
  #
460
- # @overload pay(invoice_id, shared_payment_token_id:, request_options: {})
460
+ # @overload pay(invoice_id, shared_payment_token_id: nil, request_options: {})
461
461
  #
462
462
  # @param invoice_id [String]
463
463
  #
464
- # @param shared_payment_token_id [String] The ID of a shared payment token granted by an agent to use for this payment.
464
+ # @param shared_payment_token_id [String, nil] The ID of a shared payment token granted by an agent to use for this payment.
465
465
  #
466
466
  # @param request_options [Orb::RequestOptions, Hash{Symbol=>Object}, nil]
467
467
  #
468
468
  # @return [Orb::Models::Invoice]
469
469
  #
470
470
  # @see Orb::Models::InvoicePayParams
471
- def pay(invoice_id, params)
471
+ def pay(invoice_id, params = {})
472
472
  parsed, options = Orb::InvoicePayParams.dump_request(params)
473
473
  @client.request(
474
474
  method: :post,
@@ -722,9 +722,9 @@ module Orb
722
722
  # but do not have the key set). Currently, it is only possible to view usage
723
723
  # grouped by a single attribute at a time.
724
724
  #
725
- # When viewing grouped usage, Orb uses pagination to limit the response size to
726
- # 1000 groups by default. If there are more groups for a given subscription,
727
- # pagination metadata in the response can be used to fetch all of the data.
725
+ # When viewing grouped usage, all groups are returned in a single response. For
726
+ # metrics with a large number of groups, Orb recommends using a shorter timeframe
727
+ # to keep response size and latency manageable.
728
728
  #
729
729
  # The following example shows usage for an "API Requests" billable metric grouped
730
730
  # by `region`. Note the extra `metric_group` dictionary in the response, which
data/lib/orb/version.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Orb
4
- VERSION = "1.40.0"
4
+ VERSION = "1.42.0"
5
5
  end