merge_accounting_client 1.0.8 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (242) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +238 -224
  3. data/docs/Account.md +5 -1
  4. data/docs/AccountIntegration.md +8 -2
  5. data/docs/AccountingAttachment.md +5 -1
  6. data/docs/AccountingPeriod.md +30 -0
  7. data/docs/AccountingPeriodStatusEnum.md +15 -0
  8. data/docs/AccountingPeriodsApi.md +167 -0
  9. data/docs/AccountingPhoneNumber.md +5 -1
  10. data/docs/AccountsApi.md +4 -4
  11. data/docs/Address.md +6 -2
  12. data/docs/AddressRequest.md +34 -0
  13. data/docs/AsyncPassthroughApi.md +155 -0
  14. data/docs/AsyncPassthroughReciept.md +18 -0
  15. data/docs/AttachmentsApi.md +4 -4
  16. data/docs/AuditLogEvent.md +32 -0
  17. data/docs/AuditTrailApi.md +91 -0
  18. data/docs/BalanceSheet.md +5 -1
  19. data/docs/BalanceSheetsApi.md +4 -4
  20. data/docs/CashFlowStatement.md +5 -1
  21. data/docs/CashFlowStatementsApi.md +4 -4
  22. data/docs/CompanyInfo.md +6 -2
  23. data/docs/CompanyInfoApi.md +4 -4
  24. data/docs/Contact.md +6 -2
  25. data/docs/ContactRequest.md +1 -1
  26. data/docs/ContactsApi.md +8 -4
  27. data/docs/CreditNote.md +14 -2
  28. data/docs/CreditNoteLineItem.md +9 -1
  29. data/docs/CreditNotesApi.md +6 -6
  30. data/docs/DeleteAccountApi.md +9 -9
  31. data/docs/EndUserDetailsRequest.md +2 -2
  32. data/docs/EventTypeEnum.md +15 -0
  33. data/docs/Expense.md +14 -2
  34. data/docs/ExpenseLine.md +11 -1
  35. data/docs/ExpenseLineRequest.md +2 -0
  36. data/docs/ExpenseRequest.md +9 -1
  37. data/docs/ExpensesApi.md +4 -4
  38. data/docs/ForceResyncApi.md +1 -1
  39. data/docs/IncomeStatement.md +5 -1
  40. data/docs/IncomeStatementsApi.md +4 -4
  41. data/docs/Invoice.md +18 -4
  42. data/docs/InvoiceLineItem.md +7 -1
  43. data/docs/InvoiceRequest.md +7 -1
  44. data/docs/InvoiceStatusEnum.md +15 -0
  45. data/docs/InvoicesApi.md +6 -6
  46. data/docs/Issue.md +2 -2
  47. data/docs/IssuesApi.md +6 -6
  48. data/docs/Item.md +5 -1
  49. data/docs/ItemsApi.md +4 -4
  50. data/docs/JournalEntriesApi.md +6 -6
  51. data/docs/JournalEntry.md +13 -1
  52. data/docs/JournalEntryRequest.md +4 -0
  53. data/docs/JournalLine.md +13 -1
  54. data/docs/JournalLineRequest.md +4 -0
  55. data/docs/LinkedAccountsApi.md +2 -2
  56. data/docs/MetaResponse.md +2 -2
  57. data/docs/PaginatedAccountingPeriodList.md +22 -0
  58. data/docs/PaginatedAuditLogEventList.md +22 -0
  59. data/docs/Payment.md +11 -1
  60. data/docs/PaymentLineItem.md +32 -0
  61. data/docs/PaymentLineItemRequest.md +30 -0
  62. data/docs/PaymentRequest.md +6 -0
  63. data/docs/PaymentsApi.md +4 -4
  64. data/docs/PurchaseOrder.md +13 -3
  65. data/docs/PurchaseOrderLineItem.md +9 -1
  66. data/docs/PurchaseOrderRequest.md +2 -0
  67. data/docs/PurchaseOrdersApi.md +6 -6
  68. data/docs/RemoteData.md +1 -1
  69. data/docs/ReportItem.md +5 -1
  70. data/docs/RoleEnum.md +15 -0
  71. data/docs/SyncStatus.md +1 -1
  72. data/docs/SyncStatusApi.md +15 -11
  73. data/docs/TaxRate.md +5 -1
  74. data/docs/TaxRatesApi.md +4 -4
  75. data/docs/TrackingCategoriesApi.md +4 -4
  76. data/docs/TrackingCategory.md +5 -1
  77. data/docs/Transaction.md +9 -3
  78. data/docs/TransactionLineItem.md +9 -1
  79. data/docs/TransactionsApi.md +4 -4
  80. data/docs/VendorCredit.md +10 -2
  81. data/docs/VendorCreditLine.md +9 -1
  82. data/docs/VendorCreditsApi.md +6 -6
  83. data/git_push.sh +58 -0
  84. data/lib/merge_accounting_client/api/accounting_periods_api.rb +167 -0
  85. data/lib/merge_accounting_client/api/accounts_api.rb +4 -4
  86. data/lib/merge_accounting_client/api/async_passthrough_api.rb +160 -0
  87. data/lib/merge_accounting_client/api/attachments_api.rb +4 -4
  88. data/lib/merge_accounting_client/api/audit_trail_api.rb +95 -0
  89. data/lib/merge_accounting_client/api/balance_sheets_api.rb +4 -4
  90. data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +4 -4
  91. data/lib/merge_accounting_client/api/company_info_api.rb +4 -4
  92. data/lib/merge_accounting_client/api/contacts_api.rb +10 -4
  93. data/lib/merge_accounting_client/api/credit_notes_api.rb +6 -6
  94. data/lib/merge_accounting_client/api/delete_account_api.rb +7 -7
  95. data/lib/merge_accounting_client/api/expenses_api.rb +6 -6
  96. data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
  97. data/lib/merge_accounting_client/api/income_statements_api.rb +4 -4
  98. data/lib/merge_accounting_client/api/invoices_api.rb +6 -6
  99. data/lib/merge_accounting_client/api/issues_api.rb +6 -6
  100. data/lib/merge_accounting_client/api/items_api.rb +4 -4
  101. data/lib/merge_accounting_client/api/journal_entries_api.rb +6 -6
  102. data/lib/merge_accounting_client/api/linked_accounts_api.rb +3 -3
  103. data/lib/merge_accounting_client/api/payments_api.rb +6 -6
  104. data/lib/merge_accounting_client/api/purchase_orders_api.rb +6 -6
  105. data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
  106. data/lib/merge_accounting_client/api/tax_rates_api.rb +4 -4
  107. data/lib/merge_accounting_client/api/tracking_categories_api.rb +4 -4
  108. data/lib/merge_accounting_client/api/transactions_api.rb +6 -6
  109. data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
  110. data/lib/merge_accounting_client/configuration.rb +4 -0
  111. data/lib/merge_accounting_client/models/account.rb +22 -3
  112. data/lib/merge_accounting_client/models/account_integration.rb +37 -4
  113. data/lib/merge_accounting_client/models/account_request.rb +1 -1
  114. data/lib/merge_accounting_client/models/accounting_attachment.rb +21 -2
  115. data/lib/merge_accounting_client/models/accounting_period.rb +296 -0
  116. data/lib/merge_accounting_client/models/accounting_period_status_enum.rb +45 -0
  117. data/lib/merge_accounting_client/models/accounting_phone_number.rb +24 -5
  118. data/lib/merge_accounting_client/models/address.rb +24 -5
  119. data/lib/merge_accounting_client/models/address_request.rb +311 -0
  120. data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
  121. data/lib/merge_accounting_client/models/audit_log_event.rb +356 -0
  122. data/lib/merge_accounting_client/models/balance_sheet.rb +21 -2
  123. data/lib/merge_accounting_client/models/cash_flow_statement.rb +21 -2
  124. data/lib/merge_accounting_client/models/company_info.rb +22 -3
  125. data/lib/merge_accounting_client/models/contact.rb +23 -4
  126. data/lib/merge_accounting_client/models/contact_request.rb +2 -2
  127. data/lib/merge_accounting_client/models/credit_note.rb +84 -3
  128. data/lib/merge_accounting_client/models/credit_note_line_item.rb +43 -5
  129. data/lib/merge_accounting_client/models/end_user_details_request.rb +2 -2
  130. data/lib/merge_accounting_client/models/event_type_enum.rb +67 -0
  131. data/lib/merge_accounting_client/models/expense.rb +66 -3
  132. data/lib/merge_accounting_client/models/expense_line.rb +54 -5
  133. data/lib/merge_accounting_client/models/expense_line_request.rb +12 -1
  134. data/lib/merge_accounting_client/models/expense_request.rb +46 -2
  135. data/lib/merge_accounting_client/models/income_statement.rb +21 -2
  136. data/lib/merge_accounting_client/models/invoice.rb +84 -9
  137. data/lib/merge_accounting_client/models/invoice_line_item.rb +31 -2
  138. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
  139. data/lib/merge_accounting_client/models/invoice_request.rb +35 -2
  140. data/lib/merge_accounting_client/models/invoice_status_enum.rb +49 -0
  141. data/lib/merge_accounting_client/models/issue.rb +1 -0
  142. data/lib/merge_accounting_client/models/item.rb +21 -2
  143. data/lib/merge_accounting_client/models/journal_entry.rb +81 -2
  144. data/lib/merge_accounting_client/models/journal_entry_request.rb +38 -1
  145. data/lib/merge_accounting_client/models/journal_line.rb +65 -5
  146. data/lib/merge_accounting_client/models/journal_line_request.rb +23 -1
  147. data/lib/merge_accounting_client/models/paginated_accounting_period_list.rb +240 -0
  148. data/lib/merge_accounting_client/models/paginated_audit_log_event_list.rb +240 -0
  149. data/lib/merge_accounting_client/models/payment.rb +55 -2
  150. data/lib/merge_accounting_client/models/payment_line_item.rb +308 -0
  151. data/lib/merge_accounting_client/models/payment_line_item_request.rb +319 -0
  152. data/lib/merge_accounting_client/models/payment_request.rb +35 -1
  153. data/lib/merge_accounting_client/models/purchase_order.rb +70 -3
  154. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +43 -5
  155. data/lib/merge_accounting_client/models/purchase_order_request.rb +12 -1
  156. data/lib/merge_accounting_client/models/remote_data.rb +3 -4
  157. data/lib/merge_accounting_client/models/report_item.rb +24 -5
  158. data/lib/merge_accounting_client/models/role_enum.rb +49 -0
  159. data/lib/merge_accounting_client/models/sync_status_status_enum.rb +1 -1
  160. data/lib/merge_accounting_client/models/tax_rate.rb +21 -2
  161. data/lib/merge_accounting_client/models/tracking_category.rb +22 -3
  162. data/lib/merge_accounting_client/models/transaction.rb +33 -3
  163. data/lib/merge_accounting_client/models/transaction_line_item.rb +43 -5
  164. data/lib/merge_accounting_client/models/vendor_credit.rb +44 -3
  165. data/lib/merge_accounting_client/models/vendor_credit_line.rb +43 -5
  166. data/lib/merge_accounting_client/version.rb +1 -1
  167. data/lib/merge_accounting_client.rb +15 -7
  168. data/spec/api/accounting_periods_api_spec.rb +63 -0
  169. data/spec/api/accounts_api_spec.rb +2 -2
  170. data/spec/api/async_passthrough_api_spec.rb +59 -0
  171. data/spec/api/attachments_api_spec.rb +2 -2
  172. data/spec/api/audit_trail_api_spec.rb +51 -0
  173. data/spec/api/balance_sheets_api_spec.rb +2 -2
  174. data/spec/api/cash_flow_statements_api_spec.rb +2 -2
  175. data/spec/api/company_info_api_spec.rb +2 -2
  176. data/spec/api/contacts_api_spec.rb +4 -2
  177. data/spec/api/credit_notes_api_spec.rb +2 -2
  178. data/spec/api/delete_account_api_spec.rb +2 -2
  179. data/spec/api/expenses_api_spec.rb +2 -2
  180. data/spec/api/force_resync_api_spec.rb +1 -1
  181. data/spec/api/income_statements_api_spec.rb +2 -2
  182. data/spec/api/invoices_api_spec.rb +2 -2
  183. data/spec/api/issues_api_spec.rb +3 -3
  184. data/spec/api/items_api_spec.rb +2 -2
  185. data/spec/api/journal_entries_api_spec.rb +2 -2
  186. data/spec/api/linked_accounts_api_spec.rb +1 -1
  187. data/spec/api/payments_api_spec.rb +2 -2
  188. data/spec/api/purchase_orders_api_spec.rb +2 -2
  189. data/spec/api/sync_status_api_spec.rb +1 -1
  190. data/spec/api/tax_rates_api_spec.rb +2 -2
  191. data/spec/api/tracking_categories_api_spec.rb +2 -2
  192. data/spec/api/transactions_api_spec.rb +2 -2
  193. data/spec/api/vendor_credits_api_spec.rb +2 -2
  194. data/spec/models/account_integration_spec.rb +18 -0
  195. data/spec/models/account_spec.rb +12 -0
  196. data/spec/models/accounting_attachment_spec.rb +12 -0
  197. data/spec/models/accounting_period_spec.rb +70 -0
  198. data/spec/models/accounting_period_status_enum_spec.rb +28 -0
  199. data/spec/models/accounting_phone_number_spec.rb +12 -0
  200. data/spec/models/address_request_spec.rb +82 -0
  201. data/spec/models/address_spec.rb +12 -0
  202. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  203. data/spec/models/audit_log_event_spec.rb +76 -0
  204. data/spec/models/balance_sheet_spec.rb +12 -0
  205. data/spec/models/cash_flow_statement_spec.rb +12 -0
  206. data/spec/models/company_info_spec.rb +12 -0
  207. data/spec/models/contact_spec.rb +12 -0
  208. data/spec/models/credit_note_line_item_spec.rb +24 -0
  209. data/spec/models/credit_note_spec.rb +36 -0
  210. data/spec/models/event_type_enum_spec.rb +28 -0
  211. data/spec/models/expense_line_request_spec.rb +6 -0
  212. data/spec/models/expense_line_spec.rb +30 -0
  213. data/spec/models/expense_request_spec.rb +24 -0
  214. data/spec/models/expense_spec.rb +36 -0
  215. data/spec/models/income_statement_spec.rb +12 -0
  216. data/spec/models/invoice_line_item_spec.rb +18 -0
  217. data/spec/models/invoice_request_spec.rb +18 -0
  218. data/spec/models/invoice_spec.rb +43 -1
  219. data/spec/models/invoice_status_enum_spec.rb +28 -0
  220. data/spec/models/item_spec.rb +12 -0
  221. data/spec/models/journal_entry_request_spec.rb +12 -0
  222. data/spec/models/journal_entry_spec.rb +36 -0
  223. data/spec/models/journal_line_request_spec.rb +12 -0
  224. data/spec/models/journal_line_spec.rb +36 -0
  225. data/spec/models/paginated_accounting_period_list_spec.rb +46 -0
  226. data/spec/models/paginated_audit_log_event_list_spec.rb +46 -0
  227. data/spec/models/payment_line_item_request_spec.rb +70 -0
  228. data/spec/models/payment_line_item_spec.rb +76 -0
  229. data/spec/models/payment_request_spec.rb +18 -0
  230. data/spec/models/payment_spec.rb +30 -0
  231. data/spec/models/purchase_order_line_item_spec.rb +24 -0
  232. data/spec/models/purchase_order_request_spec.rb +6 -0
  233. data/spec/models/purchase_order_spec.rb +30 -0
  234. data/spec/models/report_item_spec.rb +12 -0
  235. data/spec/models/role_enum_spec.rb +28 -0
  236. data/spec/models/tax_rate_spec.rb +12 -0
  237. data/spec/models/tracking_category_spec.rb +12 -0
  238. data/spec/models/transaction_line_item_spec.rb +24 -0
  239. data/spec/models/transaction_spec.rb +18 -0
  240. data/spec/models/vendor_credit_line_spec.rb +24 -0
  241. data/spec/models/vendor_credit_spec.rb +24 -0
  242. metadata +211 -150
