merge_accounting_client 1.0.4 → 1.0.5

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 (309) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +61 -5
  3. data/docs/Account.md +12 -8
  4. data/docs/AccountEndpointRequest.md +18 -0
  5. data/docs/AccountIntegration.md +1 -1
  6. data/docs/AccountRequest.md +40 -0
  7. data/docs/AccountResponse.md +24 -0
  8. data/docs/AccountingAttachment.md +7 -3
  9. data/docs/AccountingAttachmentEndpointRequest.md +18 -0
  10. data/docs/AccountingAttachmentRequest.md +26 -0
  11. data/docs/AccountingAttachmentResponse.md +24 -0
  12. data/docs/AccountingPhoneNumberRequest.md +24 -0
  13. data/docs/AccountsApi.md +163 -5
  14. data/docs/Address.md +5 -3
  15. data/docs/AddressesApi.md +4 -2
  16. data/docs/AttachmentsApi.md +154 -0
  17. data/docs/BalanceSheet.md +11 -7
  18. data/docs/BalanceSheetsApi.md +2 -0
  19. data/docs/CashFlowStatement.md +11 -7
  20. data/docs/CashFlowStatementsApi.md +2 -0
  21. data/docs/CommonModelScopeData.md +20 -0
  22. data/docs/CommonModelScopes.md +20 -0
  23. data/docs/CommonModelScopesApi.md +157 -0
  24. data/docs/CommonModelScopesBodyRequest.md +22 -0
  25. data/docs/CommonModelScopesDisabledModels.md +26 -0
  26. data/docs/CommonModelScopesDisabledModelsEnabledActionsEnum.md +15 -0
  27. data/docs/CommonModelScopesPostInnerDeserializerRequest.md +22 -0
  28. data/docs/CommonModelScopesUpdateSerializer.md +18 -0
  29. data/docs/CompanyInfo.md +6 -4
  30. data/docs/CompanyInfoApi.md +0 -4
  31. data/docs/ConditionSchema.md +30 -0
  32. data/docs/ConditionTypeEnum.md +15 -0
  33. data/docs/Contact.md +8 -4
  34. data/docs/ContactEndpointRequest.md +18 -0
  35. data/docs/ContactRequest.md +40 -0
  36. data/docs/ContactResponse.md +24 -0
  37. data/docs/ContactsApi.md +163 -9
  38. data/docs/CreditNote.md +12 -8
  39. data/docs/CreditNoteLineItem.md +7 -3
  40. data/docs/CreditNotesApi.md +15 -9
  41. data/docs/DataPassthroughRequest.md +1 -1
  42. data/docs/EnabledActionsEnum.md +15 -0
  43. data/docs/EndUserDetailsRequest.md +3 -1
  44. data/docs/Expense.md +18 -12
  45. data/docs/ExpenseEndpointRequest.md +18 -0
  46. data/docs/ExpenseLine.md +11 -5
  47. data/docs/ExpenseLineRequest.md +38 -0
  48. data/docs/ExpenseRequest.md +38 -0
  49. data/docs/ExpenseResponse.md +24 -0
  50. data/docs/ExpensesApi.md +159 -5
  51. data/docs/IncomeStatement.md +15 -11
  52. data/docs/IncomeStatementsApi.md +2 -0
  53. data/docs/Invoice.md +21 -15
  54. data/docs/InvoiceLineItem.md +15 -5
  55. data/docs/InvoiceLineItemRequest.md +15 -3
  56. data/docs/InvoiceRequest.md +17 -11
  57. data/docs/InvoicesApi.md +16 -10
  58. data/docs/Issue.md +9 -7
  59. data/docs/IssuesApi.md +2 -2
  60. data/docs/Item.md +11 -7
  61. data/docs/ItemsApi.md +11 -9
  62. data/docs/JournalEntriesApi.md +7 -5
  63. data/docs/JournalEntry.md +18 -10
  64. data/docs/JournalEntryRequest.md +14 -8
  65. data/docs/JournalLine.md +6 -4
  66. data/docs/JournalLineRequest.md +10 -4
  67. data/docs/LinkToken.md +1 -1
  68. data/docs/LinkedAccountCondition.md +28 -0
  69. data/docs/LinkedAccountConditionRequest.md +22 -0
  70. data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
  71. data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
  72. data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
  73. data/docs/LinkedAccountsApi.md +2 -2
  74. data/docs/MetaResponse.md +2 -0
  75. data/docs/MultipartFormFieldRequest.md +1 -1
  76. data/docs/OperatorSchema.md +20 -0
  77. data/docs/PaginatedConditionSchemaList.md +22 -0
  78. data/docs/Payment.md +14 -6
  79. data/docs/PaymentEndpointRequest.md +18 -0
  80. data/docs/PaymentRequest.md +34 -0
  81. data/docs/PaymentResponse.md +24 -0
  82. data/docs/PaymentsApi.md +159 -5
  83. data/docs/PostingStatusEnum.md +15 -0
  84. data/docs/PurchaseOrder.md +19 -13
  85. data/docs/PurchaseOrderEndpointRequest.md +18 -0
  86. data/docs/PurchaseOrderLineItem.md +10 -2
  87. data/docs/PurchaseOrderLineItemRequest.md +44 -0
  88. data/docs/PurchaseOrderRequest.md +44 -0
  89. data/docs/PurchaseOrderResponse.md +24 -0
  90. data/docs/PurchaseOrdersApi.md +167 -9
  91. data/docs/ReportItem.md +3 -1
  92. data/docs/SelectiveSyncApi.md +233 -0
  93. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  94. data/docs/SyncStatus.md +5 -3
  95. data/docs/TaxRate.md +11 -7
  96. data/docs/TaxRatesApi.md +2 -0
  97. data/docs/TrackingCategoriesApi.md +11 -5
  98. data/docs/TrackingCategory.md +13 -9
  99. data/docs/Transaction.md +20 -14
  100. data/docs/TransactionLineItem.md +9 -3
  101. data/docs/TransactionsApi.md +7 -5
  102. data/docs/VendorCredit.md +13 -7
  103. data/docs/VendorCreditLine.md +6 -2
  104. data/docs/VendorCreditsApi.md +7 -5
  105. data/lib/merge_accounting_client/api/accounts_api.rb +159 -4
  106. data/lib/merge_accounting_client/api/addresses_api.rb +9 -2
  107. data/lib/merge_accounting_client/api/attachments_api.rb +141 -0
  108. data/lib/merge_accounting_client/api/balance_sheets_api.rb +3 -0
  109. data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +3 -0
  110. data/lib/merge_accounting_client/api/common_model_scopes_api.rb +146 -0
  111. data/lib/merge_accounting_client/api/company_info_api.rb +0 -14
  112. data/lib/merge_accounting_client/api/contacts_api.rb +159 -18
  113. data/lib/merge_accounting_client/api/credit_notes_api.rb +27 -18
  114. data/lib/merge_accounting_client/api/expenses_api.rb +147 -14
  115. data/lib/merge_accounting_client/api/income_statements_api.rb +3 -0
  116. data/lib/merge_accounting_client/api/invoices_api.rb +29 -20
  117. data/lib/merge_accounting_client/api/issues_api.rb +2 -2
  118. data/lib/merge_accounting_client/api/items_api.rb +21 -18
  119. data/lib/merge_accounting_client/api/journal_entries_api.rb +9 -14
  120. data/lib/merge_accounting_client/api/linked_accounts_api.rb +3 -3
  121. data/lib/merge_accounting_client/api/payments_api.rb +147 -14
  122. data/lib/merge_accounting_client/api/purchase_orders_api.rb +165 -18
  123. data/lib/merge_accounting_client/api/selective_sync_api.rb +225 -0
  124. data/lib/merge_accounting_client/api/tax_rates_api.rb +3 -0
  125. data/lib/merge_accounting_client/api/tracking_categories_api.rb +21 -4
  126. data/lib/merge_accounting_client/api/transactions_api.rb +9 -14
  127. data/lib/merge_accounting_client/api/vendor_credits_api.rb +9 -14
  128. data/lib/merge_accounting_client/models/account.rb +45 -21
  129. data/lib/merge_accounting_client/models/account_endpoint_request.rb +223 -0
  130. data/lib/merge_accounting_client/models/account_integration.rb +1 -1
  131. data/lib/merge_accounting_client/models/account_request.rb +344 -0
  132. data/lib/merge_accounting_client/models/account_response.rb +266 -0
  133. data/lib/merge_accounting_client/models/accounting_attachment.rb +39 -16
  134. data/lib/merge_accounting_client/models/accounting_attachment_endpoint_request.rb +223 -0
  135. data/lib/merge_accounting_client/models/accounting_attachment_request.rb +282 -0
  136. data/lib/merge_accounting_client/models/accounting_attachment_response.rb +266 -0
  137. data/lib/merge_accounting_client/models/accounting_phone_number_request.rb +256 -0
  138. data/lib/merge_accounting_client/models/address.rb +16 -5
  139. data/lib/merge_accounting_client/models/balance_sheet.rb +41 -18
  140. data/lib/merge_accounting_client/models/cash_flow_statement.rb +41 -18
  141. data/lib/merge_accounting_client/models/categories_enum.rb +3 -1
  142. data/lib/merge_accounting_client/models/category_enum.rb +3 -1
  143. data/lib/merge_accounting_client/models/common_model_scope_data.rb +234 -0
  144. data/lib/merge_accounting_client/models/common_model_scopes.rb +234 -0
  145. data/lib/merge_accounting_client/models/common_model_scopes_body_request.rb +274 -0
  146. data/lib/merge_accounting_client/models/common_model_scopes_disabled_models.rb +283 -0
  147. data/lib/merge_accounting_client/models/common_model_scopes_disabled_models_enabled_actions_enum.rb +45 -0
  148. data/lib/merge_accounting_client/models/common_model_scopes_post_inner_deserializer_request.rb +274 -0
  149. data/lib/merge_accounting_client/models/common_model_scopes_update_serializer.rb +226 -0
  150. data/lib/merge_accounting_client/models/company_info.rb +29 -17
  151. data/lib/merge_accounting_client/models/condition_schema.rb +298 -0
  152. data/lib/merge_accounting_client/models/condition_type_enum.rb +50 -0
  153. data/lib/merge_accounting_client/models/contact.rb +41 -18
  154. data/lib/merge_accounting_client/models/contact_endpoint_request.rb +223 -0
  155. data/lib/merge_accounting_client/models/contact_request.rb +346 -0
  156. data/lib/merge_accounting_client/models/contact_response.rb +266 -0
  157. data/lib/merge_accounting_client/models/credit_note.rb +43 -20
  158. data/lib/merge_accounting_client/models/credit_note_line_item.rb +40 -12
  159. data/lib/merge_accounting_client/models/data_passthrough_request.rb +1 -0
  160. data/lib/merge_accounting_client/models/enabled_actions_enum.rb +45 -0
  161. data/lib/merge_accounting_client/models/end_user_details_request.rb +18 -5
  162. data/lib/merge_accounting_client/models/expense.rb +91 -38
  163. data/lib/merge_accounting_client/models/expense_endpoint_request.rb +223 -0
  164. data/lib/merge_accounting_client/models/expense_line.rb +51 -17
  165. data/lib/merge_accounting_client/models/expense_line_request.rb +332 -0
  166. data/lib/merge_accounting_client/models/expense_request.rb +350 -0
  167. data/lib/merge_accounting_client/models/expense_response.rb +266 -0
  168. data/lib/merge_accounting_client/models/income_statement.rb +44 -21
  169. data/lib/merge_accounting_client/models/invoice.rb +94 -42
  170. data/lib/merge_accounting_client/models/invoice_line_item.rb +99 -26
  171. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +102 -17
  172. data/lib/merge_accounting_client/models/invoice_request.rb +85 -32
  173. data/lib/merge_accounting_client/models/issue.rb +15 -4
  174. data/lib/merge_accounting_client/models/item.rb +44 -19
  175. data/lib/merge_accounting_client/models/journal_entry.rb +100 -38
  176. data/lib/merge_accounting_client/models/journal_entry_request.rb +92 -40
  177. data/lib/merge_accounting_client/models/journal_line.rb +28 -17
  178. data/lib/merge_accounting_client/models/journal_line_request.rb +52 -17
  179. data/lib/merge_accounting_client/models/link_token.rb +0 -5
  180. data/lib/merge_accounting_client/models/linked_account_condition.rb +282 -0
  181. data/lib/merge_accounting_client/models/linked_account_condition_request.rb +269 -0
  182. data/lib/merge_accounting_client/models/linked_account_selective_sync_configuration.rb +221 -0
  183. data/lib/merge_accounting_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
  184. data/lib/merge_accounting_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
  185. data/lib/merge_accounting_client/models/meta_response.rb +12 -1
  186. data/lib/merge_accounting_client/models/multipart_form_field_request.rb +1 -1
  187. data/lib/merge_accounting_client/models/operator_schema.rb +229 -0
  188. data/lib/merge_accounting_client/models/paginated_condition_schema_list.rb +240 -0
  189. data/lib/merge_accounting_client/models/payment.rb +82 -18
  190. data/lib/merge_accounting_client/models/payment_endpoint_request.rb +223 -0
  191. data/lib/merge_accounting_client/models/payment_request.rb +328 -0
  192. data/lib/merge_accounting_client/models/payment_response.rb +266 -0
  193. data/lib/merge_accounting_client/models/posting_status_enum.rb +45 -0
  194. data/lib/merge_accounting_client/models/purchase_order.rb +92 -41
  195. data/lib/merge_accounting_client/models/purchase_order_endpoint_request.rb +223 -0
  196. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +79 -12
  197. data/lib/merge_accounting_client/models/purchase_order_line_item_request.rb +422 -0
  198. data/lib/merge_accounting_client/models/purchase_order_request.rb +383 -0
  199. data/lib/merge_accounting_client/models/purchase_order_response.rb +266 -0
  200. data/lib/merge_accounting_client/models/report_item.rb +15 -4
  201. data/lib/merge_accounting_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  202. data/lib/merge_accounting_client/models/sync_status.rb +13 -4
  203. data/lib/merge_accounting_client/models/tax_rate.rb +59 -36
  204. data/lib/merge_accounting_client/models/tracking_category.rb +62 -38
  205. data/lib/merge_accounting_client/models/transaction.rb +97 -46
  206. data/lib/merge_accounting_client/models/transaction_line_item.rb +75 -19
  207. data/lib/merge_accounting_client/models/vendor_credit.rb +70 -18
  208. data/lib/merge_accounting_client/models/vendor_credit_line.rb +34 -6
  209. data/lib/merge_accounting_client/version.rb +1 -1
  210. data/lib/merge_accounting_client.rb +42 -1
  211. data/spec/api/accounts_api_spec.rb +30 -2
  212. data/spec/api/addresses_api_spec.rb +2 -1
  213. data/spec/api/attachments_api_spec.rb +26 -0
  214. data/spec/api/balance_sheets_api_spec.rb +1 -0
  215. data/spec/api/cash_flow_statements_api_spec.rb +1 -0
  216. data/spec/api/common_model_scopes_api_spec.rb +58 -0
  217. data/spec/api/company_info_api_spec.rb +0 -2
  218. data/spec/api/contacts_api_spec.rb +30 -4
  219. data/spec/api/credit_notes_api_spec.rb +7 -4
  220. data/spec/api/expenses_api_spec.rb +28 -2
  221. data/spec/api/income_statements_api_spec.rb +1 -0
  222. data/spec/api/invoices_api_spec.rb +8 -5
  223. data/spec/api/issues_api_spec.rb +1 -1
  224. data/spec/api/items_api_spec.rb +5 -4
  225. data/spec/api/journal_entries_api_spec.rb +3 -2
  226. data/spec/api/linked_accounts_api_spec.rb +1 -1
  227. data/spec/api/payments_api_spec.rb +28 -2
  228. data/spec/api/purchase_orders_api_spec.rb +32 -4
  229. data/spec/api/selective_sync_api_spec.rb +72 -0
  230. data/spec/api/tax_rates_api_spec.rb +1 -0
  231. data/spec/api/tracking_categories_api_spec.rb +5 -2
  232. data/spec/api/transactions_api_spec.rb +3 -2
  233. data/spec/api/vendor_credits_api_spec.rb +3 -2
  234. data/spec/models/account_endpoint_request_spec.rb +34 -0
  235. data/spec/models/account_request_spec.rb +100 -0
  236. data/spec/models/account_response_spec.rb +52 -0
  237. data/spec/models/account_spec.rb +18 -6
  238. data/spec/models/accounting_attachment_endpoint_request_spec.rb +34 -0
  239. data/spec/models/accounting_attachment_request_spec.rb +58 -0
  240. data/spec/models/accounting_attachment_response_spec.rb +52 -0
  241. data/spec/models/accounting_attachment_spec.rb +15 -3
  242. data/spec/models/accounting_phone_number_request_spec.rb +52 -0
  243. data/spec/models/address_spec.rb +6 -0
  244. data/spec/models/balance_sheet_spec.rb +15 -3
  245. data/spec/models/cash_flow_statement_spec.rb +15 -3
  246. data/spec/models/common_model_scope_data_spec.rb +40 -0
  247. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  248. data/spec/models/common_model_scopes_disabled_models_enabled_actions_enum_spec.rb +28 -0
  249. data/spec/models/common_model_scopes_disabled_models_spec.rb +58 -0
  250. data/spec/models/common_model_scopes_post_inner_deserializer_request_spec.rb +46 -0
  251. data/spec/models/common_model_scopes_spec.rb +40 -0
  252. data/spec/models/common_model_scopes_update_serializer_spec.rb +34 -0
  253. data/spec/models/company_info_spec.rb +12 -6
  254. data/spec/models/condition_schema_spec.rb +70 -0
  255. data/spec/models/condition_type_enum_spec.rb +28 -0
  256. data/spec/models/contact_endpoint_request_spec.rb +34 -0
  257. data/spec/models/contact_request_spec.rb +100 -0
  258. data/spec/models/contact_response_spec.rb +52 -0
  259. data/spec/models/contact_spec.rb +18 -6
  260. data/spec/models/credit_note_line_item_spec.rb +12 -0
  261. data/spec/models/credit_note_spec.rb +17 -5
  262. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  263. data/spec/models/end_user_details_request_spec.rb +6 -0
  264. data/spec/models/expense_endpoint_request_spec.rb +34 -0
  265. data/spec/models/expense_line_request_spec.rb +94 -0
  266. data/spec/models/expense_line_spec.rb +22 -4
  267. data/spec/models/expense_request_spec.rb +94 -0
  268. data/spec/models/expense_response_spec.rb +52 -0
  269. data/spec/models/expense_spec.rb +30 -12
  270. data/spec/models/income_statement_spec.rb +15 -3
  271. data/spec/models/invoice_line_item_request_spec.rb +41 -5
  272. data/spec/models/invoice_line_item_spec.rb +36 -6
  273. data/spec/models/invoice_request_spec.rb +26 -8
  274. data/spec/models/invoice_spec.rb +34 -16
  275. data/spec/models/issue_spec.rb +6 -0
  276. data/spec/models/item_spec.rb +18 -6
  277. data/spec/models/journal_entry_request_spec.rb +25 -7
  278. data/spec/models/journal_entry_spec.rb +35 -11
  279. data/spec/models/journal_line_request_spec.rb +22 -4
  280. data/spec/models/journal_line_spec.rb +10 -4
  281. data/spec/models/linked_account_condition_request_spec.rb +46 -0
  282. data/spec/models/linked_account_condition_spec.rb +64 -0
  283. data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
  284. data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
  285. data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
  286. data/spec/models/meta_response_spec.rb +6 -0
  287. data/spec/models/operator_schema_spec.rb +40 -0
  288. data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
  289. data/spec/models/payment_endpoint_request_spec.rb +34 -0
  290. data/spec/models/payment_request_spec.rb +82 -0
  291. data/spec/models/payment_response_spec.rb +52 -0
  292. data/spec/models/payment_spec.rb +28 -4
  293. data/spec/models/posting_status_enum_spec.rb +28 -0
  294. data/spec/models/purchase_order_endpoint_request_spec.rb +34 -0
  295. data/spec/models/purchase_order_line_item_request_spec.rb +112 -0
  296. data/spec/models/purchase_order_line_item_spec.rb +24 -0
  297. data/spec/models/purchase_order_request_spec.rb +112 -0
  298. data/spec/models/purchase_order_response_spec.rb +52 -0
  299. data/spec/models/purchase_order_spec.rb +34 -16
  300. data/spec/models/report_item_spec.rb +6 -0
  301. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  302. data/spec/models/sync_status_spec.rb +6 -0
  303. data/spec/models/tax_rate_spec.rb +19 -7
  304. data/spec/models/tracking_category_spec.rb +20 -8
  305. data/spec/models/transaction_line_item_spec.rb +19 -1
  306. data/spec/models/transaction_spec.rb +30 -12
  307. data/spec/models/vendor_credit_line_spec.rb +12 -0
  308. data/spec/models/vendor_credit_spec.rb +24 -6
  309. metadata +283 -115
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bbe7060caa4de92f702eb217eea5ca0808733b557690059d0ff8c8e0db32ae9b
4
- data.tar.gz: 5c989fa232657f7891845df726ab8b5992f27b0cea7386afa97983002abcc7b6
3
+ metadata.gz: c1470079b350d2f9265be2bcf822ad0e1107150ed3b482e40d33eeb4e27b45c5
4
+ data.tar.gz: 6069781510fc4f13f9795596e6bfe4b6903246f5b2fdba393bbf29737c5ead44
5
5
  SHA512:
