merge_accounting_client 1.0.3 → 1.0.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (331) 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 +5 -3
  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/RemoteDataRequest.md +1 -1
  92. data/docs/ReportItem.md +3 -1
  93. data/docs/SelectiveSyncApi.md +233 -0
  94. data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
  95. data/docs/SyncStatus.md +5 -3
  96. data/docs/TaxRate.md +11 -7
  97. data/docs/TaxRatesApi.md +2 -0
  98. data/docs/TrackingCategoriesApi.md +11 -5
  99. data/docs/TrackingCategory.md +14 -8
  100. data/docs/Transaction.md +20 -14
  101. data/docs/TransactionLineItem.md +9 -3
  102. data/docs/TransactionsApi.md +7 -5
  103. data/docs/VendorCredit.md +13 -7
  104. data/docs/VendorCreditLine.md +6 -2
  105. data/docs/VendorCreditsApi.md +7 -5
  106. data/lib/merge_accounting_client/api/accounts_api.rb +159 -4
  107. data/lib/merge_accounting_client/api/addresses_api.rb +9 -2
  108. data/lib/merge_accounting_client/api/attachments_api.rb +141 -0
  109. data/lib/merge_accounting_client/api/balance_sheets_api.rb +3 -0
  110. data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +3 -0
  111. data/lib/merge_accounting_client/api/common_model_scopes_api.rb +146 -0
  112. data/lib/merge_accounting_client/api/company_info_api.rb +0 -14
  113. data/lib/merge_accounting_client/api/contacts_api.rb +159 -18
  114. data/lib/merge_accounting_client/api/credit_notes_api.rb +27 -18
  115. data/lib/merge_accounting_client/api/expenses_api.rb +147 -14
  116. data/lib/merge_accounting_client/api/income_statements_api.rb +3 -0
  117. data/lib/merge_accounting_client/api/invoices_api.rb +29 -20
  118. data/lib/merge_accounting_client/api/issues_api.rb +2 -2
  119. data/lib/merge_accounting_client/api/items_api.rb +21 -18
  120. data/lib/merge_accounting_client/api/journal_entries_api.rb +9 -14
  121. data/lib/merge_accounting_client/api/linked_accounts_api.rb +3 -3
  122. data/lib/merge_accounting_client/api/payments_api.rb +147 -14
  123. data/lib/merge_accounting_client/api/purchase_orders_api.rb +165 -18
  124. data/lib/merge_accounting_client/api/selective_sync_api.rb +225 -0
  125. data/lib/merge_accounting_client/api/tax_rates_api.rb +3 -0
  126. data/lib/merge_accounting_client/api/tracking_categories_api.rb +21 -4
  127. data/lib/merge_accounting_client/api/transactions_api.rb +9 -14
  128. data/lib/merge_accounting_client/api/vendor_credits_api.rb +9 -14
  129. data/lib/merge_accounting_client/api_client.rb +0 -3
  130. data/lib/merge_accounting_client/models/account.rb +45 -21
  131. data/lib/merge_accounting_client/models/account_details_and_actions_status_enum.rb +1 -1
  132. data/lib/merge_accounting_client/models/account_endpoint_request.rb +223 -0
  133. data/lib/merge_accounting_client/models/account_integration.rb +1 -1
  134. data/lib/merge_accounting_client/models/account_request.rb +344 -0
  135. data/lib/merge_accounting_client/models/account_response.rb +266 -0
  136. data/lib/merge_accounting_client/models/account_status_enum.rb +1 -1
  137. data/lib/merge_accounting_client/models/accounting_attachment.rb +39 -16
  138. data/lib/merge_accounting_client/models/accounting_attachment_endpoint_request.rb +223 -0
  139. data/lib/merge_accounting_client/models/accounting_attachment_request.rb +282 -0
  140. data/lib/merge_accounting_client/models/accounting_attachment_response.rb +266 -0
  141. data/lib/merge_accounting_client/models/accounting_phone_number_request.rb +256 -0
  142. data/lib/merge_accounting_client/models/address.rb +16 -5
  143. data/lib/merge_accounting_client/models/address_type_enum.rb +1 -1
  144. data/lib/merge_accounting_client/models/balance_sheet.rb +41 -18
  145. data/lib/merge_accounting_client/models/cash_flow_statement.rb +41 -18
  146. data/lib/merge_accounting_client/models/categories_enum.rb +4 -2
  147. data/lib/merge_accounting_client/models/category_enum.rb +4 -2
  148. data/lib/merge_accounting_client/models/category_type_enum.rb +1 -1
  149. data/lib/merge_accounting_client/models/classification_enum.rb +1 -1
  150. data/lib/merge_accounting_client/models/common_model_scope_data.rb +234 -0
  151. data/lib/merge_accounting_client/models/common_model_scopes.rb +234 -0
  152. data/lib/merge_accounting_client/models/common_model_scopes_body_request.rb +274 -0
  153. data/lib/merge_accounting_client/models/common_model_scopes_disabled_models.rb +283 -0
  154. data/lib/merge_accounting_client/models/common_model_scopes_disabled_models_enabled_actions_enum.rb +45 -0
  155. data/lib/merge_accounting_client/models/common_model_scopes_post_inner_deserializer_request.rb +274 -0
  156. data/lib/merge_accounting_client/models/common_model_scopes_update_serializer.rb +226 -0
  157. data/lib/merge_accounting_client/models/company_info.rb +29 -17
  158. data/lib/merge_accounting_client/models/condition_schema.rb +298 -0
  159. data/lib/merge_accounting_client/models/condition_type_enum.rb +50 -0
  160. data/lib/merge_accounting_client/models/contact.rb +41 -18
  161. data/lib/merge_accounting_client/models/contact_endpoint_request.rb +223 -0
  162. data/lib/merge_accounting_client/models/contact_request.rb +346 -0
  163. data/lib/merge_accounting_client/models/contact_response.rb +266 -0
  164. data/lib/merge_accounting_client/models/country_enum.rb +1 -1
  165. data/lib/merge_accounting_client/models/credit_note.rb +43 -20
  166. data/lib/merge_accounting_client/models/credit_note_line_item.rb +40 -12
  167. data/lib/merge_accounting_client/models/credit_note_status_enum.rb +1 -1
  168. data/lib/merge_accounting_client/models/currency_enum.rb +1 -1
  169. data/lib/merge_accounting_client/models/data_passthrough_request.rb +2 -1
  170. data/lib/merge_accounting_client/models/enabled_actions_enum.rb +45 -0
  171. data/lib/merge_accounting_client/models/encoding_enum.rb +1 -1
  172. data/lib/merge_accounting_client/models/end_user_details_request.rb +20 -7
  173. data/lib/merge_accounting_client/models/expense.rb +91 -38
  174. data/lib/merge_accounting_client/models/expense_endpoint_request.rb +223 -0
  175. data/lib/merge_accounting_client/models/expense_line.rb +51 -17
  176. data/lib/merge_accounting_client/models/expense_line_request.rb +332 -0
  177. data/lib/merge_accounting_client/models/expense_request.rb +350 -0
  178. data/lib/merge_accounting_client/models/expense_response.rb +266 -0
  179. data/lib/merge_accounting_client/models/income_statement.rb +44 -21
  180. data/lib/merge_accounting_client/models/invoice.rb +94 -42
  181. data/lib/merge_accounting_client/models/invoice_line_item.rb +99 -26
  182. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +102 -17
  183. data/lib/merge_accounting_client/models/invoice_request.rb +85 -32
  184. data/lib/merge_accounting_client/models/invoice_type_enum.rb +1 -1
  185. data/lib/merge_accounting_client/models/issue.rb +16 -5
  186. data/lib/merge_accounting_client/models/item.rb +44 -19
  187. data/lib/merge_accounting_client/models/journal_entry.rb +100 -38
  188. data/lib/merge_accounting_client/models/journal_entry_request.rb +92 -40
  189. data/lib/merge_accounting_client/models/journal_line.rb +28 -17
  190. data/lib/merge_accounting_client/models/journal_line_request.rb +52 -17
  191. data/lib/merge_accounting_client/models/link_token.rb +0 -5
  192. data/lib/merge_accounting_client/models/linked_account_condition.rb +282 -0
  193. data/lib/merge_accounting_client/models/linked_account_condition_request.rb +269 -0
  194. data/lib/merge_accounting_client/models/linked_account_selective_sync_configuration.rb +221 -0
  195. data/lib/merge_accounting_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
  196. data/lib/merge_accounting_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
  197. data/lib/merge_accounting_client/models/meta_response.rb +13 -2
  198. data/lib/merge_accounting_client/models/method_enum.rb +1 -1
  199. data/lib/merge_accounting_client/models/multipart_form_field_request.rb +1 -1
  200. data/lib/merge_accounting_client/models/operator_schema.rb +229 -0
  201. data/lib/merge_accounting_client/models/paginated_condition_schema_list.rb +240 -0
  202. data/lib/merge_accounting_client/models/payment.rb +82 -18
  203. data/lib/merge_accounting_client/models/payment_endpoint_request.rb +223 -0
  204. data/lib/merge_accounting_client/models/payment_request.rb +328 -0
  205. data/lib/merge_accounting_client/models/payment_response.rb +266 -0
  206. data/lib/merge_accounting_client/models/posting_status_enum.rb +45 -0
  207. data/lib/merge_accounting_client/models/purchase_order.rb +92 -41
  208. data/lib/merge_accounting_client/models/purchase_order_endpoint_request.rb +223 -0
  209. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +79 -12
  210. data/lib/merge_accounting_client/models/purchase_order_line_item_request.rb +422 -0
  211. data/lib/merge_accounting_client/models/purchase_order_request.rb +383 -0
  212. data/lib/merge_accounting_client/models/purchase_order_response.rb +266 -0
  213. data/lib/merge_accounting_client/models/purchase_order_status_enum.rb +1 -1
  214. data/lib/merge_accounting_client/models/remote_data.rb +1 -1
  215. data/lib/merge_accounting_client/models/remote_data_request.rb +1 -1
  216. data/lib/merge_accounting_client/models/remote_response.rb +3 -6
  217. data/lib/merge_accounting_client/models/report_item.rb +15 -4
  218. data/lib/merge_accounting_client/models/request_format_enum.rb +1 -1
  219. data/lib/merge_accounting_client/models/response_type_enum.rb +1 -1
  220. data/lib/merge_accounting_client/models/selective_sync_configurations_usage_enum.rb +45 -0
  221. data/lib/merge_accounting_client/models/state_enum.rb +1 -1
  222. data/lib/merge_accounting_client/models/status7d1_enum.rb +1 -1
  223. data/lib/merge_accounting_client/models/sync_status.rb +13 -4
  224. data/lib/merge_accounting_client/models/sync_status_status_enum.rb +1 -1
  225. data/lib/merge_accounting_client/models/tax_rate.rb +59 -36
  226. data/lib/merge_accounting_client/models/tracking_category.rb +72 -38
  227. data/lib/merge_accounting_client/models/transaction.rb +97 -46
  228. data/lib/merge_accounting_client/models/transaction_line_item.rb +75 -19
  229. data/lib/merge_accounting_client/models/vendor_credit.rb +70 -18
  230. data/lib/merge_accounting_client/models/vendor_credit_line.rb +34 -6
  231. data/lib/merge_accounting_client/version.rb +1 -1
  232. data/lib/merge_accounting_client.rb +42 -1
  233. data/spec/api/accounts_api_spec.rb +30 -2
  234. data/spec/api/addresses_api_spec.rb +2 -1
  235. data/spec/api/attachments_api_spec.rb +26 -0
  236. data/spec/api/balance_sheets_api_spec.rb +1 -0
  237. data/spec/api/cash_flow_statements_api_spec.rb +1 -0
  238. data/spec/api/common_model_scopes_api_spec.rb +58 -0
  239. data/spec/api/company_info_api_spec.rb +0 -2
  240. data/spec/api/contacts_api_spec.rb +30 -4
  241. data/spec/api/credit_notes_api_spec.rb +7 -4
  242. data/spec/api/expenses_api_spec.rb +28 -2
  243. data/spec/api/income_statements_api_spec.rb +1 -0
  244. data/spec/api/invoices_api_spec.rb +8 -5
  245. data/spec/api/issues_api_spec.rb +1 -1
  246. data/spec/api/items_api_spec.rb +5 -4
  247. data/spec/api/journal_entries_api_spec.rb +3 -2
  248. data/spec/api/linked_accounts_api_spec.rb +1 -1
  249. data/spec/api/payments_api_spec.rb +28 -2
  250. data/spec/api/purchase_orders_api_spec.rb +32 -4
  251. data/spec/api/selective_sync_api_spec.rb +72 -0
  252. data/spec/api/tax_rates_api_spec.rb +1 -0
  253. data/spec/api/tracking_categories_api_spec.rb +5 -2
  254. data/spec/api/transactions_api_spec.rb +3 -2
  255. data/spec/api/vendor_credits_api_spec.rb +3 -2
  256. data/spec/models/account_endpoint_request_spec.rb +34 -0
  257. data/spec/models/account_request_spec.rb +100 -0
  258. data/spec/models/account_response_spec.rb +52 -0
  259. data/spec/models/account_spec.rb +18 -6
  260. data/spec/models/accounting_attachment_endpoint_request_spec.rb +34 -0
  261. data/spec/models/accounting_attachment_request_spec.rb +58 -0
  262. data/spec/models/accounting_attachment_response_spec.rb +52 -0
  263. data/spec/models/accounting_attachment_spec.rb +15 -3
  264. data/spec/models/accounting_phone_number_request_spec.rb +52 -0
  265. data/spec/models/address_spec.rb +6 -0
  266. data/spec/models/balance_sheet_spec.rb +15 -3
  267. data/spec/models/cash_flow_statement_spec.rb +15 -3
  268. data/spec/models/common_model_scope_data_spec.rb +40 -0
  269. data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
  270. data/spec/models/common_model_scopes_disabled_models_enabled_actions_enum_spec.rb +28 -0
  271. data/spec/models/common_model_scopes_disabled_models_spec.rb +58 -0
  272. data/spec/models/common_model_scopes_post_inner_deserializer_request_spec.rb +46 -0
  273. data/spec/models/common_model_scopes_spec.rb +40 -0
  274. data/spec/models/common_model_scopes_update_serializer_spec.rb +34 -0
  275. data/spec/models/company_info_spec.rb +12 -6
  276. data/spec/models/condition_schema_spec.rb +70 -0
  277. data/spec/models/condition_type_enum_spec.rb +28 -0
  278. data/spec/models/contact_endpoint_request_spec.rb +34 -0
  279. data/spec/models/contact_request_spec.rb +100 -0
  280. data/spec/models/contact_response_spec.rb +52 -0
  281. data/spec/models/contact_spec.rb +18 -6
  282. data/spec/models/credit_note_line_item_spec.rb +12 -0
  283. data/spec/models/credit_note_spec.rb +17 -5
  284. data/spec/models/enabled_actions_enum_spec.rb +28 -0
  285. data/spec/models/end_user_details_request_spec.rb +6 -0
  286. data/spec/models/expense_endpoint_request_spec.rb +34 -0
  287. data/spec/models/expense_line_request_spec.rb +94 -0
  288. data/spec/models/expense_line_spec.rb +22 -4
  289. data/spec/models/expense_request_spec.rb +94 -0
  290. data/spec/models/expense_response_spec.rb +52 -0
  291. data/spec/models/expense_spec.rb +30 -12
  292. data/spec/models/income_statement_spec.rb +15 -3
  293. data/spec/models/invoice_line_item_request_spec.rb +41 -5
  294. data/spec/models/invoice_line_item_spec.rb +36 -6
  295. data/spec/models/invoice_request_spec.rb +26 -8
  296. data/spec/models/invoice_spec.rb +34 -16
  297. data/spec/models/issue_spec.rb +6 -0
  298. data/spec/models/item_spec.rb +18 -6
  299. data/spec/models/journal_entry_request_spec.rb +25 -7
  300. data/spec/models/journal_entry_spec.rb +35 -11
  301. data/spec/models/journal_line_request_spec.rb +22 -4
  302. data/spec/models/journal_line_spec.rb +10 -4
  303. data/spec/models/linked_account_condition_request_spec.rb +46 -0
  304. data/spec/models/linked_account_condition_spec.rb +64 -0
  305. data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
  306. data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
  307. data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
  308. data/spec/models/meta_response_spec.rb +6 -0
  309. data/spec/models/operator_schema_spec.rb +40 -0
  310. data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
  311. data/spec/models/payment_endpoint_request_spec.rb +34 -0
  312. data/spec/models/payment_request_spec.rb +82 -0
  313. data/spec/models/payment_response_spec.rb +52 -0
  314. data/spec/models/payment_spec.rb +28 -4
  315. data/spec/models/posting_status_enum_spec.rb +28 -0
  316. data/spec/models/purchase_order_endpoint_request_spec.rb +34 -0
  317. data/spec/models/purchase_order_line_item_request_spec.rb +112 -0
  318. data/spec/models/purchase_order_line_item_spec.rb +24 -0
  319. data/spec/models/purchase_order_request_spec.rb +112 -0
  320. data/spec/models/purchase_order_response_spec.rb +52 -0
  321. data/spec/models/purchase_order_spec.rb +34 -16
  322. data/spec/models/report_item_spec.rb +6 -0
  323. data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
  324. data/spec/models/sync_status_spec.rb +6 -0
  325. data/spec/models/tax_rate_spec.rb +19 -7
  326. data/spec/models/tracking_category_spec.rb +25 -7
  327. data/spec/models/transaction_line_item_spec.rb +19 -1
  328. data/spec/models/transaction_spec.rb +30 -12
  329. data/spec/models/vendor_credit_line_spec.rb +12 -0
  330. data/spec/models/vendor_credit_spec.rb +24 -6
  331. metadata +283 -115
