orb-billing 0.12.0 → 1.0.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 (740) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +20 -0
  3. data/README.md +1 -1
  4. data/lib/orb/internal/type/base_model.rb +5 -5
  5. data/lib/orb/models/accounting_provider_config.rb +21 -0
  6. data/lib/orb/models/address.rb +45 -0
  7. data/lib/orb/models/address_input.rb +45 -0
  8. data/lib/orb/models/adjustment_interval.rb +66 -0
  9. data/lib/orb/models/aggregated_cost.rb +45 -0
  10. data/lib/orb/models/alert.rb +9 -60
  11. data/lib/orb/models/alert_create_for_customer_params.rb +3 -24
  12. data/lib/orb/models/alert_create_for_external_customer_params.rb +3 -24
  13. data/lib/orb/models/alert_create_for_subscription_params.rb +3 -23
  14. data/lib/orb/models/alert_update_params.rb +3 -22
  15. data/lib/orb/models/allocation.rb +27 -0
  16. data/lib/orb/models/amount_discount.rb +3 -59
  17. data/lib/orb/models/amount_discount_interval.rb +65 -0
  18. data/lib/orb/models/beta/external_plan_id_create_plan_version_params.rb +193 -19201
  19. data/lib/orb/models/beta_create_plan_version_params.rb +183 -19025
  20. data/lib/orb/models/billable_metric_tiny.rb +15 -0
  21. data/lib/orb/models/billing_cycle_anchor_configuration.rb +41 -0
  22. data/lib/orb/models/billing_cycle_configuration.rb +32 -0
  23. data/lib/orb/models/bps_config.rb +24 -0
  24. data/lib/orb/models/bps_tier.rb +40 -0
  25. data/lib/orb/models/bulk_bps_config.rb +20 -0
  26. data/lib/orb/models/bulk_bps_tier.rb +32 -0
  27. data/lib/orb/models/bulk_config.rb +16 -0
  28. data/lib/orb/models/bulk_tier.rb +24 -0
  29. data/lib/orb/models/changed_subscription_resources.rb +40 -0
  30. data/lib/orb/models/conversion_rate_tier.rb +32 -0
  31. data/lib/orb/models/conversion_rate_tiered_config.rb +16 -0
  32. data/lib/orb/models/conversion_rate_unit_config.rb +16 -0
  33. data/lib/orb/models/coupon_redemption.rb +27 -0
  34. data/lib/orb/models/credit_note.rb +6 -51
  35. data/lib/orb/models/credit_note_tiny.rb +16 -0
  36. data/lib/orb/models/custom_expiration.rb +32 -0
  37. data/lib/orb/models/customer.rb +15 -426
  38. data/lib/orb/models/customer_create_params.rb +24 -527
  39. data/lib/orb/models/customer_hierarchy_config.rb +29 -0
  40. data/lib/orb/models/customer_minified.rb +21 -0
  41. data/lib/orb/models/customer_tax_id.rb +300 -0
  42. data/lib/orb/models/customer_update_by_external_id_params.rb +24 -529
  43. data/lib/orb/models/customer_update_params.rb +24 -527
  44. data/lib/orb/models/customers/balance_transaction_create_response.rb +6 -32
  45. data/lib/orb/models/customers/balance_transaction_list_response.rb +6 -32
  46. data/lib/orb/models/customers/cost_list_by_external_id_response.rb +3 -88
  47. data/lib/orb/models/customers/cost_list_response.rb +3 -87
  48. data/lib/orb/models/customers/credits/affected_block.rb +31 -0
  49. data/lib/orb/models/customers/credits/amendment_ledger_entry.rb +131 -0
  50. data/lib/orb/models/customers/credits/credit_block_expiry_ledger_entry.rb +137 -0
  51. data/lib/orb/models/customers/credits/decrement_ledger_entry.rb +152 -0
  52. data/lib/orb/models/customers/credits/expiration_change_ledger_entry.rb +141 -0
  53. data/lib/orb/models/customers/credits/increment_ledger_entry.rb +139 -0
  54. data/lib/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rb +8 -1177
  55. data/lib/orb/models/customers/credits/ledger_create_entry_response.rb +8 -1169
  56. data/lib/orb/models/customers/credits/ledger_list_by_external_id_response.rb +8 -1173
  57. data/lib/orb/models/customers/credits/ledger_list_response.rb +8 -1161
  58. data/lib/orb/models/customers/credits/top_up_create_by_external_id_response.rb +3 -52
  59. data/lib/orb/models/customers/credits/top_up_create_response.rb +3 -51
  60. data/lib/orb/models/customers/credits/top_up_invoice_settings.rb +53 -0
  61. data/lib/orb/models/customers/credits/top_up_list_by_external_id_response.rb +3 -52
  62. data/lib/orb/models/customers/credits/top_up_list_response.rb +3 -51
  63. data/lib/orb/models/customers/credits/void_initiated_ledger_entry.rb +152 -0
  64. data/lib/orb/models/customers/credits/void_ledger_entry.rb +145 -0
  65. data/lib/orb/models/dimensional_price_configuration.rb +21 -0
  66. data/lib/orb/models/discount_override.rb +56 -0
  67. data/lib/orb/models/fixed_fee_quantity_schedule_entry.rb +33 -0
  68. data/lib/orb/models/fixed_fee_quantity_transition.rb +27 -0
  69. data/lib/orb/models/invoice.rb +56 -1777
  70. data/lib/orb/models/invoice_create_params.rb +3 -15
  71. data/lib/orb/models/invoice_fetch_upcoming_response.rb +56 -1794
  72. data/lib/orb/models/invoice_line_item_create_response.rb +25 -1142
  73. data/lib/orb/models/invoice_tiny.rb +16 -0
  74. data/lib/orb/models/item_slim.rb +21 -0
  75. data/lib/orb/models/matrix_config.rb +32 -0
  76. data/lib/orb/models/matrix_sub_line_item.rb +61 -0
  77. data/lib/orb/models/matrix_value.rb +29 -0
  78. data/lib/orb/models/matrix_with_allocation_config.rb +40 -0
  79. data/lib/orb/models/maximum.rb +38 -0
  80. data/lib/orb/models/maximum_interval.rb +52 -0
  81. data/lib/orb/models/minimum.rb +38 -0
  82. data/lib/orb/models/minimum_interval.rb +52 -0
  83. data/lib/orb/models/monetary_amount_discount_adjustment.rb +87 -0
  84. data/lib/orb/models/monetary_maximum_adjustment.rb +87 -0
  85. data/lib/orb/models/monetary_minimum_adjustment.rb +95 -0
  86. data/lib/orb/models/monetary_percentage_discount_adjustment.rb +87 -0
  87. data/lib/orb/models/monetary_usage_discount_adjustment.rb +87 -0
  88. data/lib/orb/models/mutated_subscription.rb +302 -0
  89. data/lib/orb/models/new_accounting_sync_configuration.rb +23 -0
  90. data/lib/orb/models/new_allocation_price.rb +70 -0
  91. data/lib/orb/models/new_amount_discount.rb +120 -0
  92. data/lib/orb/models/new_avalara_tax_configuration.rb +37 -0
  93. data/lib/orb/models/new_billing_cycle_configuration.rb +37 -0
  94. data/lib/orb/models/new_dimensional_price_configuration.rb +36 -0
  95. data/lib/orb/models/new_floating_bps_price.rb +199 -0
  96. data/lib/orb/models/new_floating_bulk_bps_price.rb +197 -0
  97. data/lib/orb/models/new_floating_bulk_price.rb +197 -0
  98. data/lib/orb/models/new_floating_bulk_with_proration_price.rb +197 -0
  99. data/lib/orb/models/new_floating_cumulative_grouped_bulk_price.rb +197 -0
  100. data/lib/orb/models/new_floating_grouped_allocation_price.rb +197 -0
  101. data/lib/orb/models/new_floating_grouped_tiered_package_price.rb +197 -0
  102. data/lib/orb/models/new_floating_grouped_tiered_price.rb +197 -0
  103. data/lib/orb/models/new_floating_grouped_with_metered_minimum_price.rb +197 -0
  104. data/lib/orb/models/new_floating_grouped_with_prorated_minimum_price.rb +198 -0
  105. data/lib/orb/models/new_floating_matrix_price.rb +197 -0
  106. data/lib/orb/models/new_floating_matrix_with_allocation_price.rb +197 -0
  107. data/lib/orb/models/new_floating_matrix_with_display_name_price.rb +197 -0
  108. data/lib/orb/models/new_floating_max_group_tiered_package_price.rb +197 -0
  109. data/lib/orb/models/new_floating_package_price.rb +197 -0
  110. data/lib/orb/models/new_floating_package_with_allocation_price.rb +197 -0
  111. data/lib/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rb +198 -0
  112. data/lib/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rb +198 -0
  113. data/lib/orb/models/new_floating_threshold_total_amount_price.rb +197 -0
  114. data/lib/orb/models/new_floating_tiered_bps_price.rb +197 -0
  115. data/lib/orb/models/new_floating_tiered_package_price.rb +197 -0
  116. data/lib/orb/models/new_floating_tiered_package_with_minimum_price.rb +197 -0
  117. data/lib/orb/models/new_floating_tiered_price.rb +197 -0
  118. data/lib/orb/models/new_floating_tiered_with_minimum_price.rb +197 -0
  119. data/lib/orb/models/new_floating_tiered_with_proration_price.rb +197 -0
  120. data/lib/orb/models/new_floating_unit_price.rb +197 -0
  121. data/lib/orb/models/new_floating_unit_with_percent_price.rb +197 -0
  122. data/lib/orb/models/new_floating_unit_with_proration_price.rb +197 -0
  123. data/lib/orb/models/new_maximum.rb +120 -0
  124. data/lib/orb/models/new_minimum.rb +128 -0
  125. data/lib/orb/models/new_percentage_discount.rb +120 -0
  126. data/lib/orb/models/new_plan_bps_price.rb +196 -0
  127. data/lib/orb/models/new_plan_bulk_bps_price.rb +200 -0
  128. data/lib/orb/models/new_plan_bulk_price.rb +196 -0
  129. data/lib/orb/models/new_plan_bulk_with_proration_price.rb +198 -0
  130. data/lib/orb/models/new_plan_cumulative_grouped_bulk_price.rb +198 -0
  131. data/lib/orb/models/new_plan_grouped_allocation_price.rb +198 -0
  132. data/lib/orb/models/new_plan_grouped_tiered_package_price.rb +198 -0
  133. data/lib/orb/models/new_plan_grouped_tiered_price.rb +198 -0
  134. data/lib/orb/models/new_plan_grouped_with_metered_minimum_price.rb +198 -0
  135. data/lib/orb/models/new_plan_grouped_with_prorated_minimum_price.rb +199 -0
  136. data/lib/orb/models/new_plan_matrix_price.rb +200 -0
  137. data/lib/orb/models/new_plan_matrix_with_allocation_price.rb +198 -0
  138. data/lib/orb/models/new_plan_matrix_with_display_name_price.rb +198 -0
  139. data/lib/orb/models/new_plan_max_group_tiered_package_price.rb +198 -0
  140. data/lib/orb/models/new_plan_package_price.rb +200 -0
  141. data/lib/orb/models/new_plan_package_with_allocation_price.rb +198 -0
  142. data/lib/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rb +199 -0
  143. data/lib/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rb +199 -0
  144. data/lib/orb/models/new_plan_threshold_total_amount_price.rb +198 -0
  145. data/lib/orb/models/new_plan_tier_with_proration_price.rb +198 -0
  146. data/lib/orb/models/new_plan_tiered_bps_price.rb +198 -0
  147. data/lib/orb/models/new_plan_tiered_package_price.rb +198 -0
  148. data/lib/orb/models/new_plan_tiered_package_with_minimum_price.rb +198 -0
  149. data/lib/orb/models/new_plan_tiered_price.rb +200 -0
  150. data/lib/orb/models/new_plan_tiered_with_minimum_price.rb +198 -0
  151. data/lib/orb/models/new_plan_unit_price.rb +196 -0
  152. data/lib/orb/models/new_plan_unit_with_percent_price.rb +198 -0
  153. data/lib/orb/models/new_plan_unit_with_proration_price.rb +198 -0
  154. data/lib/orb/models/new_reporting_configuration.rb +15 -0
  155. data/lib/orb/models/new_sphere_configuration.rb +31 -0
  156. data/lib/orb/models/new_subscription_bps_price.rb +207 -0
  157. data/lib/orb/models/new_subscription_bulk_bps_price.rb +207 -0
  158. data/lib/orb/models/new_subscription_bulk_price.rb +207 -0
  159. data/lib/orb/models/new_subscription_bulk_with_proration_price.rb +207 -0
  160. data/lib/orb/models/new_subscription_cumulative_grouped_bulk_price.rb +207 -0
  161. data/lib/orb/models/new_subscription_grouped_allocation_price.rb +207 -0
  162. data/lib/orb/models/new_subscription_grouped_tiered_package_price.rb +207 -0
  163. data/lib/orb/models/new_subscription_grouped_tiered_price.rb +207 -0
  164. data/lib/orb/models/new_subscription_grouped_with_metered_minimum_price.rb +207 -0
  165. data/lib/orb/models/new_subscription_grouped_with_prorated_minimum_price.rb +208 -0
  166. data/lib/orb/models/new_subscription_matrix_price.rb +207 -0
  167. data/lib/orb/models/new_subscription_matrix_with_allocation_price.rb +207 -0
  168. data/lib/orb/models/new_subscription_matrix_with_display_name_price.rb +207 -0
  169. data/lib/orb/models/new_subscription_max_group_tiered_package_price.rb +207 -0
  170. data/lib/orb/models/new_subscription_package_price.rb +207 -0
  171. data/lib/orb/models/new_subscription_package_with_allocation_price.rb +207 -0
  172. data/lib/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rb +209 -0
  173. data/lib/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rb +209 -0
  174. data/lib/orb/models/new_subscription_threshold_total_amount_price.rb +207 -0
  175. data/lib/orb/models/new_subscription_tier_with_proration_price.rb +207 -0
  176. data/lib/orb/models/new_subscription_tiered_bps_price.rb +207 -0
  177. data/lib/orb/models/new_subscription_tiered_package_price.rb +207 -0
  178. data/lib/orb/models/new_subscription_tiered_package_with_minimum_price.rb +207 -0
  179. data/lib/orb/models/new_subscription_tiered_price.rb +207 -0
  180. data/lib/orb/models/new_subscription_tiered_with_minimum_price.rb +207 -0
  181. data/lib/orb/models/new_subscription_unit_price.rb +207 -0
  182. data/lib/orb/models/new_subscription_unit_with_percent_price.rb +207 -0
  183. data/lib/orb/models/new_subscription_unit_with_proration_price.rb +207 -0
  184. data/lib/orb/models/new_tax_jar_configuration.rb +31 -0
  185. data/lib/orb/models/new_usage_discount.rb +120 -0
  186. data/lib/orb/models/other_sub_line_item.rb +54 -0
  187. data/lib/orb/models/package_config.rb +28 -0
  188. data/lib/orb/models/per_price_cost.rb +48 -0
  189. data/lib/orb/models/percentage_discount.rb +3 -59
  190. data/lib/orb/models/percentage_discount_interval.rb +69 -0
  191. data/lib/orb/models/plan.rb +22 -1040
  192. data/lib/orb/models/plan_create_params.rb +31 -8145
  193. data/lib/orb/models/plan_phase_amount_discount_adjustment.rb +87 -0
  194. data/lib/orb/models/plan_phase_maximum_adjustment.rb +87 -0
  195. data/lib/orb/models/plan_phase_minimum_adjustment.rb +95 -0
  196. data/lib/orb/models/plan_phase_percentage_discount_adjustment.rb +87 -0
  197. data/lib/orb/models/plan_phase_usage_discount_adjustment.rb +87 -0
  198. data/lib/orb/models/plan_version.rb +10 -672
  199. data/lib/orb/models/price.rb +1225 -10817
  200. data/lib/orb/models/price_create_params.rb +53 -472
  201. data/lib/orb/models/price_evaluate_multiple_params.rb +32 -8479
  202. data/lib/orb/models/price_evaluate_preview_events_params.rb +236 -0
  203. data/lib/orb/models/price_evaluate_preview_events_response.rb +51 -0
  204. data/lib/orb/models/price_interval.rb +113 -0
  205. data/lib/orb/models/sub_line_item_grouping.rb +23 -0
  206. data/lib/orb/models/sub_line_item_matrix_config.rb +16 -0
  207. data/lib/orb/models/subscription.rb +33 -1581
  208. data/lib/orb/models/subscription_change_apply_response.rb +3 -1904
  209. data/lib/orb/models/subscription_change_cancel_response.rb +3 -1905
  210. data/lib/orb/models/subscription_change_minified.rb +15 -0
  211. data/lib/orb/models/subscription_change_retrieve_response.rb +3 -1906
  212. data/lib/orb/models/subscription_create_params.rb +232 -19698
  213. data/lib/orb/models/subscription_fetch_costs_response.rb +3 -87
  214. data/lib/orb/models/subscription_minified.rb +15 -0
  215. data/lib/orb/models/subscription_price_intervals_params.rb +86 -9468
  216. data/lib/orb/models/subscription_schedule_plan_change_params.rb +238 -19792
  217. data/lib/orb/models/subscription_trial_info.rb +15 -0
  218. data/lib/orb/models/tax_amount.rb +32 -0
  219. data/lib/orb/models/threshold.rb +24 -0
  220. data/lib/orb/models/tier.rb +32 -0
  221. data/lib/orb/models/tier_config.rb +27 -0
  222. data/lib/orb/models/tier_sub_line_item.rb +61 -0
  223. data/lib/orb/models/tiered_bps_config.rb +20 -0
  224. data/lib/orb/models/tiered_config.rb +16 -0
  225. data/lib/orb/models/tiered_conversion_rate_config.rb +31 -0
  226. data/lib/orb/models/transform_price_filter.rb +61 -0
  227. data/lib/orb/models/trial_discount.rb +3 -59
  228. data/lib/orb/models/unit_config.rb +16 -0
  229. data/lib/orb/models/unit_conversion_rate_config.rb +31 -0
  230. data/lib/orb/models/usage_discount.rb +3 -59
  231. data/lib/orb/models/usage_discount_interval.rb +69 -0
  232. data/lib/orb/models.rb +348 -0
  233. data/lib/orb/resources/alerts.rb +4 -4
  234. data/lib/orb/resources/customers/credits/ledger.rb +4 -4
  235. data/lib/orb/resources/customers.rb +21 -21
  236. data/lib/orb/resources/plans.rb +1 -1
  237. data/lib/orb/resources/prices/external_price_id.rb +2 -2
  238. data/lib/orb/resources/prices.rb +82 -34
  239. data/lib/orb/resources/subscriptions.rb +24 -24
  240. data/lib/orb/version.rb +1 -1
  241. data/lib/orb.rb +181 -11
  242. data/rbi/orb/models/accounting_provider_config.rbi +34 -0
  243. data/rbi/orb/models/address.rbi +55 -0
  244. data/rbi/orb/models/address_input.rbi +62 -0
  245. data/rbi/orb/models/adjustment_interval.rbi +93 -0
  246. data/rbi/orb/models/aggregated_cost.rbi +61 -0
  247. data/rbi/orb/models/alert.rbi +11 -84
  248. data/rbi/orb/models/alert_create_for_customer_params.rbi +3 -42
  249. data/rbi/orb/models/alert_create_for_external_customer_params.rbi +3 -48
  250. data/rbi/orb/models/alert_create_for_subscription_params.rbi +3 -38
  251. data/rbi/orb/models/alert_update_params.rbi +3 -31
  252. data/rbi/orb/models/allocation.rbi +45 -0
  253. data/rbi/orb/models/amount_discount.rbi +3 -112
  254. data/rbi/orb/models/amount_discount_interval.rbi +100 -0
  255. data/rbi/orb/models/beta/external_plan_id_create_plan_version_params.rbi +558 -35618
  256. data/rbi/orb/models/beta_create_plan_version_params.rbi +558 -35610
  257. data/rbi/orb/models/billable_metric_tiny.rbi +21 -0
  258. data/rbi/orb/models/billing_cycle_anchor_configuration.rbi +61 -0
  259. data/rbi/orb/models/billing_cycle_configuration.rbi +70 -0
  260. data/rbi/orb/models/bps_config.rbi +36 -0
  261. data/rbi/orb/models/bps_tier.rbi +58 -0
  262. data/rbi/orb/models/bulk_bps_config.rbi +31 -0
  263. data/rbi/orb/models/bulk_bps_tier.rbi +50 -0
  264. data/rbi/orb/models/bulk_config.rbi +26 -0
  265. data/rbi/orb/models/bulk_tier.rbi +38 -0
  266. data/rbi/orb/models/changed_subscription_resources.rbi +61 -0
  267. data/rbi/orb/models/conversion_rate_tier.rbi +51 -0
  268. data/rbi/orb/models/conversion_rate_tiered_config.rbi +31 -0
  269. data/rbi/orb/models/conversion_rate_unit_config.rbi +27 -0
  270. data/rbi/orb/models/coupon_redemption.rbi +37 -0
  271. data/rbi/orb/models/credit_note.rbi +7 -87
  272. data/rbi/orb/models/credit_note_tiny.rbi +25 -0
  273. data/rbi/orb/models/custom_expiration.rbi +55 -0
  274. data/rbi/orb/models/customer.rbi +19 -522
  275. data/rbi/orb/models/customer_create_params.rbi +36 -957
  276. data/rbi/orb/models/customer_hierarchy_config.rbi +52 -0
  277. data/rbi/orb/models/customer_minified.rbi +32 -0
  278. data/rbi/orb/models/customer_tax_id.rbi +324 -0
  279. data/rbi/orb/models/customer_update_by_external_id_params.rbi +36 -1436
  280. data/rbi/orb/models/customer_update_params.rbi +36 -957
  281. data/rbi/orb/models/customers/balance_transaction_create_response.rbi +8 -96
  282. data/rbi/orb/models/customers/balance_transaction_list_response.rbi +8 -96
  283. data/rbi/orb/models/customers/cost_list_by_external_id_response.rbi +5 -191
  284. data/rbi/orb/models/customers/cost_list_response.rbi +5 -182
  285. data/rbi/orb/models/customers/credits/affected_block.rbi +50 -0
  286. data/rbi/orb/models/customers/credits/amendment_ledger_entry.rbi +207 -0
  287. data/rbi/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbi +209 -0
  288. data/rbi/orb/models/customers/credits/decrement_ledger_entry.rbi +225 -0
  289. data/rbi/orb/models/customers/credits/expiration_change_ledger_entry.rbi +213 -0
  290. data/rbi/orb/models/customers/credits/increment_ledger_entry.rbi +215 -0
  291. data/rbi/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbi +7 -1854
  292. data/rbi/orb/models/customers/credits/ledger_create_entry_response.rbi +7 -1854
  293. data/rbi/orb/models/customers/credits/ledger_list_by_external_id_response.rbi +7 -1854
  294. data/rbi/orb/models/customers/credits/ledger_list_response.rbi +7 -1854
  295. data/rbi/orb/models/customers/credits/top_up_create_by_external_id_response.rbi +4 -84
  296. data/rbi/orb/models/customers/credits/top_up_create_response.rbi +4 -84
  297. data/rbi/orb/models/customers/credits/top_up_invoice_settings.rbi +83 -0
  298. data/rbi/orb/models/customers/credits/top_up_list_by_external_id_response.rbi +4 -84
  299. data/rbi/orb/models/customers/credits/top_up_list_response.rbi +4 -84
  300. data/rbi/orb/models/customers/credits/void_initiated_ledger_entry.rbi +225 -0
  301. data/rbi/orb/models/customers/credits/void_ledger_entry.rbi +219 -0
  302. data/rbi/orb/models/dimensional_price_configuration.rbi +38 -0
  303. data/rbi/orb/models/discount_override.rbi +83 -0
  304. data/rbi/orb/models/fixed_fee_quantity_schedule_entry.rbi +48 -0
  305. data/rbi/orb/models/fixed_fee_quantity_transition.rbi +39 -0
  306. data/rbi/orb/models/invoice.rbi +212 -3345
  307. data/rbi/orb/models/invoice_create_params.rbi +4 -33
  308. data/rbi/orb/models/invoice_fetch_upcoming_response.rbi +355 -4329
  309. data/rbi/orb/models/invoice_line_item_create_response.rbi +30 -2260
  310. data/rbi/orb/models/invoice_tiny.rbi +24 -0
  311. data/rbi/orb/models/item_slim.rbi +23 -0
  312. data/rbi/orb/models/matrix_config.rbi +50 -0
  313. data/rbi/orb/models/matrix_sub_line_item.rbi +87 -0
  314. data/rbi/orb/models/matrix_value.rbi +43 -0
  315. data/rbi/orb/models/matrix_with_allocation_config.rbi +61 -0
  316. data/rbi/orb/models/maximum.rbi +52 -0
  317. data/rbi/orb/models/maximum_interval.rbi +69 -0
  318. data/rbi/orb/models/minimum.rbi +52 -0
  319. data/rbi/orb/models/minimum_interval.rbi +69 -0
  320. data/rbi/orb/models/monetary_amount_discount_adjustment.rbi +125 -0
  321. data/rbi/orb/models/monetary_maximum_adjustment.rbi +123 -0
  322. data/rbi/orb/models/monetary_minimum_adjustment.rbi +131 -0
  323. data/rbi/orb/models/monetary_percentage_discount_adjustment.rbi +131 -0
  324. data/rbi/orb/models/monetary_usage_discount_adjustment.rbi +125 -0
  325. data/rbi/orb/models/mutated_subscription.rbi +412 -0
  326. data/rbi/orb/models/new_accounting_sync_configuration.rbi +40 -0
  327. data/rbi/orb/models/new_allocation_price.rbi +104 -0
  328. data/rbi/orb/models/new_amount_discount.rbi +179 -0
  329. data/rbi/orb/models/new_avalara_tax_configuration.rbi +68 -0
  330. data/rbi/orb/models/new_billing_cycle_configuration.rbi +79 -0
  331. data/rbi/orb/models/new_dimensional_price_configuration.rbi +55 -0
  332. data/rbi/orb/models/new_floating_bps_price.rbi +294 -0
  333. data/rbi/orb/models/new_floating_bulk_bps_price.rbi +309 -0
  334. data/rbi/orb/models/new_floating_bulk_price.rbi +298 -0
  335. data/rbi/orb/models/new_floating_bulk_with_proration_price.rbi +331 -0
  336. data/rbi/orb/models/new_floating_cumulative_grouped_bulk_price.rbi +338 -0
  337. data/rbi/orb/models/new_floating_grouped_allocation_price.rbi +331 -0
  338. data/rbi/orb/models/new_floating_grouped_tiered_package_price.rbi +337 -0
  339. data/rbi/orb/models/new_floating_grouped_tiered_price.rbi +325 -0
  340. data/rbi/orb/models/new_floating_grouped_with_metered_minimum_price.rbi +348 -0
  341. data/rbi/orb/models/new_floating_grouped_with_prorated_minimum_price.rbi +348 -0
  342. data/rbi/orb/models/new_floating_matrix_price.rbi +304 -0
  343. data/rbi/orb/models/new_floating_matrix_with_allocation_price.rbi +345 -0
  344. data/rbi/orb/models/new_floating_matrix_with_display_name_price.rbi +338 -0
  345. data/rbi/orb/models/new_floating_max_group_tiered_package_price.rbi +338 -0
  346. data/rbi/orb/models/new_floating_package_price.rbi +306 -0
  347. data/rbi/orb/models/new_floating_package_with_allocation_price.rbi +338 -0
  348. data/rbi/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbi +350 -0
  349. data/rbi/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbi +349 -0
  350. data/rbi/orb/models/new_floating_threshold_total_amount_price.rbi +337 -0
  351. data/rbi/orb/models/new_floating_tiered_bps_price.rbi +317 -0
  352. data/rbi/orb/models/new_floating_tiered_package_price.rbi +325 -0
  353. data/rbi/orb/models/new_floating_tiered_package_with_minimum_price.rbi +348 -0
  354. data/rbi/orb/models/new_floating_tiered_price.rbi +304 -0
  355. data/rbi/orb/models/new_floating_tiered_with_minimum_price.rbi +331 -0
  356. data/rbi/orb/models/new_floating_tiered_with_proration_price.rbi +337 -0
  357. data/rbi/orb/models/new_floating_unit_price.rbi +298 -0
  358. data/rbi/orb/models/new_floating_unit_with_percent_price.rbi +328 -0
  359. data/rbi/orb/models/new_floating_unit_with_proration_price.rbi +331 -0
  360. data/rbi/orb/models/new_maximum.rbi +160 -0
  361. data/rbi/orb/models/new_minimum.rbi +168 -0
  362. data/rbi/orb/models/new_percentage_discount.rbi +193 -0
  363. data/rbi/orb/models/new_plan_bps_price.rbi +294 -0
  364. data/rbi/orb/models/new_plan_bulk_bps_price.rbi +297 -0
  365. data/rbi/orb/models/new_plan_bulk_price.rbi +295 -0
  366. data/rbi/orb/models/new_plan_bulk_with_proration_price.rbi +327 -0
  367. data/rbi/orb/models/new_plan_cumulative_grouped_bulk_price.rbi +333 -0
  368. data/rbi/orb/models/new_plan_grouped_allocation_price.rbi +327 -0
  369. data/rbi/orb/models/new_plan_grouped_tiered_package_price.rbi +333 -0
  370. data/rbi/orb/models/new_plan_grouped_tiered_price.rbi +316 -0
  371. data/rbi/orb/models/new_plan_grouped_with_metered_minimum_price.rbi +340 -0
  372. data/rbi/orb/models/new_plan_grouped_with_prorated_minimum_price.rbi +345 -0
  373. data/rbi/orb/models/new_plan_matrix_price.rbi +297 -0
  374. data/rbi/orb/models/new_plan_matrix_with_allocation_price.rbi +341 -0
  375. data/rbi/orb/models/new_plan_matrix_with_display_name_price.rbi +333 -0
  376. data/rbi/orb/models/new_plan_max_group_tiered_package_price.rbi +333 -0
  377. data/rbi/orb/models/new_plan_package_price.rbi +297 -0
  378. data/rbi/orb/models/new_plan_package_with_allocation_price.rbi +333 -0
  379. data/rbi/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbi +352 -0
  380. data/rbi/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbi +351 -0
  381. data/rbi/orb/models/new_plan_threshold_total_amount_price.rbi +333 -0
  382. data/rbi/orb/models/new_plan_tier_with_proration_price.rbi +327 -0
  383. data/rbi/orb/models/new_plan_tiered_bps_price.rbi +304 -0
  384. data/rbi/orb/models/new_plan_tiered_package_price.rbi +316 -0
  385. data/rbi/orb/models/new_plan_tiered_package_with_minimum_price.rbi +339 -0
  386. data/rbi/orb/models/new_plan_tiered_price.rbi +297 -0
  387. data/rbi/orb/models/new_plan_tiered_with_minimum_price.rbi +327 -0
  388. data/rbi/orb/models/new_plan_unit_price.rbi +295 -0
  389. data/rbi/orb/models/new_plan_unit_with_percent_price.rbi +325 -0
  390. data/rbi/orb/models/new_plan_unit_with_proration_price.rbi +327 -0
  391. data/rbi/orb/models/new_reporting_configuration.rbi +23 -0
  392. data/rbi/orb/models/new_sphere_configuration.rbi +59 -0
  393. data/rbi/orb/models/new_subscription_bps_price.rbi +317 -0
  394. data/rbi/orb/models/new_subscription_bulk_bps_price.rbi +338 -0
  395. data/rbi/orb/models/new_subscription_bulk_price.rbi +321 -0
  396. data/rbi/orb/models/new_subscription_bulk_with_proration_price.rbi +350 -0
  397. data/rbi/orb/models/new_subscription_cumulative_grouped_bulk_price.rbi +360 -0
  398. data/rbi/orb/models/new_subscription_grouped_allocation_price.rbi +350 -0
  399. data/rbi/orb/models/new_subscription_grouped_tiered_package_price.rbi +360 -0
  400. data/rbi/orb/models/new_subscription_grouped_tiered_price.rbi +343 -0
  401. data/rbi/orb/models/new_subscription_grouped_with_metered_minimum_price.rbi +360 -0
  402. data/rbi/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbi +360 -0
  403. data/rbi/orb/models/new_subscription_matrix_price.rbi +332 -0
  404. data/rbi/orb/models/new_subscription_matrix_with_allocation_price.rbi +368 -0
  405. data/rbi/orb/models/new_subscription_matrix_with_display_name_price.rbi +360 -0
  406. data/rbi/orb/models/new_subscription_max_group_tiered_package_price.rbi +360 -0
  407. data/rbi/orb/models/new_subscription_package_price.rbi +338 -0
  408. data/rbi/orb/models/new_subscription_package_with_allocation_price.rbi +360 -0
  409. data/rbi/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbi +362 -0
  410. data/rbi/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbi +361 -0
  411. data/rbi/orb/models/new_subscription_threshold_total_amount_price.rbi +360 -0
  412. data/rbi/orb/models/new_subscription_tier_with_proration_price.rbi +350 -0
  413. data/rbi/orb/models/new_subscription_tiered_bps_price.rbi +340 -0
  414. data/rbi/orb/models/new_subscription_tiered_package_price.rbi +343 -0
  415. data/rbi/orb/models/new_subscription_tiered_package_with_minimum_price.rbi +360 -0
  416. data/rbi/orb/models/new_subscription_tiered_price.rbi +332 -0
  417. data/rbi/orb/models/new_subscription_tiered_with_minimum_price.rbi +350 -0
  418. data/rbi/orb/models/new_subscription_unit_price.rbi +321 -0
  419. data/rbi/orb/models/new_subscription_unit_with_percent_price.rbi +349 -0
  420. data/rbi/orb/models/new_subscription_unit_with_proration_price.rbi +350 -0
  421. data/rbi/orb/models/new_tax_jar_configuration.rbi +59 -0
  422. data/rbi/orb/models/new_usage_discount.rbi +177 -0
  423. data/rbi/orb/models/other_sub_line_item.rbi +78 -0
  424. data/rbi/orb/models/package_config.rbi +39 -0
  425. data/rbi/orb/models/per_price_cost.rbi +96 -0
  426. data/rbi/orb/models/percentage_discount.rbi +3 -126
  427. data/rbi/orb/models/percentage_discount_interval.rbi +107 -0
  428. data/rbi/orb/models/plan.rbi +29 -1937
  429. data/rbi/orb/models/plan_create_params.rbi +112 -15428
  430. data/rbi/orb/models/plan_phase_amount_discount_adjustment.rbi +128 -0
  431. data/rbi/orb/models/plan_phase_maximum_adjustment.rbi +123 -0
  432. data/rbi/orb/models/plan_phase_minimum_adjustment.rbi +131 -0
  433. data/rbi/orb/models/plan_phase_percentage_discount_adjustment.rbi +131 -0
  434. data/rbi/orb/models/plan_phase_usage_discount_adjustment.rbi +125 -0
  435. data/rbi/orb/models/plan_version.rbi +13 -1252
  436. data/rbi/orb/models/price.rbi +3518 -26097
  437. data/rbi/orb/models/price_create_params.rbi +81 -937
  438. data/rbi/orb/models/price_evaluate_multiple_params.rbi +112 -15566
  439. data/rbi/orb/models/price_evaluate_preview_events_params.rbi +411 -0
  440. data/rbi/orb/models/price_evaluate_preview_events_response.rbi +101 -0
  441. data/rbi/orb/models/price_interval.rbi +174 -0
  442. data/rbi/orb/models/sub_line_item_grouping.rbi +31 -0
  443. data/rbi/orb/models/sub_line_item_matrix_config.rbi +33 -0
  444. data/rbi/orb/models/subscription.rbi +51 -2939
  445. data/rbi/orb/models/subscription_change_apply_response.rbi +4 -3580
  446. data/rbi/orb/models/subscription_change_cancel_response.rbi +4 -3580
  447. data/rbi/orb/models/subscription_change_minified.rbi +23 -0
  448. data/rbi/orb/models/subscription_change_retrieve_response.rbi +4 -3582
  449. data/rbi/orb/models/subscription_create_params.rbi +686 -36613
  450. data/rbi/orb/models/subscription_fetch_costs_response.rbi +5 -182
  451. data/rbi/orb/models/subscription_minified.rbi +23 -0
  452. data/rbi/orb/models/subscription_price_intervals_params.rbi +224 -17694
  453. data/rbi/orb/models/subscription_schedule_plan_change_params.rbi +696 -36631
  454. data/rbi/orb/models/subscription_trial_info.rbi +23 -0
  455. data/rbi/orb/models/tax_amount.rbi +50 -0
  456. data/rbi/orb/models/threshold.rbi +30 -0
  457. data/rbi/orb/models/tier.rbi +50 -0
  458. data/rbi/orb/models/tier_config.rbi +40 -0
  459. data/rbi/orb/models/tier_sub_line_item.rbi +87 -0
  460. data/rbi/orb/models/tiered_bps_config.rbi +29 -0
  461. data/rbi/orb/models/tiered_config.rbi +26 -0
  462. data/rbi/orb/models/tiered_conversion_rate_config.rbi +73 -0
  463. data/rbi/orb/models/transform_price_filter.rbi +106 -0
  464. data/rbi/orb/models/trial_discount.rbi +3 -104
  465. data/rbi/orb/models/unit_config.rbi +24 -0
  466. data/rbi/orb/models/unit_conversion_rate_config.rbi +71 -0
  467. data/rbi/orb/models/usage_discount.rbi +3 -104
  468. data/rbi/orb/models/usage_discount_interval.rbi +99 -0
  469. data/rbi/orb/models.rbi +398 -0
  470. data/rbi/orb/resources/alerts.rbi +4 -13
  471. data/rbi/orb/resources/customers.rbi +27 -51
  472. data/rbi/orb/resources/plans.rbi +28 -28
  473. data/rbi/orb/resources/prices.rbi +82 -36
  474. data/rbi/orb/resources/subscriptions.rbi +13 -19
  475. data/sig/orb/models/accounting_provider_config.rbs +19 -0
  476. data/sig/orb/models/address.rbs +45 -0
  477. data/sig/orb/models/address_input.rbs +45 -0
  478. data/sig/orb/models/adjustment_interval.rbs +53 -0
  479. data/sig/orb/models/aggregated_cost.rbs +40 -0
  480. data/sig/orb/models/alert.rbs +12 -44
  481. data/sig/orb/models/alert_create_for_customer_params.rbs +4 -14
  482. data/sig/orb/models/alert_create_for_external_customer_params.rbs +4 -14
  483. data/sig/orb/models/alert_create_for_subscription_params.rbs +4 -14
  484. data/sig/orb/models/alert_update_params.rbs +4 -14
  485. data/sig/orb/models/allocation.rbs +30 -0
  486. data/sig/orb/models/amount_discount.rbs +4 -57
  487. data/sig/orb/models/amount_discount_interval.rbs +55 -0
  488. data/sig/orb/models/beta/external_plan_id_create_plan_version_params.rbs +149 -13933
  489. data/sig/orb/models/beta_create_plan_version_params.rbs +146 -13914
  490. data/sig/orb/models/billable_metric_tiny.rbs +13 -0
  491. data/sig/orb/models/billing_cycle_anchor_configuration.rbs +18 -0
  492. data/sig/orb/models/billing_cycle_configuration.rbs +36 -0
  493. data/sig/orb/models/bps_config.rbs +15 -0
  494. data/sig/orb/models/bps_tier.rbs +35 -0
  495. data/sig/orb/models/bulk_bps_config.rbs +13 -0
  496. data/sig/orb/models/bulk_bps_tier.rbs +26 -0
  497. data/sig/orb/models/bulk_config.rbs +13 -0
  498. data/sig/orb/models/bulk_tier.rbs +15 -0
  499. data/sig/orb/models/changed_subscription_resources.rbs +35 -0
  500. data/sig/orb/models/conversion_rate_tier.rbs +26 -0
  501. data/sig/orb/models/conversion_rate_tiered_config.rbs +14 -0
  502. data/sig/orb/models/conversion_rate_unit_config.rbs +13 -0
  503. data/sig/orb/models/coupon_redemption.rbs +22 -0
  504. data/sig/orb/models/credit_note.rbs +8 -47
  505. data/sig/orb/models/credit_note_tiny.rbs +13 -0
  506. data/sig/orb/models/custom_expiration.rbs +36 -0
  507. data/sig/orb/models/customer.rbs +20 -471
  508. data/sig/orb/models/customer_create_params.rbs +27 -577
  509. data/sig/orb/models/customer_hierarchy_config.rbs +24 -0
  510. data/sig/orb/models/customer_minified.rbs +15 -0
  511. data/sig/orb/models/customer_tax_id.rbs +346 -0
  512. data/sig/orb/models/customer_update_by_external_id_params.rbs +27 -577
  513. data/sig/orb/models/customer_update_params.rbs +27 -577
  514. data/sig/orb/models/customers/balance_transaction_create_response.rbs +8 -28
  515. data/sig/orb/models/customers/balance_transaction_list_response.rbs +8 -28
  516. data/sig/orb/models/customers/cost_list_by_external_id_response.rbs +4 -84
  517. data/sig/orb/models/customers/cost_list_response.rbs +4 -83
  518. data/sig/orb/models/customers/credits/affected_block.rbs +30 -0
  519. data/sig/orb/models/customers/credits/amendment_ledger_entry.rbs +105 -0
  520. data/sig/orb/models/customers/credits/credit_block_expiry_ledger_entry.rbs +107 -0
  521. data/sig/orb/models/customers/credits/decrement_ledger_entry.rbs +120 -0
  522. data/sig/orb/models/customers/credits/expiration_change_ledger_entry.rbs +110 -0
  523. data/sig/orb/models/customers/credits/increment_ledger_entry.rbs +110 -0
  524. data/sig/orb/models/customers/credits/ledger_create_entry_by_external_id_response.rbs +7 -939
  525. data/sig/orb/models/customers/credits/ledger_create_entry_response.rbs +7 -939
  526. data/sig/orb/models/customers/credits/ledger_list_by_external_id_response.rbs +7 -939
  527. data/sig/orb/models/customers/credits/ledger_list_response.rbs +7 -939
  528. data/sig/orb/models/customers/credits/top_up_create_by_external_id_response.rbs +4 -38
  529. data/sig/orb/models/customers/credits/top_up_create_response.rbs +4 -38
  530. data/sig/orb/models/customers/credits/top_up_invoice_settings.rbs +41 -0
  531. data/sig/orb/models/customers/credits/top_up_list_by_external_id_response.rbs +4 -38
  532. data/sig/orb/models/customers/credits/top_up_list_response.rbs +4 -38
  533. data/sig/orb/models/customers/credits/void_initiated_ledger_entry.rbs +120 -0
  534. data/sig/orb/models/customers/credits/void_ledger_entry.rbs +115 -0
  535. data/sig/orb/models/dimensional_price_configuration.rbs +22 -0
  536. data/sig/orb/models/discount_override.rbs +47 -0
  537. data/sig/orb/models/fixed_fee_quantity_schedule_entry.rbs +30 -0
  538. data/sig/orb/models/fixed_fee_quantity_transition.rbs +26 -0
  539. data/sig/orb/models/invoice.rbs +54 -1612
  540. data/sig/orb/models/invoice_create_params.rbs +4 -14
  541. data/sig/orb/models/invoice_fetch_upcoming_response.rbs +54 -1612
  542. data/sig/orb/models/invoice_line_item_create_response.rbs +18 -927
  543. data/sig/orb/models/invoice_tiny.rbs +13 -0
  544. data/sig/orb/models/item_slim.rbs +15 -0
  545. data/sig/orb/models/matrix_config.rbs +30 -0
  546. data/sig/orb/models/matrix_sub_line_item.rbs +55 -0
  547. data/sig/orb/models/matrix_value.rbs +22 -0
  548. data/sig/orb/models/matrix_with_allocation_config.rbs +35 -0
  549. data/sig/orb/models/maximum.rbs +30 -0
  550. data/sig/orb/models/maximum_interval.rbs +40 -0
  551. data/sig/orb/models/minimum.rbs +30 -0
  552. data/sig/orb/models/minimum_interval.rbs +40 -0
  553. data/sig/orb/models/monetary_amount_discount_adjustment.rbs +65 -0
  554. data/sig/orb/models/monetary_maximum_adjustment.rbs +65 -0
  555. data/sig/orb/models/monetary_minimum_adjustment.rbs +70 -0
  556. data/sig/orb/models/monetary_percentage_discount_adjustment.rbs +65 -0
  557. data/sig/orb/models/monetary_usage_discount_adjustment.rbs +65 -0
  558. data/sig/orb/models/mutated_subscription.rbs +178 -0
  559. data/sig/orb/models/new_accounting_sync_configuration.rbs +25 -0
  560. data/sig/orb/models/new_allocation_price.rbs +56 -0
  561. data/sig/orb/models/new_amount_discount.rbs +97 -0
  562. data/sig/orb/models/new_avalara_tax_configuration.rbs +40 -0
  563. data/sig/orb/models/new_billing_cycle_configuration.rbs +36 -0
  564. data/sig/orb/models/new_dimensional_price_configuration.rbs +30 -0
  565. data/sig/orb/models/new_floating_bps_price.rbs +135 -0
  566. data/sig/orb/models/new_floating_bulk_bps_price.rbs +135 -0
  567. data/sig/orb/models/new_floating_bulk_price.rbs +135 -0
  568. data/sig/orb/models/new_floating_bulk_with_proration_price.rbs +135 -0
  569. data/sig/orb/models/new_floating_cumulative_grouped_bulk_price.rbs +135 -0
  570. data/sig/orb/models/new_floating_grouped_allocation_price.rbs +135 -0
  571. data/sig/orb/models/new_floating_grouped_tiered_package_price.rbs +135 -0
  572. data/sig/orb/models/new_floating_grouped_tiered_price.rbs +135 -0
  573. data/sig/orb/models/new_floating_grouped_with_metered_minimum_price.rbs +135 -0
  574. data/sig/orb/models/new_floating_grouped_with_prorated_minimum_price.rbs +135 -0
  575. data/sig/orb/models/new_floating_matrix_price.rbs +135 -0
  576. data/sig/orb/models/new_floating_matrix_with_allocation_price.rbs +135 -0
  577. data/sig/orb/models/new_floating_matrix_with_display_name_price.rbs +135 -0
  578. data/sig/orb/models/new_floating_max_group_tiered_package_price.rbs +135 -0
  579. data/sig/orb/models/new_floating_package_price.rbs +135 -0
  580. data/sig/orb/models/new_floating_package_with_allocation_price.rbs +135 -0
  581. data/sig/orb/models/new_floating_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
  582. data/sig/orb/models/new_floating_scalable_matrix_with_unit_pricing_price.rbs +135 -0
  583. data/sig/orb/models/new_floating_threshold_total_amount_price.rbs +135 -0
  584. data/sig/orb/models/new_floating_tiered_bps_price.rbs +135 -0
  585. data/sig/orb/models/new_floating_tiered_package_price.rbs +135 -0
  586. data/sig/orb/models/new_floating_tiered_package_with_minimum_price.rbs +135 -0
  587. data/sig/orb/models/new_floating_tiered_price.rbs +135 -0
  588. data/sig/orb/models/new_floating_tiered_with_minimum_price.rbs +135 -0
  589. data/sig/orb/models/new_floating_tiered_with_proration_price.rbs +135 -0
  590. data/sig/orb/models/new_floating_unit_price.rbs +135 -0
  591. data/sig/orb/models/new_floating_unit_with_percent_price.rbs +135 -0
  592. data/sig/orb/models/new_floating_unit_with_proration_price.rbs +135 -0
  593. data/sig/orb/models/new_maximum.rbs +97 -0
  594. data/sig/orb/models/new_minimum.rbs +102 -0
  595. data/sig/orb/models/new_percentage_discount.rbs +97 -0
  596. data/sig/orb/models/new_plan_bps_price.rbs +135 -0
  597. data/sig/orb/models/new_plan_bulk_bps_price.rbs +135 -0
  598. data/sig/orb/models/new_plan_bulk_price.rbs +135 -0
  599. data/sig/orb/models/new_plan_bulk_with_proration_price.rbs +135 -0
  600. data/sig/orb/models/new_plan_cumulative_grouped_bulk_price.rbs +135 -0
  601. data/sig/orb/models/new_plan_grouped_allocation_price.rbs +135 -0
  602. data/sig/orb/models/new_plan_grouped_tiered_package_price.rbs +135 -0
  603. data/sig/orb/models/new_plan_grouped_tiered_price.rbs +135 -0
  604. data/sig/orb/models/new_plan_grouped_with_metered_minimum_price.rbs +135 -0
  605. data/sig/orb/models/new_plan_grouped_with_prorated_minimum_price.rbs +135 -0
  606. data/sig/orb/models/new_plan_matrix_price.rbs +135 -0
  607. data/sig/orb/models/new_plan_matrix_with_allocation_price.rbs +135 -0
  608. data/sig/orb/models/new_plan_matrix_with_display_name_price.rbs +135 -0
  609. data/sig/orb/models/new_plan_max_group_tiered_package_price.rbs +135 -0
  610. data/sig/orb/models/new_plan_package_price.rbs +135 -0
  611. data/sig/orb/models/new_plan_package_with_allocation_price.rbs +135 -0
  612. data/sig/orb/models/new_plan_scalable_matrix_with_tiered_pricing_price.rbs +135 -0
  613. data/sig/orb/models/new_plan_scalable_matrix_with_unit_pricing_price.rbs +135 -0
  614. data/sig/orb/models/new_plan_threshold_total_amount_price.rbs +135 -0
  615. data/sig/orb/models/new_plan_tier_with_proration_price.rbs +135 -0
  616. data/sig/orb/models/new_plan_tiered_bps_price.rbs +135 -0
  617. data/sig/orb/models/new_plan_tiered_package_price.rbs +135 -0
  618. data/sig/orb/models/new_plan_tiered_package_with_minimum_price.rbs +135 -0
  619. data/sig/orb/models/new_plan_tiered_price.rbs +135 -0
  620. data/sig/orb/models/new_plan_tiered_with_minimum_price.rbs +135 -0
  621. data/sig/orb/models/new_plan_unit_price.rbs +135 -0
  622. data/sig/orb/models/new_plan_unit_with_percent_price.rbs +135 -0
  623. data/sig/orb/models/new_plan_unit_with_proration_price.rbs +135 -0
  624. data/sig/orb/models/new_reporting_configuration.rbs +13 -0
  625. data/sig/orb/models/new_sphere_configuration.rbs +35 -0
  626. data/sig/orb/models/new_subscription_bps_price.rbs +140 -0
  627. data/sig/orb/models/new_subscription_bulk_bps_price.rbs +140 -0
  628. data/sig/orb/models/new_subscription_bulk_price.rbs +140 -0
  629. data/sig/orb/models/new_subscription_bulk_with_proration_price.rbs +140 -0
  630. data/sig/orb/models/new_subscription_cumulative_grouped_bulk_price.rbs +140 -0
  631. data/sig/orb/models/new_subscription_grouped_allocation_price.rbs +140 -0
  632. data/sig/orb/models/new_subscription_grouped_tiered_package_price.rbs +140 -0
  633. data/sig/orb/models/new_subscription_grouped_tiered_price.rbs +140 -0
  634. data/sig/orb/models/new_subscription_grouped_with_metered_minimum_price.rbs +140 -0
  635. data/sig/orb/models/new_subscription_grouped_with_prorated_minimum_price.rbs +140 -0
  636. data/sig/orb/models/new_subscription_matrix_price.rbs +140 -0
  637. data/sig/orb/models/new_subscription_matrix_with_allocation_price.rbs +140 -0
  638. data/sig/orb/models/new_subscription_matrix_with_display_name_price.rbs +140 -0
  639. data/sig/orb/models/new_subscription_max_group_tiered_package_price.rbs +140 -0
  640. data/sig/orb/models/new_subscription_package_price.rbs +140 -0
  641. data/sig/orb/models/new_subscription_package_with_allocation_price.rbs +140 -0
  642. data/sig/orb/models/new_subscription_scalable_matrix_with_tiered_pricing_price.rbs +140 -0
  643. data/sig/orb/models/new_subscription_scalable_matrix_with_unit_pricing_price.rbs +140 -0
  644. data/sig/orb/models/new_subscription_threshold_total_amount_price.rbs +140 -0
  645. data/sig/orb/models/new_subscription_tier_with_proration_price.rbs +140 -0
  646. data/sig/orb/models/new_subscription_tiered_bps_price.rbs +140 -0
  647. data/sig/orb/models/new_subscription_tiered_package_price.rbs +140 -0
  648. data/sig/orb/models/new_subscription_tiered_package_with_minimum_price.rbs +140 -0
  649. data/sig/orb/models/new_subscription_tiered_price.rbs +140 -0
  650. data/sig/orb/models/new_subscription_tiered_with_minimum_price.rbs +140 -0
  651. data/sig/orb/models/new_subscription_unit_price.rbs +140 -0
  652. data/sig/orb/models/new_subscription_unit_with_percent_price.rbs +140 -0
  653. data/sig/orb/models/new_subscription_unit_with_proration_price.rbs +140 -0
  654. data/sig/orb/models/new_tax_jar_configuration.rbs +35 -0
  655. data/sig/orb/models/new_usage_discount.rbs +97 -0
  656. data/sig/orb/models/other_sub_line_item.rbs +50 -0
  657. data/sig/orb/models/package_config.rbs +15 -0
  658. data/sig/orb/models/per_price_cost.rbs +40 -0
  659. data/sig/orb/models/percentage_discount.rbs +4 -57
  660. data/sig/orb/models/percentage_discount_interval.rbs +55 -0
  661. data/sig/orb/models/plan.rbs +21 -871
  662. data/sig/orb/models/plan_create_params.rbs +28 -5952
  663. data/sig/orb/models/plan_phase_amount_discount_adjustment.rbs +65 -0
  664. data/sig/orb/models/plan_phase_maximum_adjustment.rbs +65 -0
  665. data/sig/orb/models/plan_phase_minimum_adjustment.rbs +70 -0
  666. data/sig/orb/models/plan_phase_percentage_discount_adjustment.rbs +65 -0
  667. data/sig/orb/models/plan_phase_usage_discount_adjustment.rbs +65 -0
  668. data/sig/orb/models/plan_version.rbs +5 -535
  669. data/sig/orb/models/price.rbs +2164 -11297
  670. data/sig/orb/models/price_create_params.rbs +58 -418
  671. data/sig/orb/models/price_evaluate_multiple_params.rbs +28 -6138
  672. data/sig/orb/models/price_evaluate_preview_events_params.rbs +166 -0
  673. data/sig/orb/models/price_evaluate_preview_events_response.rbs +50 -0
  674. data/sig/orb/models/price_interval.rbs +65 -0
  675. data/sig/orb/models/sub_line_item_grouping.rbs +15 -0
  676. data/sig/orb/models/sub_line_item_matrix_config.rbs +13 -0
  677. data/sig/orb/models/subscription.rbs +39 -1274
  678. data/sig/orb/models/subscription_change_apply_response.rbs +4 -1467
  679. data/sig/orb/models/subscription_change_cancel_response.rbs +4 -1467
  680. data/sig/orb/models/subscription_change_minified.rbs +13 -0
  681. data/sig/orb/models/subscription_change_retrieve_response.rbs +4 -1467
  682. data/sig/orb/models/subscription_create_params.rbs +176 -14331
  683. data/sig/orb/models/subscription_fetch_costs_response.rbs +4 -82
  684. data/sig/orb/models/subscription_minified.rbs +13 -0
  685. data/sig/orb/models/subscription_price_intervals_params.rbs +61 -6945
  686. data/sig/orb/models/subscription_schedule_plan_change_params.rbs +178 -14333
  687. data/sig/orb/models/subscription_trial_info.rbs +13 -0
  688. data/sig/orb/models/tax_amount.rbs +30 -0
  689. data/sig/orb/models/threshold.rbs +13 -0
  690. data/sig/orb/models/tier.rbs +25 -0
  691. data/sig/orb/models/tier_config.rbs +26 -0
  692. data/sig/orb/models/tier_sub_line_item.rbs +55 -0
  693. data/sig/orb/models/tiered_bps_config.rbs +13 -0
  694. data/sig/orb/models/tiered_config.rbs +13 -0
  695. data/sig/orb/models/tiered_conversion_rate_config.rbs +35 -0
  696. data/sig/orb/models/transform_price_filter.rbs +56 -0
  697. data/sig/orb/models/trial_discount.rbs +4 -57
  698. data/sig/orb/models/unit_config.rbs +13 -0
  699. data/sig/orb/models/unit_conversion_rate_config.rbs +35 -0
  700. data/sig/orb/models/usage_discount.rbs +4 -57
  701. data/sig/orb/models/usage_discount_interval.rbs +55 -0
  702. data/sig/orb/models.rbs +342 -0
  703. data/sig/orb/resources/alerts.rbs +4 -4
  704. data/sig/orb/resources/customers.rbs +18 -18
  705. data/sig/orb/resources/prices.rbs +23 -13
  706. data/sig/orb/resources/subscriptions.rbs +13 -13
  707. metadata +545 -35
  708. data/lib/orb/models/subscription_cancel_response.rb +0 -1873
  709. data/lib/orb/models/subscription_create_response.rb +0 -1873
  710. data/lib/orb/models/subscription_price_intervals_response.rb +0 -1888
  711. data/lib/orb/models/subscription_redeem_coupon_response.rb +0 -1883
  712. data/lib/orb/models/subscription_schedule_plan_change_response.rb +0 -1893
  713. data/lib/orb/models/subscription_trigger_phase_response.rb +0 -1883
  714. data/lib/orb/models/subscription_unschedule_cancellation_response.rb +0 -1897
  715. data/lib/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rb +0 -1912
  716. data/lib/orb/models/subscription_unschedule_pending_plan_changes_response.rb +0 -1908
  717. data/lib/orb/models/subscription_update_fixed_fee_quantity_response.rb +0 -1897
  718. data/lib/orb/models/subscription_update_trial_response.rb +0 -1879
  719. data/rbi/orb/models/subscription_cancel_response.rbi +0 -3537
  720. data/rbi/orb/models/subscription_create_response.rbi +0 -3537
  721. data/rbi/orb/models/subscription_price_intervals_response.rbi +0 -3564
  722. data/rbi/orb/models/subscription_redeem_coupon_response.rbi +0 -3557
  723. data/rbi/orb/models/subscription_schedule_plan_change_response.rbi +0 -3564
  724. data/rbi/orb/models/subscription_trigger_phase_response.rbi +0 -3557
  725. data/rbi/orb/models/subscription_unschedule_cancellation_response.rbi +0 -3566
  726. data/rbi/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbi +0 -3566
  727. data/rbi/orb/models/subscription_unschedule_pending_plan_changes_response.rbi +0 -3566
  728. data/rbi/orb/models/subscription_update_fixed_fee_quantity_response.rbi +0 -3566
  729. data/rbi/orb/models/subscription_update_trial_response.rbi +0 -3556
  730. data/sig/orb/models/subscription_cancel_response.rbs +0 -1445
  731. data/sig/orb/models/subscription_create_response.rbs +0 -1445
  732. data/sig/orb/models/subscription_price_intervals_response.rbs +0 -1445
  733. data/sig/orb/models/subscription_redeem_coupon_response.rbs +0 -1445
  734. data/sig/orb/models/subscription_schedule_plan_change_response.rbs +0 -1445
  735. data/sig/orb/models/subscription_trigger_phase_response.rbs +0 -1445
  736. data/sig/orb/models/subscription_unschedule_cancellation_response.rbs +0 -1445
  737. data/sig/orb/models/subscription_unschedule_fixed_fee_quantity_updates_response.rbs +0 -1445
  738. data/sig/orb/models/subscription_unschedule_pending_plan_changes_response.rbs +0 -1445
  739. data/sig/orb/models/subscription_update_fixed_fee_quantity_response.rbs +0 -1445
  740. data/sig/orb/models/subscription_update_trial_response.rbs +0 -1445
