merge_accounting_client 1.0.8 → 1.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (186) hide show
  1. checksums.yaml +4 -4
  2. data/README.md +224 -224
  3. data/docs/Account.md +2 -0
  4. data/docs/AccountIntegration.md +5 -1
  5. data/docs/AccountingAttachment.md +2 -0
  6. data/docs/AccountingPhoneNumber.md +3 -1
  7. data/docs/AccountsApi.md +4 -4
  8. data/docs/Address.md +4 -2
  9. data/docs/AsyncPassthroughApi.md +155 -0
  10. data/docs/AsyncPassthroughReciept.md +18 -0
  11. data/docs/AttachmentsApi.md +4 -4
  12. data/docs/BalanceSheet.md +2 -0
  13. data/docs/BalanceSheetsApi.md +4 -4
  14. data/docs/CashFlowStatement.md +2 -0
  15. data/docs/CashFlowStatementsApi.md +4 -4
  16. data/docs/CompanyInfo.md +3 -1
  17. data/docs/CompanyInfoApi.md +4 -4
  18. data/docs/Contact.md +2 -0
  19. data/docs/ContactsApi.md +4 -4
  20. data/docs/CreditNote.md +6 -0
  21. data/docs/CreditNoteLineItem.md +3 -1
  22. data/docs/CreditNotesApi.md +4 -4
  23. data/docs/DeleteAccountApi.md +9 -9
  24. data/docs/EndUserDetailsRequest.md +1 -1
  25. data/docs/Expense.md +4 -0
  26. data/docs/ExpenseLine.md +3 -1
  27. data/docs/ExpenseRequest.md +2 -0
  28. data/docs/ExpensesApi.md +4 -4
  29. data/docs/ForceResyncApi.md +1 -1
  30. data/docs/IncomeStatement.md +2 -0
  31. data/docs/IncomeStatementsApi.md +4 -4
  32. data/docs/Invoice.md +7 -3
  33. data/docs/InvoiceLineItem.md +2 -0
  34. data/docs/InvoiceRequest.md +3 -1
  35. data/docs/InvoicesApi.md +4 -4
  36. data/docs/Issue.md +1 -1
  37. data/docs/IssuesApi.md +6 -6
  38. data/docs/Item.md +2 -0
  39. data/docs/ItemsApi.md +4 -4
  40. data/docs/JournalEntriesApi.md +4 -4
  41. data/docs/JournalEntry.md +4 -0
  42. data/docs/JournalLine.md +3 -1
  43. data/docs/LinkedAccountsApi.md +2 -2
  44. data/docs/Payment.md +4 -0
  45. data/docs/PaymentRequest.md +2 -0
  46. data/docs/PaymentsApi.md +4 -4
  47. data/docs/PurchaseOrder.md +4 -0
  48. data/docs/PurchaseOrderLineItem.md +3 -1
  49. data/docs/PurchaseOrdersApi.md +4 -4
  50. data/docs/RemoteData.md +1 -1
  51. data/docs/ReportItem.md +3 -1
  52. data/docs/SyncStatus.md +1 -1
  53. data/docs/SyncStatusApi.md +15 -11
  54. data/docs/TaxRate.md +2 -0
  55. data/docs/TaxRatesApi.md +4 -4
  56. data/docs/TrackingCategoriesApi.md +4 -4
  57. data/docs/TrackingCategory.md +2 -0
  58. data/docs/Transaction.md +2 -0
  59. data/docs/TransactionLineItem.md +3 -1
  60. data/docs/TransactionsApi.md +4 -4
  61. data/docs/VendorCredit.md +4 -0
  62. data/docs/VendorCreditLine.md +3 -1
  63. data/docs/VendorCreditsApi.md +4 -4
  64. data/git_push.sh +58 -0
  65. data/lib/merge_accounting_client/api/accounts_api.rb +4 -4
  66. data/lib/merge_accounting_client/api/async_passthrough_api.rb +160 -0
  67. data/lib/merge_accounting_client/api/attachments_api.rb +4 -4
  68. data/lib/merge_accounting_client/api/balance_sheets_api.rb +4 -4
  69. data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +4 -4
  70. data/lib/merge_accounting_client/api/company_info_api.rb +4 -4
  71. data/lib/merge_accounting_client/api/contacts_api.rb +4 -4
  72. data/lib/merge_accounting_client/api/credit_notes_api.rb +6 -6
  73. data/lib/merge_accounting_client/api/delete_account_api.rb +7 -7
  74. data/lib/merge_accounting_client/api/expenses_api.rb +6 -6
  75. data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
  76. data/lib/merge_accounting_client/api/income_statements_api.rb +4 -4
  77. data/lib/merge_accounting_client/api/invoices_api.rb +6 -6
  78. data/lib/merge_accounting_client/api/issues_api.rb +6 -6
  79. data/lib/merge_accounting_client/api/items_api.rb +4 -4
  80. data/lib/merge_accounting_client/api/journal_entries_api.rb +6 -6
  81. data/lib/merge_accounting_client/api/linked_accounts_api.rb +2 -2
  82. data/lib/merge_accounting_client/api/payments_api.rb +6 -6
  83. data/lib/merge_accounting_client/api/purchase_orders_api.rb +6 -6
  84. data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
  85. data/lib/merge_accounting_client/api/tax_rates_api.rb +4 -4
  86. data/lib/merge_accounting_client/api/tracking_categories_api.rb +4 -4
  87. data/lib/merge_accounting_client/api/transactions_api.rb +4 -4
  88. data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
  89. data/lib/merge_accounting_client/models/account.rb +11 -1
  90. data/lib/merge_accounting_client/models/account_integration.rb +26 -4
  91. data/lib/merge_accounting_client/models/accounting_attachment.rb +11 -1
  92. data/lib/merge_accounting_client/models/accounting_phone_number.rb +15 -5
  93. data/lib/merge_accounting_client/models/address.rb +15 -5
  94. data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
  95. data/lib/merge_accounting_client/models/balance_sheet.rb +11 -1
  96. data/lib/merge_accounting_client/models/cash_flow_statement.rb +11 -1
  97. data/lib/merge_accounting_client/models/company_info.rb +11 -1
  98. data/lib/merge_accounting_client/models/contact.rb +11 -1
  99. data/lib/merge_accounting_client/models/credit_note.rb +50 -1
  100. data/lib/merge_accounting_client/models/credit_note_line_item.rb +15 -5
  101. data/lib/merge_accounting_client/models/end_user_details_request.rb +1 -1
  102. data/lib/merge_accounting_client/models/expense.rb +22 -1
  103. data/lib/merge_accounting_client/models/expense_line.rb +15 -5
  104. data/lib/merge_accounting_client/models/expense_request.rb +12 -1
  105. data/lib/merge_accounting_client/models/income_statement.rb +11 -1
  106. data/lib/merge_accounting_client/models/invoice.rb +33 -12
  107. data/lib/merge_accounting_client/models/invoice_line_item.rb +12 -2
  108. data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
  109. data/lib/merge_accounting_client/models/invoice_request.rb +13 -2
  110. data/lib/merge_accounting_client/models/issue.rb +1 -0
  111. data/lib/merge_accounting_client/models/item.rb +11 -1
  112. data/lib/merge_accounting_client/models/journal_entry.rb +22 -1
  113. data/lib/merge_accounting_client/models/journal_line.rb +15 -5
  114. data/lib/merge_accounting_client/models/payment.rb +22 -1
  115. data/lib/merge_accounting_client/models/payment_request.rb +12 -1
  116. data/lib/merge_accounting_client/models/purchase_order.rb +22 -1
  117. data/lib/merge_accounting_client/models/purchase_order_line_item.rb +15 -5
  118. data/lib/merge_accounting_client/models/remote_data.rb +3 -4
  119. data/lib/merge_accounting_client/models/report_item.rb +15 -5
  120. data/lib/merge_accounting_client/models/sync_status_status_enum.rb +1 -1
  121. data/lib/merge_accounting_client/models/tax_rate.rb +11 -1
  122. data/lib/merge_accounting_client/models/tracking_category.rb +11 -1
  123. data/lib/merge_accounting_client/models/transaction.rb +11 -1
  124. data/lib/merge_accounting_client/models/transaction_line_item.rb +15 -5
  125. data/lib/merge_accounting_client/models/vendor_credit.rb +22 -1
  126. data/lib/merge_accounting_client/models/vendor_credit_line.rb +15 -5
  127. data/lib/merge_accounting_client/version.rb +1 -1
  128. data/lib/merge_accounting_client.rb +6 -2
  129. data/spec/api/accounts_api_spec.rb +2 -2
  130. data/spec/api/async_passthrough_api_spec.rb +59 -0
  131. data/spec/api/attachments_api_spec.rb +2 -2
  132. data/spec/api/balance_sheets_api_spec.rb +2 -2
  133. data/spec/api/cash_flow_statements_api_spec.rb +2 -2
  134. data/spec/api/company_info_api_spec.rb +2 -2
  135. data/spec/api/contacts_api_spec.rb +2 -2
  136. data/spec/api/credit_notes_api_spec.rb +2 -2
  137. data/spec/api/delete_account_api_spec.rb +2 -2
  138. data/spec/api/expenses_api_spec.rb +2 -2
  139. data/spec/api/force_resync_api_spec.rb +1 -1
  140. data/spec/api/income_statements_api_spec.rb +2 -2
  141. data/spec/api/invoices_api_spec.rb +2 -2
  142. data/spec/api/issues_api_spec.rb +3 -3
  143. data/spec/api/items_api_spec.rb +2 -2
  144. data/spec/api/journal_entries_api_spec.rb +2 -2
  145. data/spec/api/linked_accounts_api_spec.rb +1 -1
  146. data/spec/api/payments_api_spec.rb +2 -2
  147. data/spec/api/purchase_orders_api_spec.rb +2 -2
  148. data/spec/api/sync_status_api_spec.rb +1 -1
  149. data/spec/api/tax_rates_api_spec.rb +2 -2
  150. data/spec/api/tracking_categories_api_spec.rb +2 -2
  151. data/spec/api/transactions_api_spec.rb +2 -2
  152. data/spec/api/vendor_credits_api_spec.rb +2 -2
  153. data/spec/models/account_integration_spec.rb +12 -0
  154. data/spec/models/account_spec.rb +6 -0
  155. data/spec/models/accounting_attachment_spec.rb +6 -0
  156. data/spec/models/accounting_phone_number_spec.rb +6 -0
  157. data/spec/models/address_spec.rb +6 -0
  158. data/spec/models/async_passthrough_reciept_spec.rb +34 -0
  159. data/spec/models/balance_sheet_spec.rb +6 -0
  160. data/spec/models/cash_flow_statement_spec.rb +6 -0
  161. data/spec/models/company_info_spec.rb +6 -0
  162. data/spec/models/contact_spec.rb +6 -0
  163. data/spec/models/credit_note_line_item_spec.rb +6 -0
  164. data/spec/models/credit_note_spec.rb +18 -0
  165. data/spec/models/expense_line_spec.rb +6 -0
  166. data/spec/models/expense_request_spec.rb +6 -0
  167. data/spec/models/expense_spec.rb +12 -0
  168. data/spec/models/income_statement_spec.rb +6 -0
  169. data/spec/models/invoice_line_item_spec.rb +6 -0
  170. data/spec/models/invoice_request_spec.rb +6 -0
  171. data/spec/models/invoice_spec.rb +14 -2
  172. data/spec/models/item_spec.rb +6 -0
  173. data/spec/models/journal_entry_spec.rb +12 -0
  174. data/spec/models/journal_line_spec.rb +6 -0
  175. data/spec/models/payment_request_spec.rb +6 -0
  176. data/spec/models/payment_spec.rb +12 -0
  177. data/spec/models/purchase_order_line_item_spec.rb +6 -0
  178. data/spec/models/purchase_order_spec.rb +12 -0
  179. data/spec/models/report_item_spec.rb +6 -0
  180. data/spec/models/tax_rate_spec.rb +6 -0
  181. data/spec/models/tracking_category_spec.rb +6 -0
  182. data/spec/models/transaction_line_item_spec.rb +6 -0
  183. data/spec/models/transaction_spec.rb +6 -0
  184. data/spec/models/vendor_credit_line_spec.rb +6 -0
  185. data/spec/models/vendor_credit_spec.rb +12 -0
  186. metadata +163 -154