@@ -36,16 +36,18 @@ describe 'TransactionsApi' do
36
36
  # Returns a list of `Transaction` objects.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :company_id If provided, will only return accounting transactions for this company.
39
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
40
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
42
  # @option opts [String] :cursor The pagination cursor value.
42
- # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
43
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
44
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
45
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
46
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
47
47
  # @option opts [Integer] :page_size Number of results to return per page.
48
48
  # @option opts [String] :remote_id The API provider's ID for the given object.
49
+ # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
50
+ # @option opts [Time] :transaction_date_before If provided, will only return objects created before this datetime.
49
51
  # @return [PaginatedTransactionList]
50
52
  describe 'transactions_list test' do
51
53
  it 'should work' do
@@ -58,7 +60,6 @@ describe 'TransactionsApi' do
58
60
  # @param x_account_token Token identifying the end user.
59
61
  # @param id
60
62
  # @param [Hash] opts the optional parameters
61
- # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
62
63
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
63
64
  # @return [Transaction]
64
65
  describe 'transactions_retrieve test' do
@@ -36,16 +36,18 @@ describe 'VendorCreditsApi' do
36
36
  # Returns a list of `VendorCredit` objects.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :company_id If provided, will only return vendor credits for this company.
39
40
  # @option opts [Time] :created_after If provided, will only return objects created after this datetime.