6
- metadata.gz: cfc8a1b800e086e33167520488e2a58724979da4798cb667a0a56d9f08a1b7270fccceafe067d9d815e5707251fe4315de074738afa82e44f872a54b104341fc
7
- data.tar.gz: e49766984ed2d8dcc18040cc227c58b69d136b375d990aae614de621c078fc660735487a4e5243d03e42fe075e8e2c61b320bd3f9454e86d2ff7c404837b8baa
6
+ metadata.gz: ab38cecff562fb6d280e5da05aa5425967a645fe5fd48c6d3fdb615988a1312e0ddbe4d8c5e3fa404674ed42d918dde2852a02298890c07a64a4dc9a46a0aa07
7
+ data.tar.gz: c8ea6cca5deb2c0bc3c0c471e557f480346f17fd172cd72f01169bafef42734361d9d5276a5e53d9d967d6fe23ae386fb9fb00f74f24b1683fd0dff0f2ca8452
data/README.md CHANGED
@@ -7,7 +7,7 @@ The unified API for building rich integrations with multiple Accounting & Financ
7
7
  This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
8
8
 
9
9
  - API version: 1.0
10
- - Package version: 1.0.4
10
+ - Package version: 1.0.5
11
11
  - Build package: org.openapitools.codegen.languages.RubyClientCodegen