@@ -0,0 +1,160 @@
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 'cgi'
14
+
15
+ module MergeAccountingClient
16
+ class AsyncPassthroughApi
17
+ attr_accessor :api_client
18
+
19
+ def initialize(api_client = ApiClient.default)
20
+ @api_client = api_client
21
+ end
22
+ # Asynchronously pull data from an endpoint not currently supported by Merge.
23
+ # @param x_account_token [String] Token identifying the end user.
24
+ # @param data_passthrough_request [DataPassthroughRequest]
25
+ # @param [Hash] opts the optional parameters
26
+ # @return [AsyncPassthroughReciept]
27
+ def async_passthrough_create(x_account_token, data_passthrough_request, opts = {})
28
+ data, _status_code, _headers = async_passthrough_create_with_http_info(x_account_token, data_passthrough_request, opts)
29
+ data
30
+ end
31
+
32
+ # Asynchronously pull data from an endpoint not currently supported by Merge.
33
+ # @param x_account_token [String] Token identifying the end user.
34
+ # @param data_passthrough_request [DataPassthroughRequest]
35
+ # @param [Hash] opts the optional parameters
36
+ # @return [Array<(AsyncPassthroughReciept, Integer, Hash)>] AsyncPassthroughReciept data, response status code and response headers
37
+ def async_passthrough_create_with_http_info(x_account_token, data_passthrough_request, opts = {})
38
+ if @api_client.config.debugging
39
+ @api_client.config.logger.debug 'Calling API: AsyncPassthroughApi.async_passthrough_create ...'
40
+ end
41
+ # verify the required parameter 'x_account_token' is set
42
+ if @api_client.config.client_side_validation && x_account_token.nil?
43
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AsyncPassthroughApi.async_passthrough_create"
44
+ end
45
+ # verify the required parameter 'data_passthrough_request' is set
46
+ if @api_client.config.client_side_validation && data_passthrough_request.nil?
47
+ fail ArgumentError, "Missing the required parameter 'data_passthrough_request' when calling AsyncPassthroughApi.async_passthrough_create"
48
+ end
49
+ # resource path
50
+ local_var_path = '/async-passthrough'
51
+
52
+ # query parameters
53
+ query_params = opts[:query_params] || {}
54
+
55
+ # header parameters
56
+ header_params = opts[:header_params] || {}
57
+ # HTTP header 'Accept' (if needed)
58
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
59
+ # HTTP header 'Content-Type'
60
+ header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
61
+ header_params[:'X-Account-Token'] = x_account_token
62
+
63
+ # form parameters
64
+ form_params = opts[:form_params] || {}
65
+
66
+ # http body (model)
67
+ post_body = opts[:debug_body] || @api_client.object_to_http_body(data_passthrough_request)
68
+
69
+ # return_type
70
+ return_type = opts[:debug_return_type] || 'AsyncPassthroughReciept'
71
+
72
+ # auth_names
73
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
74
+
75
+ new_options = opts.merge(
76
+ :operation => :"AsyncPassthroughApi.async_passthrough_create",
77
+ :header_params => header_params,
78
+ :query_params => query_params,
79
+ :form_params => form_params,
80
+ :body => post_body,
81
+ :auth_names => auth_names,
82
+ :return_type => return_type
83
+ )
84
+
85
+ data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
86
+ if @api_client.config.debugging
87
+ @api_client.config.logger.debug "API called: AsyncPassthroughApi#async_passthrough_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
88
+ end
89
+ return data, status_code, headers
90
+ end
91
+
92
+ # Retrieves data from earlier async-passthrough POST request
93
+ # @param x_account_token [String] Token identifying the end user.
94
+ # @param async_passthrough_receipt_id [String]
95
+ # @param [Hash] opts the optional parameters
96
+ # @return [RemoteResponse]
97
+ def async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id, opts = {})
98
+ data, _status_code, _headers = async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id, opts)
99
+ data
100
+ end
101
+
102
+ # Retrieves data from earlier async-passthrough POST request
103
+ # @param x_account_token [String] Token identifying the end user.
104
+ # @param async_passthrough_receipt_id [String]
105
+ # @param [Hash] opts the optional parameters
106
+ # @return [Array<(RemoteResponse, Integer, Hash)>] RemoteResponse data, response status code and response headers
107
+ def async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id, opts = {})
108
+ if @api_client.config.debugging
109
+ @api_client.config.logger.debug 'Calling API: AsyncPassthroughApi.async_passthrough_retrieve ...'
110
+ end
111
+ # verify the required parameter 'x_account_token' is set
112
+ if @api_client.config.client_side_validation && x_account_token.nil?
113
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling AsyncPassthroughApi.async_passthrough_retrieve"
114
+ end
115
+ # verify the required parameter 'async_passthrough_receipt_id' is set
116
+ if @api_client.config.client_side_validation && async_passthrough_receipt_id.nil?
117
+ fail ArgumentError, "Missing the required parameter 'async_passthrough_receipt_id' when calling AsyncPassthroughApi.async_passthrough_retrieve"
118
+ end
119
+ # resource path
120
+ local_var_path = '/async-passthrough/{async_passthrough_receipt_id}'.sub('{' + 'async_passthrough_receipt_id' + '}', CGI.escape(async_passthrough_receipt_id.to_s))
121
+
122
+ # query parameters
123
+ query_params = opts[:query_params] || {}
124
+
125
+ # header parameters
126
+ header_params = opts[:header_params] || {}
127
+ # HTTP header 'Accept' (if needed)
128
+ header_params['Accept'] = @api_client.select_header_accept(['application/json'])
129
+ header_params[:'X-Account-Token'] = x_account_token
130
+
131
+ # form parameters
132
+ form_params = opts[:form_params] || {}
133
+
134
+ # http body (model)
135
+ post_body = opts[:debug_body]
136
+
137
+ # return_type
138
+ return_type = opts[:debug_return_type] || 'RemoteResponse'
139
+
140
+ # auth_names
141
+ auth_names = opts[:debug_auth_names] || ['tokenAuth']
142
+
143
+ new_options = opts.merge(
144
+ :operation => :"AsyncPassthroughApi.async_passthrough_retrieve",
145
+ :header_params => header_params,
146
+ :query_params => query_params,
147
+ :form_params => form_params,
148
+ :body => post_body,
149
+ :auth_names => auth_names,
150
+ :return_type => return_type
151
+ )
152
+
153
+ data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
154
+ if @api_client.config.debugging
155
+ @api_client.config.logger.debug "API called: AsyncPassthroughApi#async_passthrough_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
156
+ end
157
+ return data, status_code, headers
158
+ end
159
+ end
160
+ end
@@ -104,8 +104,8 @@ module MergeAccountingClient
104
104
  # @option opts [String] :cursor The pagination cursor value.
