merge_ruby_client 0.1.4 → 1.1.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 (692) hide show
  1. checksums.yaml +4 -4
  2. data/lib/merge_ruby_client/accounting/accounting_periods/client.rb +28 -8
  3. data/lib/merge_ruby_client/accounting/accounts/client.rb +40 -12
  4. data/lib/merge_ruby_client/accounting/addresses/client.rb +10 -2
  5. data/lib/merge_ruby_client/accounting/async_passthrough/client.rb +5 -5
  6. data/lib/merge_ruby_client/accounting/async_passthrough/types/async_passthrough_retrieve_response.rb +57 -0
  7. data/lib/merge_ruby_client/accounting/async_tasks/client.rb +99 -0
  8. data/lib/merge_ruby_client/accounting/attachments/client.rb +26 -8
  9. data/lib/merge_ruby_client/accounting/audit_trail/client.rb +22 -12
  10. data/lib/merge_ruby_client/accounting/balance_sheets/client.rb +26 -8
  11. data/lib/merge_ruby_client/accounting/bank_feed_accounts/client.rb +375 -0
  12. data/lib/merge_ruby_client/accounting/bank_feed_transactions/client.rb +414 -0
  13. data/lib/merge_ruby_client/accounting/cash_flow_statements/client.rb +26 -8
  14. data/lib/merge_ruby_client/accounting/client.rb +49 -0
  15. data/lib/merge_ruby_client/accounting/company_info/client.rb +26 -8
  16. data/lib/merge_ruby_client/accounting/contacts/client.rb +155 -10
  17. data/lib/merge_ruby_client/accounting/credit_notes/client.rb +203 -8
  18. data/lib/merge_ruby_client/accounting/employees/client.rb +222 -0
  19. data/lib/merge_ruby_client/accounting/expenses/client.rb +257 -10
  20. data/lib/merge_ruby_client/accounting/expenses/types/expenses_list_request_expand.rb +32 -0
  21. data/lib/merge_ruby_client/accounting/expenses/types/expenses_retrieve_request_expand.rb +32 -0
  22. data/lib/merge_ruby_client/accounting/field_mapping/client.rb +36 -16
  23. data/lib/merge_ruby_client/accounting/force_resync/client.rb +10 -10
  24. data/lib/merge_ruby_client/accounting/general_ledger_transactions/client.rb +259 -0
  25. data/lib/merge_ruby_client/accounting/general_ledger_transactions/types/general_ledger_transactions_list_request_expand.rb +25 -0
  26. data/lib/merge_ruby_client/accounting/general_ledger_transactions/types/general_ledger_transactions_retrieve_request_expand.rb +25 -0
  27. data/lib/merge_ruby_client/accounting/income_statements/client.rb +26 -8
  28. data/lib/merge_ruby_client/accounting/invoices/client.rb +298 -18
  29. data/lib/merge_ruby_client/accounting/invoices/types/invoices_list_request_expand.rb +3840 -0
  30. data/lib/merge_ruby_client/accounting/invoices/types/invoices_list_request_status.rb +16 -0
  31. data/lib/merge_ruby_client/accounting/invoices/types/invoices_retrieve_request_expand.rb +3840 -0
  32. data/lib/merge_ruby_client/accounting/issues/client.rb +14 -8
  33. data/lib/merge_ruby_client/accounting/items/client.rb +26 -8
  34. data/lib/merge_ruby_client/accounting/items/types/items_list_request_expand.rb +24 -0
  35. data/lib/merge_ruby_client/accounting/items/types/items_retrieve_request_expand.rb +24 -0
  36. data/lib/merge_ruby_client/accounting/journal_entries/client.rb +255 -10
  37. data/lib/merge_ruby_client/accounting/link_token/client.rb +25 -4
  38. data/lib/merge_ruby_client/accounting/linked_accounts/client.rb +16 -16
  39. data/lib/merge_ruby_client/accounting/payment_methods/client.rb +210 -0
  40. data/lib/merge_ruby_client/accounting/payment_terms/client.rb +222 -0
  41. data/lib/merge_ruby_client/accounting/payments/client.rb +261 -12
  42. data/lib/merge_ruby_client/accounting/payments/types/payments_list_request_expand.rb +64 -0
  43. data/lib/merge_ruby_client/accounting/payments/types/payments_retrieve_request_expand.rb +64 -0
  44. data/lib/merge_ruby_client/accounting/phone_numbers/client.rb +10 -4
  45. data/lib/merge_ruby_client/accounting/purchase_orders/client.rb +255 -10
  46. data/lib/merge_ruby_client/accounting/purchase_orders/types/purchase_orders_list_request_expand.rb +64 -0
  47. data/lib/merge_ruby_client/accounting/purchase_orders/types/purchase_orders_retrieve_request_expand.rb +64 -0
  48. data/lib/merge_ruby_client/accounting/scopes/client.rb +12 -12
  49. data/lib/merge_ruby_client/accounting/sync_status/client.rb +20 -6
  50. data/lib/merge_ruby_client/accounting/tax_rates/client.rb +30 -8
  51. data/lib/merge_ruby_client/accounting/tracking_categories/client.rb +30 -8
  52. data/lib/merge_ruby_client/accounting/transactions/client.rb +26 -8
  53. data/lib/merge_ruby_client/accounting/types/account.rb +681 -640
  54. data/lib/merge_ruby_client/accounting/types/account_account_type_enum.rb +34 -0
  55. data/lib/merge_ruby_client/accounting/types/account_details.rb +11 -2
  56. data/lib/merge_ruby_client/accounting/types/account_details_and_actions.rb +11 -2
  57. data/lib/merge_ruby_client/accounting/types/account_details_and_actions_status_enum.rb +5 -3
  58. data/lib/merge_ruby_client/accounting/types/account_integration.rb +20 -8
  59. data/lib/merge_ruby_client/accounting/types/account_request.rb +675 -638
  60. data/lib/merge_ruby_client/accounting/types/account_status_enum.rb +3 -3
  61. data/lib/merge_ruby_client/accounting/types/account_token.rb +9 -2
  62. data/lib/merge_ruby_client/accounting/types/accounting_attachment.rb +6 -2
  63. data/lib/merge_ruby_client/accounting/types/accounting_period.rb +47 -19
  64. data/lib/merge_ruby_client/accounting/types/address.rb +502 -502
  65. data/lib/merge_ruby_client/accounting/types/address_request.rb +502 -502
  66. data/lib/merge_ruby_client/accounting/types/address_type_enum.rb +2 -2
  67. data/lib/merge_ruby_client/accounting/types/async_post_task.rb +74 -0
  68. data/lib/merge_ruby_client/accounting/types/async_post_task_result.rb +69 -0
  69. data/lib/merge_ruby_client/accounting/types/async_post_task_status_enum.rb +16 -0
  70. data/lib/merge_ruby_client/accounting/types/audit_log_event.rb +104 -86
  71. data/lib/merge_ruby_client/accounting/types/balance_sheet.rb +622 -618
  72. data/lib/merge_ruby_client/accounting/types/bank_feed_account.rb +834 -0
  73. data/lib/merge_ruby_client/accounting/types/bank_feed_account_account_type_enum.rb +12 -0
  74. data/lib/merge_ruby_client/accounting/types/bank_feed_account_request.rb +788 -0
  75. data/lib/merge_ruby_client/accounting/types/bank_feed_account_response.rb +101 -0
  76. data/lib/merge_ruby_client/accounting/types/bank_feed_transaction.rb +209 -0
  77. data/lib/merge_ruby_client/accounting/types/bank_feed_transaction_bank_feed_account.rb +56 -0
  78. data/lib/merge_ruby_client/accounting/types/bank_feed_transaction_request_request.rb +167 -0
  79. data/lib/merge_ruby_client/accounting/types/bank_feed_transaction_request_request_bank_feed_account.rb +57 -0
  80. data/lib/merge_ruby_client/accounting/types/bank_feed_transaction_response.rb +101 -0
  81. data/lib/merge_ruby_client/accounting/types/cash_flow_statement.rb +622 -618
  82. data/lib/merge_ruby_client/accounting/types/categories_enum.rb +7 -7
  83. data/lib/merge_ruby_client/accounting/types/category_enum.rb +7 -7
  84. data/lib/merge_ruby_client/accounting/types/category_type_enum.rb +2 -2
  85. data/lib/merge_ruby_client/accounting/types/classification_enum.rb +5 -5
  86. data/lib/merge_ruby_client/accounting/types/company_info.rb +622 -618
  87. data/lib/merge_ruby_client/accounting/types/component_type_enum.rb +12 -0
  88. data/lib/merge_ruby_client/accounting/types/contact.rb +26 -10
  89. data/lib/merge_ruby_client/accounting/types/contact_request.rb +20 -8
  90. data/lib/merge_ruby_client/accounting/types/country_enum.rb +249 -249
  91. data/lib/merge_ruby_client/accounting/types/credit_note.rb +662 -634
  92. data/lib/merge_ruby_client/accounting/types/credit_note_apply_line_for_credit_note.rb +132 -0
  93. data/lib/merge_ruby_client/accounting/types/credit_note_apply_line_for_credit_note_invoice.rb +56 -0
  94. data/lib/merge_ruby_client/accounting/types/credit_note_apply_line_for_credit_note_request.rb +120 -0
  95. data/lib/merge_ruby_client/accounting/types/credit_note_apply_line_for_credit_note_request_invoice.rb +56 -0
  96. data/lib/merge_ruby_client/accounting/types/credit_note_apply_line_for_invoice.rb +132 -0
  97. data/lib/merge_ruby_client/accounting/types/credit_note_apply_line_for_invoice_credit_note.rb +56 -0
  98. data/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb +23 -6
  99. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_request.rb +194 -0
  100. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_request_company.rb +56 -0
  101. data/lib/merge_ruby_client/accounting/types/credit_note_line_item_request_item.rb +55 -0
  102. data/lib/merge_ruby_client/accounting/types/credit_note_request.rb +875 -0
  103. data/lib/merge_ruby_client/accounting/types/credit_note_request_accounting_period.rb +56 -0
  104. data/lib/merge_ruby_client/accounting/types/credit_note_request_applied_payments_item.rb +55 -0
  105. data/lib/merge_ruby_client/accounting/types/credit_note_request_company.rb +56 -0
  106. data/lib/merge_ruby_client/accounting/types/credit_note_request_contact.rb +56 -0
  107. data/lib/merge_ruby_client/accounting/types/credit_note_request_line_items_item.rb +55 -0
  108. data/lib/merge_ruby_client/accounting/types/credit_note_request_payments_item.rb +55 -0
  109. data/lib/merge_ruby_client/accounting/types/credit_note_request_tracking_categories_item.rb +56 -0
  110. data/lib/merge_ruby_client/accounting/types/credit_note_response.rb +101 -0
  111. data/lib/merge_ruby_client/accounting/types/credit_note_status_enum.rb +3 -3
  112. data/lib/merge_ruby_client/accounting/types/credit_or_debit_enum.rb +12 -0
  113. data/lib/merge_ruby_client/accounting/types/employee.rb +199 -0
  114. data/lib/merge_ruby_client/accounting/types/employee_company.rb +56 -0
  115. data/lib/merge_ruby_client/accounting/types/enabled_actions_enum.rb +2 -2
  116. data/lib/merge_ruby_client/accounting/types/encoding_enum.rb +3 -3
  117. data/lib/merge_ruby_client/accounting/types/event_type_enum.rb +51 -37
  118. data/lib/merge_ruby_client/accounting/types/expense.rb +660 -620
  119. data/lib/merge_ruby_client/accounting/types/expense_employee.rb +56 -0
  120. data/lib/merge_ruby_client/accounting/types/expense_line.rb +649 -623
  121. data/lib/merge_ruby_client/accounting/types/expense_line_employee.rb +56 -0
  122. data/lib/merge_ruby_client/accounting/types/expense_line_request.rb +656 -622
  123. data/lib/merge_ruby_client/accounting/types/expense_line_request_employee.rb +56 -0
  124. data/lib/merge_ruby_client/accounting/types/expense_request.rb +654 -618
  125. data/lib/merge_ruby_client/accounting/types/expense_request_employee.rb +56 -0
  126. data/lib/merge_ruby_client/accounting/types/external_target_field_api_response.rb +57 -2
  127. data/lib/merge_ruby_client/accounting/types/{accounting_period_status_enum.rb → feed_status_enum.rb} +3 -3
  128. data/lib/merge_ruby_client/accounting/types/field_format_enum.rb +20 -0
  129. data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_remote_field.rb +8 -6
  130. data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_response.rb +57 -2
  131. data/lib/merge_ruby_client/accounting/types/field_permission_deserializer.rb +14 -14
  132. data/lib/merge_ruby_client/accounting/types/field_permission_deserializer_request.rb +14 -14
  133. data/lib/merge_ruby_client/accounting/types/field_type_enum.rb +20 -0
  134. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction.rb +248 -0
  135. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_accounting_period.rb +57 -0
  136. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_company.rb +56 -0
  137. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_general_ledger_transaction_lines_item.rb +56 -0
  138. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line.rb +1490 -0
  139. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_account.rb +55 -0
  140. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_company.rb +56 -0
  141. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_contact.rb +55 -0
  142. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_employee.rb +55 -0
  143. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_item.rb +55 -0
  144. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_line_tracking_categories_item.rb +56 -0
  145. data/lib/merge_ruby_client/accounting/types/general_ledger_transaction_tracking_categories_item.rb +56 -0
  146. data/lib/merge_ruby_client/accounting/types/income_statement.rb +622 -618
  147. data/lib/merge_ruby_client/accounting/types/invoice.rb +743 -661
  148. data/lib/merge_ruby_client/accounting/types/invoice_applied_credit_notes_item.rb +55 -0
  149. data/lib/merge_ruby_client/accounting/types/invoice_applied_vendor_credits_item.rb +55 -0
  150. data/lib/merge_ruby_client/accounting/types/invoice_employee.rb +56 -0
  151. data/lib/merge_ruby_client/accounting/types/invoice_line_item.rb +662 -624
  152. data/lib/merge_ruby_client/accounting/types/invoice_line_item_employee.rb +56 -0
  153. data/lib/merge_ruby_client/accounting/types/invoice_line_item_request.rb +656 -622
  154. data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_employee.rb +56 -0
  155. data/lib/merge_ruby_client/accounting/types/invoice_payment_term.rb +56 -0
  156. data/lib/merge_ruby_client/accounting/types/invoice_request.rb +688 -638
  157. data/lib/merge_ruby_client/accounting/types/invoice_request_employee.rb +56 -0
  158. data/lib/merge_ruby_client/accounting/types/invoice_request_payment_term.rb +56 -0
  159. data/lib/merge_ruby_client/accounting/types/invoice_status_enum.rb +6 -6
  160. data/lib/merge_ruby_client/accounting/types/invoice_type_enum.rb +2 -2
  161. data/lib/merge_ruby_client/accounting/types/issue.rb +4 -4
  162. data/lib/merge_ruby_client/accounting/types/issue_status_enum.rb +2 -2
  163. data/lib/merge_ruby_client/accounting/types/item.rb +39 -7
  164. data/lib/merge_ruby_client/accounting/types/item_format_enum.rb +20 -0
  165. data/lib/merge_ruby_client/accounting/types/item_purchase_tax_rate.rb +56 -0
  166. data/lib/merge_ruby_client/accounting/types/item_sales_tax_rate.rb +56 -0
  167. data/lib/merge_ruby_client/accounting/types/item_schema.rb +82 -0
  168. data/lib/merge_ruby_client/accounting/types/item_type_enum.rb +20 -0
  169. data/lib/merge_ruby_client/accounting/types/journal_entry.rb +672 -644
  170. data/lib/merge_ruby_client/accounting/types/journal_entry_request.rb +644 -622
  171. data/lib/merge_ruby_client/accounting/types/journal_line.rb +654 -622
  172. data/lib/merge_ruby_client/accounting/types/journal_line_request.rb +648 -620
  173. data/lib/merge_ruby_client/accounting/types/language_enum.rb +12 -0
  174. data/lib/merge_ruby_client/accounting/types/{sync_status_status_enum.rb → last_sync_result_enum.rb} +7 -7
  175. data/lib/merge_ruby_client/accounting/types/method_enum.rb +7 -7
  176. data/lib/merge_ruby_client/accounting/types/method_type_enum.rb +18 -0
  177. data/lib/merge_ruby_client/accounting/types/multipart_form_field_request.rb +6 -6
  178. data/lib/merge_ruby_client/accounting/types/paginated_bank_feed_account_list.rb +80 -0
  179. data/lib/merge_ruby_client/accounting/types/paginated_bank_feed_transaction_list.rb +80 -0
  180. data/lib/merge_ruby_client/accounting/types/paginated_employee_list.rb +80 -0
  181. data/lib/merge_ruby_client/accounting/types/paginated_general_ledger_transaction_list.rb +81 -0
  182. data/lib/merge_ruby_client/accounting/types/paginated_payment_method_list.rb +80 -0
  183. data/lib/merge_ruby_client/accounting/types/paginated_payment_term_list.rb +80 -0
  184. data/lib/merge_ruby_client/accounting/types/paginated_remote_field_class_list.rb +80 -0
  185. data/lib/merge_ruby_client/accounting/types/patched_payment_request.rb +649 -623
  186. data/lib/merge_ruby_client/accounting/types/patched_payment_request_applied_to_lines_item.rb +4 -4
  187. data/lib/merge_ruby_client/accounting/types/patched_payment_request_payment_method.rb +56 -0
  188. data/lib/merge_ruby_client/accounting/types/payment.rb +672 -642
  189. data/lib/merge_ruby_client/accounting/types/payment_line_item_request.rb +14 -2
  190. data/lib/merge_ruby_client/accounting/types/payment_method.rb +160 -0
  191. data/lib/merge_ruby_client/accounting/types/payment_payment_method.rb +56 -0
  192. data/lib/merge_ruby_client/accounting/types/payment_request.rb +649 -623
  193. data/lib/merge_ruby_client/accounting/types/payment_request_payment_method.rb +56 -0
  194. data/lib/merge_ruby_client/accounting/types/payment_term.rb +173 -0
  195. data/lib/merge_ruby_client/accounting/types/payment_term_company.rb +56 -0
  196. data/lib/merge_ruby_client/accounting/types/payment_type_enum.rb +2 -2
  197. data/lib/merge_ruby_client/accounting/types/posting_status_enum.rb +2 -2
  198. data/lib/merge_ruby_client/accounting/types/purchase_order.rb +684 -644
  199. data/lib/merge_ruby_client/accounting/types/purchase_order_line_item.rb +647 -623
  200. data/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request.rb +641 -621
  201. data/lib/merge_ruby_client/accounting/types/purchase_order_payment_term.rb +56 -0
  202. data/lib/merge_ruby_client/accounting/types/purchase_order_request.rb +664 -628
  203. data/lib/merge_ruby_client/accounting/types/purchase_order_request_payment_term.rb +56 -0
  204. data/lib/merge_ruby_client/accounting/types/purchase_order_status_enum.rb +5 -5
  205. data/lib/merge_ruby_client/accounting/types/remote_data.rb +8 -2
  206. data/lib/merge_ruby_client/accounting/types/remote_field.rb +75 -0
  207. data/lib/merge_ruby_client/accounting/types/remote_field_api.rb +3 -3
  208. data/lib/merge_ruby_client/accounting/types/remote_field_api_response.rb +57 -2
  209. data/lib/merge_ruby_client/accounting/types/remote_field_class.rb +145 -0
  210. data/lib/merge_ruby_client/accounting/types/remote_field_remote_field_class.rb +55 -0
  211. data/lib/merge_ruby_client/accounting/types/remote_field_request.rb +75 -0
  212. data/lib/merge_ruby_client/accounting/types/remote_field_request_remote_field_class.rb +55 -0
  213. data/lib/merge_ruby_client/accounting/types/report_item.rb +16 -2
  214. data/lib/merge_ruby_client/accounting/types/request_format_enum.rb +3 -3
  215. data/lib/merge_ruby_client/accounting/types/response_type_enum.rb +2 -2
  216. data/lib/merge_ruby_client/accounting/types/role_enum.rb +6 -6
  217. data/lib/merge_ruby_client/accounting/types/selective_sync_configurations_usage_enum.rb +2 -2
  218. data/lib/merge_ruby_client/accounting/types/status_7_d_1_enum.rb +2 -2
  219. data/lib/merge_ruby_client/accounting/types/status_895_enum.rb +12 -0
  220. data/lib/merge_ruby_client/accounting/types/status_fd_5_enum.rb +20 -0
  221. data/lib/merge_ruby_client/accounting/types/sync_status.rb +25 -6
  222. data/lib/merge_ruby_client/accounting/types/tax_component.rb +150 -0
  223. data/lib/merge_ruby_client/accounting/types/tax_rate.rb +73 -16
  224. data/lib/merge_ruby_client/accounting/types/tax_rate_tax_components_item.rb +55 -0
  225. data/lib/merge_ruby_client/accounting/types/tracking_category.rb +20 -28
  226. data/lib/merge_ruby_client/accounting/types/tracking_category_company.rb +1 -1
  227. data/lib/merge_ruby_client/accounting/types/transaction.rb +640 -626
  228. data/lib/merge_ruby_client/accounting/types/transaction_currency_enum.rb +620 -0
  229. data/lib/merge_ruby_client/accounting/types/transaction_line_item.rb +630 -626
  230. data/lib/merge_ruby_client/accounting/types/underlying_transaction_type_enum.rb +22 -0
  231. data/lib/merge_ruby_client/accounting/types/vendor_credit.rb +647 -621
  232. data/lib/merge_ruby_client/accounting/types/vendor_credit_apply_line_for_invoice.rb +132 -0
  233. data/lib/merge_ruby_client/accounting/types/vendor_credit_apply_line_for_invoice_vendor_credit.rb +56 -0
  234. data/lib/merge_ruby_client/accounting/types/vendor_credit_apply_line_for_vendor_credit.rb +132 -0
  235. data/lib/merge_ruby_client/accounting/types/vendor_credit_apply_line_for_vendor_credit_invoice.rb +56 -0
  236. data/lib/merge_ruby_client/accounting/types/vendor_credit_apply_line_for_vendor_credit_request.rb +120 -0
  237. data/lib/merge_ruby_client/accounting/types/vendor_credit_apply_line_for_vendor_credit_request_invoice.rb +56 -0
  238. data/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb +20 -8
  239. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_request.rb +157 -0
  240. data/lib/merge_ruby_client/accounting/types/vendor_credit_line_request_account.rb +56 -0
  241. data/lib/merge_ruby_client/accounting/types/vendor_credit_request.rb +813 -0
  242. data/lib/merge_ruby_client/accounting/types/vendor_credit_request_accounting_period.rb +56 -0
  243. data/lib/merge_ruby_client/accounting/types/vendor_credit_request_company.rb +56 -0
  244. data/lib/merge_ruby_client/accounting/types/vendor_credit_request_tracking_categories_item.rb +56 -0
  245. data/lib/merge_ruby_client/accounting/types/vendor_credit_request_vendor.rb +56 -0
  246. data/lib/merge_ruby_client/accounting/types/vendor_credit_response.rb +101 -0
  247. data/lib/merge_ruby_client/accounting/vendor_credits/client.rb +193 -8
  248. data/lib/merge_ruby_client/ats/activities/client.rb +26 -8
  249. data/lib/merge_ruby_client/ats/applications/client.rb +38 -8
  250. data/lib/merge_ruby_client/ats/async_passthrough/client.rb +5 -5
  251. data/lib/merge_ruby_client/ats/async_passthrough/types/async_passthrough_retrieve_response.rb +57 -0
  252. data/lib/merge_ruby_client/ats/attachments/client.rb +26 -8
  253. data/lib/merge_ruby_client/ats/audit_trail/client.rb +18 -10
  254. data/lib/merge_ruby_client/ats/candidates/client.rb +26 -8
  255. data/lib/merge_ruby_client/ats/departments/client.rb +26 -8
  256. data/lib/merge_ruby_client/ats/eeocs/client.rb +26 -8
  257. data/lib/merge_ruby_client/ats/field_mapping/client.rb +36 -16
  258. data/lib/merge_ruby_client/ats/force_resync/client.rb +10 -10
  259. data/lib/merge_ruby_client/ats/interviews/client.rb +26 -8
  260. data/lib/merge_ruby_client/ats/issues/client.rb +4 -4
  261. data/lib/merge_ruby_client/ats/job_interview_stages/client.rb +26 -8
  262. data/lib/merge_ruby_client/ats/job_postings/client.rb +36 -18
  263. data/lib/merge_ruby_client/ats/jobs/client.rb +52 -22
  264. data/lib/merge_ruby_client/ats/link_token/client.rb +17 -4
  265. data/lib/merge_ruby_client/ats/linked_accounts/client.rb +16 -16
  266. data/lib/merge_ruby_client/ats/offers/client.rb +26 -8
  267. data/lib/merge_ruby_client/ats/offices/client.rb +26 -8
  268. data/lib/merge_ruby_client/ats/reject_reasons/client.rb +26 -8
  269. data/lib/merge_ruby_client/ats/scopes/client.rb +12 -12
  270. data/lib/merge_ruby_client/ats/scorecards/client.rb +26 -8
  271. data/lib/merge_ruby_client/ats/sync_status/client.rb +20 -6
  272. data/lib/merge_ruby_client/ats/tags/client.rb +16 -4
  273. data/lib/merge_ruby_client/ats/types/access_role_enum.rb +5 -5
  274. data/lib/merge_ruby_client/ats/types/account_details.rb +11 -2
  275. data/lib/merge_ruby_client/ats/types/account_details_and_actions.rb +11 -2
  276. data/lib/merge_ruby_client/ats/types/account_details_and_actions_status_enum.rb +5 -3
  277. data/lib/merge_ruby_client/ats/types/account_integration.rb +4 -6
  278. data/lib/merge_ruby_client/ats/types/account_token.rb +9 -2
  279. data/lib/merge_ruby_client/ats/types/activity.rb +18 -14
  280. data/lib/merge_ruby_client/ats/types/activity_request.rb +12 -12
  281. data/lib/merge_ruby_client/ats/types/activity_type_enum.rb +3 -3
  282. data/lib/merge_ruby_client/ats/types/application.rb +8 -2
  283. data/lib/merge_ruby_client/ats/types/attachment.rb +16 -10
  284. data/lib/merge_ruby_client/ats/types/attachment_request.rb +8 -8
  285. data/lib/merge_ruby_client/ats/types/attachment_type_enum.rb +4 -4
  286. data/lib/merge_ruby_client/ats/types/audit_log_event.rb +104 -88
  287. data/lib/merge_ruby_client/ats/types/candidate.rb +8 -2
  288. data/lib/merge_ruby_client/ats/types/categories_enum.rb +7 -7
  289. data/lib/merge_ruby_client/ats/types/category_enum.rb +7 -7
  290. data/lib/merge_ruby_client/ats/types/department.rb +6 -2
  291. data/lib/merge_ruby_client/ats/types/disability_status_enum.rb +3 -3
  292. data/lib/merge_ruby_client/ats/types/eeoc.rb +44 -40
  293. data/lib/merge_ruby_client/ats/types/email_address.rb +12 -8
  294. data/lib/merge_ruby_client/ats/types/email_address_request.rb +6 -6
  295. data/lib/merge_ruby_client/ats/types/email_address_type_enum.rb +3 -3
  296. data/lib/merge_ruby_client/ats/types/enabled_actions_enum.rb +2 -2
  297. data/lib/merge_ruby_client/ats/types/encoding_enum.rb +3 -3
  298. data/lib/merge_ruby_client/ats/types/event_type_enum.rb +50 -38
  299. data/lib/merge_ruby_client/ats/types/field_mapping_api_instance_remote_field.rb +8 -6
  300. data/lib/merge_ruby_client/ats/types/field_permission_deserializer.rb +14 -14
  301. data/lib/merge_ruby_client/ats/types/field_permission_deserializer_request.rb +14 -14
  302. data/lib/merge_ruby_client/ats/types/gender_enum.rb +5 -5
  303. data/lib/merge_ruby_client/ats/types/issue.rb +4 -4
  304. data/lib/merge_ruby_client/ats/types/issue_status_enum.rb +2 -2
  305. data/lib/merge_ruby_client/ats/types/job.rb +22 -18
  306. data/lib/merge_ruby_client/ats/types/job_interview_stage.rb +6 -2
  307. data/lib/merge_ruby_client/ats/types/job_posting.rb +16 -12
  308. data/lib/merge_ruby_client/ats/types/job_posting_status_enum.rb +5 -5
  309. data/lib/merge_ruby_client/ats/types/job_status_enum.rb +5 -5
  310. data/lib/merge_ruby_client/ats/types/job_type_enum.rb +3 -3
  311. data/lib/merge_ruby_client/ats/types/language_enum.rb +12 -0
  312. data/lib/merge_ruby_client/ats/types/{sync_status_status_enum.rb → last_sync_result_enum.rb} +7 -7
  313. data/lib/merge_ruby_client/ats/types/method_enum.rb +7 -7
  314. data/lib/merge_ruby_client/ats/types/multipart_form_field_request.rb +6 -6
  315. data/lib/merge_ruby_client/ats/types/offer.rb +24 -20
  316. data/lib/merge_ruby_client/ats/types/offer_status_enum.rb +9 -9
  317. data/lib/merge_ruby_client/ats/types/office.rb +6 -2
  318. data/lib/merge_ruby_client/ats/types/overall_recommendation_enum.rb +5 -5
  319. data/lib/merge_ruby_client/ats/types/phone_number.rb +16 -12
  320. data/lib/merge_ruby_client/ats/types/phone_number_request.rb +10 -10
  321. data/lib/merge_ruby_client/ats/types/phone_number_type_enum.rb +5 -5
  322. data/lib/merge_ruby_client/ats/types/race_enum.rb +8 -8
  323. data/lib/merge_ruby_client/ats/types/reason_enum.rb +3 -3
  324. data/lib/merge_ruby_client/ats/types/reject_reason.rb +6 -2
  325. data/lib/merge_ruby_client/ats/types/remote_data.rb +8 -2
  326. data/lib/merge_ruby_client/ats/types/remote_user.rb +16 -12
  327. data/lib/merge_ruby_client/ats/types/request_format_enum.rb +3 -3
  328. data/lib/merge_ruby_client/ats/types/response_type_enum.rb +2 -2
  329. data/lib/merge_ruby_client/ats/types/role_enum.rb +6 -6
  330. data/lib/merge_ruby_client/ats/types/scheduled_interview.rb +12 -8
  331. data/lib/merge_ruby_client/ats/types/scheduled_interview_request.rb +6 -6
  332. data/lib/merge_ruby_client/ats/types/scheduled_interview_status_enum.rb +3 -3
  333. data/lib/merge_ruby_client/ats/types/scorecard.rb +16 -12
  334. data/lib/merge_ruby_client/ats/types/screening_question.rb +22 -18
  335. data/lib/merge_ruby_client/ats/types/screening_question_answer.rb +6 -2
  336. data/lib/merge_ruby_client/ats/types/screening_question_option.rb +6 -2
  337. data/lib/merge_ruby_client/ats/types/screening_question_type_enum.rb +8 -8
  338. data/lib/merge_ruby_client/ats/types/selective_sync_configurations_usage_enum.rb +2 -2
  339. data/lib/merge_ruby_client/ats/types/status_fd_5_enum.rb +20 -0
  340. data/lib/merge_ruby_client/ats/types/sync_status.rb +25 -6
  341. data/lib/merge_ruby_client/ats/types/tag.rb +6 -2
  342. data/lib/merge_ruby_client/ats/types/url.rb +20 -16
  343. data/lib/merge_ruby_client/ats/types/url_request.rb +14 -14
  344. data/lib/merge_ruby_client/ats/types/url_type_enum.rb +7 -7
  345. data/lib/merge_ruby_client/ats/types/veteran_status_enum.rb +3 -3
  346. data/lib/merge_ruby_client/ats/types/visibility_enum.rb +3 -3
  347. data/lib/merge_ruby_client/ats/users/client.rb +26 -6
  348. data/lib/merge_ruby_client/crm/accounts/client.rb +44 -12
  349. data/lib/merge_ruby_client/crm/association_types/client.rb +26 -8
  350. data/lib/merge_ruby_client/crm/associations/client.rb +16 -4
  351. data/lib/merge_ruby_client/crm/async_passthrough/client.rb +5 -5
  352. data/lib/merge_ruby_client/crm/async_passthrough/types/async_passthrough_retrieve_response.rb +57 -0
  353. data/lib/merge_ruby_client/crm/audit_trail/client.rb +18 -10
  354. data/lib/merge_ruby_client/crm/contacts/client.rb +44 -12
  355. data/lib/merge_ruby_client/crm/custom_object_classes/client.rb +26 -8
  356. data/lib/merge_ruby_client/crm/custom_objects/client.rb +42 -12
  357. data/lib/merge_ruby_client/crm/engagement_types/client.rb +44 -12
  358. data/lib/merge_ruby_client/crm/engagements/client.rb +44 -12
  359. data/lib/merge_ruby_client/crm/field_mapping/client.rb +36 -16
  360. data/lib/merge_ruby_client/crm/force_resync/client.rb +10 -10
  361. data/lib/merge_ruby_client/crm/issues/client.rb +4 -4
  362. data/lib/merge_ruby_client/crm/leads/client.rb +44 -12
  363. data/lib/merge_ruby_client/crm/link_token/client.rb +17 -4
  364. data/lib/merge_ruby_client/crm/linked_accounts/client.rb +16 -16
  365. data/lib/merge_ruby_client/crm/notes/client.rb +44 -12
  366. data/lib/merge_ruby_client/crm/opportunities/client.rb +48 -18
  367. data/lib/merge_ruby_client/crm/scopes/client.rb +12 -12
  368. data/lib/merge_ruby_client/crm/stages/client.rb +44 -12
  369. data/lib/merge_ruby_client/crm/tasks/client.rb +44 -12
  370. data/lib/merge_ruby_client/crm/types/account.rb +8 -2
  371. data/lib/merge_ruby_client/crm/types/account_details.rb +11 -2
  372. data/lib/merge_ruby_client/crm/types/account_details_and_actions.rb +11 -2
  373. data/lib/merge_ruby_client/crm/types/account_details_and_actions_status_enum.rb +5 -3
  374. data/lib/merge_ruby_client/crm/types/account_integration.rb +4 -6
  375. data/lib/merge_ruby_client/crm/types/account_token.rb +9 -2
  376. data/lib/merge_ruby_client/crm/types/activity_type_enum.rb +3 -3
  377. data/lib/merge_ruby_client/crm/types/address.rb +502 -502
  378. data/lib/merge_ruby_client/crm/types/address_request.rb +502 -502
  379. data/lib/merge_ruby_client/crm/types/address_type_enum.rb +2 -2
  380. data/lib/merge_ruby_client/crm/types/audit_log_event.rb +104 -88
  381. data/lib/merge_ruby_client/crm/types/cardinality_enum.rb +4 -4
  382. data/lib/merge_ruby_client/crm/types/categories_enum.rb +7 -7
  383. data/lib/merge_ruby_client/crm/types/category_enum.rb +7 -7
  384. data/lib/merge_ruby_client/crm/types/contact.rb +8 -2
  385. data/lib/merge_ruby_client/crm/types/country_enum.rb +249 -249
  386. data/lib/merge_ruby_client/crm/types/direction_enum.rb +2 -2
  387. data/lib/merge_ruby_client/crm/types/enabled_actions_enum.rb +2 -2
  388. data/lib/merge_ruby_client/crm/types/encoding_enum.rb +3 -3
  389. data/lib/merge_ruby_client/crm/types/engagement.rb +10 -6
  390. data/lib/merge_ruby_client/crm/types/engagement_request.rb +4 -4
  391. data/lib/merge_ruby_client/crm/types/engagement_type.rb +6 -6
  392. data/lib/merge_ruby_client/crm/types/event_type_enum.rb +50 -38
  393. data/lib/merge_ruby_client/crm/types/field_format_enum.rb +6 -6
  394. data/lib/merge_ruby_client/crm/types/field_mapping_api_instance_remote_field.rb +8 -6
  395. data/lib/merge_ruby_client/crm/types/field_permission_deserializer.rb +14 -14
  396. data/lib/merge_ruby_client/crm/types/field_permission_deserializer_request.rb +14 -14
  397. data/lib/merge_ruby_client/crm/types/field_type_enum.rb +6 -6
  398. data/lib/merge_ruby_client/crm/types/issue.rb +4 -4
  399. data/lib/merge_ruby_client/crm/types/issue_status_enum.rb +2 -2
  400. data/lib/merge_ruby_client/crm/types/item_format_enum.rb +6 -6
  401. data/lib/merge_ruby_client/crm/types/item_type_enum.rb +6 -6
  402. data/lib/merge_ruby_client/crm/types/language_enum.rb +12 -0
  403. data/lib/merge_ruby_client/crm/types/{sync_status_status_enum.rb → last_sync_result_enum.rb} +7 -7
  404. data/lib/merge_ruby_client/crm/types/lead.rb +8 -2
  405. data/lib/merge_ruby_client/crm/types/method_enum.rb +7 -7
  406. data/lib/merge_ruby_client/crm/types/multipart_form_field_request.rb +6 -6
  407. data/lib/merge_ruby_client/crm/types/note.rb +8 -2
  408. data/lib/merge_ruby_client/crm/types/opportunity.rb +14 -8
  409. data/lib/merge_ruby_client/crm/types/opportunity_request.rb +6 -6
  410. data/lib/merge_ruby_client/crm/types/opportunity_status_enum.rb +3 -3
  411. data/lib/merge_ruby_client/crm/types/origin_type_enum.rb +3 -3
  412. data/lib/merge_ruby_client/crm/types/patched_engagement_request.rb +4 -4
  413. data/lib/merge_ruby_client/crm/types/patched_opportunity_request.rb +6 -6
  414. data/lib/merge_ruby_client/crm/types/patched_task_request.rb +4 -4
  415. data/lib/merge_ruby_client/crm/types/reason_enum.rb +3 -3
  416. data/lib/merge_ruby_client/crm/types/remote_data.rb +8 -2
  417. data/lib/merge_ruby_client/crm/types/request_format_enum.rb +3 -3
  418. data/lib/merge_ruby_client/crm/types/response_type_enum.rb +2 -2
  419. data/lib/merge_ruby_client/crm/types/role_enum.rb +6 -6
  420. data/lib/merge_ruby_client/crm/types/selective_sync_configurations_usage_enum.rb +2 -2
  421. data/lib/merge_ruby_client/crm/types/stage.rb +6 -2
  422. data/lib/merge_ruby_client/crm/types/status_fd_5_enum.rb +20 -0
  423. data/lib/merge_ruby_client/crm/types/sync_status.rb +25 -6
  424. data/lib/merge_ruby_client/crm/types/task.rb +10 -6
  425. data/lib/merge_ruby_client/crm/types/task_request.rb +4 -4
  426. data/lib/merge_ruby_client/crm/types/task_status_enum.rb +2 -2
  427. data/lib/merge_ruby_client/crm/types/user.rb +6 -2
  428. data/lib/merge_ruby_client/crm/users/client.rb +50 -14
  429. data/lib/merge_ruby_client/filestorage/async_passthrough/client.rb +5 -5
  430. data/lib/merge_ruby_client/filestorage/async_passthrough/types/async_passthrough_retrieve_response.rb +57 -0
  431. data/lib/merge_ruby_client/filestorage/audit_trail/client.rb +18 -10
  432. data/lib/merge_ruby_client/filestorage/drives/client.rb +26 -8
  433. data/lib/merge_ruby_client/filestorage/field_mapping/client.rb +36 -16
  434. data/lib/merge_ruby_client/filestorage/files/client.rb +210 -20
  435. data/lib/merge_ruby_client/filestorage/folders/client.rb +28 -10
  436. data/lib/merge_ruby_client/filestorage/force_resync/client.rb +10 -10
  437. data/lib/merge_ruby_client/filestorage/groups/client.rb +40 -10
  438. data/lib/merge_ruby_client/filestorage/issues/client.rb +4 -4
  439. data/lib/merge_ruby_client/filestorage/link_token/client.rb +17 -4
  440. data/lib/merge_ruby_client/filestorage/linked_accounts/client.rb +16 -16
  441. data/lib/merge_ruby_client/filestorage/scopes/client.rb +12 -12
  442. data/lib/merge_ruby_client/filestorage/types/account_details.rb +11 -2
  443. data/lib/merge_ruby_client/filestorage/types/account_details_and_actions.rb +11 -2
  444. data/lib/merge_ruby_client/filestorage/types/account_details_and_actions_status_enum.rb +5 -3
  445. data/lib/merge_ruby_client/filestorage/types/account_integration.rb +4 -6
  446. data/lib/merge_ruby_client/filestorage/types/account_token.rb +9 -2
  447. data/lib/merge_ruby_client/filestorage/types/audit_log_event.rb +104 -88
  448. data/lib/merge_ruby_client/filestorage/types/categories_enum.rb +7 -7
  449. data/lib/merge_ruby_client/filestorage/types/category_enum.rb +7 -7
  450. data/lib/merge_ruby_client/filestorage/types/download_request_meta.rb +88 -0
  451. data/lib/merge_ruby_client/filestorage/types/drive.rb +13 -5
  452. data/lib/merge_ruby_client/filestorage/types/enabled_actions_enum.rb +2 -2
  453. data/lib/merge_ruby_client/filestorage/types/encoding_enum.rb +3 -3
  454. data/lib/merge_ruby_client/filestorage/types/event_type_enum.rb +50 -38
  455. data/lib/merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field.rb +8 -6
  456. data/lib/merge_ruby_client/filestorage/types/field_permission_deserializer.rb +14 -14
  457. data/lib/merge_ruby_client/filestorage/types/field_permission_deserializer_request.rb +14 -14
  458. data/lib/merge_ruby_client/filestorage/types/file.rb +16 -8
  459. data/lib/merge_ruby_client/filestorage/types/file_permissions.rb +7 -7
  460. data/lib/merge_ruby_client/filestorage/types/file_permissions_item.rb +4 -4
  461. data/lib/merge_ruby_client/filestorage/types/file_request.rb +3 -3
  462. data/lib/merge_ruby_client/filestorage/types/file_request_permissions.rb +3 -3
  463. data/lib/merge_ruby_client/filestorage/types/folder.rb +16 -8
  464. data/lib/merge_ruby_client/filestorage/types/folder_permissions.rb +7 -7
  465. data/lib/merge_ruby_client/filestorage/types/folder_permissions_item.rb +4 -4
  466. data/lib/merge_ruby_client/filestorage/types/folder_request.rb +3 -3
  467. data/lib/merge_ruby_client/filestorage/types/folder_request_permissions.rb +3 -3
  468. data/lib/merge_ruby_client/filestorage/types/group.rb +26 -6
  469. data/lib/merge_ruby_client/filestorage/types/group_child_groups_item.rb +55 -0
  470. data/lib/merge_ruby_client/filestorage/types/issue.rb +4 -4
  471. data/lib/merge_ruby_client/filestorage/types/issue_status_enum.rb +2 -2
  472. data/lib/merge_ruby_client/filestorage/types/language_enum.rb +12 -0
  473. data/lib/merge_ruby_client/filestorage/types/{sync_status_status_enum.rb → last_sync_result_enum.rb} +7 -7
  474. data/lib/merge_ruby_client/filestorage/types/method_enum.rb +7 -7
  475. data/lib/merge_ruby_client/filestorage/types/multipart_form_field_request.rb +6 -6
  476. data/lib/merge_ruby_client/filestorage/types/paginated_download_request_meta_list.rb +80 -0
  477. data/lib/merge_ruby_client/filestorage/types/permission.rb +16 -12
  478. data/lib/merge_ruby_client/filestorage/types/permission_group.rb +2 -1
  479. data/lib/merge_ruby_client/filestorage/types/permission_request.rb +16 -12
  480. data/lib/merge_ruby_client/filestorage/types/permission_request_group.rb +2 -1
  481. data/lib/merge_ruby_client/filestorage/types/permission_request_user.rb +2 -1
  482. data/lib/merge_ruby_client/filestorage/types/permission_user.rb +2 -1
  483. data/lib/merge_ruby_client/filestorage/types/remote_data.rb +75 -0
  484. data/lib/merge_ruby_client/filestorage/types/request_format_enum.rb +3 -3
  485. data/lib/merge_ruby_client/filestorage/types/response_type_enum.rb +2 -2
  486. data/lib/merge_ruby_client/filestorage/types/role_enum.rb +6 -6
  487. data/lib/merge_ruby_client/filestorage/types/roles_enum.rb +3 -3
  488. data/lib/merge_ruby_client/filestorage/types/selective_sync_configurations_usage_enum.rb +2 -2
  489. data/lib/merge_ruby_client/filestorage/types/status_fd_5_enum.rb +20 -0
  490. data/lib/merge_ruby_client/filestorage/types/sync_status.rb +25 -6
  491. data/lib/merge_ruby_client/filestorage/types/type_enum.rb +4 -4
  492. data/lib/merge_ruby_client/filestorage/types/user.rb +13 -5
  493. data/lib/merge_ruby_client/filestorage/users/client.rb +26 -8
  494. data/lib/merge_ruby_client/hris/async_passthrough/client.rb +5 -5
  495. data/lib/merge_ruby_client/hris/async_passthrough/types/async_passthrough_retrieve_response.rb +57 -0
  496. data/lib/merge_ruby_client/hris/audit_trail/client.rb +18 -10
  497. data/lib/merge_ruby_client/hris/bank_info/client.rb +30 -12
  498. data/lib/merge_ruby_client/hris/benefits/client.rb +26 -8
  499. data/lib/merge_ruby_client/hris/companies/client.rb +26 -8
  500. data/lib/merge_ruby_client/hris/dependents/client.rb +28 -8
  501. data/lib/merge_ruby_client/hris/employee_payroll_runs/client.rb +26 -8
  502. data/lib/merge_ruby_client/hris/employees/client.rb +32 -14
  503. data/lib/merge_ruby_client/hris/employer_benefits/client.rb +26 -8
  504. data/lib/merge_ruby_client/hris/employments/client.rb +26 -8
  505. data/lib/merge_ruby_client/hris/field_mapping/client.rb +36 -16
  506. data/lib/merge_ruby_client/hris/force_resync/client.rb +10 -10
  507. data/lib/merge_ruby_client/hris/groups/client.rb +26 -6
  508. data/lib/merge_ruby_client/hris/issues/client.rb +4 -4
  509. data/lib/merge_ruby_client/hris/link_token/client.rb +17 -4
  510. data/lib/merge_ruby_client/hris/linked_accounts/client.rb +16 -16
  511. data/lib/merge_ruby_client/hris/locations/client.rb +42 -18
  512. data/lib/merge_ruby_client/hris/locations/types/locations_list_request_remote_fields.rb +13 -0
  513. data/lib/merge_ruby_client/hris/locations/types/locations_list_request_show_enum_origins.rb +13 -0
  514. data/lib/merge_ruby_client/hris/locations/types/locations_retrieve_request_remote_fields.rb +13 -0
  515. data/lib/merge_ruby_client/hris/locations/types/locations_retrieve_request_show_enum_origins.rb +13 -0
  516. data/lib/merge_ruby_client/hris/pay_groups/client.rb +26 -8
  517. data/lib/merge_ruby_client/hris/payroll_runs/client.rb +36 -16
  518. data/lib/merge_ruby_client/hris/scopes/client.rb +12 -12
  519. data/lib/merge_ruby_client/hris/sync_status/client.rb +20 -6
  520. data/lib/merge_ruby_client/hris/teams/client.rb +26 -8
  521. data/lib/merge_ruby_client/hris/time_off/client.rb +48 -30
  522. data/lib/merge_ruby_client/hris/time_off_balances/client.rb +38 -20
  523. data/lib/merge_ruby_client/hris/timesheet_entries/client.rb +48 -18
  524. data/lib/merge_ruby_client/hris/types/account_details.rb +11 -2
  525. data/lib/merge_ruby_client/hris/types/account_details_and_actions.rb +11 -2
  526. data/lib/merge_ruby_client/hris/types/account_details_and_actions_status_enum.rb +5 -3
  527. data/lib/merge_ruby_client/hris/types/account_integration.rb +4 -6
  528. data/lib/merge_ruby_client/hris/types/account_token.rb +9 -2
  529. data/lib/merge_ruby_client/hris/types/account_type_enum.rb +2 -2
  530. data/lib/merge_ruby_client/hris/types/audit_log_event.rb +104 -88
  531. data/lib/merge_ruby_client/hris/types/bank_info.rb +10 -6
  532. data/lib/merge_ruby_client/hris/types/benefit.rb +6 -2
  533. data/lib/merge_ruby_client/hris/types/benefit_plan_type_enum.rb +5 -5
  534. data/lib/merge_ruby_client/hris/types/categories_enum.rb +7 -7
  535. data/lib/merge_ruby_client/hris/types/category_enum.rb +7 -7
  536. data/lib/merge_ruby_client/hris/types/company.rb +6 -2
  537. data/lib/merge_ruby_client/hris/types/country_enum.rb +249 -249
  538. data/lib/merge_ruby_client/hris/types/deduction.rb +6 -2
  539. data/lib/merge_ruby_client/hris/types/dependent.rb +22 -18
  540. data/lib/merge_ruby_client/hris/types/earning.rb +14 -10
  541. data/lib/merge_ruby_client/hris/types/earning_type_enum.rb +4 -4
  542. data/lib/merge_ruby_client/hris/types/employee.rb +52 -45
  543. data/lib/merge_ruby_client/hris/types/employee_payroll_run.rb +6 -2
  544. data/lib/merge_ruby_client/hris/types/employee_request.rb +44 -43
  545. data/lib/merge_ruby_client/hris/types/employer_benefit.rb +23 -15
  546. data/lib/merge_ruby_client/hris/types/employment.rb +679 -673
  547. data/lib/merge_ruby_client/hris/types/employment_status_enum.rb +3 -3
  548. data/lib/merge_ruby_client/hris/types/employment_type_enum.rb +5 -5
  549. data/lib/merge_ruby_client/hris/types/enabled_actions_enum.rb +2 -2
  550. data/lib/merge_ruby_client/hris/types/encoding_enum.rb +3 -3
  551. data/lib/merge_ruby_client/hris/types/ethnicity_enum.rb +8 -8
  552. data/lib/merge_ruby_client/hris/types/event_type_enum.rb +50 -38
  553. data/lib/merge_ruby_client/hris/types/field_mapping_api_instance_remote_field.rb +8 -6
  554. data/lib/merge_ruby_client/hris/types/field_permission_deserializer.rb +14 -14
  555. data/lib/merge_ruby_client/hris/types/field_permission_deserializer_request.rb +14 -14
  556. data/lib/merge_ruby_client/hris/types/flsa_status_enum.rb +4 -4
  557. data/lib/merge_ruby_client/hris/types/gender_enum.rb +5 -5
  558. data/lib/merge_ruby_client/hris/types/group.rb +25 -21
  559. data/lib/merge_ruby_client/hris/types/group_type_enum.rb +5 -5
  560. data/lib/merge_ruby_client/hris/types/issue.rb +4 -4
  561. data/lib/merge_ruby_client/hris/types/issue_status_enum.rb +2 -2
  562. data/lib/merge_ruby_client/hris/types/language_enum.rb +12 -0
  563. data/lib/merge_ruby_client/hris/types/{sync_status_status_enum.rb → last_sync_result_enum.rb} +7 -7
  564. data/lib/merge_ruby_client/hris/types/location.rb +508 -504
  565. data/lib/merge_ruby_client/hris/types/location_type_enum.rb +2 -2
  566. data/lib/merge_ruby_client/hris/types/marital_status_enum.rb +5 -5
  567. data/lib/merge_ruby_client/hris/types/method_enum.rb +7 -7
  568. data/lib/merge_ruby_client/hris/types/multipart_form_field_request.rb +6 -6
  569. data/lib/merge_ruby_client/hris/types/pay_currency_enum.rb +306 -306
  570. data/lib/merge_ruby_client/hris/types/pay_frequency_enum.rb +9 -9
  571. data/lib/merge_ruby_client/hris/types/pay_group.rb +6 -2
  572. data/lib/merge_ruby_client/hris/types/pay_period_enum.rb +9 -9
  573. data/lib/merge_ruby_client/hris/types/payroll_run.rb +26 -22
  574. data/lib/merge_ruby_client/hris/types/policy_type_enum.rb +6 -6
  575. data/lib/merge_ruby_client/hris/types/reason_enum.rb +3 -3
  576. data/lib/merge_ruby_client/hris/types/relationship_enum.rb +3 -3
  577. data/lib/merge_ruby_client/hris/types/remote_data.rb +8 -2
  578. data/lib/merge_ruby_client/hris/types/request_format_enum.rb +3 -3
  579. data/lib/merge_ruby_client/hris/types/request_type_enum.rb +6 -6
  580. data/lib/merge_ruby_client/hris/types/response_type_enum.rb +2 -2
  581. data/lib/merge_ruby_client/hris/types/role_enum.rb +6 -6
  582. data/lib/merge_ruby_client/hris/types/run_state_enum.rb +5 -5
  583. data/lib/merge_ruby_client/hris/types/run_type_enum.rb +5 -5
  584. data/lib/merge_ruby_client/hris/types/selective_sync_configurations_usage_enum.rb +2 -2
  585. data/lib/merge_ruby_client/hris/types/status_fd_5_enum.rb +20 -0
  586. data/lib/merge_ruby_client/hris/types/sync_status.rb +25 -6
  587. data/lib/merge_ruby_client/hris/types/tax.rb +6 -2
  588. data/lib/merge_ruby_client/hris/types/team.rb +6 -2
  589. data/lib/merge_ruby_client/hris/types/time_off.rb +34 -28
  590. data/lib/merge_ruby_client/hris/types/time_off_balance.rb +26 -18
  591. data/lib/merge_ruby_client/hris/types/time_off_request.rb +26 -26
  592. data/lib/merge_ruby_client/hris/types/time_off_status_enum.rb +5 -5
  593. data/lib/merge_ruby_client/hris/types/timesheet_entry.rb +23 -9
  594. data/lib/merge_ruby_client/hris/types/timesheet_entry_employee.rb +56 -0
  595. data/lib/merge_ruby_client/hris/types/timesheet_entry_request.rb +10 -4
  596. data/lib/merge_ruby_client/hris/types/timesheet_entry_request_employee.rb +56 -0
  597. data/lib/merge_ruby_client/hris/types/units_enum.rb +2 -2
  598. data/lib/merge_ruby_client/ticketing/accounts/client.rb +26 -8
  599. data/lib/merge_ruby_client/ticketing/async_passthrough/client.rb +5 -5
  600. data/lib/merge_ruby_client/ticketing/async_passthrough/types/async_passthrough_retrieve_response.rb +57 -0
  601. data/lib/merge_ruby_client/ticketing/attachments/client.rb +42 -26
  602. data/lib/merge_ruby_client/ticketing/audit_trail/client.rb +18 -10
  603. data/lib/merge_ruby_client/ticketing/collections/client.rb +100 -66
  604. data/lib/merge_ruby_client/ticketing/collections/types/collections_viewers_list_request_expand.rb +13 -0
  605. data/lib/merge_ruby_client/ticketing/comments/client.rb +26 -8
  606. data/lib/merge_ruby_client/ticketing/contacts/client.rb +26 -8
  607. data/lib/merge_ruby_client/ticketing/field_mapping/client.rb +36 -16
  608. data/lib/merge_ruby_client/ticketing/force_resync/client.rb +10 -10
  609. data/lib/merge_ruby_client/ticketing/issues/client.rb +4 -4
  610. data/lib/merge_ruby_client/ticketing/link_token/client.rb +17 -4
  611. data/lib/merge_ruby_client/ticketing/linked_accounts/client.rb +16 -16
  612. data/lib/merge_ruby_client/ticketing/projects/client.rb +42 -12
  613. data/lib/merge_ruby_client/ticketing/roles/client.rb +26 -8
  614. data/lib/merge_ruby_client/ticketing/scopes/client.rb +12 -12
  615. data/lib/merge_ruby_client/ticketing/sync_status/client.rb +20 -6
  616. data/lib/merge_ruby_client/ticketing/tags/client.rb +26 -8
  617. data/lib/merge_ruby_client/ticketing/teams/client.rb +26 -8
  618. data/lib/merge_ruby_client/ticketing/tickets/client.rb +104 -55
  619. data/lib/merge_ruby_client/ticketing/tickets/types/tickets_list_request_expand.rb +128 -0
  620. data/lib/merge_ruby_client/ticketing/tickets/types/tickets_retrieve_request_expand.rb +128 -0
  621. data/lib/merge_ruby_client/ticketing/tickets/types/tickets_viewers_list_request_expand.rb +13 -0
  622. data/lib/merge_ruby_client/ticketing/types/access_level_enum.rb +3 -3
  623. data/lib/merge_ruby_client/ticketing/types/account.rb +6 -2
  624. data/lib/merge_ruby_client/ticketing/types/account_details.rb +11 -2
  625. data/lib/merge_ruby_client/ticketing/types/account_details_and_actions.rb +11 -2
  626. data/lib/merge_ruby_client/ticketing/types/account_details_and_actions_status_enum.rb +5 -3
  627. data/lib/merge_ruby_client/ticketing/types/account_integration.rb +4 -6
  628. data/lib/merge_ruby_client/ticketing/types/account_token.rb +9 -2
  629. data/lib/merge_ruby_client/ticketing/types/attachment.rb +8 -2
  630. data/lib/merge_ruby_client/ticketing/types/audit_log_event.rb +104 -88
  631. data/lib/merge_ruby_client/ticketing/types/categories_enum.rb +7 -7
  632. data/lib/merge_ruby_client/ticketing/types/category_enum.rb +7 -7
  633. data/lib/merge_ruby_client/ticketing/types/collection.rb +19 -15
  634. data/lib/merge_ruby_client/ticketing/types/collection_type_enum.rb +2 -2
  635. data/lib/merge_ruby_client/ticketing/types/comment.rb +20 -6
  636. data/lib/merge_ruby_client/ticketing/types/comment_contact.rb +3 -1
  637. data/lib/merge_ruby_client/ticketing/types/comment_request.rb +12 -4
  638. data/lib/merge_ruby_client/ticketing/types/comment_request_contact.rb +3 -1
  639. data/lib/merge_ruby_client/ticketing/types/comment_request_user.rb +3 -1
  640. data/lib/merge_ruby_client/ticketing/types/comment_user.rb +3 -1
  641. data/lib/merge_ruby_client/ticketing/types/contact.rb +6 -2
  642. data/lib/merge_ruby_client/ticketing/types/enabled_actions_enum.rb +2 -2
  643. data/lib/merge_ruby_client/ticketing/types/encoding_enum.rb +3 -3
  644. data/lib/merge_ruby_client/ticketing/types/event_type_enum.rb +50 -38
  645. data/lib/merge_ruby_client/ticketing/types/field_format_enum.rb +6 -6
  646. data/lib/merge_ruby_client/ticketing/types/field_mapping_api_instance_remote_field.rb +8 -6
  647. data/lib/merge_ruby_client/ticketing/types/field_permission_deserializer.rb +14 -14
  648. data/lib/merge_ruby_client/ticketing/types/field_permission_deserializer_request.rb +14 -14
  649. data/lib/merge_ruby_client/ticketing/types/field_type_enum.rb +6 -6
  650. data/lib/merge_ruby_client/ticketing/types/issue.rb +4 -4
  651. data/lib/merge_ruby_client/ticketing/types/issue_status_enum.rb +2 -2
  652. data/lib/merge_ruby_client/ticketing/types/item_format_enum.rb +6 -6
  653. data/lib/merge_ruby_client/ticketing/types/item_type_enum.rb +6 -6
  654. data/lib/merge_ruby_client/ticketing/types/language_enum.rb +12 -0
  655. data/lib/merge_ruby_client/ticketing/types/{sync_status_status_enum.rb → last_sync_result_enum.rb} +7 -7
  656. data/lib/merge_ruby_client/ticketing/types/method_enum.rb +7 -7
  657. data/lib/merge_ruby_client/ticketing/types/multipart_form_field_request.rb +6 -6
  658. data/lib/merge_ruby_client/ticketing/types/paginated_viewer_list.rb +80 -0
  659. data/lib/merge_ruby_client/ticketing/types/patched_ticket_request.rb +51 -23
  660. data/lib/merge_ruby_client/ticketing/types/priority_enum.rb +4 -4
  661. data/lib/merge_ruby_client/ticketing/types/project.rb +6 -2
  662. data/lib/merge_ruby_client/ticketing/types/remote_data.rb +8 -2
  663. data/lib/merge_ruby_client/ticketing/types/remote_field_request.rb +3 -3
  664. data/lib/merge_ruby_client/ticketing/types/request_format_enum.rb +3 -3
  665. data/lib/merge_ruby_client/ticketing/types/response_type_enum.rb +2 -2
  666. data/lib/merge_ruby_client/ticketing/types/role.rb +12 -8
  667. data/lib/merge_ruby_client/ticketing/types/role_enum.rb +6 -6
  668. data/lib/merge_ruby_client/ticketing/types/selective_sync_configurations_usage_enum.rb +2 -2
  669. data/lib/merge_ruby_client/ticketing/types/status_fd_5_enum.rb +20 -0
  670. data/lib/merge_ruby_client/ticketing/types/sync_status.rb +25 -6
  671. data/lib/merge_ruby_client/ticketing/types/tag.rb +6 -2
  672. data/lib/merge_ruby_client/ticketing/types/team.rb +8 -4
  673. data/lib/merge_ruby_client/ticketing/types/ticket.rb +62 -24
  674. data/lib/merge_ruby_client/ticketing/types/ticket_access_enum.rb +3 -3
  675. data/lib/merge_ruby_client/ticketing/types/ticket_actions_enum.rb +6 -6
  676. data/lib/merge_ruby_client/ticketing/types/ticket_assigned_teams_item.rb +55 -0
  677. data/lib/merge_ruby_client/ticketing/types/ticket_request.rb +55 -23
  678. data/lib/merge_ruby_client/ticketing/types/ticket_request_assigned_teams_item.rb +55 -0
  679. data/lib/merge_ruby_client/ticketing/types/ticket_status_enum.rb +4 -4
  680. data/lib/merge_ruby_client/ticketing/types/user.rb +10 -3
  681. data/lib/merge_ruby_client/ticketing/types/viewer.rb +123 -0
  682. data/lib/merge_ruby_client/ticketing/types/viewer_team.rb +56 -0
  683. data/lib/merge_ruby_client/ticketing/types/viewer_user.rb +56 -0
  684. data/lib/merge_ruby_client/ticketing/users/client.rb +32 -10
  685. data/lib/merge_ruby_client.rb +14 -14
  686. data/lib/requests.rb +2 -2
  687. data/lib/types_export.rb +470 -329
  688. metadata +164 -16
  689. data/lib/merge_ruby_client/accounting/types/currency_enum.rb +0 -620
  690. data/lib/merge_ruby_client/ticketing/collections/types/collections_users_list_request_expand.rb +0 -13
  691. data/lib/merge_ruby_client/ticketing/tickets/types/tickets_collaborators_list_request_expand.rb +0 -13
  692. data/lib/merge_ruby_client/ticketing/tickets/types/tickets_list_request_status.rb +0 -14