40
41
  # @option opts [Time] :created_before If provided, will only return objects created before this datetime.
41
42
  # @option opts [String] :cursor The pagination cursor value.
42
- # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
43
43
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
44
44
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
45
45
  # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
46
  # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
47
47
  # @option opts [Integer] :page_size Number of results to return per page.
48
48
  # @option opts [String] :remote_id The API provider's ID for the given object.
49
+ # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
50
+ # @option opts [Time] :transaction_date_before If provided, will only return objects created before this datetime.
49
51
  # @return [PaginatedVendorCreditList]
50
52
  describe 'vendor_credits_list test' do
51
53
  it 'should work' do
@@ -58,7 +60,6 @@ describe 'VendorCreditsApi' do
58
60
  # @param x_account_token Token identifying the end user.
59
61
  # @param id
60
62
  # @param [Hash] opts the optional parameters
61
- # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
62
63
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
63
64
  # @return [VendorCredit]
64
65
  describe 'vendor_credits_retrieve test' do
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountEndpointRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountEndpointRequest do
21
+ let(:instance) { MergeAccountingClient::AccountEndpointRequest.new }
22
+
23
+ describe 'test an instance of AccountEndpointRequest' do
24
+ it 'should create an instance of AccountEndpointRequest' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountEndpointRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "model"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,100 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountRequest do
21
+ let(:instance) { MergeAccountingClient::AccountRequest.new }
22
+
23
+ describe 'test an instance of AccountRequest' do
24
+ it 'should create an instance of AccountRequest' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "description"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "classification"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "type"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "status"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ describe 'test attribute "current_balance"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
64
+ describe 'test attribute "currency"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "account_number"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
76
+ describe 'test attribute "parent_account"' do
77
+ it 'should work' do
78
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
79
+ end
80
+ end
81
+
82
+ describe 'test attribute "company"' do
83
+ it 'should work' do
84
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
85
+ end
86
+ end
87
+
88
+ describe 'test attribute "integration_params"' do
89
+ it 'should work' do
90
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
91
+ end
92
+ end
93
+
94
+ describe 'test attribute "linked_account_params"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountResponse do
21
+ let(:instance) { MergeAccountingClient::AccountResponse.new }
22
+
23
+ describe 'test an instance of AccountResponse' do
24
+ it 'should create an instance of AccountResponse' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "model"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "warnings"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "errors"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "logs"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -37,12 +37,6 @@ describe MergeAccountingClient::Account do
37
37
  end