105
105
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
106
106
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
107
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
108
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
107
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
108
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
109
109
  # @option opts [Integer] :page_size Number of results to return per page.
110
110
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
111
111
  # @return [PaginatedAccountingAttachmentList]
@@ -123,8 +123,8 @@ module MergeAccountingClient
123
123
  # @option opts [String] :cursor The pagination cursor value.
124
124
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
125
125
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
126
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
127
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
126
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
127
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
128
128
  # @option opts [Integer] :page_size Number of results to return per page.
129
129
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
130
130
  # @return [Array<(PaginatedAccountingAttachmentList, Integer, Hash)>] PaginatedAccountingAttachmentList data, response status code and response headers
@@ -29,8 +29,8 @@ module MergeAccountingClient
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
30
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
32
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
33
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
36
36
  # @return [PaginatedBalanceSheetList]
@@ -49,8 +49,8 @@ module MergeAccountingClient
49
49
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
50
50
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
51
51
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
52
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
53
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
52
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
53
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
54
54
  # @option opts [Integer] :page_size Number of results to return per page.
55
55
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
56
56
  # @return [Array<(PaginatedBalanceSheetList, Integer, Hash)>] PaginatedBalanceSheetList data, response status code and response headers
@@ -29,8 +29,8 @@ module MergeAccountingClient
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
30
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
32
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
33
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
36
36
  # @return [PaginatedCashFlowStatementList]