@@ -1,10 +1,12 @@
1
1
  # frozen_string_literal: true
2
2
 
3
- require_relative "currency_enum"
3
+ require_relative "invoice_line_item_request_employee"
4
+ require_relative "transaction_currency_enum"
4
5
  require_relative "invoice_line_item_request_item"
5
6
  require_relative "invoice_line_item_request_account"
6
7
  require_relative "invoice_line_item_request_tracking_category"
7
8
  require_relative "invoice_line_item_request_tracking_categories_item"
9
+ require_relative "remote_field_request"
8
10
  require "ostruct"
9
11
  require "json"
10
12
 
@@ -27,313 +29,315 @@ module Merge
27
29
  attr_reader :quantity
28
30
  # @return [Float] The line item's total amount.
29
31
  attr_reader :total_amount
30
- # @return [Merge::Accounting::CurrencyEnum] The line item's currency.
31
- # - `XUA` - ADB Unit of Account
32
- # - `AFN` - Afghan Afghani
33
- # - `AFA` - Afghan Afghani (1927–2002)
34
- # - `ALL` - Albanian Lek
35
- # - `ALK` - Albanian Lek (19461965)
36
- # - `DZD` - Algerian Dinar
37
- # - `ADP` - Andorran Peseta
38
- # - `AOA` - Angolan Kwanza
39
- # - `AOK` - Angolan Kwanza (1977–1991)
40
- # - `AON` - Angolan New Kwanza (1990–2000)
41
- # - `AOR` - Angolan Readjusted Kwanza (19951999)
42
- # - `ARA` - Argentine Austral
43
- # - `ARS` - Argentine Peso
44
- # - `ARM` - Argentine Peso (1881–1970)
45
- # - `ARP` - Argentine Peso (1983–1985)
46
- # - `ARL` - Argentine Peso Ley (1970–1983)
47
- # - `AMD` - Armenian Dram
48
- # - `AWG` - Aruban Florin
49
- # - `AUD` - Australian Dollar
50
- # - `ATS` - Austrian Schilling
51
- # - `AZN` - Azerbaijani Manat
52
- # - `AZM` - Azerbaijani Manat (1993–2006)
53
- # - `BSD` - Bahamian Dollar
54
- # - `BHD` - Bahraini Dinar
55
- # - `BDT` - Bangladeshi Taka
56
- # - `BBD` - Barbadian Dollar
57
- # - `BYN` - Belarusian Ruble
58
- # - `BYB` - Belarusian Ruble (1994–1999)
59
- # - `BYR` - Belarusian Ruble (2000–2016)
60
- # - `BEF` - Belgian Franc
61
- # - `BEC` - Belgian Franc (convertible)
62
- # - `BEL` - Belgian Franc (financial)
63
- # - `BZD` - Belize Dollar
64
- # - `BMD` - Bermudan Dollar
65
- # - `BTN` - Bhutanese Ngultrum
66
- # - `BOB` - Bolivian Boliviano
67
- # - `BOL` - Bolivian Boliviano (1863–1963)
68
- # - `BOV` - Bolivian Mvdol
69
- # - `BOP` - Bolivian Peso
70
- # - `BAM` - Bosnia-Herzegovina Convertible Mark
71
- # - `BAD` - Bosnia-Herzegovina Dinar (1992–1994)
72
- # - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997)
73
- # - `BWP` - Botswanan Pula
74
- # - `BRC` - Brazilian Cruzado (19861989)
75
- # - `BRZ` - Brazilian Cruzeiro (1942–1967)
76
- # - `BRE` - Brazilian Cruzeiro (19901993)
77
- # - `BRR` - Brazilian Cruzeiro (19931994)
78
- # - `BRN` - Brazilian New Cruzado (19891990)
79
- # - `BRB` - Brazilian New Cruzeiro (19671986)
80
- # - `BRL` - Brazilian Real
81
- # - `GBP` - British Pound
82
- # - `BND` - Brunei Dollar
83
- # - `BGL` - Bulgarian Hard Lev
84
- # - `BGN` - Bulgarian Lev
85
- # - `BGO` - Bulgarian Lev (1879–1952)
86
- # - `BGM` - Bulgarian Socialist Lev
87
- # - `BUK` - Burmese Kyat
88
- # - `BIF` - Burundian Franc
89
- # - `XPF` - CFP Franc
90
- # - `KHR` - Cambodian Riel
91
- # - `CAD` - Canadian Dollar
92
- # - `CVE` - Cape Verdean Escudo
93
- # - `KYD` - Cayman Islands Dollar
94
- # - `XAF` - Central African CFA Franc
95
- # - `CLE` - Chilean Escudo
96
- # - `CLP` - Chilean Peso
97
- # - `CLF` - Chilean Unit of Account (UF)
98
- # - `CNX` - Chinese People’s Bank Dollar
99
- # - `CNY` - Chinese Yuan
100
- # - `CNH` - Chinese Yuan (offshore)
101
- # - `COP` - Colombian Peso
102
- # - `COU` - Colombian Real Value Unit
103
- # - `KMF` - Comorian Franc
104
- # - `CDF` - Congolese Franc
105
- # - `CRC` - Costa Rican Colón
106
- # - `HRD` - Croatian Dinar
107
- # - `HRK` - Croatian Kuna
108
- # - `CUC` - Cuban Convertible Peso
109
- # - `CUP` - Cuban Peso
110
- # - `CYP` - Cypriot Pound
111
- # - `CZK` - Czech Koruna
112
- # - `CSK` - Czechoslovak Hard Koruna
113
- # - `DKK` - Danish Krone
114
- # - `DJF` - Djiboutian Franc
115
- # - `DOP` - Dominican Peso
116
- # - `NLG` - Dutch Guilder
117
- # - `XCD` - East Caribbean Dollar
118
- # - `DDM` - East German Mark
119
- # - `ECS` - Ecuadorian Sucre
120
- # - `ECV` - Ecuadorian Unit of Constant Value
121
- # - `EGP` - Egyptian Pound
122
- # - `GQE` - Equatorial Guinean Ekwele
123
- # - `ERN` - Eritrean Nakfa
124
- # - `EEK` - Estonian Kroon
125
- # - `ETB` - Ethiopian Birr
126
- # - `EUR` - Euro
127
- # - `XBA` - European Composite Unit
128
- # - `XEU` - European Currency Unit
129
- # - `XBB` - European Monetary Unit
130
- # - `XBC` - European Unit of Account (XBC)
131
- # - `XBD` - European Unit of Account (XBD)
132
- # - `FKP` - Falkland Islands Pound
133
- # - `FJD` - Fijian Dollar
134
- # - `FIM` - Finnish Markka
135
- # - `FRF` - French Franc
136
- # - `XFO` - French Gold Franc
137
- # - `XFU` - French UIC-Franc
138
- # - `GMD` - Gambian Dalasi
139
- # - `GEK` - Georgian Kupon Larit
140
- # - `GEL` - Georgian Lari
141
- # - `DEM` - German Mark
142
- # - `GHS` - Ghanaian Cedi
143
- # - `GHC` - Ghanaian Cedi (1979–2007)
144
- # - `GIP` - Gibraltar Pound
145
- # - `XAU` - Gold
146
- # - `GRD` - Greek Drachma
147
- # - `GTQ` - Guatemalan Quetzal
148
- # - `GWP` - Guinea-Bissau Peso
149
- # - `GNF` - Guinean Franc
150
- # - `GNS` - Guinean Syli
151
- # - `GYD` - Guyanaese Dollar
152
- # - `HTG` - Haitian Gourde
153
- # - `HNL` - Honduran Lempira
154
- # - `HKD` - Hong Kong Dollar
155
- # - `HUF` - Hungarian Forint
156
- # - `IMP` - IMP
157
- # - `ISK` - Icelandic Króna
158
- # - `ISJ` - Icelandic Króna (1918–1981)
159
- # - `INR` - Indian Rupee
160
- # - `IDR` - Indonesian Rupiah
161
- # - `IRR` - Iranian Rial
162
- # - `IQD` - Iraqi Dinar
163
- # - `IEP` - Irish Pound
164
- # - `ILS` - Israeli New Shekel
165
- # - `ILP` - Israeli Pound
166
- # - `ILR` - Israeli Shekel (1980–1985)
167
- # - `ITL` - Italian Lira
168
- # - `JMD` - Jamaican Dollar
169
- # - `JPY` - Japanese Yen
170
- # - `JOD` - Jordanian Dinar
171
- # - `KZT` - Kazakhstani Tenge
172
- # - `KES` - Kenyan Shilling
173
- # - `KWD` - Kuwaiti Dinar
174
- # - `KGS` - Kyrgystani Som
175
- # - `LAK` - Laotian Kip
176
- # - `LVL` - Latvian Lats
177
- # - `LVR` - Latvian Ruble
178
- # - `LBP` - Lebanese Pound
179
- # - `LSL` - Lesotho Loti
180
- # - `LRD` - Liberian Dollar
181
- # - `LYD` - Libyan Dinar
182
- # - `LTL` - Lithuanian Litas
183
- # - `LTT` - Lithuanian Talonas
184
- # - `LUL` - Luxembourg Financial Franc
185
- # - `LUC` - Luxembourgian Convertible Franc
186
- # - `LUF` - Luxembourgian Franc
187
- # - `MOP` - Macanese Pataca
188
- # - `MKD` - Macedonian Denar
189
- # - `MKN` - Macedonian Denar (1992–1993)
190
- # - `MGA` - Malagasy Ariary
191
- # - `MGF` - Malagasy Franc
192
- # - `MWK` - Malawian Kwacha
193
- # - `MYR` - Malaysian Ringgit
194
- # - `MVR` - Maldivian Rufiyaa
195
- # - `MVP` - Maldivian Rupee (1947–1981)
196
- # - `MLF` - Malian Franc
197
- # - `MTL` - Maltese Lira
198
- # - `MTP` - Maltese Pound
199
- # - `MRU` - Mauritanian Ouguiya
200
- # - `MRO` - Mauritanian Ouguiya (1973–2017)
201
- # - `MUR` - Mauritian Rupee
202
- # - `MXV` - Mexican Investment Unit
203
- # - `MXN` - Mexican Peso
204
- # - `MXP` - Mexican Silver Peso (1861–1992)
205
- # - `MDC` - Moldovan Cupon
206
- # - `MDL` - Moldovan Leu
207
- # - `MCF` - Monegasque Franc
208
- # - `MNT` - Mongolian Tugrik
209
- # - `MAD` - Moroccan Dirham
210
- # - `MAF` - Moroccan Franc
211
- # - `MZE` - Mozambican Escudo
212
- # - `MZN` - Mozambican Metical
213
- # - `MZM` - Mozambican Metical (1980–2006)
214
- # - `MMK` - Myanmar Kyat
215
- # - `NAD` - Namibian Dollar
216
- # - `NPR` - Nepalese Rupee
217
- # - `ANG` - Netherlands Antillean Guilder
218
- # - `TWD` - New Taiwan Dollar
219
- # - `NZD` - New Zealand Dollar
220
- # - `NIO` - Nicaraguan Córdoba
221
- # - `NIC` - Nicaraguan Córdoba (1988–1991)
222
- # - `NGN` - Nigerian Naira
223
- # - `KPW` - North Korean Won
224
- # - `NOK` - Norwegian Krone
225
- # - `OMR` - Omani Rial
226
- # - `PKR` - Pakistani Rupee
227
- # - `XPD` - Palladium
228
- # - `PAB` - Panamanian Balboa
229
- # - `PGK` - Papua New Guinean Kina
230
- # - `PYG` - Paraguayan Guarani
231
- # - `PEI` - Peruvian Inti
232
- # - `PEN` - Peruvian Sol
233
- # - `PES` - Peruvian Sol (1863–1965)
234
- # - `PHP` - Philippine Peso
235
- # - `XPT` - Platinum
236
- # - `PLN` - Polish Zloty
237
- # - `PLZ` - Polish Zloty (1950–1995)
238
- # - `PTE` - Portuguese Escudo
239
- # - `GWE` - Portuguese Guinea Escudo
240
- # - `QAR` - Qatari Rial
241
- # - `XRE` - RINET Funds
242
- # - `RHD` - Rhodesian Dollar
243
- # - `RON` - Romanian Leu
244
- # - `ROL` - Romanian Leu (1952–2006)
245
- # - `RUB` - Russian Ruble
246
- # - `RUR` - Russian Ruble (19911998)
247
- # - `RWF` - Rwandan Franc
248
- # - `SVC` - Salvadoran Colón
249
- # - `WST` - Samoan Tala
250
- # - `SAR` - Saudi Riyal
251
- # - `RSD` - Serbian Dinar
252
- # - `CSD` - Serbian Dinar (2002–2006)
253
- # - `SCR` - Seychellois Rupee
254
- # - `SLL` - Sierra Leonean Leone
255
- # - `XAG` - Silver
256
- # - `SGD` - Singapore Dollar
257
- # - `SKK` - Slovak Koruna
258
- # - `SIT` - Slovenian Tolar
259
- # - `SBD` - Solomon Islands Dollar
260
- # - `SOS` - Somali Shilling
261
- # - `ZAR` - South African Rand
262
- # - `ZAL` - South African Rand (financial)
263
- # - `KRH` - South Korean Hwan (1953–1962)
264
- # - `KRW` - South Korean Won
265
- # - `KRO` - South Korean Won (19451953)
266
- # - `SSP` - South Sudanese Pound
267
- # - `SUR` - Soviet Rouble
268
- # - `ESP` - Spanish Peseta
269
- # - `ESA` - Spanish Peseta (A account)
270
- # - `ESB` - Spanish Peseta (convertible account)
271
- # - `XDR` - Special Drawing Rights
272
- # - `LKR` - Sri Lankan Rupee
273
- # - `SHP` - St. Helena Pound
274
- # - `XSU` - Sucre
275
- # - `SDD` - Sudanese Dinar (1992–2007)
276
- # - `SDG` - Sudanese Pound
277
- # - `SDP` - Sudanese Pound (19571998)
278
- # - `SRD` - Surinamese Dollar
279
- # - `SRG` - Surinamese Guilder
280
- # - `SZL` - Swazi Lilangeni
281
- # - `SEK` - Swedish Krona
282
- # - `CHF` - Swiss Franc
283
- # - `SYP` - Syrian Pound
284
- # - `STN` - São Tomé & Príncipe Dobra
285
- # - `STD` - São Tomé & Príncipe Dobra (1977–2017)
286
- # - `TVD` - TVD
287
- # - `TJR` - Tajikistani Ruble
288
- # - `TJS` - Tajikistani Somoni
289
- # - `TZS` - Tanzanian Shilling
290
- # - `XTS` - Testing Currency Code
291
- # - `THB` - Thai Baht
292
- # - `XXX` - The codes assigned for transactions where no currency is involved
293
- # - `TPE` - Timorese Escudo
294
- # - `TOP` - Tongan Paʻanga
295
- # - `TTD` - Trinidad & Tobago Dollar
296
- # - `TND` - Tunisian Dinar
297
- # - `TRY` - Turkish Lira
298
- # - `TRL` - Turkish Lira (1922–2005)
299
- # - `TMT` - Turkmenistani Manat
300
- # - `TMM` - Turkmenistani Manat (19932009)
301
- # - `USD` - US Dollar
302
- # - `USN` - US Dollar (Next day)
303
- # - `USS` - US Dollar (Same day)
304
- # - `UGX` - Ugandan Shilling
305
- # - `UGS` - Ugandan Shilling (1966–1987)
306
- # - `UAH` - Ukrainian Hryvnia
307
- # - `UAK` - Ukrainian Karbovanets
308
- # - `AED` - United Arab Emirates Dirham
309
- # - `UYW` - Uruguayan Nominal Wage Index Unit
310
- # - `UYU` - Uruguayan Peso
311
- # - `UYP` - Uruguayan Peso (1975–1993)
312
- # - `UYI` - Uruguayan Peso (Indexed Units)
313
- # - `UZS` - Uzbekistani Som
314
- # - `VUV` - Vanuatu Vatu
315
- # - `VES` - Venezuelan Bolívar
316
- # - `VEB` - Venezuelan Bolívar (1871–2008)
317
- # - `VEF` - Venezuelan Bolívar (2008–2018)
318
- # - `VND` - Vietnamese Dong
319
- # - `VNN` - Vietnamese Dong (19781985)
320
- # - `CHE` - WIR Euro
321
- # - `CHW` - WIR Franc
322
- # - `XOF` - West African CFA Franc
323
- # - `YDD` - Yemeni Dinar
324
- # - `YER` - Yemeni Rial
325
- # - `YUN` - Yugoslavian Convertible Dinar (1990–1992)
326
- # - `YUD` - Yugoslavian Hard Dinar (1966–1990)
327
- # - `YUM` - Yugoslavian New Dinar (19942002)
328
- # - `YUR` - Yugoslavian Reformed Dinar (19921993)
329
- # - `ZWN` - ZWN
330
- # - `ZRN` - Zairean New Zaire (1993–1998)
331
- # - `ZRZ` - Zairean Zaire (1971–1993)
332
- # - `ZMW` - Zambian Kwacha
333
- # - `ZMK` - Zambian Kwacha (19682012)
334
- # - `ZWD` - Zimbabwean Dollar (1980–2008)
335
- # - `ZWR` - Zimbabwean Dollar (2008)
336
- # - `ZWL` - Zimbabwean Dollar (2009)
32
+ # @return [Merge::Accounting::InvoiceLineItemRequestEmployee] The employee this overall transaction relates to.
33
+ attr_reader :employee
34
+ # @return [Merge::Accounting::TransactionCurrencyEnum] The line item's currency.
35
+ # * `XUA` - ADB Unit of Account
36
+ # * `AFN` - Afghan Afghani
37
+ # * `AFA` - Afghan Afghani (19272002)
38
+ # * `ALL` - Albanian Lek
39
+ # * `ALK` - Albanian Lek (1946–1965)
40
+ # * `DZD` - Algerian Dinar
41
+ # * `ADP` - Andorran Peseta
42
+ # * `AOA` - Angolan Kwanza
43
+ # * `AOK` - Angolan Kwanza (19771991)
44
+ # * `AON` - Angolan New Kwanza (1990–2000)
45
+ # * `AOR` - Angolan Readjusted Kwanza (1995–1999)
46
+ # * `ARA` - Argentine Austral
47
+ # * `ARS` - Argentine Peso
48
+ # * `ARM` - Argentine Peso (1881–1970)
49
+ # * `ARP` - Argentine Peso (1983–1985)
50
+ # * `ARL` - Argentine Peso Ley (1970–1983)
51
+ # * `AMD` - Armenian Dram
52
+ # * `AWG` - Aruban Florin
53
+ # * `AUD` - Australian Dollar
54
+ # * `ATS` - Austrian Schilling
55
+ # * `AZN` - Azerbaijani Manat
56
+ # * `AZM` - Azerbaijani Manat (1993–2006)
57
+ # * `BSD` - Bahamian Dollar
58
+ # * `BHD` - Bahraini Dinar
59
+ # * `BDT` - Bangladeshi Taka
60
+ # * `BBD` - Barbadian Dollar
61
+ # * `BYN` - Belarusian Ruble
62
+ # * `BYB` - Belarusian Ruble (1994–1999)
63
+ # * `BYR` - Belarusian Ruble (2000–2016)
64
+ # * `BEF` - Belgian Franc
65
+ # * `BEC` - Belgian Franc (convertible)
66
+ # * `BEL` - Belgian Franc (financial)
67
+ # * `BZD` - Belize Dollar
68
+ # * `BMD` - Bermudan Dollar
69
+ # * `BTN` - Bhutanese Ngultrum
70
+ # * `BOB` - Bolivian Boliviano
71
+ # * `BOL` - Bolivian Boliviano (1863–1963)
72
+ # * `BOV` - Bolivian Mvdol
73
+ # * `BOP` - Bolivian Peso
74
+ # * `BAM` - Bosnia-Herzegovina Convertible Mark
75
+ # * `BAD` - Bosnia-Herzegovina Dinar (1992–1994)
76
+ # * `BAN` - Bosnia-Herzegovina New Dinar (19941997)
77
+ # * `BWP` - Botswanan Pula
78
+ # * `BRC` - Brazilian Cruzado (19861989)
79
+ # * `BRZ` - Brazilian Cruzeiro (19421967)
80
+ # * `BRE` - Brazilian Cruzeiro (19901993)
81
+ # * `BRR` - Brazilian Cruzeiro (19931994)
82
+ # * `BRN` - Brazilian New Cruzado (1989–1990)
83
+ # * `BRB` - Brazilian New Cruzeiro (1967–1986)
84
+ # * `BRL` - Brazilian Real
85
+ # * `GBP` - British Pound
86
+ # * `BND` - Brunei Dollar
87
+ # * `BGL` - Bulgarian Hard Lev
88
+ # * `BGN` - Bulgarian Lev
89
+ # * `BGO` - Bulgarian Lev (1879–1952)
90
+ # * `BGM` - Bulgarian Socialist Lev
91
+ # * `BUK` - Burmese Kyat
92
+ # * `BIF` - Burundian Franc
93
+ # * `XPF` - CFP Franc
94
+ # * `KHR` - Cambodian Riel
95
+ # * `CAD` - Canadian Dollar
96
+ # * `CVE` - Cape Verdean Escudo
97
+ # * `KYD` - Cayman Islands Dollar
98
+ # * `XAF` - Central African CFA Franc
99
+ # * `CLE` - Chilean Escudo
100
+ # * `CLP` - Chilean Peso
101
+ # * `CLF` - Chilean Unit of Account (UF)
102
+ # * `CNX` - Chinese People’s Bank Dollar
103
+ # * `CNY` - Chinese Yuan
104
+ # * `CNH` - Chinese Yuan (offshore)
105
+ # * `COP` - Colombian Peso
106
+ # * `COU` - Colombian Real Value Unit
107
+ # * `KMF` - Comorian Franc
108
+ # * `CDF` - Congolese Franc
109
+ # * `CRC` - Costa Rican Colón
110
+ # * `HRD` - Croatian Dinar
111
+ # * `HRK` - Croatian Kuna
112
+ # * `CUC` - Cuban Convertible Peso
113
+ # * `CUP` - Cuban Peso
114
+ # * `CYP` - Cypriot Pound
115
+ # * `CZK` - Czech Koruna
116
+ # * `CSK` - Czechoslovak Hard Koruna
117
+ # * `DKK` - Danish Krone
118
+ # * `DJF` - Djiboutian Franc
119
+ # * `DOP` - Dominican Peso
120
+ # * `NLG` - Dutch Guilder
121
+ # * `XCD` - East Caribbean Dollar
122
+ # * `DDM` - East German Mark
123
+ # * `ECS` - Ecuadorian Sucre
124
+ # * `ECV` - Ecuadorian Unit of Constant Value
125
+ # * `EGP` - Egyptian Pound
126
+ # * `GQE` - Equatorial Guinean Ekwele
127
+ # * `ERN` - Eritrean Nakfa
128
+ # * `EEK` - Estonian Kroon
129
+ # * `ETB` - Ethiopian Birr
130
+ # * `EUR` - Euro
131
+ # * `XBA` - European Composite Unit
132
+ # * `XEU` - European Currency Unit
133
+ # * `XBB` - European Monetary Unit
134
+ # * `XBC` - European Unit of Account (XBC)
135
+ # * `XBD` - European Unit of Account (XBD)
136
+ # * `FKP` - Falkland Islands Pound
137
+ # * `FJD` - Fijian Dollar
138
+ # * `FIM` - Finnish Markka
139
+ # * `FRF` - French Franc
140
+ # * `XFO` - French Gold Franc
141
+ # * `XFU` - French UIC-Franc
142
+ # * `GMD` - Gambian Dalasi
143
+ # * `GEK` - Georgian Kupon Larit
144
+ # * `GEL` - Georgian Lari
145
+ # * `DEM` - German Mark
146
+ # * `GHS` - Ghanaian Cedi
147
+ # * `GHC` - Ghanaian Cedi (1979–2007)
148
+ # * `GIP` - Gibraltar Pound
149
+ # * `XAU` - Gold
150
+ # * `GRD` - Greek Drachma
151
+ # * `GTQ` - Guatemalan Quetzal
152
+ # * `GWP` - Guinea-Bissau Peso
153
+ # * `GNF` - Guinean Franc
154
+ # * `GNS` - Guinean Syli
155
+ # * `GYD` - Guyanaese Dollar
156
+ # * `HTG` - Haitian Gourde
157
+ # * `HNL` - Honduran Lempira
158
+ # * `HKD` - Hong Kong Dollar
159
+ # * `HUF` - Hungarian Forint
160
+ # * `IMP` - IMP
161
+ # * `ISK` - Icelandic Króna
162
+ # * `ISJ` - Icelandic Króna (1918–1981)
163
+ # * `INR` - Indian Rupee
164
+ # * `IDR` - Indonesian Rupiah
165
+ # * `IRR` - Iranian Rial
166
+ # * `IQD` - Iraqi Dinar
167
+ # * `IEP` - Irish Pound
168
+ # * `ILS` - Israeli New Shekel
169
+ # * `ILP` - Israeli Pound
170
+ # * `ILR` - Israeli Shekel (1980–1985)
171
+ # * `ITL` - Italian Lira
172
+ # * `JMD` - Jamaican Dollar
173
+ # * `JPY` - Japanese Yen
174
+ # * `JOD` - Jordanian Dinar
175
+ # * `KZT` - Kazakhstani Tenge
176
+ # * `KES` - Kenyan Shilling
177
+ # * `KWD` - Kuwaiti Dinar
178
+ # * `KGS` - Kyrgystani Som
179
+ # * `LAK` - Laotian Kip
180
+ # * `LVL` - Latvian Lats
181
+ # * `LVR` - Latvian Ruble
182
+ # * `LBP` - Lebanese Pound
183
+ # * `LSL` - Lesotho Loti
184
+ # * `LRD` - Liberian Dollar
185
+ # * `LYD` - Libyan Dinar
186
+ # * `LTL` - Lithuanian Litas
187
+ # * `LTT` - Lithuanian Talonas
188
+ # * `LUL` - Luxembourg Financial Franc
189
+ # * `LUC` - Luxembourgian Convertible Franc
190
+ # * `LUF` - Luxembourgian Franc
191
+ # * `MOP` - Macanese Pataca
192
+ # * `MKD` - Macedonian Denar
193
+ # * `MKN` - Macedonian Denar (1992–1993)
194
+ # * `MGA` - Malagasy Ariary
195
+ # * `MGF` - Malagasy Franc
196
+ # * `MWK` - Malawian Kwacha
197
+ # * `MYR` - Malaysian Ringgit
198
+ # * `MVR` - Maldivian Rufiyaa
199
+ # * `MVP` - Maldivian Rupee (1947–1981)
200
+ # * `MLF` - Malian Franc
201
+ # * `MTL` - Maltese Lira
202
+ # * `MTP` - Maltese Pound
203
+ # * `MRU` - Mauritanian Ouguiya
204
+ # * `MRO` - Mauritanian Ouguiya (1973–2017)
205
+ # * `MUR` - Mauritian Rupee
206
+ # * `MXV` - Mexican Investment Unit
207
+ # * `MXN` - Mexican Peso
208
+ # * `MXP` - Mexican Silver Peso (1861–1992)
209
+ # * `MDC` - Moldovan Cupon
210
+ # * `MDL` - Moldovan Leu
211
+ # * `MCF` - Monegasque Franc
212
+ # * `MNT` - Mongolian Tugrik
213
+ # * `MAD` - Moroccan Dirham
214
+ # * `MAF` - Moroccan Franc
215
+ # * `MZE` - Mozambican Escudo
216
+ # * `MZN` - Mozambican Metical
217
+ # * `MZM` - Mozambican Metical (1980–2006)
218
+ # * `MMK` - Myanmar Kyat
219
+ # * `NAD` - Namibian Dollar
220
+ # * `NPR` - Nepalese Rupee
221
+ # * `ANG` - Netherlands Antillean Guilder
222
+ # * `TWD` - New Taiwan Dollar
223
+ # * `NZD` - New Zealand Dollar
224
+ # * `NIO` - Nicaraguan Córdoba
225
+ # * `NIC` - Nicaraguan Córdoba (1988–1991)
226
+ # * `NGN` - Nigerian Naira
227
+ # * `KPW` - North Korean Won
228
+ # * `NOK` - Norwegian Krone
229
+ # * `OMR` - Omani Rial
230
+ # * `PKR` - Pakistani Rupee
231
+ # * `XPD` - Palladium
232
+ # * `PAB` - Panamanian Balboa
233
+ # * `PGK` - Papua New Guinean Kina
234
+ # * `PYG` - Paraguayan Guarani
235
+ # * `PEI` - Peruvian Inti
236
+ # * `PEN` - Peruvian Sol
237
+ # * `PES` - Peruvian Sol (1863–1965)
238
+ # * `PHP` - Philippine Peso
239
+ # * `XPT` - Platinum
240
+ # * `PLN` - Polish Zloty
241
+ # * `PLZ` - Polish Zloty (1950–1995)
242
+ # * `PTE` - Portuguese Escudo
243
+ # * `GWE` - Portuguese Guinea Escudo
244
+ # * `QAR` - Qatari Rial
245
+ # * `XRE` - RINET Funds
246
+ # * `RHD` - Rhodesian Dollar
247
+ # * `RON` - Romanian Leu
248
+ # * `ROL` - Romanian Leu (19522006)
249
+ # * `RUB` - Russian Ruble
250
+ # * `RUR` - Russian Ruble (1991–1998)
251
+ # * `RWF` - Rwandan Franc
252
+ # * `SVC` - Salvadoran Colón
253
+ # * `WST` - Samoan Tala
254
+ # * `SAR` - Saudi Riyal
255
+ # * `RSD` - Serbian Dinar
256
+ # * `CSD` - Serbian Dinar (2002–2006)
257
+ # * `SCR` - Seychellois Rupee
258
+ # * `SLL` - Sierra Leonean Leone
259
+ # * `XAG` - Silver
260
+ # * `SGD` - Singapore Dollar
261
+ # * `SKK` - Slovak Koruna
262
+ # * `SIT` - Slovenian Tolar
263
+ # * `SBD` - Solomon Islands Dollar
264
+ # * `SOS` - Somali Shilling
265
+ # * `ZAR` - South African Rand
266
+ # * `ZAL` - South African Rand (financial)
267
+ # * `KRH` - South Korean Hwan (19531962)
268
+ # * `KRW` - South Korean Won
269
+ # * `KRO` - South Korean Won (1945–1953)
270
+ # * `SSP` - South Sudanese Pound
271
+ # * `SUR` - Soviet Rouble
272
+ # * `ESP` - Spanish Peseta
273
+ # * `ESA` - Spanish Peseta (A account)
274
+ # * `ESB` - Spanish Peseta (convertible account)
275
+ # * `XDR` - Special Drawing Rights
276
+ # * `LKR` - Sri Lankan Rupee
277
+ # * `SHP` - St. Helena Pound
278
+ # * `XSU` - Sucre
279
+ # * `SDD` - Sudanese Dinar (19922007)
280
+ # * `SDG` - Sudanese Pound
281
+ # * `SDP` - Sudanese Pound (1957–1998)
282
+ # * `SRD` - Surinamese Dollar
283
+ # * `SRG` - Surinamese Guilder
284
+ # * `SZL` - Swazi Lilangeni
285
+ # * `SEK` - Swedish Krona
286
+ # * `CHF` - Swiss Franc
287
+ # * `SYP` - Syrian Pound
288
+ # * `STN` - São Tomé & Príncipe Dobra
289
+ # * `STD` - São Tomé & Príncipe Dobra (1977–2017)
290
+ # * `TVD` - TVD
291
+ # * `TJR` - Tajikistani Ruble
292
+ # * `TJS` - Tajikistani Somoni
293
+ # * `TZS` - Tanzanian Shilling
294
+ # * `XTS` - Testing Currency Code
295
+ # * `THB` - Thai Baht
296
+ # * `XXX` - The codes assigned for transactions where no currency is involved
297
+ # * `TPE` - Timorese Escudo
298
+ # * `TOP` - Tongan Paʻanga
299
+ # * `TTD` - Trinidad & Tobago Dollar
300
+ # * `TND` - Tunisian Dinar
301
+ # * `TRY` - Turkish Lira
302
+ # * `TRL` - Turkish Lira (19222005)
303
+ # * `TMT` - Turkmenistani Manat
304
+ # * `TMM` - Turkmenistani Manat (1993–2009)
305
+ # * `USD` - US Dollar
306
+ # * `USN` - US Dollar (Next day)
307
+ # * `USS` - US Dollar (Same day)
308
+ # * `UGX` - Ugandan Shilling
309
+ # * `UGS` - Ugandan Shilling (1966–1987)
310
+ # * `UAH` - Ukrainian Hryvnia
311
+ # * `UAK` - Ukrainian Karbovanets
312
+ # * `AED` - United Arab Emirates Dirham
313
+ # * `UYW` - Uruguayan Nominal Wage Index Unit
314
+ # * `UYU` - Uruguayan Peso
315
+ # * `UYP` - Uruguayan Peso (1975–1993)
316
+ # * `UYI` - Uruguayan Peso (Indexed Units)
317
+ # * `UZS` - Uzbekistani Som
318
+ # * `VUV` - Vanuatu Vatu
319
+ # * `VES` - Venezuelan Bolívar
320
+ # * `VEB` - Venezuelan Bolívar (1871–2008)
321
+ # * `VEF` - Venezuelan Bolívar (20082018)
322
+ # * `VND` - Vietnamese Dong
323
+ # * `VNN` - Vietnamese Dong (1978–1985)
324
+ # * `CHE` - WIR Euro
325
+ # * `CHW` - WIR Franc
326
+ # * `XOF` - West African CFA Franc
327
+ # * `YDD` - Yemeni Dinar
328
+ # * `YER` - Yemeni Rial
329
+ # * `YUN` - Yugoslavian Convertible Dinar (19901992)
330
+ # * `YUD` - Yugoslavian Hard Dinar (19661990)
331
+ # * `YUM` - Yugoslavian New Dinar (1994–2002)
332
+ # * `YUR` - Yugoslavian Reformed Dinar (1992–1993)
333
+ # * `ZWN` - ZWN
334
+ # * `ZRN` - Zairean New Zaire (1993–1998)
335
+ # * `ZRZ` - Zairean Zaire (19711993)
336
+ # * `ZMW` - Zambian Kwacha
337
+ # * `ZMK` - Zambian Kwacha (1968–2012)
338
+ # * `ZWD` - Zimbabwean Dollar (1980–2008)
339
+ # * `ZWR` - Zimbabwean Dollar (2008)
340
+ # * `ZWL` - Zimbabwean Dollar (2009)
337
341
  attr_reader :currency