@@ -0,0 +1,63 @@
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
+
16
+ # Unit tests for MergeAccountingClient::AccountingPeriodsApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AccountingPeriodsApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MergeAccountingClient::AccountingPeriodsApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AccountingPeriodsApi' do
30
+ it 'should create an instance of AccountingPeriodsApi' do
31
+ expect(@api_instance).to be_instance_of(MergeAccountingClient::AccountingPeriodsApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for accounting_periods_list
36
+ # Returns a list of `AccountingPeriod` objects.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param [Hash] opts the optional parameters
39
+ # @option opts [String] :cursor The pagination cursor value.
40
+ # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
41
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
42
+ # @option opts [Integer] :page_size Number of results to return per page.
43
+ # @return [PaginatedAccountingPeriodList]
44
+ describe 'accounting_periods_list test' do
45
+ it 'should work' do
46
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
47
+ end
48
+ end
49
+
50
+ # unit tests for accounting_periods_retrieve
51
+ # Returns an `AccountingPeriod` object with the given `id`.
52
+ # @param x_account_token Token identifying the end user.
53
+ # @param id
54
+ # @param [Hash] opts the optional parameters
55
+ # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
56
+ # @return [AccountingPeriod]
57
+ describe 'accounting_periods_retrieve test' do
58
+ it 'should work' do
59
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
60
+ end
61
+ end
62
+
63
+ end
@@ -57,8 +57,8 @@ describe 'AccountsApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
64
64
  # @option opts [String] :remote_id The API provider's ID for the given object.
@@ -0,0 +1,59 @@
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
+
16
+ # Unit tests for MergeAccountingClient::AsyncPassthroughApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AsyncPassthroughApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MergeAccountingClient::AsyncPassthroughApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AsyncPassthroughApi' do
30
+ it 'should create an instance of AsyncPassthroughApi' do
31
+ expect(@api_instance).to be_instance_of(MergeAccountingClient::AsyncPassthroughApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for async_passthrough_create
36
+ # Asynchronously pull data from an endpoint not currently supported by Merge.
37
+ # @param x_account_token Token identifying the end user.
38
+ # @param data_passthrough_request
39
+ # @param [Hash] opts the optional parameters
40
+ # @return [AsyncPassthroughReciept]
41
+ describe 'async_passthrough_create test' do
42
+ it 'should work' do
43
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
44
+ end
45
+ end
46
+
47
+ # unit tests for async_passthrough_retrieve
48
+ # Retrieves data from earlier async-passthrough POST request
49
+ # @param x_account_token Token identifying the end user.
50
+ # @param async_passthrough_receipt_id
51
+ # @param [Hash] opts the optional parameters
52
+ # @return [RemoteResponse]
53
+ describe 'async_passthrough_retrieve test' do
54
+ it 'should work' do
55
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
56
+ end
57
+ end
58
+
59
+ end
@@ -56,8 +56,8 @@ describe 'AttachmentsApi' do
56
56
  # @option opts [String] :cursor The pagination cursor value.
57
57
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
58
58
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
59
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
60
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
59
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
60
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
61
61
  # @option opts [Integer] :page_size Number of results to return per page.
62
62
  # @option opts [String] :remote_id The API provider's ID for the given object.
63
63
  # @return [PaginatedAccountingAttachmentList]
@@ -0,0 +1,51 @@
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
+
16
+ # Unit tests for MergeAccountingClient::AuditTrailApi
17
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
18
+ # Please update as you see appropriate
19
+ describe 'AuditTrailApi' do
20
+ before do
21
+ # run before each test
22
+ @api_instance = MergeAccountingClient::AuditTrailApi.new
23
+ end
24
+
25
+ after do
26
+ # run after each test
27
+ end
28
+
29
+ describe 'test an instance of AuditTrailApi' do
30
+ it 'should create an instance of AuditTrailApi' do
31
+ expect(@api_instance).to be_instance_of(MergeAccountingClient::AuditTrailApi)
32
+ end
33
+ end
34
+
35
+ # unit tests for audit_trail_list
36
+ # Gets a list of audit trail events.
37
+ # @param [Hash] opts the optional parameters
38
+ # @option opts [String] :cursor The pagination cursor value.
39
+ # @option opts [String] :end_date If included, will only include audit trail events that occured before this time
40
+ # @option opts [String] :event_type If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`
41
+ # @option opts [Integer] :page_size Number of results to return per page.
42
+ # @option opts [String] :start_date If included, will only include audit trail events that occured after this time
43
+ # @option opts [String] :user_email If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
44
+ # @return [PaginatedAuditLogEventList]
45
+ describe 'audit_trail_list test' do
46
+ it 'should work' do
47
+ # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
48
+ end
49
+ end
50
+
51
+ end
@@ -43,8 +43,8 @@ describe 'BalanceSheetsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider's ID for the given object.
50
50
  # @return [PaginatedBalanceSheetList]
@@ -43,8 +43,8 @@ describe 'CashFlowStatementsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider's ID for the given object.
50
50
  # @return [PaginatedCashFlowStatementList]
@@ -42,8 +42,8 @@ describe 'CompanyInfoApi' do
42
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
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
46
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
45
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
46
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
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
49
  # @return [PaginatedCompanyInfoList]
@@ -57,8 +57,10 @@ describe 'ContactsApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [String] :is_customer If provided, will only return Contacts that are denoted as customers.
61
+ # @option opts [String] :is_supplier If provided, will only return Contacts that are denoted as suppliers.
62
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
63
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
64
  # @option opts [Integer] :page_size Number of results to return per page.
63
65
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
64
66
  # @option opts [String] :remote_id The API provider's ID for the given object.
@@ -43,8 +43,8 @@ describe 'CreditNotesApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
50
50
  # @option opts [String] :remote_id The API provider's ID for the given object.
@@ -32,12 +32,12 @@ describe 'DeleteAccountApi' do
32
32
  end
33
33
  end
34
34
 
35
- # unit tests for delete_account_create
35
+ # unit tests for delete_account_delete
36
36
  # Delete a linked account.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [nil]
40
- describe 'delete_account_create test' do
40
+ describe 'delete_account_delete test' 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
@@ -57,8 +57,8 @@ describe 'ExpensesApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_id The API provider's ID for the given object.
64
64
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -33,7 +33,7 @@ describe 'ForceResyncApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_resync_create
36
- # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available for monthly and quarterly sync frequency customers on the Core, Professional, or Enterprise plans.
36
+ # Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @return [Array<SyncStatus>]
@@ -43,8 +43,8 @@ describe 'IncomeStatementsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @return [PaginatedIncomeStatementList]
@@ -60,8 +60,8 @@ describe 'InvoicesApi' do
60
60
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
61
61
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
62
62
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
63
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
64
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
63
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
64
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
65
65
  # @option opts [Integer] :page_size Number of results to return per page.
66
66
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
67
67
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -43,11 +43,11 @@ describe 'IssuesApi' do
43
43
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
44
44
  # @option opts [String] :include_muted If True, will include muted issues
45
45
  # @option opts [String] :integration_name
46
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
47
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
46
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
47
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
50
- # @option opts [String] :status * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
50
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
51
51
  # @return [PaginatedIssueList]
52
52
  describe 'issues_list test' do
53
53
  it 'should work' do
@@ -43,8 +43,8 @@ describe 'ItemsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
50
50
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -57,8 +57,8 @@ describe 'JournalEntriesApi' do
57
57
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
58
58
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
61
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
60
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
61
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
62
62
  # @option opts [Integer] :page_size Number of results to return per page.
63
63
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
64
64
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -35,7 +35,7 @@ describe 'LinkedAccountsApi' do
35
35
  # unit tests for linked_accounts_list
36
36
  # List linked accounts for your organization.
37
37
  # @param [Hash] opts the optional parameters
38
- # @option opts [String] :category * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage
38
+ # @option opts [String] :category Options: (&#39;hris&#39;, &#39;ats&#39;, &#39;accounting&#39;, &#39;ticketing&#39;, &#39;crm&#39;, &#39;mktg&#39;, &#39;filestorage&#39;, &#39;datawarehouse&#39;) * &#x60;hris&#x60; - hris * &#x60;ats&#x60; - ats * &#x60;accounting&#x60; - accounting * &#x60;ticketing&#x60; - ticketing * &#x60;crm&#x60; - crm * &#x60;mktg&#x60; - mktg * &#x60;filestorage&#x60; - filestorage * &#x60;datawarehouse&#x60; - datawarehouse
39
39
  # @option opts [String] :cursor The pagination cursor value.
40
40
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
41
41
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -59,8 +59,8 @@ describe 'PaymentsApi' do
59
59
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
60
60
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
61
61
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
62
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
63
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
62
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
63
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
64
64
  # @option opts [Integer] :page_size Number of results to return per page.
65
65
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
66
66
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -59,8 +59,8 @@ describe 'PurchaseOrdersApi' do
59
59
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
60
60
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
61
61
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
62
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
63
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
62
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
63
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
64
64
  # @option opts [Integer] :page_size Number of results to return per page.
65
65
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
66
66
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
33
33
  end
34
34
 
35
35
  # unit tests for sync_status_list
36
- # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;, &#x60;PARTIALLY_SYNCED&#x60;.
36
+ # Get syncing status. Possible values: &#x60;DISABLED&#x60;, &#x60;DONE&#x60;, &#x60;FAILED&#x60;, &#x60;PARTIALLY_SYNCED&#x60;, &#x60;PAUSED&#x60;, &#x60;SYNCING&#x60;. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
37
37
  # @param x_account_token Token identifying the end user.
38
38
  # @param [Hash] opts the optional parameters
39
39
  # @option opts [String] :cursor The pagination cursor value.
@@ -43,8 +43,8 @@ describe 'TaxRatesApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @return [PaginatedTaxRateList]
@@ -43,8 +43,8 @@ describe 'TrackingCategoriesApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
50
50
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -43,8 +43,8 @@ describe 'TransactionsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -43,8 +43,8 @@ describe 'VendorCreditsApi' do
43
43
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
44
44
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
45
45
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
46
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
47
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
46
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
47
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
48
48
  # @option opts [Integer] :page_size Number of results to return per page.
49
49
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
50
50
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -61,4 +61,22 @@ describe MergeAccountingClient::AccountIntegration do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "is_in_beta"' 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 "api_endpoints_to_documentation_urls"' 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 "webhook_setup_guide_url"' 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
+
64
82
  end
@@ -103,6 +103,18 @@ describe MergeAccountingClient::Account do
103
103
  end
104
104
  end
105
105
 
106
+ describe 'test attribute "created_at"' 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 "modified_at"' 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
  describe 'test attribute "field_mappings"' do
107
119
  it 'should work' do
108
120
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -61,6 +61,18 @@ describe MergeAccountingClient::AccountingAttachment do
61
61
  end
62
62
  end
63
63
 
64
+ describe 'test attribute "created_at"' 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 "modified_at"' 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
  describe 'test attribute "field_mappings"' do
65
77
  it 'should work' do
66
78
  # assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
@@ -0,0 +1,70 @@
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::AccountingPeriod
18
+ # Automatically generated by openapi-generator (https://openapi-generator.tech)
19
+ # Please update as you see appropriate
20
+ describe MergeAccountingClient::AccountingPeriod do
21
+ let(:instance) { MergeAccountingClient::AccountingPeriod.new }
22
+
23
+ describe 'test an instance of AccountingPeriod' do
24
+ it 'should create an instance of AccountingPeriod' do
25
+ expect(instance).to be_instance_of(MergeAccountingClient::AccountingPeriod)
26
+ end
27
+ end
28
+ describe 'test attribute "start_date"' 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 "end_date"' 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 "status"' 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 "name"' 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 "id"' 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 "created_at"' 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 "modified_at"' 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
+ end