@@ -49,8 +49,8 @@ module MergeAccountingClient
49
49
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
50
50
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
51
51
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
52
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
53
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
52
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
53
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
54
54
  # @option opts [Integer] :page_size Number of results to return per page.
55
55
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
56
56
  # @return [Array<(PaginatedCashFlowStatementList, Integer, Hash)>] PaginatedCashFlowStatementList data, response status code and response headers
@@ -28,8 +28,8 @@ module MergeAccountingClient
28
28
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
29
29
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
30
30
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
31
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
32
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
31
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
32
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
33
33
  # @option opts [Integer] :page_size Number of results to return per page.
34
34
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
35
35
  # @return [PaginatedCompanyInfoList]
@@ -47,8 +47,8 @@ module MergeAccountingClient
47
47
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
48
48
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
49
49
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
50
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
51
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
50
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
51
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
52
52
  # @option opts [Integer] :page_size Number of results to return per page.
53
53
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
54
54
  # @return [Array<(PaginatedCompanyInfoList, Integer, Hash)>] PaginatedCompanyInfoList data, response status code and response headers
@@ -105,8 +105,8 @@ module MergeAccountingClient
105
105
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
106
106
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
107
107
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
108
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
109
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
108
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
109
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
110
110
  # @option opts [Integer] :page_size Number of results to return per page.