@@ -11,19 +11,13 @@ module Orb
11
11
  T.any(Orb::CustomerUpdateParams, Orb::Internal::AnyHash)
12
12
  end
13
13
 
14
- sig do
15
- returns(
16
- T.nilable(Orb::CustomerUpdateParams::AccountingSyncConfiguration)
17
- )
18
- end
14
+ sig { returns(T.nilable(Orb::NewAccountingSyncConfiguration)) }
19
15
  attr_reader :accounting_sync_configuration
20
16
 
21
17
  sig do
22
18
  params(
23
19
  accounting_sync_configuration:
24
- T.nilable(
25
- Orb::CustomerUpdateParams::AccountingSyncConfiguration::OrHash
26
- )
20
+ T.nilable(Orb::NewAccountingSyncConfiguration::OrHash)
27
21
  ).void
28
22
  end
29
23
  attr_writer :accounting_sync_configuration
@@ -39,15 +33,10 @@ module Orb
39
33
  sig { returns(T.nilable(T::Boolean)) }
40
34
  attr_accessor :auto_collection
41
35
 
42
- sig { returns(T.nilable(Orb::CustomerUpdateParams::BillingAddress)) }
36
+ sig { returns(T.nilable(Orb::AddressInput)) }
43
37
  attr_reader :billing_address