38
38
  end
39
39
 
40
- describe 'test attribute "remote_data"' do
41
- it 'should work' do
42
- # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
- end
44
- end
45
-
46
40
  describe 'test attribute "name"' do
47
41
  it 'should work' do
48
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -97,10 +91,28 @@ describe MergeAccountingClient::Account do
97
91
  end
98
92
  end
99
93
 
94
+ describe 'test attribute "company"' do
95
+ it 'should work' do
96
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
97
+ end
98
+ end
99
+
100
100
  describe 'test attribute "remote_was_deleted"' do
101
101
  it 'should work' do
102
102
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
103
  end
104
104
  end
105
105
 
106
+ describe 'test attribute "field_mappings"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
112
+ describe 'test attribute "remote_data"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
106
118
  end
@@ -0,0 +1,34 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountingAttachmentEndpointRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountingAttachmentEndpointRequest do
21
+ let(:instance) { MergeAccountingClient::AccountingAttachmentEndpointRequest.new }
22
+
23
+ describe 'test an instance of AccountingAttachmentEndpointRequest' do
24
+ it 'should create an instance of AccountingAttachmentEndpointRequest' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountingAttachmentEndpointRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "model"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ end
@@ -0,0 +1,58 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountingAttachmentRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountingAttachmentRequest do
21
+ let(:instance) { MergeAccountingClient::AccountingAttachmentRequest.new }
22
+
23
+ describe 'test an instance of AccountingAttachmentRequest' do
24
+ it 'should create an instance of AccountingAttachmentRequest' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountingAttachmentRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "file_name"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "file_url"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "company"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "integration_params"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ describe 'test attribute "linked_account_params"' do
53
+ it 'should work' do
54
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
+ end
56
+ end
57
+
58
+ end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountingAttachmentResponse
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountingAttachmentResponse do
21
+ let(:instance) { MergeAccountingClient::AccountingAttachmentResponse.new }
22
+
23
+ describe 'test an instance of AccountingAttachmentResponse' do
24
+ it 'should create an instance of AccountingAttachmentResponse' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountingAttachmentResponse)
26
+ end
27
+ end
28
+ describe 'test attribute "model"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "warnings"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "errors"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "logs"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -37,19 +37,19 @@ describe MergeAccountingClient::AccountingAttachment do
37
37
  end