338
342
  # @return [String] The line item's exchange rate.
339
343
  attr_reader :exchange_rate
@@ -341,16 +345,20 @@ module Merge
341
345
  attr_reader :item
342
346
  # @return [Merge::Accounting::InvoiceLineItemRequestAccount]
343
347
  attr_reader :account
348
+ # @return [String] The tax rate that applies to this line item.
349
+ attr_reader :tax_rate
344
350
  # @return [Merge::Accounting::InvoiceLineItemRequestTrackingCategory]
345
351
  attr_reader :tracking_category
346
- # @return [Array<Merge::Accounting::InvoiceLineItemRequestTrackingCategoriesItem>]
352
+ # @return [Array<Merge::Accounting::InvoiceLineItemRequestTrackingCategoriesItem>] The invoice line item's associated tracking categories.
347
353
  attr_reader :tracking_categories
348
- # @return [String] The company the line item belongs to.
354
+ # @return [String] The company the invoice belongs to.
349
355
  attr_reader :company
350
356
  # @return [Hash{String => Object}]
351
357
  attr_reader :integration_params
352
358
  # @return [Hash{String => Object}]
353
359
  attr_reader :linked_account_params
360
+ # @return [Array<Merge::Accounting::RemoteFieldRequest>]
361
+ attr_reader :remote_fields
354
362
  # @return [OpenStruct] Additional properties unmapped to the current class definition