44
38
 
45
- sig do
46
- params(
47
- billing_address:
48
- T.nilable(Orb::CustomerUpdateParams::BillingAddress::OrHash)
49
- ).void
50
- end
39
+ sig { params(billing_address: T.nilable(Orb::AddressInput::OrHash)).void }
51
40
  attr_writer :billing_address
52
41
 
53
42
  # An ISO 4217 currency string used for the customer's invoices and balance. If not
@@ -68,13 +57,11 @@ module Orb
68
57
  attr_accessor :external_customer_id
69
58
 
70
59
  # The hierarchical relationships for this customer.
71
- sig { returns(T.nilable(Orb::CustomerUpdateParams::Hierarchy)) }
60
+ sig { returns(T.nilable(Orb::CustomerHierarchyConfig)) }
72
61
  attr_reader :hierarchy
73
62
 
74
63
  sig do
75
- params(
76
- hierarchy: T.nilable(Orb::CustomerUpdateParams::Hierarchy::OrHash)
77
- ).void
64
+ params(hierarchy: T.nilable(Orb::CustomerHierarchyConfig::OrHash)).void
78
65
  end
79
66
  attr_writer :hierarchy
80
67
 
@@ -105,27 +92,22 @@ module Orb
105
92
  sig { returns(T.nilable(String)) }