38
38
  end
39
39
 
40
- describe 'test attribute "remote_data"' do
40
+ describe 'test attribute "file_name"' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
43
  end
44
44
  end
45
45
 
46
- describe 'test attribute "file_name"' do
46
+ describe 'test attribute "file_url"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
49
  end
50
50
  end
51
51
 
52
- describe 'test attribute "file_url"' do
52
+ describe 'test attribute "company"' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
55
  end
@@ -61,4 +61,16 @@ describe MergeAccountingClient::AccountingAttachment do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "field_mappings"' do
65
+ it 'should work' do
66
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
67
+ end
68
+ end
69
+
70
+ describe 'test attribute "remote_data"' do
71
+ it 'should work' do
72
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
73
+ end
74
+ end
75
+
64
76
  end
@@ -0,0 +1,52 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::AccountingPhoneNumberRequest
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountingPhoneNumberRequest do
21
+ let(:instance) { MergeAccountingClient::AccountingPhoneNumberRequest.new }
22
+
23
+ describe 'test an instance of AccountingPhoneNumberRequest' do
24
+ it 'should create an instance of AccountingPhoneNumberRequest' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountingPhoneNumberRequest)
26
+ end
27
+ end
28
+ describe 'test attribute "number"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "type"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ describe 'test attribute "integration_params"' do
41
+ it 'should work' do
42
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
+ end
44
+ end
45
+
46
+ describe 'test attribute "linked_account_params"' do
47
+ it 'should work' do
48
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
+ end
50
+ end
51
+
52
+ end
@@ -55,6 +55,12 @@ describe MergeAccountingClient::Address do
55
55
  end