355
363
  attr_reader :additional_properties
356
364
  # @return [Object]
@@ -364,339 +372,345 @@ module Merge
364
372
  # @param unit_price [Float] The line item's unit price.
365
373
  # @param quantity [Float] The line item's quantity.
366
374
  # @param total_amount [Float] The line item's total amount.
367
- # @param currency [Merge::Accounting::CurrencyEnum] The line item's currency.
368
- # - `XUA` - ADB Unit of Account
369
- # - `AFN` - Afghan Afghani
370
- # - `AFA` - Afghan Afghani (1927–2002)
371
- # - `ALL` - Albanian Lek
372
- # - `ALK` - Albanian Lek (1946–1965)
373
- # - `DZD` - Algerian Dinar
374
- # - `ADP` - Andorran Peseta
375
- # - `AOA` - Angolan Kwanza
376
- # - `AOK` - Angolan Kwanza (1977–1991)
377
- # - `AON` - Angolan New Kwanza (19902000)
378
- # - `AOR` - Angolan Readjusted Kwanza (19951999)
379
- # - `ARA` - Argentine Austral
380
- # - `ARS` - Argentine Peso
381
- # - `ARM` - Argentine Peso (1881–1970)
382
- # - `ARP` - Argentine Peso (19831985)
383
- # - `ARL` - Argentine Peso Ley (19701983)
384
- # - `AMD` - Armenian Dram
385
- # - `AWG` - Aruban Florin
386
- # - `AUD` - Australian Dollar
387
- # - `ATS` - Austrian Schilling
388
- # - `AZN` - Azerbaijani Manat
389
- # - `AZM` - Azerbaijani Manat (1993–2006)
390
- # - `BSD` - Bahamian Dollar
391
- # - `BHD` - Bahraini Dinar
392
- # - `BDT` - Bangladeshi Taka
393
- # - `BBD` - Barbadian Dollar
394
- # - `BYN` - Belarusian Ruble
395
- # - `BYB` - Belarusian Ruble (1994–1999)
396
- # - `BYR` - Belarusian Ruble (20002016)
397
- # - `BEF` - Belgian Franc
398
- # - `BEC` - Belgian Franc (convertible)
399
- # - `BEL` - Belgian Franc (financial)
400
- # - `BZD` - Belize Dollar
401
- # - `BMD` - Bermudan Dollar
402
- # - `BTN` - Bhutanese Ngultrum
403
- # - `BOB` - Bolivian Boliviano
404
- # - `BOL` - Bolivian Boliviano (1863–1963)
405
- # - `BOV` - Bolivian Mvdol
406
- # - `BOP` - Bolivian Peso
407
- # - `BAM` - Bosnia-Herzegovina Convertible Mark
408
- # - `BAD` - Bosnia-Herzegovina Dinar (1992–1994)
409
- # - `BAN` - Bosnia-Herzegovina New Dinar (1994–1997)
410
- # - `BWP` - Botswanan Pula
411
- # - `BRC` - Brazilian Cruzado (1986–1989)
412
- # - `BRZ` - Brazilian Cruzeiro (19421967)
413
- # - `BRE` - Brazilian Cruzeiro (19901993)
414
- # - `BRR` - Brazilian Cruzeiro (1993–1994)
415
- # - `BRN` - Brazilian New Cruzado (19891990)
416
- # - `BRB` - Brazilian New Cruzeiro (19671986)
417
- # - `BRL` - Brazilian Real
418
- # - `GBP` - British Pound
419
- # - `BND` - Brunei Dollar
420
- # - `BGL` - Bulgarian Hard Lev
421
- # - `BGN` - Bulgarian Lev
422
- # - `BGO` - Bulgarian Lev (1879–1952)
423
- # - `BGM` - Bulgarian Socialist Lev
424
- # - `BUK` - Burmese Kyat
425
- # - `BIF` - Burundian Franc
426
- # - `XPF` - CFP Franc
427
- # - `KHR` - Cambodian Riel
428
- # - `CAD` - Canadian Dollar
429
- # - `CVE` - Cape Verdean Escudo
430
- # - `KYD` - Cayman Islands Dollar
431
- # - `XAF` - Central African CFA Franc
432
- # - `CLE` - Chilean Escudo
433
- # - `CLP` - Chilean Peso
434
- # - `CLF` - Chilean Unit of Account (UF)
435
- # - `CNX` - Chinese People’s Bank Dollar
436
- # - `CNY` - Chinese Yuan
437
- # - `CNH` - Chinese Yuan (offshore)
438
- # - `COP` - Colombian Peso
439
- # - `COU` - Colombian Real Value Unit
440
- # - `KMF` - Comorian Franc
441
- # - `CDF` - Congolese Franc
442
- # - `CRC` - Costa Rican Colón
443
- # - `HRD` - Croatian Dinar
444
- # - `HRK` - Croatian Kuna
445
- # - `CUC` - Cuban Convertible Peso
446
- # - `CUP` - Cuban Peso
447
- # - `CYP` - Cypriot Pound
448
- # - `CZK` - Czech Koruna
449
- # - `CSK` - Czechoslovak Hard Koruna
450
- # - `DKK` - Danish Krone
451
- # - `DJF` - Djiboutian Franc
452
- # - `DOP` - Dominican Peso
453
- # - `NLG` - Dutch Guilder
454
- # - `XCD` - East Caribbean Dollar
455
- # - `DDM` - East German Mark
456
- # - `ECS` - Ecuadorian Sucre
457
- # - `ECV` - Ecuadorian Unit of Constant Value
458
- # - `EGP` - Egyptian Pound
459
- # - `GQE` - Equatorial Guinean Ekwele
460
- # - `ERN` - Eritrean Nakfa
461
- # - `EEK` - Estonian Kroon
462
- # - `ETB` - Ethiopian Birr
463
- # - `EUR` - Euro
464
- # - `XBA` - European Composite Unit
465
- # - `XEU` - European Currency Unit
466
- # - `XBB` - European Monetary Unit
467
- # - `XBC` - European Unit of Account (XBC)
468
- # - `XBD` - European Unit of Account (XBD)
469
- # - `FKP` - Falkland Islands Pound
470
- # - `FJD` - Fijian Dollar
471
- # - `FIM` - Finnish Markka
472
- # - `FRF` - French Franc
473
- # - `XFO` - French Gold Franc
474
- # - `XFU` - French UIC-Franc
475
- # - `GMD` - Gambian Dalasi
476
- # - `GEK` - Georgian Kupon Larit
477
- # - `GEL` - Georgian Lari
478
- # - `DEM` - German Mark
479
- # - `GHS` - Ghanaian Cedi
480
- # - `GHC` - Ghanaian Cedi (1979–2007)
481
- # - `GIP` - Gibraltar Pound
482
- # - `XAU` - Gold
483
- # - `GRD` - Greek Drachma
484
- # - `GTQ` - Guatemalan Quetzal
485
- # - `GWP` - Guinea-Bissau Peso
486
- # - `GNF` - Guinean Franc
487
- # - `GNS` - Guinean Syli
488
- # - `GYD` - Guyanaese Dollar
489
- # - `HTG` - Haitian Gourde
490
- # - `HNL` - Honduran Lempira
491
- # - `HKD` - Hong Kong Dollar
492
- # - `HUF` - Hungarian Forint
493
- # - `IMP` - IMP
494
- # - `ISK` - Icelandic Króna
495
- # - `ISJ` - Icelandic Króna (1918–1981)
496
- # - `INR` - Indian Rupee
497
- # - `IDR` - Indonesian Rupiah
498
- # - `IRR` - Iranian Rial
499
- # - `IQD` - Iraqi Dinar
500
- # - `IEP` - Irish Pound
501
- # - `ILS` - Israeli New Shekel
502
- # - `ILP` - Israeli Pound
503
- # - `ILR` - Israeli Shekel (1980–1985)
504
- # - `ITL` - Italian Lira
505
- # - `JMD` - Jamaican Dollar
506
- # - `JPY` - Japanese Yen
507
- # - `JOD` - Jordanian Dinar
508
- # - `KZT` - Kazakhstani Tenge
509
- # - `KES` - Kenyan Shilling
510
- # - `KWD` - Kuwaiti Dinar
511
- # - `KGS` - Kyrgystani Som
512
- # - `LAK` - Laotian Kip
513
- # - `LVL` - Latvian Lats
514
- # - `LVR` - Latvian Ruble
515
- # - `LBP` - Lebanese Pound
516
- # - `LSL` - Lesotho Loti
517
- # - `LRD` - Liberian Dollar
518
- # - `LYD` - Libyan Dinar
519
- # - `LTL` - Lithuanian Litas
520
- # - `LTT` - Lithuanian Talonas
521
- # - `LUL` - Luxembourg Financial Franc
522
- # - `LUC` - Luxembourgian Convertible Franc
523
- # - `LUF` - Luxembourgian Franc
524
- # - `MOP` - Macanese Pataca
525
- # - `MKD` - Macedonian Denar
526
- # - `MKN` - Macedonian Denar (1992–1993)
527
- # - `MGA` - Malagasy Ariary
528
- # - `MGF` - Malagasy Franc
529
- # - `MWK` - Malawian Kwacha
530
- # - `MYR` - Malaysian Ringgit
531
- # - `MVR` - Maldivian Rufiyaa
532
- # - `MVP` - Maldivian Rupee (1947–1981)
533
- # - `MLF` - Malian Franc
534
- # - `MTL` - Maltese Lira
535
- # - `MTP` - Maltese Pound
536
- # - `MRU` - Mauritanian Ouguiya
537
- # - `MRO` - Mauritanian Ouguiya (1973–2017)
538
- # - `MUR` - Mauritian Rupee
539
- # - `MXV` - Mexican Investment Unit
540
- # - `MXN` - Mexican Peso
541
- # - `MXP` - Mexican Silver Peso (1861–1992)
542
- # - `MDC` - Moldovan Cupon
543
- # - `MDL` - Moldovan Leu
544
- # - `MCF` - Monegasque Franc
545
- # - `MNT` - Mongolian Tugrik
546
- # - `MAD` - Moroccan Dirham
547
- # - `MAF` - Moroccan Franc
548
- # - `MZE` - Mozambican Escudo
549
- # - `MZN` - Mozambican Metical
550
- # - `MZM` - Mozambican Metical (1980–2006)
551
- # - `MMK` - Myanmar Kyat
552
- # - `NAD` - Namibian Dollar
553
- # - `NPR` - Nepalese Rupee
554
- # - `ANG` - Netherlands Antillean Guilder
555
- # - `TWD` - New Taiwan Dollar
556
- # - `NZD` - New Zealand Dollar
557
- # - `NIO` - Nicaraguan Córdoba
558
- # - `NIC` - Nicaraguan Córdoba (1988–1991)
559
- # - `NGN` - Nigerian Naira
560
- # - `KPW` - North Korean Won
561
- # - `NOK` - Norwegian Krone
562
- # - `OMR` - Omani Rial
563
- # - `PKR` - Pakistani Rupee
564
- # - `XPD` - Palladium
565
- # - `PAB` - Panamanian Balboa
566
- # - `PGK` - Papua New Guinean Kina
567
- # - `PYG` - Paraguayan Guarani
568
- # - `PEI` - Peruvian Inti
569
- # - `PEN` - Peruvian Sol
570
- # - `PES` - Peruvian Sol (1863–1965)
571
- # - `PHP` - Philippine Peso
572
- # - `XPT` - Platinum
573
- # - `PLN` - Polish Zloty
574
- # - `PLZ` - Polish Zloty (1950–1995)
575
- # - `PTE` - Portuguese Escudo
576
- # - `GWE` - Portuguese Guinea Escudo
577
- # - `QAR` - Qatari Rial
578
- # - `XRE` - RINET Funds
579
- # - `RHD` - Rhodesian Dollar
580
- # - `RON` - Romanian Leu
581
- # - `ROL` - Romanian Leu (1952–2006)
582
- # - `RUB` - Russian Ruble
583
- # - `RUR` - Russian Ruble (1991–1998)
584
- # - `RWF` - Rwandan Franc
585
- # - `SVC` - Salvadoran Colón
586
- # - `WST` - Samoan Tala
587
- # - `SAR` - Saudi Riyal
588
- # - `RSD` - Serbian Dinar
589
- # - `CSD` - Serbian Dinar (2002–2006)
590
- # - `SCR` - Seychellois Rupee
591
- # - `SLL` - Sierra Leonean Leone
592
- # - `XAG` - Silver
593
- # - `SGD` - Singapore Dollar
594
- # - `SKK` - Slovak Koruna
595
- # - `SIT` - Slovenian Tolar
596
- # - `SBD` - Solomon Islands Dollar
597
- # - `SOS` - Somali Shilling
598
- # - `ZAR` - South African Rand
599
- # - `ZAL` - South African Rand (financial)
600
- # - `KRH` - South Korean Hwan (1953–1962)
601
- # - `KRW` - South Korean Won
602
- # - `KRO` - South Korean Won (1945–1953)
603
- # - `SSP` - South Sudanese Pound
604
- # - `SUR` - Soviet Rouble
605
- # - `ESP` - Spanish Peseta
606
- # - `ESA` - Spanish Peseta (A account)
607
- # - `ESB` - Spanish Peseta (convertible account)
608
- # - `XDR` - Special Drawing Rights
609
- # - `LKR` - Sri Lankan Rupee
610
- # - `SHP` - St. Helena Pound
611
- # - `XSU` - Sucre
612
- # - `SDD` - Sudanese Dinar (1992–2007)
613
- # - `SDG` - Sudanese Pound
614
- # - `SDP` - Sudanese Pound (1957–1998)
615
- # - `SRD` - Surinamese Dollar
616
- # - `SRG` - Surinamese Guilder
617
- # - `SZL` - Swazi Lilangeni
618
- # - `SEK` - Swedish Krona
619
- # - `CHF` - Swiss Franc
620
- # - `SYP` - Syrian Pound
621
- # - `STN` - São Tomé & Príncipe Dobra
622
- # - `STD` - São Tomé & Príncipe Dobra (1977–2017)
623
- # - `TVD` - TVD
624
- # - `TJR` - Tajikistani Ruble
625
- # - `TJS` - Tajikistani Somoni
626
- # - `TZS` - Tanzanian Shilling
627
- # - `XTS` - Testing Currency Code
628
- # - `THB` - Thai Baht
629
- # - `XXX` - The codes assigned for transactions where no currency is involved
630
- # - `TPE` - Timorese Escudo
631
- # - `TOP` - Tongan Paʻanga
632
- # - `TTD` - Trinidad & Tobago Dollar
633
- # - `TND` - Tunisian Dinar
634
- # - `TRY` - Turkish Lira
635
- # - `TRL` - Turkish Lira (1922–2005)
636
- # - `TMT` - Turkmenistani Manat
637
- # - `TMM` - Turkmenistani Manat (1993–2009)
638
- # - `USD` - US Dollar
639
- # - `USN` - US Dollar (Next day)
640
- # - `USS` - US Dollar (Same day)
641
- # - `UGX` - Ugandan Shilling
642
- # - `UGS` - Ugandan Shilling (1966–1987)
643
- # - `UAH` - Ukrainian Hryvnia
644
- # - `UAK` - Ukrainian Karbovanets
645
- # - `AED` - United Arab Emirates Dirham
646
- # - `UYW` - Uruguayan Nominal Wage Index Unit
647
- # - `UYU` - Uruguayan Peso
648
- # - `UYP` - Uruguayan Peso (1975–1993)
649
- # - `UYI` - Uruguayan Peso (Indexed Units)
650
- # - `UZS` - Uzbekistani Som
651
- # - `VUV` - Vanuatu Vatu
652
- # - `VES` - Venezuelan Bolívar
653
- # - `VEB` - Venezuelan Bolívar (1871–2008)
654
- # - `VEF` - Venezuelan Bolívar (2008–2018)
655
- # - `VND` - Vietnamese Dong
656
- # - `VNN` - Vietnamese Dong (1978–1985)
657
- # - `CHE` - WIR Euro
658
- # - `CHW` - WIR Franc
659
- # - `XOF` - West African CFA Franc
660
- # - `YDD` - Yemeni Dinar
661
- # - `YER` - Yemeni Rial
662
- # - `YUN` - Yugoslavian Convertible Dinar (1990–1992)
663
- # - `YUD` - Yugoslavian Hard Dinar (19661990)
664
- # - `YUM` - Yugoslavian New Dinar (19942002)
665
- # - `YUR` - Yugoslavian Reformed Dinar (19921993)
666
- # - `ZWN` - ZWN
667
- # - `ZRN` - Zairean New Zaire (1993–1998)
668
- # - `ZRZ` - Zairean Zaire (19711993)
669
- # - `ZMW` - Zambian Kwacha
670
- # - `ZMK` - Zambian Kwacha (1968–2012)
671
- # - `ZWD` - Zimbabwean Dollar (19802008)
672
- # - `ZWR` - Zimbabwean Dollar (2008)
673
- # - `ZWL` - Zimbabwean Dollar (2009)
375
+ # @param employee [Merge::Accounting::InvoiceLineItemRequestEmployee] The employee this overall transaction relates to.
376
+ # @param currency [Merge::Accounting::TransactionCurrencyEnum] The line item's currency.
377
+ # * `XUA` - ADB Unit of Account
378
+ # * `AFN` - Afghan Afghani
379
+ # * `AFA` - Afghan Afghani (1927–2002)
380
+ # * `ALL` - Albanian Lek
381
+ # * `ALK` - Albanian Lek (1946–1965)
382
+ # * `DZD` - Algerian Dinar
383
+ # * `ADP` - Andorran Peseta
384
+ # * `AOA` - Angolan Kwanza
385
+ # * `AOK` - Angolan Kwanza (19771991)
386
+ # * `AON` - Angolan New Kwanza (19902000)
387
+ # * `AOR` - Angolan Readjusted Kwanza (1995–1999)
388
+ # * `ARA` - Argentine Austral
389
+ # * `ARS` - Argentine Peso
390
+ # * `ARM` - Argentine Peso (18811970)
391
+ # * `ARP` - Argentine Peso (19831985)
392
+ # * `ARL` - Argentine Peso Ley (1970–1983)
393
+ # * `AMD` - Armenian Dram
394
+ # * `AWG` - Aruban Florin
395
+ # * `AUD` - Australian Dollar
396
+ # * `ATS` - Austrian Schilling
397
+ # * `AZN` - Azerbaijani Manat
398
+ # * `AZM` - Azerbaijani Manat (1993–2006)
399
+ # * `BSD` - Bahamian Dollar
400
+ # * `BHD` - Bahraini Dinar
401
+ # * `BDT` - Bangladeshi Taka
402
+ # * `BBD` - Barbadian Dollar
403
+ # * `BYN` - Belarusian Ruble
404
+ # * `BYB` - Belarusian Ruble (19941999)
405
+ # * `BYR` - Belarusian Ruble (2000–2016)
406
+ # * `BEF` - Belgian Franc
407
+ # * `BEC` - Belgian Franc (convertible)
408
+ # * `BEL` - Belgian Franc (financial)
409
+ # * `BZD` - Belize Dollar
410
+ # * `BMD` - Bermudan Dollar
411
+ # * `BTN` - Bhutanese Ngultrum
412
+ # * `BOB` - Bolivian Boliviano
413
+ # * `BOL` - Bolivian Boliviano (1863–1963)
414
+ # * `BOV` - Bolivian Mvdol
415
+ # * `BOP` - Bolivian Peso
416
+ # * `BAM` - Bosnia-Herzegovina Convertible Mark
417
+ # * `BAD` - Bosnia-Herzegovina Dinar (1992–1994)
418
+ # * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997)
419
+ # * `BWP` - Botswanan Pula
420
+ # * `BRC` - Brazilian Cruzado (19861989)
421
+ # * `BRZ` - Brazilian Cruzeiro (19421967)
422
+ # * `BRE` - Brazilian Cruzeiro (1990–1993)
423
+ # * `BRR` - Brazilian Cruzeiro (19931994)
424
+ # * `BRN` - Brazilian New Cruzado (19891990)
425
+ # * `BRB` - Brazilian New Cruzeiro (1967–1986)
426
+ # * `BRL` - Brazilian Real
427
+ # * `GBP` - British Pound
428
+ # * `BND` - Brunei Dollar
429
+ # * `BGL` - Bulgarian Hard Lev
430
+ # * `BGN` - Bulgarian Lev
431
+ # * `BGO` - Bulgarian Lev (1879–1952)
432
+ # * `BGM` - Bulgarian Socialist Lev
433
+ # * `BUK` - Burmese Kyat
434
+ # * `BIF` - Burundian Franc
435
+ # * `XPF` - CFP Franc
436
+ # * `KHR` - Cambodian Riel
437
+ # * `CAD` - Canadian Dollar
438
+ # * `CVE` - Cape Verdean Escudo
439
+ # * `KYD` - Cayman Islands Dollar
440
+ # * `XAF` - Central African CFA Franc
441
+ # * `CLE` - Chilean Escudo
442
+ # * `CLP` - Chilean Peso
443
+ # * `CLF` - Chilean Unit of Account (UF)
444
+ # * `CNX` - Chinese People’s Bank Dollar
445
+ # * `CNY` - Chinese Yuan
446
+ # * `CNH` - Chinese Yuan (offshore)
447
+ # * `COP` - Colombian Peso
448
+ # * `COU` - Colombian Real Value Unit
449
+ # * `KMF` - Comorian Franc
450
+ # * `CDF` - Congolese Franc
451
+ # * `CRC` - Costa Rican Colón
452
+ # * `HRD` - Croatian Dinar
453
+ # * `HRK` - Croatian Kuna
454
+ # * `CUC` - Cuban Convertible Peso
455
+ # * `CUP` - Cuban Peso
456
+ # * `CYP` - Cypriot Pound
457
+ # * `CZK` - Czech Koruna
458
+ # * `CSK` - Czechoslovak Hard Koruna
459
+ # * `DKK` - Danish Krone
460
+ # * `DJF` - Djiboutian Franc
461
+ # * `DOP` - Dominican Peso
462
+ # * `NLG` - Dutch Guilder
463
+ # * `XCD` - East Caribbean Dollar
464
+ # * `DDM` - East German Mark
465
+ # * `ECS` - Ecuadorian Sucre
466
+ # * `ECV` - Ecuadorian Unit of Constant Value
467
+ # * `EGP` - Egyptian Pound
468
+ # * `GQE` - Equatorial Guinean Ekwele
469
+ # * `ERN` - Eritrean Nakfa
470
+ # * `EEK` - Estonian Kroon
471
+ # * `ETB` - Ethiopian Birr
472
+ # * `EUR` - Euro
473
+ # * `XBA` - European Composite Unit
474
+ # * `XEU` - European Currency Unit
475
+ # * `XBB` - European Monetary Unit
476
+ # * `XBC` - European Unit of Account (XBC)
477
+ # * `XBD` - European Unit of Account (XBD)
478
+ # * `FKP` - Falkland Islands Pound
479
+ # * `FJD` - Fijian Dollar
480
+ # * `FIM` - Finnish Markka
481
+ # * `FRF` - French Franc
482
+ # * `XFO` - French Gold Franc
483
+ # * `XFU` - French UIC-Franc
484
+ # * `GMD` - Gambian Dalasi
485
+ # * `GEK` - Georgian Kupon Larit
486
+ # * `GEL` - Georgian Lari
487
+ # * `DEM` - German Mark
488
+ # * `GHS` - Ghanaian Cedi
489
+ # * `GHC` - Ghanaian Cedi (1979–2007)
490
+ # * `GIP` - Gibraltar Pound
491
+ # * `XAU` - Gold
492
+ # * `GRD` - Greek Drachma
493
+ # * `GTQ` - Guatemalan Quetzal
494
+ # * `GWP` - Guinea-Bissau Peso
495
+ # * `GNF` - Guinean Franc
496
+ # * `GNS` - Guinean Syli
497
+ # * `GYD` - Guyanaese Dollar
498
+ # * `HTG` - Haitian Gourde
499
+ # * `HNL` - Honduran Lempira
500
+ # * `HKD` - Hong Kong Dollar
501
+ # * `HUF` - Hungarian Forint
502
+ # * `IMP` - IMP
503
+ # * `ISK` - Icelandic Króna
504
+ # * `ISJ` - Icelandic Króna (1918–1981)
505
+ # * `INR` - Indian Rupee
506
+ # * `IDR` - Indonesian Rupiah
507
+ # * `IRR` - Iranian Rial
508
+ # * `IQD` - Iraqi Dinar
509
+ # * `IEP` - Irish Pound
510
+ # * `ILS` - Israeli New Shekel
511
+ # * `ILP` - Israeli Pound
512
+ # * `ILR` - Israeli Shekel (1980–1985)
513
+ # * `ITL` - Italian Lira
514
+ # * `JMD` - Jamaican Dollar
515
+ # * `JPY` - Japanese Yen
516
+ # * `JOD` - Jordanian Dinar
517
+ # * `KZT` - Kazakhstani Tenge
518
+ # * `KES` - Kenyan Shilling
519
+ # * `KWD` - Kuwaiti Dinar
520
+ # * `KGS` - Kyrgystani Som
521
+ # * `LAK` - Laotian Kip
522
+ # * `LVL` - Latvian Lats
523
+ # * `LVR` - Latvian Ruble
524
+ # * `LBP` - Lebanese Pound
525
+ # * `LSL` - Lesotho Loti
526
+ # * `LRD` - Liberian Dollar
527
+ # * `LYD` - Libyan Dinar
528
+ # * `LTL` - Lithuanian Litas
529
+ # * `LTT` - Lithuanian Talonas
530
+ # * `LUL` - Luxembourg Financial Franc
531
+ # * `LUC` - Luxembourgian Convertible Franc
532
+ # * `LUF` - Luxembourgian Franc
533
+ # * `MOP` - Macanese Pataca
534
+ # * `MKD` - Macedonian Denar
535
+ # * `MKN` - Macedonian Denar (1992–1993)
536
+ # * `MGA` - Malagasy Ariary
537
+ # * `MGF` - Malagasy Franc
538
+ # * `MWK` - Malawian Kwacha
539
+ # * `MYR` - Malaysian Ringgit
540
+ # * `MVR` - Maldivian Rufiyaa
541
+ # * `MVP` - Maldivian Rupee (1947–1981)
542
+ # * `MLF` - Malian Franc
543
+ # * `MTL` - Maltese Lira
544
+ # * `MTP` - Maltese Pound
545
+ # * `MRU` - Mauritanian Ouguiya
546
+ # * `MRO` - Mauritanian Ouguiya (1973–2017)
547
+ # * `MUR` - Mauritian Rupee
548
+ # * `MXV` - Mexican Investment Unit
549
+ # * `MXN` - Mexican Peso
550
+ # * `MXP` - Mexican Silver Peso (1861–1992)
551
+ # * `MDC` - Moldovan Cupon
552
+ # * `MDL` - Moldovan Leu
553
+ # * `MCF` - Monegasque Franc
554
+ # * `MNT` - Mongolian Tugrik
555
+ # * `MAD` - Moroccan Dirham
556
+ # * `MAF` - Moroccan Franc
557
+ # * `MZE` - Mozambican Escudo
558
+ # * `MZN` - Mozambican Metical
559
+ # * `MZM` - Mozambican Metical (1980–2006)
560
+ # * `MMK` - Myanmar Kyat
561
+ # * `NAD` - Namibian Dollar
562
+ # * `NPR` - Nepalese Rupee
563
+ # * `ANG` - Netherlands Antillean Guilder
564
+ # * `TWD` - New Taiwan Dollar
565
+ # * `NZD` - New Zealand Dollar
566
+ # * `NIO` - Nicaraguan Córdoba
567
+ # * `NIC` - Nicaraguan Córdoba (1988–1991)
568
+ # * `NGN` - Nigerian Naira
569
+ # * `KPW` - North Korean Won
570
+ # * `NOK` - Norwegian Krone
571
+ # * `OMR` - Omani Rial
572
+ # * `PKR` - Pakistani Rupee
573
+ # * `XPD` - Palladium
574
+ # * `PAB` - Panamanian Balboa
575
+ # * `PGK` - Papua New Guinean Kina
576
+ # * `PYG` - Paraguayan Guarani
577
+ # * `PEI` - Peruvian Inti
578
+ # * `PEN` - Peruvian Sol
579
+ # * `PES` - Peruvian Sol (1863–1965)
580
+ # * `PHP` - Philippine Peso
581
+ # * `XPT` - Platinum
582
+ # * `PLN` - Polish Zloty
583
+ # * `PLZ` - Polish Zloty (1950–1995)
584
+ # * `PTE` - Portuguese Escudo
585
+ # * `GWE` - Portuguese Guinea Escudo
586
+ # * `QAR` - Qatari Rial
587
+ # * `XRE` - RINET Funds
588
+ # * `RHD` - Rhodesian Dollar
589
+ # * `RON` - Romanian Leu
590
+ # * `ROL` - Romanian Leu (1952–2006)
591
+ # * `RUB` - Russian Ruble
592
+ # * `RUR` - Russian Ruble (1991–1998)
593
+ # * `RWF` - Rwandan Franc
594
+ # * `SVC` - Salvadoran Colón
595
+ # * `WST` - Samoan Tala
596
+ # * `SAR` - Saudi Riyal
597
+ # * `RSD` - Serbian Dinar
598
+ # * `CSD` - Serbian Dinar (2002–2006)
599
+ # * `SCR` - Seychellois Rupee
600
+ # * `SLL` - Sierra Leonean Leone
601
+ # * `XAG` - Silver
602
+ # * `SGD` - Singapore Dollar
603
+ # * `SKK` - Slovak Koruna
604
+ # * `SIT` - Slovenian Tolar
605
+ # * `SBD` - Solomon Islands Dollar
606
+ # * `SOS` - Somali Shilling
607
+ # * `ZAR` - South African Rand
608
+ # * `ZAL` - South African Rand (financial)
609
+ # * `KRH` - South Korean Hwan (1953–1962)
610
+ # * `KRW` - South Korean Won
611
+ # * `KRO` - South Korean Won (1945–1953)
612
+ # * `SSP` - South Sudanese Pound
613
+ # * `SUR` - Soviet Rouble
614
+ # * `ESP` - Spanish Peseta
615
+ # * `ESA` - Spanish Peseta (A account)
616
+ # * `ESB` - Spanish Peseta (convertible account)
617
+ # * `XDR` - Special Drawing Rights
618
+ # * `LKR` - Sri Lankan Rupee
619
+ # * `SHP` - St. Helena Pound
620
+ # * `XSU` - Sucre
621
+ # * `SDD` - Sudanese Dinar (1992–2007)
622
+ # * `SDG` - Sudanese Pound
623
+ # * `SDP` - Sudanese Pound (1957–1998)
624
+ # * `SRD` - Surinamese Dollar
625
+ # * `SRG` - Surinamese Guilder
626
+ # * `SZL` - Swazi Lilangeni
627
+ # * `SEK` - Swedish Krona
628
+ # * `CHF` - Swiss Franc
629
+ # * `SYP` - Syrian Pound
630
+ # * `STN` - São Tomé & Príncipe Dobra
631
+ # * `STD` - São Tomé & Príncipe Dobra (1977–2017)
632
+ # * `TVD` - TVD
633
+ # * `TJR` - Tajikistani Ruble
634
+ # * `TJS` - Tajikistani Somoni
635
+ # * `TZS` - Tanzanian Shilling
636
+ # * `XTS` - Testing Currency Code
637
+ # * `THB` - Thai Baht
638
+ # * `XXX` - The codes assigned for transactions where no currency is involved
639
+ # * `TPE` - Timorese Escudo
640
+ # * `TOP` - Tongan Paʻanga
641
+ # * `TTD` - Trinidad & Tobago Dollar
642
+ # * `TND` - Tunisian Dinar
643
+ # * `TRY` - Turkish Lira
644
+ # * `TRL` - Turkish Lira (1922–2005)
645
+ # * `TMT` - Turkmenistani Manat
646
+ # * `TMM` - Turkmenistani Manat (1993–2009)
647
+ # * `USD` - US Dollar
648
+ # * `USN` - US Dollar (Next day)
649
+ # * `USS` - US Dollar (Same day)
650
+ # * `UGX` - Ugandan Shilling
651
+ # * `UGS` - Ugandan Shilling (1966–1987)
652
+ # * `UAH` - Ukrainian Hryvnia
653
+ # * `UAK` - Ukrainian Karbovanets
654
+ # * `AED` - United Arab Emirates Dirham
655
+ # * `UYW` - Uruguayan Nominal Wage Index Unit
656
+ # * `UYU` - Uruguayan Peso
657
+ # * `UYP` - Uruguayan Peso (1975–1993)
658
+ # * `UYI` - Uruguayan Peso (Indexed Units)
659
+ # * `UZS` - Uzbekistani Som
660
+ # * `VUV` - Vanuatu Vatu
661
+ # * `VES` - Venezuelan Bolívar
662
+ # * `VEB` - Venezuelan Bolívar (1871–2008)
663
+ # * `VEF` - Venezuelan Bolívar (2008–2018)
664
+ # * `VND` - Vietnamese Dong
665
+ # * `VNN` - Vietnamese Dong (1978–1985)
666
+ # * `CHE` - WIR Euro
667
+ # * `CHW` - WIR Franc
668
+ # * `XOF` - West African CFA Franc
669
+ # * `YDD` - Yemeni Dinar
670
+ # * `YER` - Yemeni Rial
671
+ # * `YUN` - Yugoslavian Convertible Dinar (19901992)
672
+ # * `YUD` - Yugoslavian Hard Dinar (19661990)
673
+ # * `YUM` - Yugoslavian New Dinar (19942002)
674
+ # * `YUR` - Yugoslavian Reformed Dinar (1992–1993)
675
+ # * `ZWN` - ZWN
676
+ # * `ZRN` - Zairean New Zaire (19931998)
677
+ # * `ZRZ` - Zairean Zaire (1971–1993)
678
+ # * `ZMW` - Zambian Kwacha
679
+ # * `ZMK` - Zambian Kwacha (19682012)
680
+ # * `ZWD` - Zimbabwean Dollar (1980–2008)
681
+ # * `ZWR` - Zimbabwean Dollar (2008)
682
+ # * `ZWL` - Zimbabwean Dollar (2009)
674
683
  # @param exchange_rate [String] The line item's exchange rate.