111
111
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
112
112
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -127,8 +127,8 @@ module MergeAccountingClient
127
127
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
128
128
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
129
129
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
130
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
131
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
130
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
131
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
132
132
  # @option opts [Integer] :page_size Number of results to return per page.
133
133
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
134
134
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -29,8 +29,8 @@ module MergeAccountingClient
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
30
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
32
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
33
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
36
36
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -53,8 +53,8 @@ module MergeAccountingClient
53
53
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
54
54
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
55
55
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
56
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
57
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
56
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
57
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
58
58
  # @option opts [Integer] :page_size Number of results to return per page.
59
59
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
60
60
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -70,7 +70,7 @@ module MergeAccountingClient
70
70
  if @api_client.config.client_side_validation && x_account_token.nil?
71
71
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling CreditNotesApi.credit_notes_list"
72
72
  end
73
- allowable_values = ["line_items", "payments", "payments,line_items"]
73
+ allowable_values = ["line_items", "line_items,tracking_categories", "payments", "payments,line_items", "payments,line_items,tracking_categories", "payments,tracking_categories", "tracking_categories"]
74
74
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
75
75
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
76
76
  end
@@ -173,7 +173,7 @@ module MergeAccountingClient
173
173
  if @api_client.config.client_side_validation && id.nil?