106
93
  attr_accessor :payment_provider_id
107
94
 
108
- sig do
109
- returns(T.nilable(Orb::CustomerUpdateParams::ReportingConfiguration))
110
- end
95
+ sig { returns(T.nilable(Orb::NewReportingConfiguration)) }
111
96
  attr_reader :reporting_configuration
112
97
 
113
98
  sig do
114
99
  params(
115
100
  reporting_configuration:
116
- T.nilable(Orb::CustomerUpdateParams::ReportingConfiguration::OrHash)
101
+ T.nilable(Orb::NewReportingConfiguration::OrHash)
117
102
  ).void
118
103
  end
119
104
  attr_writer :reporting_configuration
120
105
 
121
- sig { returns(T.nilable(Orb::CustomerUpdateParams::ShippingAddress)) }
106
+ sig { returns(T.nilable(Orb::AddressInput)) }
122
107
  attr_reader :shipping_address
123
108
 
124
109
  sig do
125
- params(
126
- shipping_address:
127
- T.nilable(Orb::CustomerUpdateParams::ShippingAddress::OrHash)
128
- ).void
110
+ params(shipping_address: T.nilable(Orb::AddressInput::OrHash)).void
129
111
  end
130
112
  attr_writer :shipping_address
131
113
 
@@ -133,9 +115,9 @@ module Orb
133
115
  returns(
134
116
  T.nilable(
135
117
  T.any(
136
- Orb::CustomerUpdateParams::TaxConfiguration::Avalara,
137
- Orb::CustomerUpdateParams::TaxConfiguration::Taxjar,
138
- Orb::CustomerUpdateParams::TaxConfiguration::Sphere
118
+ Orb::NewAvalaraTaxConfiguration,
119
+ Orb::NewTaxJarConfiguration,
120
+ Orb::NewSphereConfiguration
139
121
  )
140
122
  )
141
123
  )