675
684
  # @param item [Merge::Accounting::InvoiceLineItemRequestItem]
676
685
  # @param account [Merge::Accounting::InvoiceLineItemRequestAccount]
686
+ # @param tax_rate [String] The tax rate that applies to this line item.
677
687
  # @param tracking_category [Merge::Accounting::InvoiceLineItemRequestTrackingCategory]
678
- # @param tracking_categories [Array<Merge::Accounting::InvoiceLineItemRequestTrackingCategoriesItem>]
679
- # @param company [String] The company the line item belongs to.
688
+ # @param tracking_categories [Array<Merge::Accounting::InvoiceLineItemRequestTrackingCategoriesItem>] The invoice line item's associated tracking categories.
689
+ # @param company [String] The company the invoice belongs to.
680
690
  # @param integration_params [Hash{String => Object}]
681
691
  # @param linked_account_params [Hash{String => Object}]
692
+ # @param remote_fields [Array<Merge::Accounting::RemoteFieldRequest>]
682
693
  # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
683
694
  # @return [Merge::Accounting::InvoiceLineItemRequest]
684
695
  def initialize(remote_id: OMIT, description: OMIT, unit_price: OMIT, quantity: OMIT, total_amount: OMIT,
685
- currency: OMIT, exchange_rate: OMIT, item: OMIT, account: OMIT, tracking_category: OMIT, tracking_categories: OMIT, company: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil)
696
+ employee: OMIT, currency: OMIT, exchange_rate: OMIT, item: OMIT, account: OMIT, tax_rate: OMIT, tracking_category: OMIT, tracking_categories: OMIT, company: OMIT, integration_params: OMIT, linked_account_params: OMIT, remote_fields: OMIT, additional_properties: nil)
686
697
  @remote_id = remote_id if remote_id != OMIT