174
174
  fail ArgumentError, "Missing the required parameter 'id' when calling CreditNotesApi.credit_notes_retrieve"
175
175
  end
176
- allowable_values = ["line_items", "payments", "payments,line_items"]
176
+ allowable_values = ["line_items", "line_items,tracking_categories", "payments", "payments,line_items", "payments,line_items,tracking_categories", "payments,tracking_categories", "tracking_categories"]
177
177
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
178
178
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
179
179
  end
@@ -23,8 +23,8 @@ module MergeAccountingClient
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [nil]
26
- def delete_account_create(x_account_token, opts = {})
27
- delete_account_create_with_http_info(x_account_token, opts)
26
+ def delete_account_delete(x_account_token, opts = {})
27
+ delete_account_delete_with_http_info(x_account_token, opts)
28
28
  nil
29
29
  end
30
30
 
@@ -32,13 +32,13 @@ module MergeAccountingClient
32
32
  # @param x_account_token [String] Token identifying the end user.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(nil, Integer, Hash)>] nil, response status code and response headers
35
- def delete_account_create_with_http_info(x_account_token, opts = {})
35
+ def delete_account_delete_with_http_info(x_account_token, opts = {})
36
36
  if @api_client.config.debugging
37
- @api_client.config.logger.debug 'Calling API: DeleteAccountApi.delete_account_create ...'
37
+ @api_client.config.logger.debug 'Calling API: DeleteAccountApi.delete_account_delete ...'
38
38
  end
39
39
  # verify the required parameter 'x_account_token' is set
40
40
  if @api_client.config.client_side_validation && x_account_token.nil?
41
- fail ArgumentError, "Missing the required parameter 'x_account_token' when calling DeleteAccountApi.delete_account_create"
41
+ fail ArgumentError, "Missing the required parameter 'x_account_token' when calling DeleteAccountApi.delete_account_delete"
42
42
  end
43
43
  # resource path
44
44
  local_var_path = '/delete-account'
@@ -63,7 +63,7 @@ module MergeAccountingClient
63
63
  auth_names = opts[:debug_auth_names] || ['tokenAuth']
64
64
 