@@ -247,49 +229,41 @@ module Orb
247
229
  # | Uruguay | `uy_ruc` | Uruguayan RUC Number |
248
230
  # | Venezuela | `ve_rif` | Venezuelan RIF Number |
249
231
  # | Vietnam | `vn_tin` | Vietnamese Tax ID Number |
250
- sig { returns(T.nilable(Orb::CustomerUpdateParams::TaxID)) }
232
+ sig { returns(T.nilable(Orb::CustomerTaxID)) }
251
233
  attr_reader :tax_id
252
234
 
253
- sig do
254
- params(tax_id: T.nilable(Orb::CustomerUpdateParams::TaxID::OrHash)).void
255
- end
235
+ sig { params(tax_id: T.nilable(Orb::CustomerTaxID::OrHash)).void }
256
236
  attr_writer :tax_id
257
237
 
258
238
  sig do
259
239
  params(
260
240
  accounting_sync_configuration:
261
- T.nilable(
262
- Orb::CustomerUpdateParams::AccountingSyncConfiguration::OrHash
263
- ),
241
+ T.nilable(Orb::NewAccountingSyncConfiguration::OrHash),
264
242
  additional_emails: T.nilable(T::Array[String]),
265
243
  auto_collection: T.nilable(T::Boolean),
266
- billing_address:
267
- T.nilable(Orb::CustomerUpdateParams::BillingAddress::OrHash),
244
+ billing_address: T.nilable(Orb::AddressInput::OrHash),
268
245
  currency: T.nilable(String),
269
246
  email: T.nilable(String),
270
247
  email_delivery: T.nilable(T::Boolean),
271
248
  external_customer_id: T.nilable(String),
272
- hierarchy: T.nilable(Orb::CustomerUpdateParams::Hierarchy::OrHash),
249
+ hierarchy: T.nilable(Orb::CustomerHierarchyConfig::OrHash),
273
250
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
274
251
  name: T.nilable(String),
275
252
  payment_provider:
276
253
  T.nilable(Orb::CustomerUpdateParams::PaymentProvider::OrSymbol),
277
254
  payment_provider_id: T.nilable(String),
278
255
  reporting_configuration:
279
- T.nilable(
280
- Orb::CustomerUpdateParams::ReportingConfiguration::OrHash
281
- ),
282
- shipping_address:
283
- T.nilable(Orb::CustomerUpdateParams::ShippingAddress::OrHash),
256
+ T.nilable(Orb::NewReportingConfiguration::OrHash),
257
+ shipping_address: T.nilable(Orb::AddressInput::OrHash),
284
258
  tax_configuration:
285
259
  T.nilable(
286
260
  T.any(
287
- Orb::CustomerUpdateParams::TaxConfiguration::Avalara::OrHash,
288
- Orb::CustomerUpdateParams::TaxConfiguration::Taxjar::OrHash,
289
- Orb::CustomerUpdateParams::TaxConfiguration::Sphere::OrHash
261
+ Orb::NewAvalaraTaxConfiguration::OrHash,
262
+ Orb::NewTaxJarConfiguration::OrHash,
263
+ Orb::NewSphereConfiguration::OrHash
290
264
  )
291
265
  ),
292
- tax_id: T.nilable(Orb::CustomerUpdateParams::TaxID::OrHash),
266
+ tax_id: T.nilable(Orb::CustomerTaxID::OrHash),
293
267
  request_options: Orb::RequestOptions::OrHash
294
268
  ).returns(T.attached_class)