12
12
  For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
13
13
 
@@ -24,16 +24,16 @@ gem build merge_accounting_client.gemspec
24
24
  Then either install the gem locally:
25
25
 
26
26
  ```shell
27
- gem install ./merge_accounting_client-1.0.4.gem
27
+ gem install ./merge_accounting_client-1.0.5.gem
28
28
  ```
29
29
 
30
- (for development, run `gem install --dev ./merge_accounting_client-1.0.4.gem` to install the development dependencies)
30
+ (for development, run `gem install --dev ./merge_accounting_client-1.0.5.gem` to install the development dependencies)
31
31
 
32
32
  or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
33
33
 
34
34
  Finally add this to the Gemfile:
35
35
 
36
- gem 'merge_accounting_client', '~> 1.0.4'
36
+ gem 'merge_accounting_client', '~> 1.0.5'
37
37
 
38
38
  ### Install from Git
39
39
 
@@ -85,24 +85,34 @@ Class | Method | HTTP request | Description
85
85
  ------------ | ------------- | ------------- | -------------
86
86
  *MergeAccountingClient::AccountDetailsApi* | [**account_details_retrieve**](docs/AccountDetailsApi.md#account_details_retrieve) | **GET** /account-details |
87
87
  *MergeAccountingClient::AccountTokenApi* | [**account_token_retrieve**](docs/AccountTokenApi.md#account_token_retrieve) | **GET** /account-token/{public_token} |
88
+ *MergeAccountingClient::AccountsApi* | [**accounts_create**](docs/AccountsApi.md#accounts_create) | **POST** /accounts |
88
89
  *MergeAccountingClient::AccountsApi* | [**accounts_list**](docs/AccountsApi.md#accounts_list) | **GET** /accounts |
90
+ *MergeAccountingClient::AccountsApi* | [**accounts_meta_post_retrieve**](docs/AccountsApi.md#accounts_meta_post_retrieve) | **GET** /accounts/meta/post |
89
91
  *MergeAccountingClient::AccountsApi* | [**accounts_retrieve**](docs/AccountsApi.md#accounts_retrieve) | **GET** /accounts/{id} |
90
92
  *MergeAccountingClient::AddressesApi* | [**addresses_retrieve**](docs/AddressesApi.md#addresses_retrieve) | **GET** /addresses/{id} |
93
+ *MergeAccountingClient::AttachmentsApi* | [**attachments_create**](docs/AttachmentsApi.md#attachments_create) | **POST** /attachments |
91
94
  *MergeAccountingClient::AttachmentsApi* | [**attachments_list**](docs/AttachmentsApi.md#attachments_list) | **GET** /attachments |
95
+ *MergeAccountingClient::AttachmentsApi* | [**attachments_meta_post_retrieve**](docs/AttachmentsApi.md#attachments_meta_post_retrieve) | **GET** /attachments/meta/post |
92
96
  *MergeAccountingClient::AttachmentsApi* | [**attachments_retrieve**](docs/AttachmentsApi.md#attachments_retrieve) | **GET** /attachments/{id} |
93
97
  *MergeAccountingClient::AvailableActionsApi* | [**available_actions_retrieve**](docs/AvailableActionsApi.md#available_actions_retrieve) | **GET** /available-actions |
94
98
  *MergeAccountingClient::BalanceSheetsApi* | [**balance_sheets_list**](docs/BalanceSheetsApi.md#balance_sheets_list) | **GET** /balance-sheets |
95
99
  *MergeAccountingClient::BalanceSheetsApi* | [**balance_sheets_retrieve**](docs/BalanceSheetsApi.md#balance_sheets_retrieve) | **GET** /balance-sheets/{id} |
96
100
  *MergeAccountingClient::CashFlowStatementsApi* | [**cash_flow_statements_list**](docs/CashFlowStatementsApi.md#cash_flow_statements_list) | **GET** /cash-flow-statements |
97
101
  *MergeAccountingClient::CashFlowStatementsApi* | [**cash_flow_statements_retrieve**](docs/CashFlowStatementsApi.md#cash_flow_statements_retrieve) | **GET** /cash-flow-statements/{id} |
102
+ *MergeAccountingClient::CommonModelScopesApi* | [**common_model_scopes_create**](docs/CommonModelScopesApi.md#common_model_scopes_create) | **POST** /common-model-scopes |
103
+ *MergeAccountingClient::CommonModelScopesApi* | [**common_model_scopes_retrieve**](docs/CommonModelScopesApi.md#common_model_scopes_retrieve) | **GET** /common-model-scopes |
98
104
  *MergeAccountingClient::CompanyInfoApi* | [**company_info_list**](docs/CompanyInfoApi.md#company_info_list) | **GET** /company-info |
99
105
  *MergeAccountingClient::CompanyInfoApi* | [**company_info_retrieve**](docs/CompanyInfoApi.md#company_info_retrieve) | **GET** /company-info/{id} |
106
+ *MergeAccountingClient::ContactsApi* | [**contacts_create**](docs/ContactsApi.md#contacts_create) | **POST** /contacts |
100
107
  *MergeAccountingClient::ContactsApi* | [**contacts_list**](docs/ContactsApi.md#contacts_list) | **GET** /contacts |
108
+ *MergeAccountingClient::ContactsApi* | [**contacts_meta_post_retrieve**](docs/ContactsApi.md#contacts_meta_post_retrieve) | **GET** /contacts/meta/post |
101
109
  *MergeAccountingClient::ContactsApi* | [**contacts_retrieve**](docs/ContactsApi.md#contacts_retrieve) | **GET** /contacts/{id} |
102
110
  *MergeAccountingClient::CreditNotesApi* | [**credit_notes_list**](docs/CreditNotesApi.md#credit_notes_list) | **GET** /credit-notes |
103
111
  *MergeAccountingClient::CreditNotesApi* | [**credit_notes_retrieve**](docs/CreditNotesApi.md#credit_notes_retrieve) | **GET** /credit-notes/{id} |
104
112
  *MergeAccountingClient::DeleteAccountApi* | [**delete_account_create**](docs/DeleteAccountApi.md#delete_account_create) | **POST** /delete-account |
113
+ *MergeAccountingClient::ExpensesApi* | [**expenses_create**](docs/ExpensesApi.md#expenses_create) | **POST** /expenses |
105
114
  *MergeAccountingClient::ExpensesApi* | [**expenses_list**](docs/ExpensesApi.md#expenses_list) | **GET** /expenses |
115
+ *MergeAccountingClient::ExpensesApi* | [**expenses_meta_post_retrieve**](docs/ExpensesApi.md#expenses_meta_post_retrieve) | **GET** /expenses/meta/post |
106
116
  *MergeAccountingClient::ExpensesApi* | [**expenses_retrieve**](docs/ExpensesApi.md#expenses_retrieve) | **GET** /expenses/{id} |
107
117
  *MergeAccountingClient::ForceResyncApi* | [**sync_status_resync_create**](docs/ForceResyncApi.md#sync_status_resync_create) | **POST** /sync-status/resync |
108
118
  *MergeAccountingClient::GenerateKeyApi* | [**generate_key_create**](docs/GenerateKeyApi.md#generate_key_create) | **POST** /generate-key |
@@ -123,12 +133,19 @@ Class | Method | HTTP request | Description
123
133
  *MergeAccountingClient::LinkTokenApi* | [**link_token_create**](docs/LinkTokenApi.md#link_token_create) | **POST** /link-token |
124
134
  *MergeAccountingClient::LinkedAccountsApi* | [**linked_accounts_list**](docs/LinkedAccountsApi.md#linked_accounts_list) | **GET** /linked-accounts |
125
135
  *MergeAccountingClient::PassthroughApi* | [**passthrough_create**](docs/PassthroughApi.md#passthrough_create) | **POST** /passthrough |
136
+ *MergeAccountingClient::PaymentsApi* | [**payments_create**](docs/PaymentsApi.md#payments_create) | **POST** /payments |
126
137
  *MergeAccountingClient::PaymentsApi* | [**payments_list**](docs/PaymentsApi.md#payments_list) | **GET** /payments |
138
+ *MergeAccountingClient::PaymentsApi* | [**payments_meta_post_retrieve**](docs/PaymentsApi.md#payments_meta_post_retrieve) | **GET** /payments/meta/post |
127
139
  *MergeAccountingClient::PaymentsApi* | [**payments_retrieve**](docs/PaymentsApi.md#payments_retrieve) | **GET** /payments/{id} |
128
140
  *MergeAccountingClient::PhoneNumbersApi* | [**phone_numbers_retrieve**](docs/PhoneNumbersApi.md#phone_numbers_retrieve) | **GET** /phone-numbers/{id} |
141
+ *MergeAccountingClient::PurchaseOrdersApi* | [**purchase_orders_create**](docs/PurchaseOrdersApi.md#purchase_orders_create) | **POST** /purchase-orders |
129
142
  *MergeAccountingClient::PurchaseOrdersApi* | [**purchase_orders_list**](docs/PurchaseOrdersApi.md#purchase_orders_list) | **GET** /purchase-orders |
143
+ *MergeAccountingClient::PurchaseOrdersApi* | [**purchase_orders_meta_post_retrieve**](docs/PurchaseOrdersApi.md#purchase_orders_meta_post_retrieve) | **GET** /purchase-orders/meta/post |
130
144
  *MergeAccountingClient::PurchaseOrdersApi* | [**purchase_orders_retrieve**](docs/PurchaseOrdersApi.md#purchase_orders_retrieve) | **GET** /purchase-orders/{id} |
131
145
  *MergeAccountingClient::RegenerateKeyApi* | [**regenerate_key_create**](docs/RegenerateKeyApi.md#regenerate_key_create) | **POST** /regenerate-key |
146
+ *MergeAccountingClient::SelectiveSyncApi* | [**selective_sync_configurations_list**](docs/SelectiveSyncApi.md#selective_sync_configurations_list) | **GET** /selective-sync/configurations |
147
+ *MergeAccountingClient::SelectiveSyncApi* | [**selective_sync_configurations_update**](docs/SelectiveSyncApi.md#selective_sync_configurations_update) | **PUT** /selective-sync/configurations |
148
+ *MergeAccountingClient::SelectiveSyncApi* | [**selective_sync_meta_list**](docs/SelectiveSyncApi.md#selective_sync_meta_list) | **GET** /selective-sync/meta |
132
149
  *MergeAccountingClient::SyncStatusApi* | [**sync_status_list**](docs/SyncStatusApi.md#sync_status_list) | **GET** /sync-status |
133
150
  *MergeAccountingClient::TaxRatesApi* | [**tax_rates_list**](docs/TaxRatesApi.md#tax_rates_list) | **GET** /tax-rates |
134
151
  *MergeAccountingClient::TaxRatesApi* | [**tax_rates_retrieve**](docs/TaxRatesApi.md#tax_rates_retrieve) | **GET** /tax-rates/{id} |
@@ -149,11 +166,18 @@ Class | Method | HTTP request | Description
149
166
  - [MergeAccountingClient::AccountDetailsAndActions](docs/AccountDetailsAndActions.md)
150
167
  - [MergeAccountingClient::AccountDetailsAndActionsIntegration](docs/AccountDetailsAndActionsIntegration.md)
151
168
  - [MergeAccountingClient::AccountDetailsAndActionsStatusEnum](docs/AccountDetailsAndActionsStatusEnum.md)
169
+ - [MergeAccountingClient::AccountEndpointRequest](docs/AccountEndpointRequest.md)
152
170
  - [MergeAccountingClient::AccountIntegration](docs/AccountIntegration.md)
171
+ - [MergeAccountingClient::AccountRequest](docs/AccountRequest.md)
172
+ - [MergeAccountingClient::AccountResponse](docs/AccountResponse.md)
153
173
  - [MergeAccountingClient::AccountStatusEnum](docs/AccountStatusEnum.md)
154
174
  - [MergeAccountingClient::AccountToken](docs/AccountToken.md)
155
175
  - [MergeAccountingClient::AccountingAttachment](docs/AccountingAttachment.md)
176
+ - [MergeAccountingClient::AccountingAttachmentEndpointRequest](docs/AccountingAttachmentEndpointRequest.md)
177
+ - [MergeAccountingClient::AccountingAttachmentRequest](docs/AccountingAttachmentRequest.md)
178
+ - [MergeAccountingClient::AccountingAttachmentResponse](docs/AccountingAttachmentResponse.md)
156
179
  - [MergeAccountingClient::AccountingPhoneNumber](docs/AccountingPhoneNumber.md)
180
+ - [MergeAccountingClient::AccountingPhoneNumberRequest](docs/AccountingPhoneNumberRequest.md)
157
181
  - [MergeAccountingClient::Address](docs/Address.md)
158
182
  - [MergeAccountingClient::AddressTypeEnum](docs/AddressTypeEnum.md)
159
183
  - [MergeAccountingClient::AvailableActions](docs/AvailableActions.md)
@@ -163,8 +187,20 @@ Class | Method | HTTP request | Description
163
187
  - [MergeAccountingClient::CategoryEnum](docs/CategoryEnum.md)
164
188
  - [MergeAccountingClient::CategoryTypeEnum](docs/CategoryTypeEnum.md)
165
189
  - [MergeAccountingClient::ClassificationEnum](docs/ClassificationEnum.md)
190
+ - [MergeAccountingClient::CommonModelScopeData](docs/CommonModelScopeData.md)
191
+ - [MergeAccountingClient::CommonModelScopes](docs/CommonModelScopes.md)
192
+ - [MergeAccountingClient::CommonModelScopesBodyRequest](docs/CommonModelScopesBodyRequest.md)
193
+ - [MergeAccountingClient::CommonModelScopesDisabledModels](docs/CommonModelScopesDisabledModels.md)
194
+ - [MergeAccountingClient::CommonModelScopesDisabledModelsEnabledActionsEnum](docs/CommonModelScopesDisabledModelsEnabledActionsEnum.md)
195
+ - [MergeAccountingClient::CommonModelScopesPostInnerDeserializerRequest](docs/CommonModelScopesPostInnerDeserializerRequest.md)
196
+ - [MergeAccountingClient::CommonModelScopesUpdateSerializer](docs/CommonModelScopesUpdateSerializer.md)
166
197
  - [MergeAccountingClient::CompanyInfo](docs/CompanyInfo.md)
198
+ - [MergeAccountingClient::ConditionSchema](docs/ConditionSchema.md)
199
+ - [MergeAccountingClient::ConditionTypeEnum](docs/ConditionTypeEnum.md)
167
200
  - [MergeAccountingClient::Contact](docs/Contact.md)
201
+ - [MergeAccountingClient::ContactEndpointRequest](docs/ContactEndpointRequest.md)
202
+ - [MergeAccountingClient::ContactRequest](docs/ContactRequest.md)
203
+ - [MergeAccountingClient::ContactResponse](docs/ContactResponse.md)
168
204
  - [MergeAccountingClient::CountryEnum](docs/CountryEnum.md)
169
205
  - [MergeAccountingClient::CreditNote](docs/CreditNote.md)
170
206
  - [MergeAccountingClient::CreditNoteLineItem](docs/CreditNoteLineItem.md)
@@ -173,11 +209,16 @@ Class | Method | HTTP request | Description
173
209
  - [MergeAccountingClient::DataPassthroughRequest](docs/DataPassthroughRequest.md)
174
210
  - [MergeAccountingClient::DebugModeLog](docs/DebugModeLog.md)
175
211
  - [MergeAccountingClient::DebugModelLogSummary](docs/DebugModelLogSummary.md)
212
+ - [MergeAccountingClient::EnabledActionsEnum](docs/EnabledActionsEnum.md)
176
213
  - [MergeAccountingClient::EncodingEnum](docs/EncodingEnum.md)
177
214
  - [MergeAccountingClient::EndUserDetailsRequest](docs/EndUserDetailsRequest.md)
178
215
  - [MergeAccountingClient::ErrorValidationProblem](docs/ErrorValidationProblem.md)
179
216
  - [MergeAccountingClient::Expense](docs/Expense.md)
217
+ - [MergeAccountingClient::ExpenseEndpointRequest](docs/ExpenseEndpointRequest.md)
180
218
  - [MergeAccountingClient::ExpenseLine](docs/ExpenseLine.md)
219
+ - [MergeAccountingClient::ExpenseLineRequest](docs/ExpenseLineRequest.md)
220
+ - [MergeAccountingClient::ExpenseRequest](docs/ExpenseRequest.md)
221
+ - [MergeAccountingClient::ExpenseResponse](docs/ExpenseResponse.md)
181
222
  - [MergeAccountingClient::GenerateRemoteKeyRequest](docs/GenerateRemoteKeyRequest.md)
182
223
  - [MergeAccountingClient::IncomeStatement](docs/IncomeStatement.md)
183
224
  - [MergeAccountingClient::Invoice](docs/Invoice.md)
@@ -197,17 +238,24 @@ Class | Method | HTTP request | Description
197
238
  - [MergeAccountingClient::JournalLine](docs/JournalLine.md)
198
239
  - [MergeAccountingClient::JournalLineRequest](docs/JournalLineRequest.md)
199
240
  - [MergeAccountingClient::LinkToken](docs/LinkToken.md)
241
+ - [MergeAccountingClient::LinkedAccountCondition](docs/LinkedAccountCondition.md)
242
+ - [MergeAccountingClient::LinkedAccountConditionRequest](docs/LinkedAccountConditionRequest.md)
243
+ - [MergeAccountingClient::LinkedAccountSelectiveSyncConfiguration](docs/LinkedAccountSelectiveSyncConfiguration.md)
244
+ - [MergeAccountingClient::LinkedAccountSelectiveSyncConfigurationListRequest](docs/LinkedAccountSelectiveSyncConfigurationListRequest.md)
245
+ - [MergeAccountingClient::LinkedAccountSelectiveSyncConfigurationRequest](docs/LinkedAccountSelectiveSyncConfigurationRequest.md)
200
246
  - [MergeAccountingClient::LinkedAccountStatus](docs/LinkedAccountStatus.md)
201
247
  - [MergeAccountingClient::MetaResponse](docs/MetaResponse.md)
202
248
  - [MergeAccountingClient::MethodEnum](docs/MethodEnum.md)
203
249
  - [MergeAccountingClient::ModelOperation](docs/ModelOperation.md)
204
250
  - [MergeAccountingClient::MultipartFormFieldRequest](docs/MultipartFormFieldRequest.md)
251
+ - [MergeAccountingClient::OperatorSchema](docs/OperatorSchema.md)
205
252
  - [MergeAccountingClient::PaginatedAccountDetailsAndActionsList](docs/PaginatedAccountDetailsAndActionsList.md)
206
253
  - [MergeAccountingClient::PaginatedAccountList](docs/PaginatedAccountList.md)
207
254
  - [MergeAccountingClient::PaginatedAccountingAttachmentList](docs/PaginatedAccountingAttachmentList.md)
208
255
  - [MergeAccountingClient::PaginatedBalanceSheetList](docs/PaginatedBalanceSheetList.md)
209
256
  - [MergeAccountingClient::PaginatedCashFlowStatementList](docs/PaginatedCashFlowStatementList.md)
210
257
  - [MergeAccountingClient::PaginatedCompanyInfoList](docs/PaginatedCompanyInfoList.md)
258
+ - [MergeAccountingClient::PaginatedConditionSchemaList](docs/PaginatedConditionSchemaList.md)
211
259
  - [MergeAccountingClient::PaginatedContactList](docs/PaginatedContactList.md)
212
260
  - [MergeAccountingClient::PaginatedCreditNoteList](docs/PaginatedCreditNoteList.md)
213
261
  - [MergeAccountingClient::PaginatedExpenseList](docs/PaginatedExpenseList.md)
@@ -224,8 +272,16 @@ Class | Method | HTTP request | Description
224
272
  - [MergeAccountingClient::PaginatedTransactionList](docs/PaginatedTransactionList.md)
225
273
  - [MergeAccountingClient::PaginatedVendorCreditList](docs/PaginatedVendorCreditList.md)
226
274
  - [MergeAccountingClient::Payment](docs/Payment.md)
275
+ - [MergeAccountingClient::PaymentEndpointRequest](docs/PaymentEndpointRequest.md)
276
+ - [MergeAccountingClient::PaymentRequest](docs/PaymentRequest.md)
277
+ - [MergeAccountingClient::PaymentResponse](docs/PaymentResponse.md)
278
+ - [MergeAccountingClient::PostingStatusEnum](docs/PostingStatusEnum.md)
227
279
  - [MergeAccountingClient::PurchaseOrder](docs/PurchaseOrder.md)
280
+ - [MergeAccountingClient::PurchaseOrderEndpointRequest](docs/PurchaseOrderEndpointRequest.md)
228
281
  - [MergeAccountingClient::PurchaseOrderLineItem](docs/PurchaseOrderLineItem.md)
282
+ - [MergeAccountingClient::PurchaseOrderLineItemRequest](docs/PurchaseOrderLineItemRequest.md)
283
+ - [MergeAccountingClient::PurchaseOrderRequest](docs/PurchaseOrderRequest.md)
284
+ - [MergeAccountingClient::PurchaseOrderResponse](docs/PurchaseOrderResponse.md)
229
285
  - [MergeAccountingClient::PurchaseOrderStatusEnum](docs/PurchaseOrderStatusEnum.md)
230
286
  - [MergeAccountingClient::RemoteData](docs/RemoteData.md)
231
287
  - [MergeAccountingClient::RemoteKey](docs/RemoteKey.md)
@@ -234,7 +290,7 @@ Class | Method | HTTP request | Description
234
290
  - [MergeAccountingClient::ReportItem](docs/ReportItem.md)
235
291
  - [MergeAccountingClient::RequestFormatEnum](docs/RequestFormatEnum.md)
236
292
  - [MergeAccountingClient::ResponseTypeEnum](docs/ResponseTypeEnum.md)
237
- - [MergeAccountingClient::StateEnum](docs/StateEnum.md)
293
+ - [MergeAccountingClient::SelectiveSyncConfigurationsUsageEnum](docs/SelectiveSyncConfigurationsUsageEnum.md)
238
294
  - [MergeAccountingClient::Status7d1Enum](docs/Status7d1Enum.md)
239
295
  - [MergeAccountingClient::SyncStatus](docs/SyncStatus.md)
240
296
  - [MergeAccountingClient::SyncStatusStatusEnum](docs/SyncStatusStatusEnum.md)
data/docs/Account.md CHANGED
@@ -6,17 +6,19 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
10
9
  | **name** | **String** | The account's name. | [optional] |
11
10
  | **description** | **String** | The account's description. | [optional] |
12
- | **classification** | [**ClassificationEnum**](ClassificationEnum.md) | The account's classification. | [optional] |
13
- | **type** | **String** | The account's type. | [optional] |
14
- | **status** | [**AccountStatusEnum**](AccountStatusEnum.md) | The account's status. | [optional] |
11
+ | **classification** | [**ClassificationEnum**](ClassificationEnum.md) | The account's broadest grouping. * `ASSET` - ASSET * `EQUITY` - EQUITY * `EXPENSE` - EXPENSE * `LIABILITY` - LIABILITY * `REVENUE` - REVENUE | [optional] |
12
+ | **type** | **String** | The account's type is a narrower and more specific grouping within the account's classification. | [optional] |
13
+ | **status** | [**AccountStatusEnum**](AccountStatusEnum.md) | The account's status. * `ACTIVE` - ACTIVE * `PENDING` - PENDING * `INACTIVE` - INACTIVE | [optional] |
15
14
  | **current_balance** | **Float** | The account's current balance. | [optional] |
16
- | **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The account's currency. | [optional] |
15
+ | **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The account's currency. * `XUA` - ADB Unit of Account * `AFN` - Afghan Afghani * `AFA` - Afghan Afghani (1927–2002) * `ALL` - Albanian Lek * `ALK` - Albanian Lek (1946–1965) * `DZD` - Algerian Dinar * `ADP` - Andorran Peseta * `AOA` - Angolan Kwanza * `AOK` - Angolan Kwanza (1977–1991) * `AON` - Angolan New Kwanza (1990–2000) * `AOR` - Angolan Readjusted Kwanza (1995–1999) * `ARA` - Argentine Austral * `ARS` - Argentine Peso * `ARM` - Argentine Peso (1881–1970) * `ARP` - Argentine Peso (1983–1985) * `ARL` - Argentine Peso Ley (1970–1983) * `AMD` - Armenian Dram * `AWG` - Aruban Florin * `AUD` - Australian Dollar * `ATS` - Austrian Schilling * `AZN` - Azerbaijani Manat * `AZM` - Azerbaijani Manat (1993–2006) * `BSD` - Bahamian Dollar * `BHD` - Bahraini Dinar * `BDT` - Bangladeshi Taka * `BBD` - Barbadian Dollar * `BYN` - Belarusian Ruble * `BYB` - Belarusian Ruble (1994–1999) * `BYR` - Belarusian Ruble (2000–2016) * `BEF` - Belgian Franc * `BEC` - Belgian Franc (convertible) * `BEL` - Belgian Franc (financial) * `BZD` - Belize Dollar * `BMD` - Bermudan Dollar * `BTN` - Bhutanese Ngultrum * `BOB` - Bolivian Boliviano * `BOL` - Bolivian Boliviano (1863–1963) * `BOV` - Bolivian Mvdol * `BOP` - Bolivian Peso * `BAM` - Bosnia-Herzegovina Convertible Mark * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) * `BWP` - Botswanan Pula * `BRC` - Brazilian Cruzado (1986–1989) * `BRZ` - Brazilian Cruzeiro (1942–1967) * `BRE` - Brazilian Cruzeiro (1990–1993) * `BRR` - Brazilian Cruzeiro (1993–1994) * `BRN` - Brazilian New Cruzado (1989–1990) * `BRB` - Brazilian New Cruzeiro (1967–1986) * `BRL` - Brazilian Real * `GBP` - British Pound * `BND` - Brunei Dollar * `BGL` - Bulgarian Hard Lev * `BGN` - Bulgarian Lev * `BGO` - Bulgarian Lev (1879–1952) * `BGM` - Bulgarian Socialist Lev * `BUK` - Burmese Kyat * `BIF` - Burundian Franc * `XPF` - CFP Franc * `KHR` - Cambodian Riel * `CAD` - Canadian Dollar * `CVE` - Cape Verdean Escudo * `KYD` - Cayman Islands Dollar * `XAF` - Central African CFA Franc * `CLE` - Chilean Escudo * `CLP` - Chilean Peso * `CLF` - Chilean Unit of Account (UF) * `CNX` - Chinese People’s Bank Dollar * `CNY` - Chinese Yuan * `CNH` - Chinese Yuan (offshore) * `COP` - Colombian Peso * `COU` - Colombian Real Value Unit * `KMF` - Comorian Franc * `CDF` - Congolese Franc * `CRC` - Costa Rican Colón * `HRD` - Croatian Dinar * `HRK` - Croatian Kuna * `CUC` - Cuban Convertible Peso * `CUP` - Cuban Peso * `CYP` - Cypriot Pound * `CZK` - Czech Koruna * `CSK` - Czechoslovak Hard Koruna * `DKK` - Danish Krone * `DJF` - Djiboutian Franc * `DOP` - Dominican Peso * `NLG` - Dutch Guilder * `XCD` - East Caribbean Dollar * `DDM` - East German Mark * `ECS` - Ecuadorian Sucre * `ECV` - Ecuadorian Unit of Constant Value * `EGP` - Egyptian Pound * `GQE` - Equatorial Guinean Ekwele * `ERN` - Eritrean Nakfa * `EEK` - Estonian Kroon * `ETB` - Ethiopian Birr * `EUR` - Euro * `XBA` - European Composite Unit * `XEU` - European Currency Unit * `XBB` - European Monetary Unit * `XBC` - European Unit of Account (XBC) * `XBD` - European Unit of Account (XBD) * `FKP` - Falkland Islands Pound * `FJD` - Fijian Dollar * `FIM` - Finnish Markka * `FRF` - French Franc * `XFO` - French Gold Franc * `XFU` - French UIC-Franc * `GMD` - Gambian Dalasi * `GEK` - Georgian Kupon Larit * `GEL` - Georgian Lari * `DEM` - German Mark * `GHS` - Ghanaian Cedi * `GHC` - Ghanaian Cedi (1979–2007) * `GIP` - Gibraltar Pound * `XAU` - Gold * `GRD` - Greek Drachma * `GTQ` - Guatemalan Quetzal * `GWP` - Guinea-Bissau Peso * `GNF` - Guinean Franc * `GNS` - Guinean Syli * `GYD` - Guyanaese Dollar * `HTG` - Haitian Gourde * `HNL` - Honduran Lempira * `HKD` - Hong Kong Dollar * `HUF` - Hungarian Forint * `IMP` - IMP * `ISK` - Icelandic Króna * `ISJ` - Icelandic Króna (1918–1981) * `INR` - Indian Rupee * `IDR` - Indonesian Rupiah * `IRR` - Iranian Rial * `IQD` - Iraqi Dinar * `IEP` - Irish Pound * `ILS` - Israeli New Shekel * `ILP` - Israeli Pound * `ILR` - Israeli Shekel (1980–1985) * `ITL` - Italian Lira * `JMD` - Jamaican Dollar * `JPY` - Japanese Yen * `JOD` - Jordanian Dinar * `KZT` - Kazakhstani Tenge * `KES` - Kenyan Shilling * `KWD` - Kuwaiti Dinar * `KGS` - Kyrgystani Som * `LAK` - Laotian Kip * `LVL` - Latvian Lats * `LVR` - Latvian Ruble * `LBP` - Lebanese Pound * `LSL` - Lesotho Loti * `LRD` - Liberian Dollar * `LYD` - Libyan Dinar * `LTL` - Lithuanian Litas * `LTT` - Lithuanian Talonas * `LUL` - Luxembourg Financial Franc * `LUC` - Luxembourgian Convertible Franc * `LUF` - Luxembourgian Franc * `MOP` - Macanese Pataca * `MKD` - Macedonian Denar * `MKN` - Macedonian Denar (1992–1993) * `MGA` - Malagasy Ariary * `MGF` - Malagasy Franc * `MWK` - Malawian Kwacha * `MYR` - Malaysian Ringgit * `MVR` - Maldivian Rufiyaa * `MVP` - Maldivian Rupee (1947–1981) * `MLF` - Malian Franc * `MTL` - Maltese Lira * `MTP` - Maltese Pound * `MRU` - Mauritanian Ouguiya * `MRO` - Mauritanian Ouguiya (1973–2017) * `MUR` - Mauritian Rupee * `MXV` - Mexican Investment Unit * `MXN` - Mexican Peso * `MXP` - Mexican Silver Peso (1861–1992) * `MDC` - Moldovan Cupon * `MDL` - Moldovan Leu * `MCF` - Monegasque Franc * `MNT` - Mongolian Tugrik * `MAD` - Moroccan Dirham * `MAF` - Moroccan Franc * `MZE` - Mozambican Escudo * `MZN` - Mozambican Metical * `MZM` - Mozambican Metical (1980–2006) * `MMK` - Myanmar Kyat * `NAD` - Namibian Dollar * `NPR` - Nepalese Rupee * `ANG` - Netherlands Antillean Guilder * `TWD` - New Taiwan Dollar * `NZD` - New Zealand Dollar * `NIO` - Nicaraguan Córdoba * `NIC` - Nicaraguan Córdoba (1988–1991) * `NGN` - Nigerian Naira * `KPW` - North Korean Won * `NOK` - Norwegian Krone * `OMR` - Omani Rial * `PKR` - Pakistani Rupee * `XPD` - Palladium * `PAB` - Panamanian Balboa * `PGK` - Papua New Guinean Kina * `PYG` - Paraguayan Guarani * `PEI` - Peruvian Inti * `PEN` - Peruvian Sol * `PES` - Peruvian Sol (1863–1965) * `PHP` - Philippine Peso * `XPT` - Platinum * `PLN` - Polish Zloty * `PLZ` - Polish Zloty (1950–1995) * `PTE` - Portuguese Escudo * `GWE` - Portuguese Guinea Escudo * `QAR` - Qatari Rial * `XRE` - RINET Funds * `RHD` - Rhodesian Dollar * `RON` - Romanian Leu * `ROL` - Romanian Leu (1952–2006) * `RUB` - Russian Ruble * `RUR` - Russian Ruble (1991–1998) * `RWF` - Rwandan Franc * `SVC` - Salvadoran Colón * `WST` - Samoan Tala * `SAR` - Saudi Riyal * `RSD` - Serbian Dinar * `CSD` - Serbian Dinar (2002–2006) * `SCR` - Seychellois Rupee * `SLL` - Sierra Leonean Leone * `XAG` - Silver * `SGD` - Singapore Dollar * `SKK` - Slovak Koruna * `SIT` - Slovenian Tolar * `SBD` - Solomon Islands Dollar * `SOS` - Somali Shilling * `ZAR` - South African Rand * `ZAL` - South African Rand (financial) * `KRH` - South Korean Hwan (1953–1962) * `KRW` - South Korean Won * `KRO` - South Korean Won (1945–1953) * `SSP` - South Sudanese Pound * `SUR` - Soviet Rouble * `ESP` - Spanish Peseta * `ESA` - Spanish Peseta (A account) * `ESB` - Spanish Peseta (convertible account) * `XDR` - Special Drawing Rights * `LKR` - Sri Lankan Rupee * `SHP` - St. Helena Pound * `XSU` - Sucre * `SDD` - Sudanese Dinar (1992–2007) * `SDG` - Sudanese Pound * `SDP` - Sudanese Pound (1957–1998) * `SRD` - Surinamese Dollar * `SRG` - Surinamese Guilder * `SZL` - Swazi Lilangeni * `SEK` - Swedish Krona * `CHF` - Swiss Franc * `SYP` - Syrian Pound * `STN` - São Tomé & Príncipe Dobra * `STD` - São Tomé & Príncipe Dobra (1977–2017) * `TVD` - TVD * `TJR` - Tajikistani Ruble * `TJS` - Tajikistani Somoni * `TZS` - Tanzanian Shilling * `XTS` - Testing Currency Code * `THB` - Thai Baht * `XXX` - The codes assigned for transactions where no currency is involved * `TPE` - Timorese Escudo * `TOP` - Tongan Paʻanga * `TTD` - Trinidad & Tobago Dollar * `TND` - Tunisian Dinar * `TRY` - Turkish Lira * `TRL` - Turkish Lira (1922–2005) * `TMT` - Turkmenistani Manat * `TMM` - Turkmenistani Manat (1993–2009) * `USD` - US Dollar * `USN` - US Dollar (Next day) * `USS` - US Dollar (Same day) * `UGX` - Ugandan Shilling * `UGS` - Ugandan Shilling (1966–1987) * `UAH` - Ukrainian Hryvnia * `UAK` - Ukrainian Karbovanets * `AED` - United Arab Emirates Dirham * `UYW` - Uruguayan Nominal Wage Index Unit * `UYU` - Uruguayan Peso * `UYP` - Uruguayan Peso (1975–1993) * `UYI` - Uruguayan Peso (Indexed Units) * `UZS` - Uzbekistani Som * `VUV` - Vanuatu Vatu * `VES` - Venezuelan Bolívar * `VEB` - Venezuelan Bolívar (1871–2008) * `VEF` - Venezuelan Bolívar (2008–2018) * `VND` - Vietnamese Dong * `VNN` - Vietnamese Dong (1978–1985) * `CHE` - WIR Euro * `CHW` - WIR Franc * `XOF` - West African CFA Franc * `YDD` - Yemeni Dinar * `YER` - Yemeni Rial * `YUN` - Yugoslavian Convertible Dinar (1990–1992) * `YUD` - Yugoslavian Hard Dinar (1966–1990) * `YUM` - Yugoslavian New Dinar (1994–2002) * `YUR` - Yugoslavian Reformed Dinar (1992–1993) * `ZWN` - ZWN * `ZRN` - Zairean New Zaire (1993–1998) * `ZRZ` - Zairean Zaire (1971–1993) * `ZMW` - Zambian Kwacha * `ZMK` - Zambian Kwacha (1968–2012) * `ZWD` - Zimbabwean Dollar (1980–2008) * `ZWR` - Zimbabwean Dollar (2008) * `ZWL` - Zimbabwean Dollar (2009) | [optional] |
17
16
  | **account_number** | **String** | The account's number. | [optional] |
18
- | **parent_account** | **String** | | [optional] |
17
+ | **parent_account** | **String** | ID of the parent account. | [optional] |
18
+ | **company** | **String** | The company the account belongs to. | [optional] |
19
19
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
20
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
21
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
20
22
 
21
23
  ## Example
22
24
 
@@ -26,7 +28,6 @@ require 'merge_accounting_client'
26
28
  instance = MergeAccountingClient::Account.new(
27
29
  id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
28
30
  remote_id: 21,
29
- remote_data: [{"path":"/actions","data":["Varies by platform"]}],
30
31
  name: Cash,
31
32
  description: Cash,
32
33
  classification: ASSET,
@@ -36,7 +37,10 @@ instance = MergeAccountingClient::Account.new(
36
37
  currency: USD,
37
38
  account_number: X12Y9AB,
38
39
  parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002,
39
- remote_was_deleted: null
40
+ company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
41
+ remote_was_deleted: null,
42
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
43
+ remote_data: [{"path":"/actions","data":["Varies by platform"]}]
40
44
  )
41
45
  ```
42
46
 
@@ -0,0 +1,18 @@
1
+ # MergeAccountingClient::AccountEndpointRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**AccountRequest**](AccountRequest.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_accounting_client'
13
+
14
+ instance = MergeAccountingClient::AccountEndpointRequest.new(
15
+ model: null
16
+ )
17
+ ```
18
+
@@ -5,7 +5,7 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | Company name. | |
8
- | **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | Category or categories this integration belongs to. Multiple categories should be comma separated.<br/><br>Example: For [ats, hris], enter <i>ats,hris</i> | [optional] |
8
+ | **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. | [optional] |
9
9
  | **image** | **String** | Company logo in rectangular shape. <b>Upload an image with a clear background.</b> | [optional] |
10
10
  | **square_image** | **String** | Company logo in square shape. <b>Upload an image with a white background.</b> | [optional] |
11
11
  | **color** | **String** | The color of this integration used for buttons and text throughout the app and landing pages. <b>Choose a darker, saturated color.</b> | [optional] |
@@ -0,0 +1,40 @@
1
+ # MergeAccountingClient::AccountRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **name** | **String** | The account's name. | [optional] |
8
+ | **description** | **String** | The account's description. | [optional] |
9
+ | **classification** | [**ClassificationEnum**](ClassificationEnum.md) | The account's broadest grouping. * `ASSET` - ASSET * `EQUITY` - EQUITY * `EXPENSE` - EXPENSE * `LIABILITY` - LIABILITY * `REVENUE` - REVENUE | [optional] |
10
+ | **type** | **String** | The account's type is a narrower and more specific grouping within the account's classification. | [optional] |
11
+ | **status** | [**AccountStatusEnum**](AccountStatusEnum.md) | The account's status. * `ACTIVE` - ACTIVE * `PENDING` - PENDING * `INACTIVE` - INACTIVE | [optional] |
12
+ | **current_balance** | **Float** | The account's current balance. | [optional] |
13
+ | **currency** | [**CurrencyEnum**](CurrencyEnum.md) | The account's currency. * `XUA` - ADB Unit of Account * `AFN` - Afghan Afghani * `AFA` - Afghan Afghani (1927–2002) * `ALL` - Albanian Lek * `ALK` - Albanian Lek (1946–1965) * `DZD` - Algerian Dinar * `ADP` - Andorran Peseta * `AOA` - Angolan Kwanza * `AOK` - Angolan Kwanza (1977–1991) * `AON` - Angolan New Kwanza (1990–2000) * `AOR` - Angolan Readjusted Kwanza (1995–1999) * `ARA` - Argentine Austral * `ARS` - Argentine Peso * `ARM` - Argentine Peso (1881–1970) * `ARP` - Argentine Peso (1983–1985) * `ARL` - Argentine Peso Ley (1970–1983) * `AMD` - Armenian Dram * `AWG` - Aruban Florin * `AUD` - Australian Dollar * `ATS` - Austrian Schilling * `AZN` - Azerbaijani Manat * `AZM` - Azerbaijani Manat (1993–2006) * `BSD` - Bahamian Dollar * `BHD` - Bahraini Dinar * `BDT` - Bangladeshi Taka * `BBD` - Barbadian Dollar * `BYN` - Belarusian Ruble * `BYB` - Belarusian Ruble (1994–1999) * `BYR` - Belarusian Ruble (2000–2016) * `BEF` - Belgian Franc * `BEC` - Belgian Franc (convertible) * `BEL` - Belgian Franc (financial) * `BZD` - Belize Dollar * `BMD` - Bermudan Dollar * `BTN` - Bhutanese Ngultrum * `BOB` - Bolivian Boliviano * `BOL` - Bolivian Boliviano (1863–1963) * `BOV` - Bolivian Mvdol * `BOP` - Bolivian Peso * `BAM` - Bosnia-Herzegovina Convertible Mark * `BAD` - Bosnia-Herzegovina Dinar (1992–1994) * `BAN` - Bosnia-Herzegovina New Dinar (1994–1997) * `BWP` - Botswanan Pula * `BRC` - Brazilian Cruzado (1986–1989) * `BRZ` - Brazilian Cruzeiro (1942–1967) * `BRE` - Brazilian Cruzeiro (1990–1993) * `BRR` - Brazilian Cruzeiro (1993–1994) * `BRN` - Brazilian New Cruzado (1989–1990) * `BRB` - Brazilian New Cruzeiro (1967–1986) * `BRL` - Brazilian Real * `GBP` - British Pound * `BND` - Brunei Dollar * `BGL` - Bulgarian Hard Lev * `BGN` - Bulgarian Lev * `BGO` - Bulgarian Lev (1879–1952) * `BGM` - Bulgarian Socialist Lev * `BUK` - Burmese Kyat * `BIF` - Burundian Franc * `XPF` - CFP Franc * `KHR` - Cambodian Riel * `CAD` - Canadian Dollar * `CVE` - Cape Verdean Escudo * `KYD` - Cayman Islands Dollar * `XAF` - Central African CFA Franc * `CLE` - Chilean Escudo * `CLP` - Chilean Peso * `CLF` - Chilean Unit of Account (UF) * `CNX` - Chinese People’s Bank Dollar * `CNY` - Chinese Yuan * `CNH` - Chinese Yuan (offshore) * `COP` - Colombian Peso * `COU` - Colombian Real Value Unit * `KMF` - Comorian Franc * `CDF` - Congolese Franc * `CRC` - Costa Rican Colón * `HRD` - Croatian Dinar * `HRK` - Croatian Kuna * `CUC` - Cuban Convertible Peso * `CUP` - Cuban Peso * `CYP` - Cypriot Pound * `CZK` - Czech Koruna * `CSK` - Czechoslovak Hard Koruna * `DKK` - Danish Krone * `DJF` - Djiboutian Franc * `DOP` - Dominican Peso * `NLG` - Dutch Guilder * `XCD` - East Caribbean Dollar * `DDM` - East German Mark * `ECS` - Ecuadorian Sucre * `ECV` - Ecuadorian Unit of Constant Value * `EGP` - Egyptian Pound * `GQE` - Equatorial Guinean Ekwele * `ERN` - Eritrean Nakfa * `EEK` - Estonian Kroon * `ETB` - Ethiopian Birr * `EUR` - Euro * `XBA` - European Composite Unit * `XEU` - European Currency Unit * `XBB` - European Monetary Unit * `XBC` - European Unit of Account (XBC) * `XBD` - European Unit of Account (XBD) * `FKP` - Falkland Islands Pound * `FJD` - Fijian Dollar * `FIM` - Finnish Markka * `FRF` - French Franc * `XFO` - French Gold Franc * `XFU` - French UIC-Franc * `GMD` - Gambian Dalasi * `GEK` - Georgian Kupon Larit * `GEL` - Georgian Lari * `DEM` - German Mark * `GHS` - Ghanaian Cedi * `GHC` - Ghanaian Cedi (1979–2007) * `GIP` - Gibraltar Pound * `XAU` - Gold * `GRD` - Greek Drachma * `GTQ` - Guatemalan Quetzal * `GWP` - Guinea-Bissau Peso * `GNF` - Guinean Franc * `GNS` - Guinean Syli * `GYD` - Guyanaese Dollar * `HTG` - Haitian Gourde * `HNL` - Honduran Lempira * `HKD` - Hong Kong Dollar * `HUF` - Hungarian Forint * `IMP` - IMP * `ISK` - Icelandic Króna * `ISJ` - Icelandic Króna (1918–1981) * `INR` - Indian Rupee * `IDR` - Indonesian Rupiah * `IRR` - Iranian Rial * `IQD` - Iraqi Dinar * `IEP` - Irish Pound * `ILS` - Israeli New Shekel * `ILP` - Israeli Pound * `ILR` - Israeli Shekel (1980–1985) * `ITL` - Italian Lira * `JMD` - Jamaican Dollar * `JPY` - Japanese Yen * `JOD` - Jordanian Dinar * `KZT` - Kazakhstani Tenge * `KES` - Kenyan Shilling * `KWD` - Kuwaiti Dinar * `KGS` - Kyrgystani Som * `LAK` - Laotian Kip * `LVL` - Latvian Lats * `LVR` - Latvian Ruble * `LBP` - Lebanese Pound * `LSL` - Lesotho Loti * `LRD` - Liberian Dollar * `LYD` - Libyan Dinar * `LTL` - Lithuanian Litas * `LTT` - Lithuanian Talonas * `LUL` - Luxembourg Financial Franc * `LUC` - Luxembourgian Convertible Franc * `LUF` - Luxembourgian Franc * `MOP` - Macanese Pataca * `MKD` - Macedonian Denar * `MKN` - Macedonian Denar (1992–1993) * `MGA` - Malagasy Ariary * `MGF` - Malagasy Franc * `MWK` - Malawian Kwacha * `MYR` - Malaysian Ringgit * `MVR` - Maldivian Rufiyaa * `MVP` - Maldivian Rupee (1947–1981) * `MLF` - Malian Franc * `MTL` - Maltese Lira * `MTP` - Maltese Pound * `MRU` - Mauritanian Ouguiya * `MRO` - Mauritanian Ouguiya (1973–2017) * `MUR` - Mauritian Rupee * `MXV` - Mexican Investment Unit * `MXN` - Mexican Peso * `MXP` - Mexican Silver Peso (1861–1992) * `MDC` - Moldovan Cupon * `MDL` - Moldovan Leu * `MCF` - Monegasque Franc * `MNT` - Mongolian Tugrik * `MAD` - Moroccan Dirham * `MAF` - Moroccan Franc * `MZE` - Mozambican Escudo * `MZN` - Mozambican Metical * `MZM` - Mozambican Metical (1980–2006) * `MMK` - Myanmar Kyat * `NAD` - Namibian Dollar * `NPR` - Nepalese Rupee * `ANG` - Netherlands Antillean Guilder * `TWD` - New Taiwan Dollar * `NZD` - New Zealand Dollar * `NIO` - Nicaraguan Córdoba * `NIC` - Nicaraguan Córdoba (1988–1991) * `NGN` - Nigerian Naira * `KPW` - North Korean Won * `NOK` - Norwegian Krone * `OMR` - Omani Rial * `PKR` - Pakistani Rupee * `XPD` - Palladium * `PAB` - Panamanian Balboa * `PGK` - Papua New Guinean Kina * `PYG` - Paraguayan Guarani * `PEI` - Peruvian Inti * `PEN` - Peruvian Sol * `PES` - Peruvian Sol (1863–1965) * `PHP` - Philippine Peso * `XPT` - Platinum * `PLN` - Polish Zloty * `PLZ` - Polish Zloty (1950–1995) * `PTE` - Portuguese Escudo * `GWE` - Portuguese Guinea Escudo * `QAR` - Qatari Rial * `XRE` - RINET Funds * `RHD` - Rhodesian Dollar * `RON` - Romanian Leu * `ROL` - Romanian Leu (1952–2006) * `RUB` - Russian Ruble * `RUR` - Russian Ruble (1991–1998) * `RWF` - Rwandan Franc * `SVC` - Salvadoran Colón * `WST` - Samoan Tala * `SAR` - Saudi Riyal * `RSD` - Serbian Dinar * `CSD` - Serbian Dinar (2002–2006) * `SCR` - Seychellois Rupee * `SLL` - Sierra Leonean Leone * `XAG` - Silver * `SGD` - Singapore Dollar * `SKK` - Slovak Koruna * `SIT` - Slovenian Tolar * `SBD` - Solomon Islands Dollar * `SOS` - Somali Shilling * `ZAR` - South African Rand * `ZAL` - South African Rand (financial) * `KRH` - South Korean Hwan (1953–1962) * `KRW` - South Korean Won * `KRO` - South Korean Won (1945–1953) * `SSP` - South Sudanese Pound * `SUR` - Soviet Rouble * `ESP` - Spanish Peseta * `ESA` - Spanish Peseta (A account) * `ESB` - Spanish Peseta (convertible account) * `XDR` - Special Drawing Rights * `LKR` - Sri Lankan Rupee * `SHP` - St. Helena Pound * `XSU` - Sucre * `SDD` - Sudanese Dinar (1992–2007) * `SDG` - Sudanese Pound * `SDP` - Sudanese Pound (1957–1998) * `SRD` - Surinamese Dollar * `SRG` - Surinamese Guilder * `SZL` - Swazi Lilangeni * `SEK` - Swedish Krona * `CHF` - Swiss Franc * `SYP` - Syrian Pound * `STN` - São Tomé & Príncipe Dobra * `STD` - São Tomé & Príncipe Dobra (1977–2017) * `TVD` - TVD * `TJR` - Tajikistani Ruble * `TJS` - Tajikistani Somoni * `TZS` - Tanzanian Shilling * `XTS` - Testing Currency Code * `THB` - Thai Baht * `XXX` - The codes assigned for transactions where no currency is involved * `TPE` - Timorese Escudo * `TOP` - Tongan Paʻanga * `TTD` - Trinidad & Tobago Dollar * `TND` - Tunisian Dinar * `TRY` - Turkish Lira * `TRL` - Turkish Lira (1922–2005) * `TMT` - Turkmenistani Manat * `TMM` - Turkmenistani Manat (1993–2009) * `USD` - US Dollar * `USN` - US Dollar (Next day) * `USS` - US Dollar (Same day) * `UGX` - Ugandan Shilling * `UGS` - Ugandan Shilling (1966–1987) * `UAH` - Ukrainian Hryvnia * `UAK` - Ukrainian Karbovanets * `AED` - United Arab Emirates Dirham * `UYW` - Uruguayan Nominal Wage Index Unit * `UYU` - Uruguayan Peso * `UYP` - Uruguayan Peso (1975–1993) * `UYI` - Uruguayan Peso (Indexed Units) * `UZS` - Uzbekistani Som * `VUV` - Vanuatu Vatu * `VES` - Venezuelan Bolívar * `VEB` - Venezuelan Bolívar (1871–2008) * `VEF` - Venezuelan Bolívar (2008–2018) * `VND` - Vietnamese Dong * `VNN` - Vietnamese Dong (1978–1985) * `CHE` - WIR Euro * `CHW` - WIR Franc * `XOF` - West African CFA Franc * `YDD` - Yemeni Dinar * `YER` - Yemeni Rial * `YUN` - Yugoslavian Convertible Dinar (1990–1992) * `YUD` - Yugoslavian Hard Dinar (1966–1990) * `YUM` - Yugoslavian New Dinar (1994–2002) * `YUR` - Yugoslavian Reformed Dinar (1992–1993) * `ZWN` - ZWN * `ZRN` - Zairean New Zaire (1993–1998) * `ZRZ` - Zairean Zaire (1971–1993) * `ZMW` - Zambian Kwacha * `ZMK` - Zambian Kwacha (1968–2012) * `ZWD` - Zimbabwean Dollar (1980–2008) * `ZWR` - Zimbabwean Dollar (2008) * `ZWL` - Zimbabwean Dollar (2009) | [optional] |
14
+ | **account_number** | **String** | The account's number. | [optional] |
15
+ | **parent_account** | **String** | ID of the parent account. | [optional] |
16
+ | **company** | **String** | The company the account belongs to. | [optional] |
17
+ | **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
18
+ | **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
19
+
20
+ ## Example
21
+
22
+ ```ruby
23
+ require 'merge_accounting_client'
24
+
25
+ instance = MergeAccountingClient::AccountRequest.new(
26
+ name: Cash,
27
+ description: Cash,
28
+ classification: ASSET,
29
+ type: Asset,
30
+ status: ACTIVE,
31
+ current_balance: null,
32
+ currency: USD,
33
+ account_number: X12Y9AB,
34
+ parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002,
35
+ company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
36
+ integration_params: {"unique_integration_field":"unique_integration_field_value"},
37
+ linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
38
+ )
39
+ ```
40
+
@@ -0,0 +1,24 @@
1
+ # MergeAccountingClient::AccountResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**Account**](Account.md) | | |
8
+ | **warnings** | [**Array<WarningValidationProblem>**](WarningValidationProblem.md) | | |
9
+ | **errors** | [**Array<ErrorValidationProblem>**](ErrorValidationProblem.md) | | |
10
+ | **logs** | [**Array<DebugModeLog>**](DebugModeLog.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'merge_accounting_client'
16
+
17
+ instance = MergeAccountingClient::AccountResponse.new(
18
+ model: null,
19
+ warnings: null,
20
+ errors: null,
21
+ logs: null
22
+ )
23
+ ```
24
+
@@ -6,10 +6,12 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **id** | **String** | | [optional][readonly] |
8
8
  | **remote_id** | **String** | The third-party API ID of the matching object. | [optional] |
9
- | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
10
9
  | **file_name** | **String** | The attachment's name. | [optional] |
11
10
  | **file_url** | **String** | The attachment's url. | [optional] |
11
+ | **company** | **String** | The company the accounting attachment belongs to. | [optional] |
12
12
  | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
13
+ | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
14
+ | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
13
15
 
14
16
  ## Example
15
17
 
@@ -19,10 +21,12 @@ require 'merge_accounting_client'
19
21
  instance = MergeAccountingClient::AccountingAttachment.new(
20
22
  id: ecbe05ac-62a3-46c5-ab31-4b478b37d1b4,
21
23
  remote_id: 1018270,
22
- remote_data: [{"path":"/actions","data":["Varies by platform"]}],
23
24
  file_name: invoice.png,
24
25
  file_url: https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png,
25
- remote_was_deleted: null
26
+ company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
27
+ remote_was_deleted: null,
28
+ field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
29
+ remote_data: [{"path":"/actions","data":["Varies by platform"]}]
26
30
  )
27
31
  ```
28
32
 
@@ -0,0 +1,18 @@
1
+ # MergeAccountingClient::AccountingAttachmentEndpointRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**AccountingAttachmentRequest**](AccountingAttachmentRequest.md) | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_accounting_client'
13
+
14
+ instance = MergeAccountingClient::AccountingAttachmentEndpointRequest.new(
15
+ model: null
16
+ )
17
+ ```
18
+
@@ -0,0 +1,26 @@
1
+ # MergeAccountingClient::AccountingAttachmentRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **file_name** | **String** | The attachment's name. | [optional] |
8
+ | **file_url** | **String** | The attachment's url. | [optional] |
9
+ | **company** | **String** | The company the accounting attachment belongs to. | [optional] |
10
+ | **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
11
+ | **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
12
+
13
+ ## Example
14
+
15
+ ```ruby
16
+ require 'merge_accounting_client'
17
+
18
+ instance = MergeAccountingClient::AccountingAttachmentRequest.new(
19
+ file_name: invoice.png,
20
+ file_url: https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png,
21
+ company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
22
+ integration_params: {"unique_integration_field":"unique_integration_field_value"},
23
+ linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
24
+ )
25
+ ```
26
+
@@ -0,0 +1,24 @@
1
+ # MergeAccountingClient::AccountingAttachmentResponse
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **model** | [**AccountingAttachment**](AccountingAttachment.md) | | |
8
+ | **warnings** | [**Array<WarningValidationProblem>**](WarningValidationProblem.md) | | |
9
+ | **errors** | [**Array<ErrorValidationProblem>**](ErrorValidationProblem.md) | | |
10
+ | **logs** | [**Array<DebugModeLog>**](DebugModeLog.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'merge_accounting_client'
16
+
17
+ instance = MergeAccountingClient::AccountingAttachmentResponse.new(
18
+ model: null,
19
+ warnings: null,
20
+ errors: null,
21
+ logs: null
22
+ )
23
+ ```
24
+
@@ -0,0 +1,24 @@
1
+ # MergeAccountingClient::AccountingPhoneNumberRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **number** | **String** | The phone number. | [optional] |
8
+ | **type** | **String** | The phone number's type. | [optional] |
9
+ | **integration_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
10
+ | **linked_account_params** | [**Hash<String, AnyType>**](AnyType.md) | | [optional] |
11
+
12
+ ## Example
13
+
14
+ ```ruby
15
+ require 'merge_accounting_client'
16
+
17
+ instance = MergeAccountingClient::AccountingPhoneNumberRequest.new(
18
+ number: +3198675309,
19
+ type: Mobile,
20
+ integration_params: {"unique_integration_field":"unique_integration_field_value"},
21
+ linked_account_params: {"unique_linked_account_field":"unique_linked_account_field_value"}
22
+ )
23
+ ```
24
+