56
56
  end
57
57
 
58
+ describe 'test attribute "country_subdivision"' do
59
+ it 'should work' do
60
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
61
+ end
62
+ end
63
+
58
64
  describe 'test attribute "country"' do
59
65
  it 'should work' do
60
66
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -37,19 +37,19 @@ describe MergeAccountingClient::BalanceSheet do
37
37
  end
38
38
  end
39
39
 
40
- describe 'test attribute "remote_data"' do
40
+ describe 'test attribute "name"' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
43
  end
44
44
  end
45
45
 
46
- describe 'test attribute "name"' do
46
+ describe 'test attribute "currency"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
49
  end
50
50
  end
51
51
 
52
- describe 'test attribute "currency"' do
52
+ describe 'test attribute "company"' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
55
  end
@@ -97,4 +97,16 @@ describe MergeAccountingClient::BalanceSheet do
97
97
  end
98
98
  end
99
99
 
100
+ describe 'test attribute "field_mappings"' do
101
+ it 'should work' do
102
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
103
+ end
104
+ end
105
+
106
+ describe 'test attribute "remote_data"' do
107
+ it 'should work' do
108
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
109
+ end
110
+ end
111
+
100
112
  end
@@ -37,19 +37,19 @@ describe MergeAccountingClient::CashFlowStatement do
37
37
  end