295
269
  end
@@ -448,34 +422,31 @@ module Orb
448
422
  override.returns(
449
423
  {
450
424
  accounting_sync_configuration:
451
- T.nilable(Orb::CustomerUpdateParams::AccountingSyncConfiguration),
425
+ T.nilable(Orb::NewAccountingSyncConfiguration),
452
426
  additional_emails: T.nilable(T::Array[String]),
453
427
  auto_collection: T.nilable(T::Boolean),
454
- billing_address:
455
- T.nilable(Orb::CustomerUpdateParams::BillingAddress),
428
+ billing_address: T.nilable(Orb::AddressInput),
456
429
  currency: T.nilable(String),
457
430
  email: T.nilable(String),
458
431
  email_delivery: T.nilable(T::Boolean),
459
432
  external_customer_id: T.nilable(String),
460
- hierarchy: T.nilable(Orb::CustomerUpdateParams::Hierarchy),
433
+ hierarchy: T.nilable(Orb::CustomerHierarchyConfig),
461
434
  metadata: T.nilable(T::Hash[Symbol, T.nilable(String)]),
462
435
  name: T.nilable(String),
463
436
  payment_provider:
464
437
  T.nilable(Orb::CustomerUpdateParams::PaymentProvider::OrSymbol),
465
438
  payment_provider_id: T.nilable(String),
466
- reporting_configuration:
467
- T.nilable(Orb::CustomerUpdateParams::ReportingConfiguration),
468
- shipping_address:
469
- T.nilable(Orb::CustomerUpdateParams::ShippingAddress),
439
+ reporting_configuration: T.nilable(Orb::NewReportingConfiguration),
440
+ shipping_address: T.nilable(Orb::AddressInput),
470
441
  tax_configuration:
471
442
  T.nilable(
472
443
  T.any(
473
- Orb::CustomerUpdateParams::TaxConfiguration::Avalara,
474
- Orb::CustomerUpdateParams::TaxConfiguration::Taxjar,
475
- Orb::CustomerUpdateParams::TaxConfiguration::Sphere
444
+ Orb::NewAvalaraTaxConfiguration,
445
+ Orb::NewTaxJarConfiguration,
446
+ Orb::NewSphereConfiguration
476
447
  )
477
448
  ),
478
- tax_id: T.nilable(Orb::CustomerUpdateParams::TaxID),
449
+ tax_id: T.nilable(Orb::CustomerTaxID),
479
450
  request_options: Orb::RequestOptions
480
451
  }
481
452
  )
@@ -483,203 +454,6 @@ module Orb
483
454
  def to_hash
484
455
  end
485
456
 
486
- class AccountingSyncConfiguration < Orb::Internal::Type::BaseModel
487
- OrHash =
488
- T.type_alias do
489
- T.any(
490
- Orb::CustomerUpdateParams::AccountingSyncConfiguration,
491
- Orb::Internal::AnyHash
492
- )
493
- end
494
-
495
- sig do
496
- returns(
497
- T.nilable(
498
- T::Array[
499
- Orb::CustomerUpdateParams::AccountingSyncConfiguration::AccountingProvider
500
- ]
501
- )
502
- )
503
- end
504
- attr_accessor :accounting_providers
505
-
506
- sig { returns(T.nilable(T::Boolean)) }
507
- attr_accessor :excluded
508
-
509
- sig do
510
- params(
511
- accounting_providers:
512
- T.nilable(
513
- T::Array[
514
- Orb::CustomerUpdateParams::AccountingSyncConfiguration::AccountingProvider::OrHash
515
- ]
516
- ),
517
- excluded: T.nilable(T::Boolean)
518
- ).returns(T.attached_class)
519
- end
520
- def self.new(accounting_providers: nil, excluded: nil)
521
- end
522
-
523
- sig do
524
- override.returns(
525
- {
526
- accounting_providers:
527
- T.nilable(
528
- T::Array[
529
- Orb::CustomerUpdateParams::AccountingSyncConfiguration::AccountingProvider
530
- ]
531
- ),
532
- excluded: T.nilable(T::Boolean)
533
- }
534
- )
535
- end
536
- def to_hash
537
- end
538
-
539
- class AccountingProvider < Orb::Internal::Type::BaseModel
540
- OrHash =
541
- T.type_alias do
542
- T.any(
543
- Orb::CustomerUpdateParams::AccountingSyncConfiguration::AccountingProvider,
544
- Orb::Internal::AnyHash
545
- )
546
- end
547
-
548
- sig { returns(String) }
549
- attr_accessor :external_provider_id
550
-
551
- sig { returns(String) }
552
- attr_accessor :provider_type
553
-
554
- sig do
555
- params(external_provider_id: String, provider_type: String).returns(
556
- T.attached_class
557
- )
558
- end
559
- def self.new(external_provider_id:, provider_type:)
560
- end
561
-
562
- sig do
563
- override.returns(
564
- { external_provider_id: String, provider_type: String }
565
- )
566
- end
567
- def to_hash
568
- end
569
- end
570
- end
571
-
572
- class BillingAddress < Orb::Internal::Type::BaseModel
573
- OrHash =
574
- T.type_alias do
575
- T.any(
576
- Orb::CustomerUpdateParams::BillingAddress,
577
- Orb::Internal::AnyHash
578
- )
579
- end
580
-
581
- sig { returns(T.nilable(String)) }
582
- attr_accessor :city
583
-
584
- sig { returns(T.nilable(String)) }
585
- attr_accessor :country
586
-
587
- sig { returns(T.nilable(String)) }
588
- attr_accessor :line1
589
-
590
- sig { returns(T.nilable(String)) }
591
- attr_accessor :line2
592
-
593
- sig { returns(T.nilable(String)) }
594
- attr_accessor :postal_code
595
-
596
- sig { returns(T.nilable(String)) }
597
- attr_accessor :state
598
-
599
- sig do
600
- params(
601
- city: T.nilable(String),
602
- country: T.nilable(String),
603
- line1: T.nilable(String),
604
- line2: T.nilable(String),
605
- postal_code: T.nilable(String),
606
- state: T.nilable(String)
607
- ).returns(T.attached_class)
608
- end
609
- def self.new(
610
- city: nil,
611
- country: nil,
612
- line1: nil,
613
- line2: nil,
614
- postal_code: nil,
615
- state: nil
616
- )
617
- end
618
-
619
- sig do
620
- override.returns(
621
- {
622
- city: T.nilable(String),
623
- country: T.nilable(String),
624
- line1: T.nilable(String),
625
- line2: T.nilable(String),
626
- postal_code: T.nilable(String),
627
- state: T.nilable(String)
628
- }
629
- )
630
- end
631
- def to_hash
632
- end
633
- end
634
-
635
- class Hierarchy < Orb::Internal::Type::BaseModel
636
- OrHash =
637
- T.type_alias do
638
- T.any(Orb::CustomerUpdateParams::Hierarchy, Orb::Internal::AnyHash)
639
- end
640
-
641
- # A list of child customer IDs to add to the hierarchy. The desired child
642
- # customers must not already be part of another hierarchy.
643
- sig { returns(T.nilable(T::Array[String])) }
644
- attr_reader :child_customer_ids
645
-
646
- sig { params(child_customer_ids: T::Array[String]).void }
647
- attr_writer :child_customer_ids
648
-
649
- # The ID of the parent customer in the hierarchy. The desired parent customer must
650
- # not be a child of another customer.
651
- sig { returns(T.nilable(String)) }
652
- attr_accessor :parent_customer_id
653
-
654
- # The hierarchical relationships for this customer.
655
- sig do
656
- params(
657
- child_customer_ids: T::Array[String],
658
- parent_customer_id: T.nilable(String)
659
- ).returns(T.attached_class)
660
- end
661
- def self.new(
662
- # A list of child customer IDs to add to the hierarchy. The desired child
663
- # customers must not already be part of another hierarchy.
664
- child_customer_ids: nil,
665
- # The ID of the parent customer in the hierarchy. The desired parent customer must
666
- # not be a child of another customer.
667
- parent_customer_id: nil
668
- )
669
- end
670
-
671
- sig do
672
- override.returns(
673
- {
674
- child_customer_ids: T::Array[String],
675
- parent_customer_id: T.nilable(String)
676
- }
677
- )
678
- end
679
- def to_hash
680
- end
681
- end
682
-
683
457
  # This is used for creating charges or invoices in an external system via Orb.
