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
@@ -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'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'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 = ["accounting_period", "applied_payments", "applied_payments,accounting_period", "applied_payments,company", "applied_payments,company,accounting_period", "applied_payments,contact", "applied_payments,contact,accounting_period", "applied_payments,contact,company", "applied_payments,contact,company,accounting_period", "applied_payments,line_items", "applied_payments,line_items,accounting_period", "applied_payments,line_items,company", "applied_payments,line_items,company,accounting_period", "applied_payments,line_items,contact", "applied_payments,line_items,contact,accounting_period", "applied_payments,line_items,contact,company", "applied_payments,line_items,contact,company,accounting_period", "applied_payments,line_items,tracking_categories", "applied_payments,line_items,tracking_categories,accounting_period", "applied_payments,line_items,tracking_categories,company", "applied_payments,line_items,tracking_categories,company,accounting_period", "applied_payments,line_items,tracking_categories,contact", "applied_payments,line_items,tracking_categories,contact,accounting_period", "applied_payments,line_items,tracking_categories,contact,company", "applied_payments,line_items,tracking_categories,contact,company,accounting_period", "applied_payments,tracking_categories", "applied_payments,tracking_categories,accounting_period", "applied_payments,tracking_categories,company", "applied_payments,tracking_categories,company,accounting_period", "applied_payments,tracking_categories,contact", "applied_payments,tracking_categories,contact,accounting_period", "applied_payments,tracking_categories,contact,company", "applied_payments,tracking_categories,contact,company,accounting_period", "company", "company,accounting_period", "contact", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "line_items", "line_items,accounting_period", "line_items,company", "line_items,company,accounting_period", "line_items,contact", "line_items,contact,accounting_period", "line_items,contact,company", "line_items,contact,company,accounting_period", "line_items,tracking_categories", "line_items,tracking_categories,accounting_period", "line_items,tracking_categories,company", "line_items,tracking_categories,company,accounting_period", "line_items,tracking_categories,contact", "line_items,tracking_categories,contact,accounting_period", "line_items,tracking_categories,contact,company", "line_items,tracking_categories,contact,company,accounting_period", "payments", "payments,accounting_period", "payments,applied_payments", "payments,applied_payments,accounting_period", "payments,applied_payments,company", "payments,applied_payments,company,accounting_period", "payments,applied_payments,contact", "payments,applied_payments,contact,accounting_period", "payments,applied_payments,contact,company", "payments,applied_payments,contact,company,accounting_period", "payments,applied_payments,line_items", "payments,applied_payments,line_items,accounting_period", "payments,applied_payments,line_items,company", "payments,applied_payments,line_items,company,accounting_period", "payments,applied_payments,line_items,contact", "payments,applied_payments,line_items,contact,accounting_period", "payments,applied_payments,line_items,contact,company", "payments,applied_payments,line_items,contact,company,accounting_period", "payments,applied_payments,line_items,tracking_categories", "payments,applied_payments,line_items,tracking_categories,accounting_period", "payments,applied_payments,line_items,tracking_categories,company", "payments,applied_payments,line_items,tracking_categories,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact", "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact,company", "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", "payments,applied_payments,tracking_categories", "payments,applied_payments,tracking_categories,accounting_period", "payments,applied_payments,tracking_categories,company", "payments,applied_payments,tracking_categories,company,accounting_period", "payments,applied_payments,tracking_categories,contact", "payments,applied_payments,tracking_categories,contact,accounting_period", "payments,applied_payments,tracking_categories,contact,company", "payments,applied_payments,tracking_categories,contact,company,accounting_period", "payments,company", "payments,company,accounting_period", "payments,contact", "payments,contact,accounting_period", "payments,contact,company", "payments,contact,company,accounting_period", "payments,line_items", "payments,line_items,accounting_period", "payments,line_items,company", "payments,line_items,company,accounting_period", "payments,line_items,contact", "payments,line_items,contact,accounting_period", "payments,line_items,contact,company", "payments,line_items,contact,company,accounting_period", "payments,line_items,tracking_categories", "payments,line_items,tracking_categories,accounting_period", "payments,line_items,tracking_categories,company", "payments,line_items,tracking_categories,company,accounting_period", "payments,line_items,tracking_categories,contact", "payments,line_items,tracking_categories,contact,accounting_period", "payments,line_items,tracking_categories,contact,company", "payments,line_items,tracking_categories,contact,company,accounting_period", "payments,tracking_categories", "payments,tracking_categories,accounting_period", "payments,tracking_categories,company", "payments,tracking_categories,company,accounting_period", "payments,tracking_categories,contact", "payments,tracking_categories,contact,accounting_period", "payments,tracking_categories,contact,company", "payments,tracking_categories,contact,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period"]
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 = ["accounting_period", "applied_payments", "applied_payments,accounting_period", "applied_payments,company", "applied_payments,company,accounting_period", "applied_payments,contact", "applied_payments,contact,accounting_period", "applied_payments,contact,company", "applied_payments,contact,company,accounting_period", "applied_payments,line_items", "applied_payments,line_items,accounting_period", "applied_payments,line_items,company", "applied_payments,line_items,company,accounting_period", "applied_payments,line_items,contact", "applied_payments,line_items,contact,accounting_period", "applied_payments,line_items,contact,company", "applied_payments,line_items,contact,company,accounting_period", "applied_payments,line_items,tracking_categories", "applied_payments,line_items,tracking_categories,accounting_period", "applied_payments,line_items,tracking_categories,company", "applied_payments,line_items,tracking_categories,company,accounting_period", "applied_payments,line_items,tracking_categories,contact", "applied_payments,line_items,tracking_categories,contact,accounting_period", "applied_payments,line_items,tracking_categories,contact,company", "applied_payments,line_items,tracking_categories,contact,company,accounting_period", "applied_payments,tracking_categories", "applied_payments,tracking_categories,accounting_period", "applied_payments,tracking_categories,company", "applied_payments,tracking_categories,company,accounting_period", "applied_payments,tracking_categories,contact", "applied_payments,tracking_categories,contact,accounting_period", "applied_payments,tracking_categories,contact,company", "applied_payments,tracking_categories,contact,company,accounting_period", "company", "company,accounting_period", "contact", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "line_items", "line_items,accounting_period", "line_items,company", "line_items,company,accounting_period", "line_items,contact", "line_items,contact,accounting_period", "line_items,contact,company", "line_items,contact,company,accounting_period", "line_items,tracking_categories", "line_items,tracking_categories,accounting_period", "line_items,tracking_categories,company", "line_items,tracking_categories,company,accounting_period", "line_items,tracking_categories,contact", "line_items,tracking_categories,contact,accounting_period", "line_items,tracking_categories,contact,company", "line_items,tracking_categories,contact,company,accounting_period", "payments", "payments,accounting_period", "payments,applied_payments", "payments,applied_payments,accounting_period", "payments,applied_payments,company", "payments,applied_payments,company,accounting_period", "payments,applied_payments,contact", "payments,applied_payments,contact,accounting_period", "payments,applied_payments,contact,company", "payments,applied_payments,contact,company,accounting_period", "payments,applied_payments,line_items", "payments,applied_payments,line_items,accounting_period", "payments,applied_payments,line_items,company", "payments,applied_payments,line_items,company,accounting_period", "payments,applied_payments,line_items,contact", "payments,applied_payments,line_items,contact,accounting_period", "payments,applied_payments,line_items,contact,company", "payments,applied_payments,line_items,contact,company,accounting_period", "payments,applied_payments,line_items,tracking_categories", "payments,applied_payments,line_items,tracking_categories,accounting_period", "payments,applied_payments,line_items,tracking_categories,company", "payments,applied_payments,line_items,tracking_categories,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact", "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact,company", "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", "payments,applied_payments,tracking_categories", "payments,applied_payments,tracking_categories,accounting_period", "payments,applied_payments,tracking_categories,company", "payments,applied_payments,tracking_categories,company,accounting_period", "payments,applied_payments,tracking_categories,contact", "payments,applied_payments,tracking_categories,contact,accounting_period", "payments,applied_payments,tracking_categories,contact,company", "payments,applied_payments,tracking_categories,contact,company,accounting_period", "payments,company", "payments,company,accounting_period", "payments,contact", "payments,contact,accounting_period", "payments,contact,company", "payments,contact,company,accounting_period", "payments,line_items", "payments,line_items,accounting_period", "payments,line_items,company", "payments,line_items,company,accounting_period", "payments,line_items,contact", "payments,line_items,contact,accounting_period", "payments,line_items,contact,company", "payments,line_items,contact,company,accounting_period", "payments,line_items,tracking_categories", "payments,line_items,tracking_categories,accounting_period", "payments,line_items,tracking_categories,company", "payments,line_items,tracking_categories,company,accounting_period", "payments,line_items,tracking_categories,contact", "payments,line_items,tracking_categories,contact,accounting_period", "payments,line_items,tracking_categories,contact,company", "payments,line_items,tracking_categories,contact,company,accounting_period", "payments,tracking_categories", "payments,tracking_categories,accounting_period", "payments,tracking_categories,company", "payments,tracking_categories,company,accounting_period", "payments,tracking_categories,contact", "payments,tracking_categories,contact,accounting_period", "payments,tracking_categories,contact,company", "payments,tracking_categories,contact,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period"]
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,accounting_period", "account,company", "account,company,accounting_period", "account,contact", "account,contact,accounting_period", "account,contact,company", "account,contact,company,accounting_period", "accounting_period", "company", "company,accounting_period", "contact", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "tracking_categories", "tracking_categories,account", "tracking_categories,account,accounting_period", "tracking_categories,account,company", "tracking_categories,account,company,accounting_period", "tracking_categories,account,contact", "tracking_categories,account,contact,accounting_period", "tracking_categories,account,contact,company", "tracking_categories,account,contact,company,accounting_period", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period"]
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,accounting_period", "account,company", "account,company,accounting_period", "account,contact", "account,contact,accounting_period", "account,contact,company", "account,contact,company,accounting_period", "accounting_period", "company", "company,accounting_period", "contact", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "tracking_categories", "tracking_categories,account", "tracking_categories,account,accounting_period", "tracking_categories,account,company", "tracking_categories,account,company,accounting_period", "tracking_categories,account,contact", "tracking_categories,account,contact,accounting_period", "tracking_categories,account,contact,company", "tracking_categories,account,contact,company,accounting_period", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period"]
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 = ["accounting_period", "applied_payments", "applied_payments,accounting_period", "applied_payments,company", "applied_payments,company,accounting_period", "applied_payments,contact", "applied_payments,contact,accounting_period", "applied_payments,contact,company", "applied_payments,contact,company,accounting_period", "applied_payments,line_items", "applied_payments,line_items,accounting_period", "applied_payments,line_items,company", "applied_payments,line_items,company,accounting_period", "applied_payments,line_items,contact", "applied_payments,line_items,contact,accounting_period", "applied_payments,line_items,contact,company", "applied_payments,line_items,contact,company,accounting_period", "applied_payments,line_items,purchase_orders", "applied_payments,line_items,purchase_orders,accounting_period", "applied_payments,line_items,purchase_orders,company", "applied_payments,line_items,purchase_orders,company,accounting_period", "applied_payments,line_items,purchase_orders,contact", "applied_payments,line_items,purchase_orders,contact,accounting_period", "applied_payments,line_items,purchase_orders,contact,company", "applied_payments,line_items,purchase_orders,contact,company,accounting_period", "applied_payments,line_items,tracking_categories", "applied_payments,line_items,tracking_categories,accounting_period", "applied_payments,line_items,tracking_categories,company", "applied_payments,line_items,tracking_categories,company,accounting_period", "applied_payments,line_items,tracking_categories,contact", "applied_payments,line_items,tracking_categories,contact,accounting_period", "applied_payments,line_items,tracking_categories,contact,company", "applied_payments,line_items,tracking_categories,contact,company,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders", "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders,company", "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders,contact", "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders,contact,company", "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "applied_payments,purchase_orders", "applied_payments,purchase_orders,accounting_period", "applied_payments,purchase_orders,company", "applied_payments,purchase_orders,company,accounting_period", "applied_payments,purchase_orders,contact", "applied_payments,purchase_orders,contact,accounting_period", "applied_payments,purchase_orders,contact,company", "applied_payments,purchase_orders,contact,company,accounting_period", "applied_payments,tracking_categories", "applied_payments,tracking_categories,accounting_period", "applied_payments,tracking_categories,company", "applied_payments,tracking_categories,company,accounting_period", "applied_payments,tracking_categories,contact", "applied_payments,tracking_categories,contact,accounting_period", "applied_payments,tracking_categories,contact,company", "applied_payments,tracking_categories,contact,company,accounting_period", "applied_payments,tracking_categories,purchase_orders", "applied_payments,tracking_categories,purchase_orders,accounting_period", "applied_payments,tracking_categories,purchase_orders,company", "applied_payments,tracking_categories,purchase_orders,company,accounting_period", "applied_payments,tracking_categories,purchase_orders,contact", "applied_payments,tracking_categories,purchase_orders,contact,accounting_period", "applied_payments,tracking_categories,purchase_orders,contact,company", "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", "company", "company,accounting_period", "contact", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "line_items", "line_items,accounting_period", "line_items,company", "line_items,company,accounting_period", "line_items,contact", "line_items,contact,accounting_period", "line_items,contact,company", "line_items,contact,company,accounting_period", "line_items,purchase_orders", "line_items,purchase_orders,accounting_period", "line_items,purchase_orders,company", "line_items,purchase_orders,company,accounting_period", "line_items,purchase_orders,contact", "line_items,purchase_orders,contact,accounting_period", "line_items,purchase_orders,contact,company", "line_items,purchase_orders,contact,company,accounting_period", "line_items,tracking_categories", "line_items,tracking_categories,accounting_period", "line_items,tracking_categories,company", "line_items,tracking_categories,company,accounting_period", "line_items,tracking_categories,contact", "line_items,tracking_categories,contact,accounting_period", "line_items,tracking_categories,contact,company", "line_items,tracking_categories,contact,company,accounting_period", "line_items,tracking_categories,purchase_orders", "line_items,tracking_categories,purchase_orders,accounting_period", "line_items,tracking_categories,purchase_orders,company", "line_items,tracking_categories,purchase_orders,company,accounting_period", "line_items,tracking_categories,purchase_orders,contact", "line_items,tracking_categories,purchase_orders,contact,accounting_period", "line_items,tracking_categories,purchase_orders,contact,company", "line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "payments", "payments,accounting_period", "payments,applied_payments", "payments,applied_payments,accounting_period", "payments,applied_payments,company", "payments,applied_payments,company,accounting_period", "payments,applied_payments,contact", "payments,applied_payments,contact,accounting_period", "payments,applied_payments,contact,company", "payments,applied_payments,contact,company,accounting_period", "payments,applied_payments,line_items", "payments,applied_payments,line_items,accounting_period", "payments,applied_payments,line_items,company", "payments,applied_payments,line_items,company,accounting_period", "payments,applied_payments,line_items,contact", "payments,applied_payments,line_items,contact,accounting_period", "payments,applied_payments,line_items,contact,company", "payments,applied_payments,line_items,contact,company,accounting_period", "payments,applied_payments,line_items,purchase_orders", "payments,applied_payments,line_items,purchase_orders,accounting_period", "payments,applied_payments,line_items,purchase_orders,company", "payments,applied_payments,line_items,purchase_orders,company,accounting_period", "payments,applied_payments,line_items,purchase_orders,contact", "payments,applied_payments,line_items,purchase_orders,contact,accounting_period", "payments,applied_payments,line_items,purchase_orders,contact,company", "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period", "payments,applied_payments,line_items,tracking_categories", "payments,applied_payments,line_items,tracking_categories,accounting_period", "payments,applied_payments,line_items,tracking_categories,company", "payments,applied_payments,line_items,tracking_categories,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact", "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact,company", "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders", "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders,company", "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "payments,applied_payments,purchase_orders", "payments,applied_payments,purchase_orders,accounting_period", "payments,applied_payments,purchase_orders,company", "payments,applied_payments,purchase_orders,company,accounting_period", "payments,applied_payments,purchase_orders,contact", "payments,applied_payments,purchase_orders,contact,accounting_period", "payments,applied_payments,purchase_orders,contact,company", "payments,applied_payments,purchase_orders,contact,company,accounting_period", "payments,applied_payments,tracking_categories", "payments,applied_payments,tracking_categories,accounting_period", "payments,applied_payments,tracking_categories,company", "payments,applied_payments,tracking_categories,company,accounting_period", "payments,applied_payments,tracking_categories,contact", "payments,applied_payments,tracking_categories,contact,accounting_period", "payments,applied_payments,tracking_categories,contact,company", "payments,applied_payments,tracking_categories,contact,company,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders", "payments,applied_payments,tracking_categories,purchase_orders,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders,company", "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders,contact", "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders,contact,company", "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", "payments,company", "payments,company,accounting_period", "payments,contact", "payments,contact,accounting_period", "payments,contact,company", "payments,contact,company,accounting_period", "payments,line_items", "payments,line_items,accounting_period", "payments,line_items,company", "payments,line_items,company,accounting_period", "payments,line_items,contact", "payments,line_items,contact,accounting_period", "payments,line_items,contact,company", "payments,line_items,contact,company,accounting_period", "payments,line_items,purchase_orders", "payments,line_items,purchase_orders,accounting_period", "payments,line_items,purchase_orders,company", "payments,line_items,purchase_orders,company,accounting_period", "payments,line_items,purchase_orders,contact", "payments,line_items,purchase_orders,contact,accounting_period", "payments,line_items,purchase_orders,contact,company", "payments,line_items,purchase_orders,contact,company,accounting_period", "payments,line_items,tracking_categories", "payments,line_items,tracking_categories,accounting_period", "payments,line_items,tracking_categories,company", "payments,line_items,tracking_categories,company,accounting_period", "payments,line_items,tracking_categories,contact", "payments,line_items,tracking_categories,contact,accounting_period", "payments,line_items,tracking_categories,contact,company", "payments,line_items,tracking_categories,contact,company,accounting_period", "payments,line_items,tracking_categories,purchase_orders", "payments,line_items,tracking_categories,purchase_orders,accounting_period", "payments,line_items,tracking_categories,purchase_orders,company", "payments,line_items,tracking_categories,purchase_orders,company,accounting_period", "payments,line_items,tracking_categories,purchase_orders,contact", "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", "payments,line_items,tracking_categories,purchase_orders,contact,company", "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "payments,purchase_orders", "payments,purchase_orders,accounting_period", "payments,purchase_orders,company", "payments,purchase_orders,company,accounting_period", "payments,purchase_orders,contact", "payments,purchase_orders,contact,accounting_period", "payments,purchase_orders,contact,company", "payments,purchase_orders,contact,company,accounting_period", "payments,tracking_categories", "payments,tracking_categories,accounting_period", "payments,tracking_categories,company", "payments,tracking_categories,company,accounting_period", "payments,tracking_categories,contact", "payments,tracking_categories,contact,accounting_period", "payments,tracking_categories,contact,company", "payments,tracking_categories,contact,company,accounting_period", "payments,tracking_categories,purchase_orders", "payments,tracking_categories,purchase_orders,accounting_period", "payments,tracking_categories,purchase_orders,company", "payments,tracking_categories,purchase_orders,company,accounting_period", "payments,tracking_categories,purchase_orders,contact", "payments,tracking_categories,purchase_orders,contact,accounting_period", "payments,tracking_categories,purchase_orders,contact,company", "payments,tracking_categories,purchase_orders,contact,company,accounting_period", "purchase_orders", "purchase_orders,accounting_period", "purchase_orders,company", "purchase_orders,company,accounting_period", "purchase_orders,contact", "purchase_orders,contact,accounting_period", "purchase_orders,contact,company", "purchase_orders,contact,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period", "tracking_categories,purchase_orders", "tracking_categories,purchase_orders,accounting_period", "tracking_categories,purchase_orders,company", "tracking_categories,purchase_orders,company,accounting_period", "tracking_categories,purchase_orders,contact", "tracking_categories,purchase_orders,contact,accounting_period", "tracking_categories,purchase_orders,contact,company", "tracking_categories,purchase_orders,contact,company,accounting_period"]
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 = ["accounting_period", "applied_payments", "applied_payments,accounting_period", "applied_payments,company", "applied_payments,company,accounting_period", "applied_payments,contact", "applied_payments,contact,accounting_period", "applied_payments,contact,company", "applied_payments,contact,company,accounting_period", "applied_payments,line_items", "applied_payments,line_items,accounting_period", "applied_payments,line_items,company", "applied_payments,line_items,company,accounting_period", "applied_payments,line_items,contact", "applied_payments,line_items,contact,accounting_period", "applied_payments,line_items,contact,company", "applied_payments,line_items,contact,company,accounting_period", "applied_payments,line_items,purchase_orders", "applied_payments,line_items,purchase_orders,accounting_period", "applied_payments,line_items,purchase_orders,company", "applied_payments,line_items,purchase_orders,company,accounting_period", "applied_payments,line_items,purchase_orders,contact", "applied_payments,line_items,purchase_orders,contact,accounting_period", "applied_payments,line_items,purchase_orders,contact,company", "applied_payments,line_items,purchase_orders,contact,company,accounting_period", "applied_payments,line_items,tracking_categories", "applied_payments,line_items,tracking_categories,accounting_period", "applied_payments,line_items,tracking_categories,company", "applied_payments,line_items,tracking_categories,company,accounting_period", "applied_payments,line_items,tracking_categories,contact", "applied_payments,line_items,tracking_categories,contact,accounting_period", "applied_payments,line_items,tracking_categories,contact,company", "applied_payments,line_items,tracking_categories,contact,company,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders", "applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders,company", "applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders,contact", "applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", "applied_payments,line_items,tracking_categories,purchase_orders,contact,company", "applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "applied_payments,purchase_orders", "applied_payments,purchase_orders,accounting_period", "applied_payments,purchase_orders,company", "applied_payments,purchase_orders,company,accounting_period", "applied_payments,purchase_orders,contact", "applied_payments,purchase_orders,contact,accounting_period", "applied_payments,purchase_orders,contact,company", "applied_payments,purchase_orders,contact,company,accounting_period", "applied_payments,tracking_categories", "applied_payments,tracking_categories,accounting_period", "applied_payments,tracking_categories,company", "applied_payments,tracking_categories,company,accounting_period", "applied_payments,tracking_categories,contact", "applied_payments,tracking_categories,contact,accounting_period", "applied_payments,tracking_categories,contact,company", "applied_payments,tracking_categories,contact,company,accounting_period", "applied_payments,tracking_categories,purchase_orders", "applied_payments,tracking_categories,purchase_orders,accounting_period", "applied_payments,tracking_categories,purchase_orders,company", "applied_payments,tracking_categories,purchase_orders,company,accounting_period", "applied_payments,tracking_categories,purchase_orders,contact", "applied_payments,tracking_categories,purchase_orders,contact,accounting_period", "applied_payments,tracking_categories,purchase_orders,contact,company", "applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", "company", "company,accounting_period", "contact", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "line_items", "line_items,accounting_period", "line_items,company", "line_items,company,accounting_period", "line_items,contact", "line_items,contact,accounting_period", "line_items,contact,company", "line_items,contact,company,accounting_period", "line_items,purchase_orders", "line_items,purchase_orders,accounting_period", "line_items,purchase_orders,company", "line_items,purchase_orders,company,accounting_period", "line_items,purchase_orders,contact", "line_items,purchase_orders,contact,accounting_period", "line_items,purchase_orders,contact,company", "line_items,purchase_orders,contact,company,accounting_period", "line_items,tracking_categories", "line_items,tracking_categories,accounting_period", "line_items,tracking_categories,company", "line_items,tracking_categories,company,accounting_period", "line_items,tracking_categories,contact", "line_items,tracking_categories,contact,accounting_period", "line_items,tracking_categories,contact,company", "line_items,tracking_categories,contact,company,accounting_period", "line_items,tracking_categories,purchase_orders", "line_items,tracking_categories,purchase_orders,accounting_period", "line_items,tracking_categories,purchase_orders,company", "line_items,tracking_categories,purchase_orders,company,accounting_period", "line_items,tracking_categories,purchase_orders,contact", "line_items,tracking_categories,purchase_orders,contact,accounting_period", "line_items,tracking_categories,purchase_orders,contact,company", "line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "payments", "payments,accounting_period", "payments,applied_payments", "payments,applied_payments,accounting_period", "payments,applied_payments,company", "payments,applied_payments,company,accounting_period", "payments,applied_payments,contact", "payments,applied_payments,contact,accounting_period", "payments,applied_payments,contact,company", "payments,applied_payments,contact,company,accounting_period", "payments,applied_payments,line_items", "payments,applied_payments,line_items,accounting_period", "payments,applied_payments,line_items,company", "payments,applied_payments,line_items,company,accounting_period", "payments,applied_payments,line_items,contact", "payments,applied_payments,line_items,contact,accounting_period", "payments,applied_payments,line_items,contact,company", "payments,applied_payments,line_items,contact,company,accounting_period", "payments,applied_payments,line_items,purchase_orders", "payments,applied_payments,line_items,purchase_orders,accounting_period", "payments,applied_payments,line_items,purchase_orders,company", "payments,applied_payments,line_items,purchase_orders,company,accounting_period", "payments,applied_payments,line_items,purchase_orders,contact", "payments,applied_payments,line_items,purchase_orders,contact,accounting_period", "payments,applied_payments,line_items,purchase_orders,contact,company", "payments,applied_payments,line_items,purchase_orders,contact,company,accounting_period", "payments,applied_payments,line_items,tracking_categories", "payments,applied_payments,line_items,tracking_categories,accounting_period", "payments,applied_payments,line_items,tracking_categories,company", "payments,applied_payments,line_items,tracking_categories,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact", "payments,applied_payments,line_items,tracking_categories,contact,accounting_period", "payments,applied_payments,line_items,tracking_categories,contact,company", "payments,applied_payments,line_items,tracking_categories,contact,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders", "payments,applied_payments,line_items,tracking_categories,purchase_orders,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders,company", "payments,applied_payments,line_items,tracking_categories,purchase_orders,company,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company", "payments,applied_payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "payments,applied_payments,purchase_orders", "payments,applied_payments,purchase_orders,accounting_period", "payments,applied_payments,purchase_orders,company", "payments,applied_payments,purchase_orders,company,accounting_period", "payments,applied_payments,purchase_orders,contact", "payments,applied_payments,purchase_orders,contact,accounting_period", "payments,applied_payments,purchase_orders,contact,company", "payments,applied_payments,purchase_orders,contact,company,accounting_period", "payments,applied_payments,tracking_categories", "payments,applied_payments,tracking_categories,accounting_period", "payments,applied_payments,tracking_categories,company", "payments,applied_payments,tracking_categories,company,accounting_period", "payments,applied_payments,tracking_categories,contact", "payments,applied_payments,tracking_categories,contact,accounting_period", "payments,applied_payments,tracking_categories,contact,company", "payments,applied_payments,tracking_categories,contact,company,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders", "payments,applied_payments,tracking_categories,purchase_orders,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders,company", "payments,applied_payments,tracking_categories,purchase_orders,company,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders,contact", "payments,applied_payments,tracking_categories,purchase_orders,contact,accounting_period", "payments,applied_payments,tracking_categories,purchase_orders,contact,company", "payments,applied_payments,tracking_categories,purchase_orders,contact,company,accounting_period", "payments,company", "payments,company,accounting_period", "payments,contact", "payments,contact,accounting_period", "payments,contact,company", "payments,contact,company,accounting_period", "payments,line_items", "payments,line_items,accounting_period", "payments,line_items,company", "payments,line_items,company,accounting_period", "payments,line_items,contact", "payments,line_items,contact,accounting_period", "payments,line_items,contact,company", "payments,line_items,contact,company,accounting_period", "payments,line_items,purchase_orders", "payments,line_items,purchase_orders,accounting_period", "payments,line_items,purchase_orders,company", "payments,line_items,purchase_orders,company,accounting_period", "payments,line_items,purchase_orders,contact", "payments,line_items,purchase_orders,contact,accounting_period", "payments,line_items,purchase_orders,contact,company", "payments,line_items,purchase_orders,contact,company,accounting_period", "payments,line_items,tracking_categories", "payments,line_items,tracking_categories,accounting_period", "payments,line_items,tracking_categories,company", "payments,line_items,tracking_categories,company,accounting_period", "payments,line_items,tracking_categories,contact", "payments,line_items,tracking_categories,contact,accounting_period", "payments,line_items,tracking_categories,contact,company", "payments,line_items,tracking_categories,contact,company,accounting_period", "payments,line_items,tracking_categories,purchase_orders", "payments,line_items,tracking_categories,purchase_orders,accounting_period", "payments,line_items,tracking_categories,purchase_orders,company", "payments,line_items,tracking_categories,purchase_orders,company,accounting_period", "payments,line_items,tracking_categories,purchase_orders,contact", "payments,line_items,tracking_categories,purchase_orders,contact,accounting_period", "payments,line_items,tracking_categories,purchase_orders,contact,company", "payments,line_items,tracking_categories,purchase_orders,contact,company,accounting_period", "payments,purchase_orders", "payments,purchase_orders,accounting_period", "payments,purchase_orders,company", "payments,purchase_orders,company,accounting_period", "payments,purchase_orders,contact", "payments,purchase_orders,contact,accounting_period", "payments,purchase_orders,contact,company", "payments,purchase_orders,contact,company,accounting_period", "payments,tracking_categories", "payments,tracking_categories,accounting_period", "payments,tracking_categories,company", "payments,tracking_categories,company,accounting_period", "payments,tracking_categories,contact", "payments,tracking_categories,contact,accounting_period", "payments,tracking_categories,contact,company", "payments,tracking_categories,contact,company,accounting_period", "payments,tracking_categories,purchase_orders", "payments,tracking_categories,purchase_orders,accounting_period", "payments,tracking_categories,purchase_orders,company", "payments,tracking_categories,purchase_orders,company,accounting_period", "payments,tracking_categories,purchase_orders,contact", "payments,tracking_categories,purchase_orders,contact,accounting_period", "payments,tracking_categories,purchase_orders,contact,company", "payments,tracking_categories,purchase_orders,contact,company,accounting_period", "purchase_orders", "purchase_orders,accounting_period", "purchase_orders,company", "purchase_orders,company,accounting_period", "purchase_orders,contact", "purchase_orders,contact,accounting_period", "purchase_orders,contact,company", "purchase_orders,contact,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period", "tracking_categories,purchase_orders", "tracking_categories,purchase_orders,accounting_period", "tracking_categories,purchase_orders,company", "tracking_categories,purchase_orders,company,accounting_period", "tracking_categories,purchase_orders,contact", "tracking_categories,purchase_orders,contact,accounting_period", "tracking_categories,purchase_orders,contact,company", "tracking_categories,purchase_orders,contact,company,accounting_period"]
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 = ["accounting_period", "applied_payments", "applied_payments,accounting_period", "applied_payments,company", "applied_payments,company,accounting_period", "applied_payments,tracking_categories", "applied_payments,tracking_categories,accounting_period", "applied_payments,tracking_categories,company", "applied_payments,tracking_categories,company,accounting_period", "company", "company,accounting_period", "lines", "lines,accounting_period", "lines,applied_payments", "lines,applied_payments,accounting_period", "lines,applied_payments,company", "lines,applied_payments,company,accounting_period", "lines,applied_payments,tracking_categories", "lines,applied_payments,tracking_categories,accounting_period", "lines,applied_payments,tracking_categories,company", "lines,applied_payments,tracking_categories,company,accounting_period", "lines,company", "lines,company,accounting_period", "lines,payments", "lines,payments,accounting_period", "lines,payments,applied_payments", "lines,payments,applied_payments,accounting_period", "lines,payments,applied_payments,company", "lines,payments,applied_payments,company,accounting_period", "lines,payments,applied_payments,tracking_categories", "lines,payments,applied_payments,tracking_categories,accounting_period", "lines,payments,applied_payments,tracking_categories,company", "lines,payments,applied_payments,tracking_categories,company,accounting_period", "lines,payments,company", "lines,payments,company,accounting_period", "lines,payments,tracking_categories", "lines,payments,tracking_categories,accounting_period", "lines,payments,tracking_categories,company", "lines,payments,tracking_categories,company,accounting_period", "lines,tracking_categories", "lines,tracking_categories,accounting_period", "lines,tracking_categories,company", "lines,tracking_categories,company,accounting_period", "payments", "payments,accounting_period", "payments,applied_payments", "payments,applied_payments,accounting_period", "payments,applied_payments,company", "payments,applied_payments,company,accounting_period", "payments,applied_payments,tracking_categories", "payments,applied_payments,tracking_categories,accounting_period", "payments,applied_payments,tracking_categories,company", "payments,applied_payments,tracking_categories,company,accounting_period", "payments,company", "payments,company,accounting_period", "payments,tracking_categories", "payments,tracking_categories,accounting_period", "payments,tracking_categories,company", "payments,tracking_categories,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period"]
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 = ["accounting_period", "applied_payments", "applied_payments,accounting_period", "applied_payments,company", "applied_payments,company,accounting_period", "applied_payments,tracking_categories", "applied_payments,tracking_categories,accounting_period", "applied_payments,tracking_categories,company", "applied_payments,tracking_categories,company,accounting_period", "company", "company,accounting_period", "lines", "lines,accounting_period", "lines,applied_payments", "lines,applied_payments,accounting_period", "lines,applied_payments,company", "lines,applied_payments,company,accounting_period", "lines,applied_payments,tracking_categories", "lines,applied_payments,tracking_categories,accounting_period", "lines,applied_payments,tracking_categories,company", "lines,applied_payments,tracking_categories,company,accounting_period", "lines,company", "lines,company,accounting_period", "lines,payments", "lines,payments,accounting_period", "lines,payments,applied_payments", "lines,payments,applied_payments,accounting_period", "lines,payments,applied_payments,company", "lines,payments,applied_payments,company,accounting_period", "lines,payments,applied_payments,tracking_categories", "lines,payments,applied_payments,tracking_categories,accounting_period", "lines,payments,applied_payments,tracking_categories,company", "lines,payments,applied_payments,tracking_categories,company,accounting_period", "lines,payments,company", "lines,payments,company,accounting_period", "lines,payments,tracking_categories", "lines,payments,tracking_categories,accounting_period", "lines,payments,tracking_categories,company", "lines,payments,tracking_categories,company,accounting_period", "lines,tracking_categories", "lines,tracking_categories,accounting_period", "lines,tracking_categories,company", "lines,tracking_categories,company,accounting_period", "payments", "payments,accounting_period", "payments,applied_payments", "payments,applied_payments,accounting_period", "payments,applied_payments,company", "payments,applied_payments,company,accounting_period", "payments,applied_payments,tracking_categories", "payments,applied_payments,tracking_categories,accounting_period", "payments,applied_payments,tracking_categories,company", "payments,applied_payments,tracking_categories,company,accounting_period", "payments,company", "payments,company,accounting_period", "payments,tracking_categories", "payments,tracking_categories,accounting_period", "payments,tracking_categories,company", "payments,tracking_categories,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period"]
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
@@ -21,7 +21,7 @@ module MergeAccountingClient
21
21
  end
22
22
  # List linked accounts for your organization.
23
23
  # @param [Hash] opts the optional parameters
24
- # @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
24
+ # @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
25
25
  # @option opts [String] :cursor The pagination cursor value.
26
26
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
27
27
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -42,7 +42,7 @@ module MergeAccountingClient
42
42
 
43
43
  # List linked accounts for your organization.
44
44
  # @param [Hash] opts the optional parameters
45
- # @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
45
+ # @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
46
46
  # @option opts [String] :cursor The pagination cursor value.
47
47
  # @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
48
48
  # @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
@@ -60,7 +60,7 @@ module MergeAccountingClient
60
60
  if @api_client.config.debugging
61
61
  @api_client.config.logger.debug 'Calling API: LinkedAccountsApi.linked_accounts_list ...'
62
62
  end
63
- allowable_values = ["accounting", "ats", "crm", "filestorage", "hris", "mktg", "ticketing"]
63
+ allowable_values = ["accounting", "ats", "crm", "datawarehouse", "filestorage", "hris", "mktg", "ticketing"]
64
64
  if @api_client.config.client_side_validation && opts[:'category'] && !allowable_values.include?(opts[:'category'])
65
65
  fail ArgumentError, "invalid value for \"category\", must be one of #{allowable_values}"
66
66
  end
@@ -107,8 +107,8 @@ module MergeAccountingClient
107
107
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
108
108
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
109
109
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
110
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
111
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
110
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
111
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
112
112
  # @option opts [Integer] :page_size Number of results to return per page.
113
113
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
114
114
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -131,8 +131,8 @@ module MergeAccountingClient
131
131
  # @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
132
132
  # @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
133
133
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
134
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
135
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
134
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
135
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
136
136
  # @option opts [Integer] :page_size Number of results to return per page.
137
137
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
138
138
  # @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
@@ -146,7 +146,7 @@ module MergeAccountingClient
146
146
  if @api_client.config.client_side_validation && x_account_token.nil?
147
147
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling PaymentsApi.payments_list"
148
148
  end
149
- allowable_values = ["account", "account,company", "company", "contact", "contact,account", "contact,account,company", "contact,company"]
149
+ allowable_values = ["account", "account,accounting_period", "account,company", "account,company,accounting_period", "accounting_period", "applied_to_lines", "applied_to_lines,account", "applied_to_lines,account,accounting_period", "applied_to_lines,account,company", "applied_to_lines,account,company,accounting_period", "applied_to_lines,accounting_period", "applied_to_lines,company", "applied_to_lines,company,accounting_period", "applied_to_lines,contact", "applied_to_lines,contact,account", "applied_to_lines,contact,account,accounting_period", "applied_to_lines,contact,account,company", "applied_to_lines,contact,account,company,accounting_period", "applied_to_lines,contact,accounting_period", "applied_to_lines,contact,company", "applied_to_lines,contact,company,accounting_period", "company", "company,accounting_period", "contact", "contact,account", "contact,account,accounting_period", "contact,account,company", "contact,account,company,accounting_period", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "tracking_categories", "tracking_categories,account", "tracking_categories,account,accounting_period", "tracking_categories,account,company", "tracking_categories,account,company,accounting_period", "tracking_categories,accounting_period", "tracking_categories,applied_to_lines", "tracking_categories,applied_to_lines,account", "tracking_categories,applied_to_lines,account,accounting_period", "tracking_categories,applied_to_lines,account,company", "tracking_categories,applied_to_lines,account,company,accounting_period", "tracking_categories,applied_to_lines,accounting_period", "tracking_categories,applied_to_lines,company", "tracking_categories,applied_to_lines,company,accounting_period", "tracking_categories,applied_to_lines,contact", "tracking_categories,applied_to_lines,contact,account", "tracking_categories,applied_to_lines,contact,account,accounting_period", "tracking_categories,applied_to_lines,contact,account,company", "tracking_categories,applied_to_lines,contact,account,company,accounting_period", "tracking_categories,applied_to_lines,contact,accounting_period", "tracking_categories,applied_to_lines,contact,company", "tracking_categories,applied_to_lines,contact,company,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,account", "tracking_categories,contact,account,accounting_period", "tracking_categories,contact,account,company", "tracking_categories,contact,account,company,accounting_period", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period"]
150
150
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
151
151
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
152
152
  end
@@ -299,7 +299,7 @@ module MergeAccountingClient
299
299
  if @api_client.config.client_side_validation && id.nil?
300
300
  fail ArgumentError, "Missing the required parameter 'id' when calling PaymentsApi.payments_retrieve"
301
301
  end
302
- allowable_values = ["account", "account,company", "company", "contact", "contact,account", "contact,account,company", "contact,company"]
302
+ allowable_values = ["account", "account,accounting_period", "account,company", "account,company,accounting_period", "accounting_period", "applied_to_lines", "applied_to_lines,account", "applied_to_lines,account,accounting_period", "applied_to_lines,account,company", "applied_to_lines,account,company,accounting_period", "applied_to_lines,accounting_period", "applied_to_lines,company", "applied_to_lines,company,accounting_period", "applied_to_lines,contact", "applied_to_lines,contact,account", "applied_to_lines,contact,account,accounting_period", "applied_to_lines,contact,account,company", "applied_to_lines,contact,account,company,accounting_period", "applied_to_lines,contact,accounting_period", "applied_to_lines,contact,company", "applied_to_lines,contact,company,accounting_period", "company", "company,accounting_period", "contact", "contact,account", "contact,account,accounting_period", "contact,account,company", "contact,account,company,accounting_period", "contact,accounting_period", "contact,company", "contact,company,accounting_period", "tracking_categories", "tracking_categories,account", "tracking_categories,account,accounting_period", "tracking_categories,account,company", "tracking_categories,account,company,accounting_period", "tracking_categories,accounting_period", "tracking_categories,applied_to_lines", "tracking_categories,applied_to_lines,account", "tracking_categories,applied_to_lines,account,accounting_period", "tracking_categories,applied_to_lines,account,company", "tracking_categories,applied_to_lines,account,company,accounting_period", "tracking_categories,applied_to_lines,accounting_period", "tracking_categories,applied_to_lines,company", "tracking_categories,applied_to_lines,company,accounting_period", "tracking_categories,applied_to_lines,contact", "tracking_categories,applied_to_lines,contact,account", "tracking_categories,applied_to_lines,contact,account,accounting_period", "tracking_categories,applied_to_lines,contact,account,company", "tracking_categories,applied_to_lines,contact,account,company,accounting_period", "tracking_categories,applied_to_lines,contact,accounting_period", "tracking_categories,applied_to_lines,contact,company", "tracking_categories,applied_to_lines,contact,company,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,contact", "tracking_categories,contact,account", "tracking_categories,contact,account,accounting_period", "tracking_categories,contact,account,company", "tracking_categories,contact,account,company,accounting_period", "tracking_categories,contact,accounting_period", "tracking_categories,contact,company", "tracking_categories,contact,company,accounting_period"]
303
303
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
304
304
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
305
305
  end
@@ -107,8 +107,8 @@ module MergeAccountingClient
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
108
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
109
109
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
110
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
111
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
110
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
111
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
112
112
  # @option opts [Integer] :page_size Number of results to return per page.
113
113
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
114
114
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -131,8 +131,8 @@ module MergeAccountingClient
131
131
  # @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
132
132
  # @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
133
133
  # @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
134
- # @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
135
- # @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
134
+ # @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
135
+ # @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
136
136
  # @option opts [Integer] :page_size Number of results to return per page.
137
137
  # @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
138
138
  # @option opts [String] :remote_id The API provider&#39;s ID for the given object.
@@ -146,7 +146,7 @@ module MergeAccountingClient
146
146
  if @api_client.config.client_side_validation && x_account_token.nil?
147
147
  fail ArgumentError, "Missing the required parameter 'x_account_token' when calling PurchaseOrdersApi.purchase_orders_list"
148
148
  end
149
- allowable_values = ["company", "delivery_address", "delivery_address,company", "delivery_address,vendor", "delivery_address,vendor,company", "line_items", "line_items,company", "line_items,delivery_address", "line_items,delivery_address,company", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,company", "line_items,vendor", "line_items,vendor,company", "vendor", "vendor,company"]
149
+ allowable_values = ["accounting_period", "company", "company,accounting_period", "delivery_address", "delivery_address,accounting_period", "delivery_address,company", "delivery_address,company,accounting_period", "delivery_address,vendor", "delivery_address,vendor,accounting_period", "delivery_address,vendor,company", "delivery_address,vendor,company,accounting_period", "line_items", "line_items,accounting_period", "line_items,company", "line_items,company,accounting_period", "line_items,delivery_address", "line_items,delivery_address,accounting_period", "line_items,delivery_address,company", "line_items,delivery_address,company,accounting_period", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,accounting_period", "line_items,delivery_address,vendor,company", "line_items,delivery_address,vendor,company,accounting_period", "line_items,tracking_categories", "line_items,tracking_categories,accounting_period", "line_items,tracking_categories,company", "line_items,tracking_categories,company,accounting_period", "line_items,tracking_categories,delivery_address", "line_items,tracking_categories,delivery_address,accounting_period", "line_items,tracking_categories,delivery_address,company", "line_items,tracking_categories,delivery_address,company,accounting_period", "line_items,tracking_categories,delivery_address,vendor", "line_items,tracking_categories,delivery_address,vendor,accounting_period", "line_items,tracking_categories,delivery_address,vendor,company", "line_items,tracking_categories,delivery_address,vendor,company,accounting_period", "line_items,tracking_categories,vendor", "line_items,tracking_categories,vendor,accounting_period", "line_items,tracking_categories,vendor,company", "line_items,tracking_categories,vendor,company,accounting_period", "line_items,vendor", "line_items,vendor,accounting_period", "line_items,vendor,company", "line_items,vendor,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,delivery_address", "tracking_categories,delivery_address,accounting_period", "tracking_categories,delivery_address,company", "tracking_categories,delivery_address,company,accounting_period", "tracking_categories,delivery_address,vendor", "tracking_categories,delivery_address,vendor,accounting_period", "tracking_categories,delivery_address,vendor,company", "tracking_categories,delivery_address,vendor,company,accounting_period", "tracking_categories,vendor", "tracking_categories,vendor,accounting_period", "tracking_categories,vendor,company", "tracking_categories,vendor,company,accounting_period", "vendor", "vendor,accounting_period", "vendor,company", "vendor,company,accounting_period"]
150
150
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
151
151
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
152
152
  end
@@ -311,7 +311,7 @@ module MergeAccountingClient
311
311
  if @api_client.config.client_side_validation && id.nil?
312
312
  fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrdersApi.purchase_orders_retrieve"
313
313
  end
314
- allowable_values = ["company", "delivery_address", "delivery_address,company", "delivery_address,vendor", "delivery_address,vendor,company", "line_items", "line_items,company", "line_items,delivery_address", "line_items,delivery_address,company", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,company", "line_items,vendor", "line_items,vendor,company", "vendor", "vendor,company"]
314
+ allowable_values = ["accounting_period", "company", "company,accounting_period", "delivery_address", "delivery_address,accounting_period", "delivery_address,company", "delivery_address,company,accounting_period", "delivery_address,vendor", "delivery_address,vendor,accounting_period", "delivery_address,vendor,company", "delivery_address,vendor,company,accounting_period", "line_items", "line_items,accounting_period", "line_items,company", "line_items,company,accounting_period", "line_items,delivery_address", "line_items,delivery_address,accounting_period", "line_items,delivery_address,company", "line_items,delivery_address,company,accounting_period", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,accounting_period", "line_items,delivery_address,vendor,company", "line_items,delivery_address,vendor,company,accounting_period", "line_items,tracking_categories", "line_items,tracking_categories,accounting_period", "line_items,tracking_categories,company", "line_items,tracking_categories,company,accounting_period", "line_items,tracking_categories,delivery_address", "line_items,tracking_categories,delivery_address,accounting_period", "line_items,tracking_categories,delivery_address,company", "line_items,tracking_categories,delivery_address,company,accounting_period", "line_items,tracking_categories,delivery_address,vendor", "line_items,tracking_categories,delivery_address,vendor,accounting_period", "line_items,tracking_categories,delivery_address,vendor,company", "line_items,tracking_categories,delivery_address,vendor,company,accounting_period", "line_items,tracking_categories,vendor", "line_items,tracking_categories,vendor,accounting_period", "line_items,tracking_categories,vendor,company", "line_items,tracking_categories,vendor,company,accounting_period", "line_items,vendor", "line_items,vendor,accounting_period", "line_items,vendor,company", "line_items,vendor,company,accounting_period", "tracking_categories", "tracking_categories,accounting_period", "tracking_categories,company", "tracking_categories,company,accounting_period", "tracking_categories,delivery_address", "tracking_categories,delivery_address,accounting_period", "tracking_categories,delivery_address,company", "tracking_categories,delivery_address,company,accounting_period", "tracking_categories,delivery_address,vendor", "tracking_categories,delivery_address,vendor,accounting_period", "tracking_categories,delivery_address,vendor,company", "tracking_categories,delivery_address,vendor,company,accounting_period", "tracking_categories,vendor", "tracking_categories,vendor,accounting_period", "tracking_categories,vendor,company", "tracking_categories,vendor,company,accounting_period", "vendor", "vendor,accounting_period", "vendor,company", "vendor,company,accounting_period"]
315
315
  if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
316
316
  fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
317
317
  end