687
698
  @description = description if description != OMIT
688
699
  @unit_price = unit_price if unit_price != OMIT
689
700
  @quantity = quantity if quantity != OMIT
690
701
  @total_amount = total_amount if total_amount != OMIT
702
+ @employee = employee if employee != OMIT
691
703
  @currency = currency if currency != OMIT
692
704
  @exchange_rate = exchange_rate if exchange_rate != OMIT
693
705
  @item = item if item != OMIT
694
706
  @account = account if account != OMIT
707
+ @tax_rate = tax_rate if tax_rate != OMIT
695
708
  @tracking_category = tracking_category if tracking_category != OMIT
696
709
  @tracking_categories = tracking_categories if tracking_categories != OMIT
697
710
  @company = company if company != OMIT
698
711
  @integration_params = integration_params if integration_params != OMIT
699
712
  @linked_account_params = linked_account_params if linked_account_params != OMIT
713
+ @remote_fields = remote_fields if remote_fields != OMIT
700
714
  @additional_properties = additional_properties
701
715
  @_field_set = {
702
716
  "remote_id": remote_id,
@@ -704,15 +718,18 @@ module Merge
704
718
  "unit_price": unit_price,
705
719
  "quantity": quantity,
706
720
  "total_amount": total_amount,
721
+ "employee": employee,
707
722
  "currency": currency,
708
723
  "exchange_rate": exchange_rate,
709
724
  "item": item,
710
725
  "account": account,
726
+ "tax_rate": tax_rate,
711
727
  "tracking_category": tracking_category,
712
728
  "tracking_categories": tracking_categories,
713
729
  "company": company,
714
730
  "integration_params": integration_params,
715
- "linked_account_params": linked_account_params
731
+ "linked_account_params": linked_account_params,
732
+ "remote_fields": remote_fields
716
733
  }.reject do |_k, v|