684
458
  # When not in test mode:
685
459
  #
@@ -731,206 +505,17 @@ module Orb
731
505
  end
732
506
  end
733
507
 
734
- class ReportingConfiguration < Orb::Internal::Type::BaseModel
735
- OrHash =
736
- T.type_alias do
737
- T.any(
738
- Orb::CustomerUpdateParams::ReportingConfiguration,
739
- Orb::Internal::AnyHash
740
- )
741
- end
742
-
743
- sig { returns(T::Boolean) }
744
- attr_accessor :exempt
745
-
746
- sig { params(exempt: T::Boolean).returns(T.attached_class) }
747
- def self.new(exempt:)
748
- end
749
-
750
- sig { override.returns({ exempt: T::Boolean }) }
751
- def to_hash
752
- end
753
- end
754
-
755
- class ShippingAddress < Orb::Internal::Type::BaseModel
756
- OrHash =
757
- T.type_alias do
758
- T.any(
759
- Orb::CustomerUpdateParams::ShippingAddress,
760
- Orb::Internal::AnyHash
761
- )
762
- end
763
-
764
- sig { returns(T.nilable(String)) }
765
- attr_accessor :city
766
-
767
- sig { returns(T.nilable(String)) }
768
- attr_accessor :country
769
-
770
- sig { returns(T.nilable(String)) }
771
- attr_accessor :line1
772
-
773
- sig { returns(T.nilable(String)) }
774
- attr_accessor :line2
775
-
776
- sig { returns(T.nilable(String)) }
777
- attr_accessor :postal_code
778
-
779
- sig { returns(T.nilable(String)) }
780
- attr_accessor :state
781
-
782
- sig do
783
- params(
784
- city: T.nilable(String),
785
- country: T.nilable(String),
786
- line1: T.nilable(String),
787
- line2: T.nilable(String),
788
- postal_code: T.nilable(String),
789
- state: T.nilable(String)
790
- ).returns(T.attached_class)
791
- end
792
- def self.new(
793
- city: nil,
794
- country: nil,
795
- line1: nil,
796
- line2: nil,
797
- postal_code: nil,
798
- state: nil
799
- )
800
- end
801
-
802
- sig do
803
- override.returns(
804
- {
805
- city: T.nilable(String),
806
- country: T.nilable(String),
807
- line1: T.nilable(String),
808
- line2: T.nilable(String),
809
- postal_code: T.nilable(String),
810
- state: T.nilable(String)
811
- }
812
- )
813
- end
814
- def to_hash
815
- end
816
- end
817
-
818
508
  module TaxConfiguration
819
509
  extend Orb::Internal::Type::Union
820
510
 
821
511
  Variants =
822
512
  T.type_alias do
823
513
  T.any(
824
- Orb::CustomerUpdateParams::TaxConfiguration::Avalara,
825
- Orb::CustomerUpdateParams::TaxConfiguration::Taxjar,
826
- Orb::CustomerUpdateParams::TaxConfiguration::Sphere
827
- )
828
- end
829
-
830
- class Avalara < Orb::Internal::Type::BaseModel
831
- OrHash =
832
- T.type_alias do
833
- T.any(
834
- Orb::CustomerUpdateParams::TaxConfiguration::Avalara,
835
- Orb::Internal::AnyHash
836
- )
837
- end
838
-
839
- sig { returns(T::Boolean) }
840
- attr_accessor :tax_exempt
841
-
842
- sig { returns(Symbol) }
843
- attr_accessor :tax_provider
844
-
845
- sig { returns(T.nilable(String)) }
846
- attr_accessor :tax_exemption_code
847
-
848
- sig do
849
- params(
850
- tax_exempt: T::Boolean,
851
- tax_exemption_code: T.nilable(String),
852
- tax_provider: Symbol
853
- ).returns(T.attached_class)
854
- end
855
- def self.new(
856
- tax_exempt:,
857
- tax_exemption_code: nil,
858
- tax_provider: :avalara
859
- )
860
- end
861
-
862
- sig do
863
- override.returns(
864
- {
865
- tax_exempt: T::Boolean,
866
- tax_provider: Symbol,
867
- tax_exemption_code: T.nilable(String)
868
- }
869
- )
870
- end
871
- def to_hash
872
- end
873
- end
874
-
875
- class Taxjar < Orb::Internal::Type::BaseModel
876
- OrHash =
877
- T.type_alias do
878
- T.any(
879
- Orb::CustomerUpdateParams::TaxConfiguration::Taxjar,
880
- Orb::Internal::AnyHash
881
- )
882
- end
883
-
884
- sig { returns(T::Boolean) }
885
- attr_accessor :tax_exempt
886
-
887
- sig { returns(Symbol) }
888
- attr_accessor :tax_provider
889
-
890
- sig do
891
- params(tax_exempt: T::Boolean, tax_provider: Symbol).returns(
892
- T.attached_class
514
+ Orb::NewAvalaraTaxConfiguration,
515
+ Orb::NewTaxJarConfiguration,
516
+ Orb::NewSphereConfiguration
893
517
  )
894
518
  end
895
- def self.new(tax_exempt:, tax_provider: :taxjar)
896
- end
897
-
898
- sig do
899
- override.returns({ tax_exempt: T::Boolean, tax_provider: Symbol })
900
- end
901
- def to_hash
902
- end
903
- end
904
-
905
- class Sphere < Orb::Internal::Type::BaseModel
906
- OrHash =
907
- T.type_alias do
908
- T.any(
909
- Orb::CustomerUpdateParams::TaxConfiguration::Sphere,
910
- Orb::Internal::AnyHash
911
- )
912
- end
913
-
914
- sig { returns(T::Boolean) }
915
- attr_accessor :tax_exempt
916
-
917
- sig { returns(Symbol) }
918
- attr_accessor :tax_provider
919
-
920
- sig do
921
- params(tax_exempt: T::Boolean, tax_provider: Symbol).returns(
922
- T.attached_class
923
- )
924
- end
925
- def self.new(tax_exempt:, tax_provider: :sphere)
926
- end
927
-
928
- sig do
929
- override.returns({ tax_exempt: T::Boolean, tax_provider: Symbol })
930
- end
931
- def to_hash
932
- end
933
- end
934
519
 
935
520
  sig do