65
65
  new_options = opts.merge(
66
- :operation => :"DeleteAccountApi.delete_account_create",
66
+ :operation => :"DeleteAccountApi.delete_account_delete",
67
67
  :header_params => header_params,
68
68
  :query_params => query_params,
69
69
  :form_params => form_params,
@@ -74,7 +74,7 @@ module MergeAccountingClient
74
74
 
75
75
  data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
76
76
  if @api_client.config.debugging
77
- @api_client.config.logger.debug "API called: DeleteAccountApi#delete_account_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
77
+ @api_client.config.logger.debug "API called: DeleteAccountApi#delete_account_delete\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
78
78
  end
79
79
  return data, status_code, headers
80
80
  end
@@ -105,8 +105,8 @@ module MergeAccountingClient
105
105
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
106
106
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
107
107
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
108
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
109
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
108
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
109
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
110
110
  # @option opts [Integer] :page_size Number of results to return per page.
111
111
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
112
112
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -127,8 +127,8 @@ module MergeAccountingClient
127
127
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
128
128
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
129
129
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
130
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
131
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
130
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
131
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
132
132
  # @option opts [Integer] :page_size Number of results to return per page.
133
133
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
134
134
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -142,7 +142,7 @@ module MergeAccountingClient
142
142
  if @api_client.config.client_side_validation && x_account_token.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ExpensesApi.expenses_list"
144
144
  end
145
- allowable_values = ["account", "account,company", "account,contact", "account,contact,company", "company", "contact", "contact,company"]
145
+ allowable_values = ["account", "account,company", "account,contact", "account,contact,company", "company", "contact", "contact,company", "tracking_categories", "tracking_categories,account", "tracking_categories,account,company", "tracking_categories,account,contact", "tracking_categories,account,contact,company", "tracking_categories,company", "tracking_categories,contact", "tracking_categories,contact,company"]
146
146
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
147
147
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
148
148
  end
@@ -293,7 +293,7 @@ module MergeAccountingClient
293
293
  if @api_client.config.client_side_validation && id.nil?
294
294
  fail ArgumentError, "Missing the required parameter 'id' when calling ExpensesApi.expenses_retrieve"
295
295
  end
296
- allowable_values = ["account", "account,company", "account,contact", "account,contact,company", "company", "contact", "contact,company"]
296
+ allowable_values = ["account", "account,company", "account,contact", "account,contact,company", "company", "contact", "contact,company", "tracking_categories", "tracking_categories,account", "tracking_categories,account,company", "tracking_categories,account,contact", "tracking_categories,account,contact,company", "tracking_categories,company", "tracking_categories,contact", "tracking_categories,contact,company"]
297
297
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
298
298
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
299
299
  end
@@ -19,7 +19,7 @@ module MergeAccountingClient
19
19
  def initialize(api_client = ApiClient.default)
20
20
  @api_client = api_client
21
21
  end
22
- # 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.
22
+ # 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.
23
23
  # @param x_account_token [String] Token identifying the end user.
24
24
  # @param [Hash] opts the optional parameters
25
25
  # @return [Array<SyncStatus>]
@@ -28,7 +28,7 @@ module MergeAccountingClient
28
28
  data
29
29
  end
30
30
 
31
- # 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.
31
+ # 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.
32
32
  # @param x_account_token [String] Token identifying the end user.
33
33
  # @param [Hash] opts the optional parameters
34
34
  # @return [Array<(Array<SyncStatus>, Integer, Hash)>] Array<SyncStatus> data, response status code and response headers
@@ -29,8 +29,8 @@ module MergeAccountingClient
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
30
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
32
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
33
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
36
36
  # @return [PaginatedIncomeStatementList]
@@ -49,8 +49,8 @@ module MergeAccountingClient
49
49
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
50
50
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
51
51
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
52
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
53
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
52
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
53
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
54
54
  # @option opts [Integer] :page_size Number of results to return per page.
55
55
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
56
56
  # @return [Array<(PaginatedIncomeStatementList, Integer, Hash)>] PaginatedIncomeStatementList data, response status code and response headers
@@ -108,8 +108,8 @@ module MergeAccountingClient
108
108
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
109
109
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
110
110
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
111
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
112
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
111
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
112
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
113
113
  # @option opts [Integer] :page_size Number of results to return per page.
114
114
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
115
115
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -134,8 +134,8 @@ module MergeAccountingClient
134
134
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
135
135
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
136
136
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
137
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
138
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
137
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
138
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
139
139
  # @option opts [Integer] :page_size Number of results to return per page.
140
140
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
141
141
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -150,7 +150,7 @@ module MergeAccountingClient
150
150
  if @api_client.config.client_side_validation && x_account_token.nil?
151
151
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling InvoicesApi.invoices_list"
152
152
  end
153
- allowable_values = ["company", "contact", "contact,company", "line_items", "line_items,company", "line_items,contact", "line_items,contact,company", "payments", "payments,company", "payments,contact", "payments,contact,company", "payments,line_items", "payments,line_items,company", "payments,line_items,contact", "payments,line_items,contact,company"]
153
+ allowable_values = ["company", "contact", "contact,company", "line_items", "line_items,company", "line_items,contact", "line_items,contact,company", "line_items,tracking_categories", "line_items,tracking_categories,company", "line_items,tracking_categories,contact", "line_items,tracking_categories,contact,company", "payments", "payments,company", "payments,contact", "payments,contact,company", "payments,line_items", "payments,line_items,company", "payments,line_items,contact", "payments,line_items,contact,company", "payments,line_items,tracking_categories", "payments,line_items,tracking_categories,company", "payments,line_items,tracking_categories,contact", "payments,line_items,tracking_categories,contact,company", "payments,tracking_categories", "payments,tracking_categories,company", "payments,tracking_categories,contact", "payments,tracking_categories,contact,company", "tracking_categories", "tracking_categories,company", "tracking_categories,contact", "tracking_categories,contact,company"]
154
154
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
155
155
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
156
156
  end
@@ -321,7 +321,7 @@ module MergeAccountingClient
321
321
  if @api_client.config.client_side_validation && id.nil?
322
322
  fail ArgumentError, "Missing the required parameter 'id' when calling InvoicesApi.invoices_retrieve"
323
323
  end
324
- allowable_values = ["company", "contact", "contact,company", "line_items", "line_items,company", "line_items,contact", "line_items,contact,company", "payments", "payments,company", "payments,contact", "payments,contact,company", "payments,line_items", "payments,line_items,company", "payments,line_items,contact", "payments,line_items,contact,company"]
324
+ allowable_values = ["company", "contact", "contact,company", "line_items", "line_items,company", "line_items,contact", "line_items,contact,company", "line_items,tracking_categories", "line_items,tracking_categories,company", "line_items,tracking_categories,contact", "line_items,tracking_categories,contact,company", "payments", "payments,company", "payments,contact", "payments,contact,company", "payments,line_items", "payments,line_items,company", "payments,line_items,contact", "payments,line_items,contact,company", "payments,line_items,tracking_categories", "payments,line_items,tracking_categories,company", "payments,line_items,tracking_categories,contact", "payments,line_items,tracking_categories,contact,company", "payments,tracking_categories", "payments,tracking_categories,company", "payments,tracking_categories,contact", "payments,tracking_categories,contact,company", "tracking_categories", "tracking_categories,company", "tracking_categories,contact", "tracking_categories,contact,company"]
325
325
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
326
326
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
327
327
  end
@@ -29,11 +29,11 @@ module MergeAccountingClient
29
29
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
30
30
  # @option opts [String] :include_muted If True, will include muted issues
31
31
  # @option opts [String] :integration_name
32
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
33
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
32
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
33
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
36
- # @option opts [String] :status * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
36
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
37
37
  # @return [PaginatedIssueList]
38
38
  def issues_list(opts = {})
39
39
  data, _status_code, _headers = issues_list_with_http_info(opts)
@@ -50,11 +50,11 @@ module MergeAccountingClient
50
50
  # @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
51
51
  # @option opts [String] :include_muted If True, will include muted issues
52
52
  # @option opts [String] :integration_name
53
- # @option opts [Time] :last_incident_time_after If provided, will only return issues whose first incident time was after this datetime.
54
- # @option opts [Time] :last_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
53
+ # @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
54
+ # @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
55
55
  # @option opts [Integer] :page_size Number of results to return per page.
56
56
  # @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
57
- # @option opts [String] :status * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
57
+ # @option opts [String] :status Status of the issue. Options: (&#39;ONGOING&#39;, &#39;RESOLVED&#39;) * &#x60;ONGOING&#x60; - ONGOING * &#x60;RESOLVED&#x60; - RESOLVED
58
58
  # @return [Array<(PaginatedIssueList, Integer, Hash)>] PaginatedIssueList data, response status code and response headers
59
59
  def issues_list_with_http_info(opts = {})
60
60
  if @api_client.config.debugging
@@ -29,8 +29,8 @@ module MergeAccountingClient
29
29
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
30
30
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
31
31
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
32
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
33
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
32
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
33
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
34
34
  # @option opts [Integer] :page_size Number of results to return per page.
35
35
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
36
36
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -51,8 +51,8 @@ module MergeAccountingClient
51
51
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
52
52
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
53
53
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
54
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
55
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
54
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
55
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
56
56
  # @option opts [Integer] :page_size Number of results to return per page.
57
57
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
58
58
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -105,8 +105,8 @@ module MergeAccountingClient
105
105
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
106
106
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
107
107
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
108
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
109
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
108
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
109
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
110
110
  # @option opts [Integer] :page_size Number of results to return per page.
111
111
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
112
112
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -127,8 +127,8 @@ module MergeAccountingClient
127
127
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
128
128
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
129
129
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
130
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
131
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
130
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
131
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
132
132
  # @option opts [Integer] :page_size Number of results to return per page.
133
133
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
134
134
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -142,7 +142,7 @@ module MergeAccountingClient
142
142
  if @api_client.config.client_side_validation && x_account_token.nil?
143
143
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling JournalEntriesApi.journal_entries_list"
144
144
  end
145
- allowable_values = ["company", "lines", "lines,company", "lines,payments", "lines,payments,company", "payments", "payments,company"]
145
+ allowable_values = ["company", "lines", "lines,company", "lines,payments", "lines,payments,company", "lines,payments,tracking_categories", "lines,payments,tracking_categories,company", "lines,tracking_categories", "lines,tracking_categories,company", "payments", "payments,company", "payments,tracking_categories", "payments,tracking_categories,company", "tracking_categories", "tracking_categories,company"]
146
146
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
147
147
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
148
148
  end
@@ -293,7 +293,7 @@ module MergeAccountingClient
293
293
  if @api_client.config.client_side_validation && id.nil?
294
294
  fail ArgumentError, "Missing the required parameter 'id' when calling JournalEntriesApi.journal_entries_retrieve"
295
295
  end
296
- allowable_values = ["company", "lines", "lines,company", "lines,payments", "lines,payments,company", "payments", "payments,company"]
296
+ allowable_values = ["company", "lines", "lines,company", "lines,payments", "lines,payments,company", "lines,payments,tracking_categories", "lines,payments,tracking_categories,company", "lines,tracking_categories", "lines,tracking_categories,company", "payments", "payments,company", "payments,tracking_categories", "payments,tracking_categories,company", "tracking_categories", "tracking_categories,company"]
297
297
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
298
298
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
299
299
  end