717
734
  v == OMIT
718
735
  end
@@ -730,6 +747,12 @@ module Merge
730
747
  unit_price = parsed_json["unit_price"]
731
748
  quantity = parsed_json["quantity"]
732
749
  total_amount = parsed_json["total_amount"]
750
+ if parsed_json["employee"].nil?
751
+ employee = nil
752
+ else
753
+ employee = parsed_json["employee"].to_json
754
+ employee = Merge::Accounting::InvoiceLineItemRequestEmployee.from_json(json_object: employee)
755
+ end
733
756
  currency = parsed_json["currency"]
734
757
  exchange_rate = parsed_json["exchange_rate"]
735
758
  if parsed_json["item"].nil?
@@ -744,6 +767,7 @@ module Merge
744
767
  account = parsed_json["account"].to_json
745
768
  account = Merge::Accounting::InvoiceLineItemRequestAccount.from_json(json_object: account)
746
769
  end
770
+ tax_rate = parsed_json["tax_rate"]
747
771
  if parsed_json["tracking_category"].nil?
748
772
  tracking_category = nil
749
773
  else
@@ -757,21 +781,28 @@ module Merge
757
781
  company = parsed_json["company"]
758
782
  integration_params = parsed_json["integration_params"]
759
783
  linked_account_params = parsed_json["linked_account_params"]