936
521
  override.returns(
@@ -940,512 +525,6 @@ module Orb
940
525
  def self.variants
941
526
  end
942
527
  end
943
-
944
- class TaxID < Orb::Internal::Type::BaseModel
945
- OrHash =
946
- T.type_alias do
947
- T.any(Orb::CustomerUpdateParams::TaxID, Orb::Internal::AnyHash)
948
- end
949
-
950
- sig { returns(Orb::CustomerUpdateParams::TaxID::Country::OrSymbol) }
951
- attr_accessor :country
952
-
953
- sig { returns(Orb::CustomerUpdateParams::TaxID::Type::OrSymbol) }
954
- attr_accessor :type
955
-
956
- sig { returns(String) }
957
- attr_accessor :value
958
-
959
- # Tax IDs are commonly required to be displayed on customer invoices, which are
960
- # added to the headers of invoices.
961
- #
962
- # ### Supported Tax ID Countries and Types
963
- #
964
- # | Country | Type | Description |
965
- # | -------------------- | ------------ | ------------------------------------------------------------------------------------------------------- |
966
- # | Andorra | `ad_nrt` | Andorran NRT Number |
967
- # | Argentina | `ar_cuit` | Argentinian Tax ID Number |
968
- # | Australia | `au_abn` | Australian Business Number (AU ABN) |
969
- # | Australia | `au_arn` | Australian Taxation Office Reference Number |
970
- # | Austria | `eu_vat` | European VAT Number |
971
- # | Bahrain | `bh_vat` | Bahraini VAT Number |
972
- # | Belgium | `eu_vat` | European VAT Number |
973
- # | Bolivia | `bo_tin` | Bolivian Tax ID |
974
- # | Brazil | `br_cnpj` | Brazilian CNPJ Number |
975
- # | Brazil | `br_cpf` | Brazilian CPF Number |
976
- # | Bulgaria | `bg_uic` | Bulgaria Unified Identification Code |
977
- # | Bulgaria | `eu_vat` | European VAT Number |
978
- # | Canada | `ca_bn` | Canadian BN |
979
- # | Canada | `ca_gst_hst` | Canadian GST/HST Number |
980
- # | Canada | `ca_pst_bc` | Canadian PST Number (British Columbia) |
981
- # | Canada | `ca_pst_mb` | Canadian PST Number (Manitoba) |
982
- # | Canada | `ca_pst_sk` | Canadian PST Number (Saskatchewan) |
983
- # | Canada | `ca_qst` | Canadian QST Number (Québec) |
984
- # | Chile | `cl_tin` | Chilean TIN |
985
- # | China | `cn_tin` | Chinese Tax ID |
986
- # | Colombia | `co_nit` | Colombian NIT Number |
987
- # | Costa Rica | `cr_tin` | Costa Rican Tax ID |
988
- # | Croatia | `eu_vat` | European VAT Number |
989
- # | Cyprus | `eu_vat` | European VAT Number |
990
- # | Czech Republic | `eu_vat` | European VAT Number |
991
- # | Denmark | `eu_vat` | European VAT Number |
992
- # | Dominican Republic | `do_rcn` | Dominican RCN Number |
993
- # | Ecuador | `ec_ruc` | Ecuadorian RUC Number |
994
- # | Egypt | `eg_tin` | Egyptian Tax Identification Number |
995
- # | El Salvador | `sv_nit` | El Salvadorian NIT Number |
996
- # | Estonia | `eu_vat` | European VAT Number |
997
- # | EU | `eu_oss_vat` | European One Stop Shop VAT Number for non-Union scheme |
998
- # | Finland | `eu_vat` | European VAT Number |
999
- # | France | `eu_vat` | European VAT Number |
1000
- # | Georgia | `ge_vat` | Georgian VAT |
1001
- # | Germany | `eu_vat` | European VAT Number |
1002
- # | Greece | `eu_vat` | European VAT Number |
1003
- # | Hong Kong | `hk_br` | Hong Kong BR Number |
1004
- # | Hungary | `eu_vat` | European VAT Number |
1005
- # | Hungary | `hu_tin` | Hungary Tax Number (adószám) |
1006
- # | Iceland | `is_vat` | Icelandic VAT |
1007
- # | India | `in_gst` | Indian GST Number |
1008
- # | Indonesia | `id_npwp` | Indonesian NPWP Number |
1009
- # | Ireland | `eu_vat` | European VAT Number |
1010
- # | Israel | `il_vat` | Israel VAT |
1011
- # | Italy | `eu_vat` | European VAT Number |
1012
- # | Japan | `jp_cn` | Japanese Corporate Number (_Hōjin Bangō_) |
1013
- # | Japan | `jp_rn` | Japanese Registered Foreign Businesses' Registration Number (_Tōroku Kokugai Jigyōsha no Tōroku Bangō_) |
1014
- # | Japan | `jp_trn` | Japanese Tax Registration Number (_Tōroku Bangō_) |
1015
- # | Kazakhstan | `kz_bin` | Kazakhstani Business Identification Number |
1016
- # | Kenya | `ke_pin` | Kenya Revenue Authority Personal Identification Number |
1017
- # | Latvia | `eu_vat` | European VAT Number |
1018
- # | Liechtenstein | `li_uid` | Liechtensteinian UID Number |
1019
- # | Lithuania | `eu_vat` | European VAT Number |
1020
- # | Luxembourg | `eu_vat` | European VAT Number |
1021
- # | Malaysia | `my_frp` | Malaysian FRP Number |
1022
- # | Malaysia | `my_itn` | Malaysian ITN |
1023
- # | Malaysia | `my_sst` | Malaysian SST Number |
1024
- # | Malta | `eu_vat ` | European VAT Number |
1025
- # | Mexico | `mx_rfc` | Mexican RFC Number |
1026
- # | Netherlands | `eu_vat` | European VAT Number |
1027
- # | New Zealand | `nz_gst` | New Zealand GST Number |
1028
- # | Nigeria | `ng_tin` | Nigerian Tax Identification Number |
1029
- # | Norway | `no_vat` | Norwegian VAT Number |
1030
- # | Norway | `no_voec` | Norwegian VAT on e-commerce Number |
1031
- # | Oman | `om_vat` | Omani VAT Number |
1032
- # | Peru | `pe_ruc` | Peruvian RUC Number |
1033
- # | Philippines | `ph_tin ` | Philippines Tax Identification Number |
1034
- # | Poland | `eu_vat` | European VAT Number |
1035
- # | Portugal | `eu_vat` | European VAT Number |
1036
- # | Romania | `eu_vat` | European VAT Number |
1037
- # | Romania | `ro_tin` | Romanian Tax ID Number |
1038
- # | Russia | `ru_inn` | Russian INN |
1039
- # | Russia | `ru_kpp` | Russian KPP |
1040
- # | Saudi Arabia | `sa_vat` | Saudi Arabia VAT |
1041
- # | Serbia | `rs_pib` | Serbian PIB Number |
1042
- # | Singapore | `sg_gst` | Singaporean GST |
1043
- # | Singapore | `sg_uen` | Singaporean UEN |
1044
- # | Slovakia | `eu_vat` | European VAT Number |
1045
- # | Slovenia | `eu_vat` | European VAT Number |
1046
- # | Slovenia | `si_tin` | Slovenia Tax Number (davčna številka) |
1047
- # | South Africa | `za_vat` | South African VAT Number |
1048
- # | South Korea | `kr_brn` | Korean BRN |
1049
- # | Spain | `es_cif` | Spanish NIF Number (previously Spanish CIF Number) |
1050
- # | Spain | `eu_vat` | European VAT Number |
1051
- # | Sweden | `eu_vat` | European VAT Number |
1052
- # | Switzerland | `ch_vat` | Switzerland VAT Number |
1053
- # | Taiwan | `tw_vat` | Taiwanese VAT |
1054
- # | Thailand | `th_vat` | Thai VAT |
1055
- # | Turkey | `tr_tin` | Turkish Tax Identification Number |
1056
- # | Ukraine | `ua_vat` | Ukrainian VAT |
1057
- # | United Arab Emirates | `ae_trn` | United Arab Emirates TRN |
1058
- # | United Kingdom | `eu_vat` | Northern Ireland VAT Number |
1059
- # | United Kingdom | `gb_vat` | United Kingdom VAT Number |
1060
- # | United States | `us_ein` | United States EIN |
1061
- # | Uruguay | `uy_ruc` | Uruguayan RUC Number |
1062
- # | Venezuela | `ve_rif` | Venezuelan RIF Number |
1063
- # | Vietnam | `vn_tin` | Vietnamese Tax ID Number |
1064
- sig do
1065
- params(
1066
- country: Orb::CustomerUpdateParams::TaxID::Country::OrSymbol,
1067
- type: Orb::CustomerUpdateParams::TaxID::Type::OrSymbol,
1068
- value: String
1069
- ).returns(T.attached_class)
1070
- end
1071
- def self.new(country:, type:, value:)
1072
- end
1073
-
1074
- sig do
1075
- override.returns(
1076
- {
1077
- country: Orb::CustomerUpdateParams::TaxID::Country::OrSymbol,
1078
- type: Orb::CustomerUpdateParams::TaxID::Type::OrSymbol,
1079
- value: String
1080
- }
1081
- )
1082
- end
1083
- def to_hash
1084
- end
1085
-
1086
- module Country
1087
- extend Orb::Internal::Type::Enum
1088
-
1089
- TaggedSymbol =
1090
- T.type_alias do
1091
- T.all(Symbol, Orb::CustomerUpdateParams::TaxID::Country)
1092
- end
1093
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1094
-
1095
- AD =
1096
- T.let(:AD, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1097
- AE =
1098
- T.let(:AE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1099
- AR =
1100
- T.let(:AR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1101
- AT =
1102
- T.let(:AT, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1103
- AU =
1104
- T.let(:AU, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1105
- BE =
1106
- T.let(:BE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1107
- BG =
1108
- T.let(:BG, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1109
- BH =
1110
- T.let(:BH, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1111
- BO =
1112
- T.let(:BO, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1113
- BR =
1114
- T.let(:BR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1115
- CA =
1116
- T.let(:CA, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1117
- CH =
1118
- T.let(:CH, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1119
- CL =
1120
- T.let(:CL, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1121
- CN =
1122
- T.let(:CN, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1123
- CO =
1124
- T.let(:CO, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1125
- CR =
1126
- T.let(:CR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1127
- CY =
1128
- T.let(:CY, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1129
- CZ =
1130
- T.let(:CZ, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1131
- DE =
1132
- T.let(:DE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1133
- DK =
1134
- T.let(:DK, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1135
- EE =
1136
- T.let(:EE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1137
- DO =
1138
- T.let(:DO, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1139
- EC =
1140
- T.let(:EC, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1141
- EG =
1142
- T.let(:EG, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1143
- ES =
1144
- T.let(:ES, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1145
- EU =
1146
- T.let(:EU, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1147
- FI =
1148
- T.let(:FI, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1149
- FR =
1150
- T.let(:FR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1151
- GB =
1152
- T.let(:GB, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1153
- GE =
1154
- T.let(:GE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1155
- GR =
1156
- T.let(:GR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1157
- HK =
1158
- T.let(:HK, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1159
- HR =
1160
- T.let(:HR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1161
- HU =
1162
- T.let(:HU, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1163
- ID =
1164
- T.let(:ID, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1165
- IE =
1166
- T.let(:IE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1167
- IL =
1168
- T.let(:IL, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1169
- IN =
1170
- T.let(:IN, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1171
- IS =
1172
- T.let(:IS, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1173
- IT =
1174
- T.let(:IT, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1175
- JP =
1176
- T.let(:JP, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1177
- KE =
1178
- T.let(:KE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1179
- KR =
1180
- T.let(:KR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1181
- KZ =
1182
- T.let(:KZ, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1183
- LI =
1184
- T.let(:LI, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1185
- LT =
1186
- T.let(:LT, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1187
- LU =
1188
- T.let(:LU, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1189
- LV =
1190
- T.let(:LV, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1191
- MT =
1192
- T.let(:MT, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1193
- MX =
1194
- T.let(:MX, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1195
- MY =
1196
- T.let(:MY, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1197
- NG =
1198
- T.let(:NG, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1199
- NL =
1200
- T.let(:NL, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1201
- NO =
1202
- T.let(:NO, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1203
- NZ =
1204
- T.let(:NZ, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1205
- OM =
1206
- T.let(:OM, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1207
- PE =
1208
- T.let(:PE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1209
- PH =
1210
- T.let(:PH, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1211
- PL =
1212
- T.let(:PL, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1213
- PT =
1214
- T.let(:PT, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1215
- RO =
1216
- T.let(:RO, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1217
- RS =
1218
- T.let(:RS, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1219
- RU =
1220
- T.let(:RU, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1221
- SA =
1222
- T.let(:SA, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1223
- SE =
1224
- T.let(:SE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1225
- SG =
1226
- T.let(:SG, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1227
- SI =
1228
- T.let(:SI, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1229
- SK =
1230
- T.let(:SK, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1231
- SV =
1232
- T.let(:SV, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1233
- TH =
1234
- T.let(:TH, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1235
- TR =
1236
- T.let(:TR, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1237
- TW =
1238
- T.let(:TW, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1239
- UA =
1240
- T.let(:UA, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1241
- US =
1242
- T.let(:US, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1243
- UY =
1244
- T.let(:UY, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1245
- VE =
1246
- T.let(:VE, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1247
- VN =
1248
- T.let(:VN, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1249
- ZA =
1250
- T.let(:ZA, Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol)
1251
-
1252
- sig do
1253
- override.returns(
1254
- T::Array[Orb::CustomerUpdateParams::TaxID::Country::TaggedSymbol]
1255
- )
1256
- end
1257
- def self.values
1258
- end
1259
- end
1260
-
1261
- module Type
1262
- extend Orb::Internal::Type::Enum
1263
-
1264
- TaggedSymbol =
1265
- T.type_alias do
1266
- T.all(Symbol, Orb::CustomerUpdateParams::TaxID::Type)
1267
- end
1268
- OrSymbol = T.type_alias { T.any(Symbol, String) }
1269
-
1270
- AD_NRT =
1271
- T.let(:ad_nrt, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1272
- AE_TRN =
1273
- T.let(:ae_trn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1274
- AR_CUIT =
1275
- T.let(
1276
- :ar_cuit,
1277
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1278
- )
1279
- EU_VAT =
1280
- T.let(:eu_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1281
- AU_ABN =
1282
- T.let(:au_abn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1283
- AU_ARN =
1284
- T.let(:au_arn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1285
- BG_UIC =
1286
- T.let(:bg_uic, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1287
- BH_VAT =
1288
- T.let(:bh_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1289
- BO_TIN =
1290
- T.let(:bo_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1291
- BR_CNPJ =
1292
- T.let(
1293
- :br_cnpj,
1294
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1295
- )
1296
- BR_CPF =
1297
- T.let(:br_cpf, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1298
- CA_BN =
1299
- T.let(:ca_bn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1300
- CA_GST_HST =
1301
- T.let(
1302
- :ca_gst_hst,
1303
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1304
- )
1305
- CA_PST_BC =
1306
- T.let(
1307
- :ca_pst_bc,
1308
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1309
- )
1310
- CA_PST_MB =
1311
- T.let(
1312
- :ca_pst_mb,
1313
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1314
- )
1315
- CA_PST_SK =
1316
- T.let(
1317
- :ca_pst_sk,
1318
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1319
- )
1320
- CA_QST =
1321
- T.let(:ca_qst, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1322
- CH_VAT =
1323
- T.let(:ch_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1324
- CL_TIN =
1325
- T.let(:cl_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1326
- CN_TIN =
1327
- T.let(:cn_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1328
- CO_NIT =
1329
- T.let(:co_nit, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1330
- CR_TIN =
1331
- T.let(:cr_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1332
- DO_RCN =
1333
- T.let(:do_rcn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1334
- EC_RUC =
1335
- T.let(:ec_ruc, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1336
- EG_TIN =
1337
- T.let(:eg_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1338
- ES_CIF =
1339
- T.let(:es_cif, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1340
- EU_OSS_VAT =
1341
- T.let(
1342
- :eu_oss_vat,
1343
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1344
- )
1345
- GB_VAT =
1346
- T.let(:gb_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1347
- GE_VAT =
1348
- T.let(:ge_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1349
- HK_BR =
1350
- T.let(:hk_br, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1351
- HU_TIN =
1352
- T.let(:hu_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1353
- ID_NPWP =
1354
- T.let(
1355
- :id_npwp,
1356
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1357
- )
1358
- IL_VAT =
1359
- T.let(:il_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1360
- IN_GST =
1361
- T.let(:in_gst, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1362
- IS_VAT =
1363
- T.let(:is_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1364
- JP_CN =
1365
- T.let(:jp_cn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1366
- JP_RN =
1367
- T.let(:jp_rn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1368
- JP_TRN =
1369
- T.let(:jp_trn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1370
- KE_PIN =
1371
- T.let(:ke_pin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1372
- KR_BRN =
1373
- T.let(:kr_brn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1374
- KZ_BIN =
1375
- T.let(:kz_bin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1376
- LI_UID =
1377
- T.let(:li_uid, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1378
- MX_RFC =
1379
- T.let(:mx_rfc, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1380
- MY_FRP =
1381
- T.let(:my_frp, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1382
- MY_ITN =
1383
- T.let(:my_itn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1384
- MY_SST =
1385
- T.let(:my_sst, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1386
- NG_TIN =
1387
- T.let(:ng_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1388
- NO_VAT =
1389
- T.let(:no_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1390
- NO_VOEC =
1391
- T.let(
1392
- :no_voec,
1393
- Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol
1394
- )
1395
- NZ_GST =
1396
- T.let(:nz_gst, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1397
- OM_VAT =
1398
- T.let(:om_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1399
- PE_RUC =
1400
- T.let(:pe_ruc, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1401
- PH_TIN =
1402
- T.let(:ph_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1403
- RO_TIN =
1404
- T.let(:ro_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1405
- RS_PIB =
1406
- T.let(:rs_pib, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1407
- RU_INN =
1408
- T.let(:ru_inn, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1409
- RU_KPP =
1410
- T.let(:ru_kpp, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1411
- SA_VAT =
1412
- T.let(:sa_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1413
- SG_GST =
1414
- T.let(:sg_gst, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1415
- SG_UEN =
1416
- T.let(:sg_uen, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1417
- SI_TIN =
1418
- T.let(:si_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1419
- SV_NIT =
1420
- T.let(:sv_nit, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1421
- TH_VAT =
1422
- T.let(:th_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1423
- TR_TIN =
1424
- T.let(:tr_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1425
- TW_VAT =
1426
- T.let(:tw_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1427
- UA_VAT =
1428
- T.let(:ua_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1429
- US_EIN =
1430
- T.let(:us_ein, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1431
- UY_RUC =
1432
- T.let(:uy_ruc, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1433
- VE_RIF =
1434
- T.let(:ve_rif, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1435
- VN_TIN =
1436
- T.let(:vn_tin, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1437
- ZA_VAT =
1438
- T.let(:za_vat, Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol)
1439
-
1440
- sig do
1441
- override.returns(
1442
- T::Array[Orb::CustomerUpdateParams::TaxID::Type::TaggedSymbol]
1443
- )
1444
- end
1445
- def self.values
1446
- end
1447
- end
1448
- end
1449
528
  end
1450
529
  end
1451
530
  end