38
38
  end
39
39
 
40
- describe 'test attribute "remote_data"' do
40
+ describe 'test attribute "name"' do
41
41
  it 'should work' do
42
42
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
43
43
  end
44
44
  end
45
45
 
46
- describe 'test attribute "name"' do
46
+ describe 'test attribute "currency"' do
47
47
  it 'should work' do
48
48
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
49
49
  end
50
50
  end
51
51
 
52
- describe 'test attribute "currency"' do
52
+ describe 'test attribute "company"' do
53
53
  it 'should work' do
54
54
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
55
55
  end
@@ -109,4 +109,16 @@ describe MergeAccountingClient::CashFlowStatement do
109
109
  end
110
110
  end
111
111
 
112
+ describe 'test attribute "field_mappings"' do
113
+ it 'should work' do
114
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
115
+ end
116
+ end
117
+
118
+ describe 'test attribute "remote_data"' do
119
+ it 'should work' do
120
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
121
+ end
122
+ end
123
+
112
124
  end
@@ -0,0 +1,40 @@
1
+ =begin
2
+ #Merge Accounting API
3
+
4
+ #The unified API for building rich integrations with multiple Accounting & Finance platforms.
5
+
6
+ The version of the OpenAPI document: 1.0
7
+ Contact: hello@merge.dev
8
+ Generated by: https://openapi-generator.tech
9
+ OpenAPI Generator version: 5.1.1
10
+
11
+ =end
12
+
13
+ require 'spec_helper'
14
+ require 'json'
15
+ require 'date'
16
+
17
+ # Unit tests for MergeAccountingClient::CommonModelScopeData
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::CommonModelScopeData do
21
+ let(:instance) { MergeAccountingClient::CommonModelScopeData.new }
22
+
23
+ describe 'test an instance of CommonModelScopeData' do
24
+ it 'should create an instance of CommonModelScopeData' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::CommonModelScopeData)
26
+ end
27
+ end
28
+ describe 'test attribute "common_models"' do
29
+ it 'should work' do
30
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
31
+ end
32
+ end
33
+
34
+ describe 'test attribute "linked_account_id"' do
35
+ it 'should work' do
36
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
37
+ end
38
+ end
39
+
40
+ end