784
+ remote_fields = parsed_json["remote_fields"]&.map do |item|
785
+ item = item.to_json
786
+ Merge::Accounting::RemoteFieldRequest.from_json(json_object: item)
787
+ end
760
788
  new(
761
789
  remote_id: remote_id,
762
790
  description: description,
763
791
  unit_price: unit_price,
764
792
  quantity: quantity,
765
793
  total_amount: total_amount,
794
+ employee: employee,
766
795
  currency: currency,
767
796
  exchange_rate: exchange_rate,
768
797
  item: item,
769
798
  account: account,
799
+ tax_rate: tax_rate,
770
800
  tracking_category: tracking_category,
771
801
  tracking_categories: tracking_categories,
772
802
  company: company,
773
803
  integration_params: integration_params,
774
804
  linked_account_params: linked_account_params,
805
+ remote_fields: remote_fields,
775
806
  additional_properties: struct
776
807
  )
777
808
  end
@@ -795,15 +826,18 @@ module Merge
795
826
  obj.unit_price&.is_a?(Float) != false || raise("Passed value for field obj.unit_price is not the expected type, validation failed.")
796
827
  obj.quantity&.is_a?(Float) != false || raise("Passed value for field obj.quantity is not the expected type, validation failed.")
797
828
  obj.total_amount&.is_a?(Float) != false || raise("Passed value for field obj.total_amount is not the expected type, validation failed.")
798
- obj.currency&.is_a?(Merge::Accounting::CurrencyEnum) != false || raise("Passed value for field obj.currency is not the expected type, validation failed.")
829
+ obj.employee.nil? || Merge::Accounting::InvoiceLineItemRequestEmployee.validate_raw(obj: obj.employee)
830
+ obj.currency&.is_a?(Merge::Accounting::TransactionCurrencyEnum) != false || raise("Passed value for field obj.currency is not the expected type, validation failed.")
799
831
  obj.exchange_rate&.is_a?(String) != false || raise("Passed value for field obj.exchange_rate is not the expected type, validation failed.")
800
832
  obj.item.nil? || Merge::Accounting::InvoiceLineItemRequestItem.validate_raw(obj: obj.item)
801
833
  obj.account.nil? || Merge::Accounting::InvoiceLineItemRequestAccount.validate_raw(obj: obj.account)
834
+ obj.tax_rate&.is_a?(String) != false || raise("Passed value for field obj.tax_rate is not the expected type, validation failed.")
802
835
  obj.tracking_category.nil? || Merge::Accounting::InvoiceLineItemRequestTrackingCategory.validate_raw(obj: obj.tracking_category)
803
836
  obj.tracking_categories&.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.")
804
837
  obj.company&.is_a?(String) != false || raise("Passed value for field obj.company is not the expected type, validation failed.")
805
838
  obj.integration_params&.is_a?(Hash) != false || raise("Passed value for field obj.integration_params is not the expected type, validation failed.")
806
839
  obj.linked_account_params&.is_a?(Hash) != false || raise("Passed value for field obj.linked_account_params is not the expected type, validation failed.")
840
+ obj.remote_fields&.is_a?(Array) != false || raise("Passed value for field obj.remote_fields is not the expected type, validation failed.")
807
841
  end
808
842
  end
809
843
  end