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
data/docs/Account.md CHANGED
@@ -16,7 +16,9 @@
16
16
  | **account_number** | **String** | The account's number. | [optional] |
17
17
  | **parent_account** | **String** | ID of the parent account. | [optional] |
18
18
  | **company** | **String** | The company the account belongs to. | [optional] |
19
- | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
19
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
20
+ | **created_at** | **Time** | | [optional][readonly] |
21
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
20
22
  | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
21
23
  | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
22
24
 
@@ -39,6 +41,8 @@ instance = MergeAccountingClient::Account.new(
39
41
  parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002,
40
42
  company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
41
43
  remote_was_deleted: null,
44
+ created_at: 2021-09-15T00:00Z,
45
+ modified_at: 2021-10-16T00:00Z,
42
46
  field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
43
47
  remote_data: [{"path":"/actions","data":["Varies by platform"]}]
44
48
  )
@@ -5,11 +5,14 @@
5
5
  | Name | Type | Description | Notes |
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **name** | **String** | Company name. | |
8
- | **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. | [optional] |
8
+ | **categories** | [**Array<CategoriesEnum>**](CategoriesEnum.md) | Category or categories this integration belongs to. Multiple categories should be comma separated, i.e. [ats, hris]. | [optional][readonly] |
9
9
  | **image** | **String** | Company logo in rectangular shape. <b>Upload an image with a clear background.</b> | [optional] |
10
10
  | **square_image** | **String** | Company logo in square shape. <b>Upload an image with a white background.</b> | [optional] |
11
11
  | **color** | **String** | The color of this integration used for buttons and text throughout the app and landing pages. <b>Choose a darker, saturated color.</b> | [optional] |
12
12
  | **slug** | **String** | | [optional][readonly] |
13
+ | **is_in_beta** | **Boolean** | If checked, this integration will not appear in the linking flow, and will appear elsewhere with a Beta tag. | [optional] |
14
+ | **api_endpoints_to_documentation_urls** | [**Hash<String, AnyType>**](AnyType.md) | Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []} | [optional] |
15
+ | **webhook_setup_guide_url** | **String** | Setup guide URL for third party webhook creation. Exposed in Merge Docs. | [optional] |
13
16
 
14
17
  ## Example
15
18
 
@@ -22,7 +25,10 @@ instance = MergeAccountingClient::AccountIntegration.new(
22
25
  image: null,
23
26
  square_image: null,
24
27
  color: null,
25
- slug: null
28
+ slug: null,
29
+ is_in_beta: null,
30
+ api_endpoints_to_documentation_urls: null,
31
+ webhook_setup_guide_url: null
26
32
  )
27
33
  ```
28
34
 
@@ -9,7 +9,9 @@
9
9
  | **file_name** | **String** | The attachment's name. | [optional] |
10
10
  | **file_url** | **String** | The attachment's url. | [optional] |
11
11
  | **company** | **String** | The company the accounting attachment belongs to. | [optional] |
12
- | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
12
+ | **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted in the third party platform. | [optional][readonly] |
13
+ | **created_at** | **Time** | | [optional][readonly] |
14
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
13
15
  | **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
14
16
  | **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
15
17
 
@@ -25,6 +27,8 @@ instance = MergeAccountingClient::AccountingAttachment.new(
25
27
  file_url: https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png,
26
28
  company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
27
29
  remote_was_deleted: null,
30
+ created_at: 2021-09-15T00:00Z,
31
+ modified_at: 2021-10-16T00:00Z,
28
32
  field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
29
33
  remote_data: [{"path":"/actions","data":["Varies by platform"]}]
30
34
  )
@@ -0,0 +1,30 @@
1
+ # MergeAccountingClient::AccountingPeriod
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **start_date** | **Time** | Beginning date of the period | [optional] |
8
+ | **end_date** | **Time** | End date of the period | [optional] |
9
+ | **status** | [**AccountingPeriodStatusEnum**](AccountingPeriodStatusEnum.md) | | [optional] |
10
+ | **name** | **String** | Name of the accounting period. | [optional] |
11
+ | **id** | **String** | | [optional][readonly] |
12
+ | **created_at** | **Time** | | [optional][readonly] |
13
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
14
+
15
+ ## Example
16
+
17
+ ```ruby
18
+ require 'merge_accounting_client'
19
+
20
+ instance = MergeAccountingClient::AccountingPeriod.new(
21
+ start_date: 2020-03-31T00:00Z,
22
+ end_date: null,
23
+ status: ACTIVE,
24
+ name: April 2020 Financials,
25
+ id: null,
26
+ created_at: 2021-09-15T00:00Z,
27
+ modified_at: 2021-10-16T00:00Z
28
+ )
29
+ ```
30
+
@@ -0,0 +1,15 @@
1
+ # MergeAccountingClient::AccountingPeriodStatusEnum
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+
8
+ ## Example
9
+
10
+ ```ruby
11
+ require 'merge_accounting_client'
12
+
13
+ instance = MergeAccountingClient::AccountingPeriodStatusEnum.new()
14
+ ```
15
+
@@ -0,0 +1,167 @@
1
+ # MergeAccountingClient::AccountingPeriodsApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/accounting/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**accounting_periods_list**](AccountingPeriodsApi.md#accounting_periods_list) | **GET** /accounting-periods | |
8
+ | [**accounting_periods_retrieve**](AccountingPeriodsApi.md#accounting_periods_retrieve) | **GET** /accounting-periods/{id} | |
9
+
10
+
11
+ ## accounting_periods_list
12
+
13
+ > <PaginatedAccountingPeriodList> accounting_periods_list(x_account_token, opts)
14
+
15
+
16
+
17
+ Returns a list of `AccountingPeriod` objects.
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'merge_accounting_client'
24
+ # setup authorization
25
+ MergeAccountingClient.configure do |config|
26
+ # Configure API key authorization: tokenAuth
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MergeAccountingClient::AccountingPeriodsApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ opts = {
35
+ cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
36
+ include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
37
+ include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
38
+ page_size: 56 # Integer | Number of results to return per page.
39
+ }
40
+
41
+ begin
42
+
43
+ result = api_instance.accounting_periods_list(x_account_token, opts)
44
+ p result
45
+ rescue MergeAccountingClient::ApiError => e
46
+ puts "Error when calling AccountingPeriodsApi->accounting_periods_list: #{e}"
47
+ end
48
+ ```
49
+
50
+ #### Using the accounting_periods_list_with_http_info variant
51
+
52
+ This returns an Array which contains the response data, status code and headers.
53
+
54
+ > <Array(<PaginatedAccountingPeriodList>, Integer, Hash)> accounting_periods_list_with_http_info(x_account_token, opts)
55
+
56
+ ```ruby
57
+ begin
58
+
59
+ data, status_code, headers = api_instance.accounting_periods_list_with_http_info(x_account_token, opts)
60
+ p status_code # => 2xx
61
+ p headers # => { ... }
62
+ p data # => <PaginatedAccountingPeriodList>
63
+ rescue MergeAccountingClient::ApiError => e
64
+ puts "Error when calling AccountingPeriodsApi->accounting_periods_list_with_http_info: #{e}"
65
+ end
66
+ ```
67
+
68
+ ### Parameters
69
+
70
+ | Name | Type | Description | Notes |
71
+ | ---- | ---- | ----------- | ----- |
72
+ | **x_account_token** | **String** | Token identifying the end user. | |
73
+ | **cursor** | **String** | The pagination cursor value. | [optional] |
74
+ | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
75
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
76
+ | **page_size** | **Integer** | Number of results to return per page. | [optional] |
77
+
78
+ ### Return type
79
+
80
+ [**PaginatedAccountingPeriodList**](PaginatedAccountingPeriodList.md)
81
+
82
+ ### Authorization
83
+
84
+ [tokenAuth](../README.md#tokenAuth)
85
+
86
+ ### HTTP request headers
87
+
88
+ - **Content-Type**: Not defined
89
+ - **Accept**: application/json
90
+
91
+
92
+ ## accounting_periods_retrieve
93
+
94
+ > <AccountingPeriod> accounting_periods_retrieve(x_account_token, id, opts)
95
+
96
+
97
+
98
+ Returns an `AccountingPeriod` object with the given `id`.
99
+
100
+ ### Examples
101
+
102
+ ```ruby
103
+ require 'time'
104
+ require 'merge_accounting_client'
105
+ # setup authorization
106
+ MergeAccountingClient.configure do |config|
107
+ # Configure API key authorization: tokenAuth
108
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
109
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
110
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
111
+ end
112
+
113
+ api_instance = MergeAccountingClient::AccountingPeriodsApi.new
114
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
115
+ id = TODO # String |
116
+ opts = {
117
+ include_remote_data: true # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
118
+ }
119
+
120
+ begin
121
+
122
+ result = api_instance.accounting_periods_retrieve(x_account_token, id, opts)
123
+ p result
124
+ rescue MergeAccountingClient::ApiError => e
125
+ puts "Error when calling AccountingPeriodsApi->accounting_periods_retrieve: #{e}"
126
+ end
127
+ ```
128
+
129
+ #### Using the accounting_periods_retrieve_with_http_info variant
130
+
131
+ This returns an Array which contains the response data, status code and headers.
132
+
133
+ > <Array(<AccountingPeriod>, Integer, Hash)> accounting_periods_retrieve_with_http_info(x_account_token, id, opts)
134
+
135
+ ```ruby
136
+ begin
137
+
138
+ data, status_code, headers = api_instance.accounting_periods_retrieve_with_http_info(x_account_token, id, opts)
139
+ p status_code # => 2xx
140
+ p headers # => { ... }
141
+ p data # => <AccountingPeriod>
142
+ rescue MergeAccountingClient::ApiError => e
143
+ puts "Error when calling AccountingPeriodsApi->accounting_periods_retrieve_with_http_info: #{e}"
144
+ end
145
+ ```
146
+
147
+ ### Parameters
148
+
149
+ | Name | Type | Description | Notes |
150
+ | ---- | ---- | ----------- | ----- |
151
+ | **x_account_token** | **String** | Token identifying the end user. | |
152
+ | **id** | [**String**](.md) | | |
153
+ | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
154
+
155
+ ### Return type
156
+
157
+ [**AccountingPeriod**](AccountingPeriod.md)
158
+
159
+ ### Authorization
160
+
161
+ [tokenAuth](../README.md#tokenAuth)
162
+
163
+ ### HTTP request headers
164
+
165
+ - **Content-Type**: Not defined
166
+ - **Accept**: application/json
167
+
@@ -6,6 +6,8 @@
6
6
  | ---- | ---- | ----------- | ----- |
7
7
  | **number** | **String** | The phone number. | [optional] |
8
8
  | **type** | **String** | The phone number&#39;s type. | [optional] |
9
+ | **created_at** | **Time** | | [optional][readonly] |
10
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
9
11
 
10
12
  ## Example
11
13
 
@@ -14,7 +16,9 @@ require 'merge_accounting_client'
14
16
 
15
17
  instance = MergeAccountingClient::AccountingPhoneNumber.new(
16
18
  number: +3198675309,
17
- type: Mobile
19
+ type: Mobile,
20
+ created_at: 2021-09-15T00:00Z,
21
+ modified_at: 2021-10-16T00:00Z
18
22
  )
19
23
  ```
20
24
 
data/docs/AccountsApi.md CHANGED
@@ -120,8 +120,8 @@ opts = {
120
120
  expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
121
121
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
122
122
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
123
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
124
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
123
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
124
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
125
125
  page_size: 56, # Integer | Number of results to return per page.
126
126
  remote_fields: 'classification', # String | Deprecated. Use show_enum_origins.
127
127
  remote_id: 'remote_id_example', # String | The API provider's ID for the given object.
@@ -167,8 +167,8 @@ end
167
167
  | **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
168
168
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
169
169
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
170
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
171
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
170
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
171
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
172
172
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
173
173
  | **remote_fields** | **String** | Deprecated. Use show_enum_origins. | [optional] |
174
174
  | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
data/docs/Address.md CHANGED
@@ -12,6 +12,8 @@
12
12
  | **country_subdivision** | **String** | The address&#39;s state or region. | [optional] |
13
13
  | **country** | [**CountryEnum**](CountryEnum.md) | The address&#39;s country. * &#x60;AF&#x60; - Afghanistan * &#x60;AX&#x60; - Åland Islands * &#x60;AL&#x60; - Albania * &#x60;DZ&#x60; - Algeria * &#x60;AS&#x60; - American Samoa * &#x60;AD&#x60; - Andorra * &#x60;AO&#x60; - Angola * &#x60;AI&#x60; - Anguilla * &#x60;AQ&#x60; - Antarctica * &#x60;AG&#x60; - Antigua and Barbuda * &#x60;AR&#x60; - Argentina * &#x60;AM&#x60; - Armenia * &#x60;AW&#x60; - Aruba * &#x60;AU&#x60; - Australia * &#x60;AT&#x60; - Austria * &#x60;AZ&#x60; - Azerbaijan * &#x60;BS&#x60; - Bahamas * &#x60;BH&#x60; - Bahrain * &#x60;BD&#x60; - Bangladesh * &#x60;BB&#x60; - Barbados * &#x60;BY&#x60; - Belarus * &#x60;BE&#x60; - Belgium * &#x60;BZ&#x60; - Belize * &#x60;BJ&#x60; - Benin * &#x60;BM&#x60; - Bermuda * &#x60;BT&#x60; - Bhutan * &#x60;BO&#x60; - Bolivia * &#x60;BQ&#x60; - Bonaire, Sint Eustatius and Saba * &#x60;BA&#x60; - Bosnia and Herzegovina * &#x60;BW&#x60; - Botswana * &#x60;BV&#x60; - Bouvet Island * &#x60;BR&#x60; - Brazil * &#x60;IO&#x60; - British Indian Ocean Territory * &#x60;BN&#x60; - Brunei * &#x60;BG&#x60; - Bulgaria * &#x60;BF&#x60; - Burkina Faso * &#x60;BI&#x60; - Burundi * &#x60;CV&#x60; - Cabo Verde * &#x60;KH&#x60; - Cambodia * &#x60;CM&#x60; - Cameroon * &#x60;CA&#x60; - Canada * &#x60;KY&#x60; - Cayman Islands * &#x60;CF&#x60; - Central African Republic * &#x60;TD&#x60; - Chad * &#x60;CL&#x60; - Chile * &#x60;CN&#x60; - China * &#x60;CX&#x60; - Christmas Island * &#x60;CC&#x60; - Cocos (Keeling) Islands * &#x60;CO&#x60; - Colombia * &#x60;KM&#x60; - Comoros * &#x60;CG&#x60; - Congo * &#x60;CD&#x60; - Congo (the Democratic Republic of the) * &#x60;CK&#x60; - Cook Islands * &#x60;CR&#x60; - Costa Rica * &#x60;CI&#x60; - Côte d&#39;Ivoire * &#x60;HR&#x60; - Croatia * &#x60;CU&#x60; - Cuba * &#x60;CW&#x60; - Curaçao * &#x60;CY&#x60; - Cyprus * &#x60;CZ&#x60; - Czechia * &#x60;DK&#x60; - Denmark * &#x60;DJ&#x60; - Djibouti * &#x60;DM&#x60; - Dominica * &#x60;DO&#x60; - Dominican Republic * &#x60;EC&#x60; - Ecuador * &#x60;EG&#x60; - Egypt * &#x60;SV&#x60; - El Salvador * &#x60;GQ&#x60; - Equatorial Guinea * &#x60;ER&#x60; - Eritrea * &#x60;EE&#x60; - Estonia * &#x60;SZ&#x60; - Eswatini * &#x60;ET&#x60; - Ethiopia * &#x60;FK&#x60; - Falkland Islands (Malvinas) * &#x60;FO&#x60; - Faroe Islands * &#x60;FJ&#x60; - Fiji * &#x60;FI&#x60; - Finland * &#x60;FR&#x60; - France * &#x60;GF&#x60; - French Guiana * &#x60;PF&#x60; - French Polynesia * &#x60;TF&#x60; - French Southern Territories * &#x60;GA&#x60; - Gabon * &#x60;GM&#x60; - Gambia * &#x60;GE&#x60; - Georgia * &#x60;DE&#x60; - Germany * &#x60;GH&#x60; - Ghana * &#x60;GI&#x60; - Gibraltar * &#x60;GR&#x60; - Greece * &#x60;GL&#x60; - Greenland * &#x60;GD&#x60; - Grenada * &#x60;GP&#x60; - Guadeloupe * &#x60;GU&#x60; - Guam * &#x60;GT&#x60; - Guatemala * &#x60;GG&#x60; - Guernsey * &#x60;GN&#x60; - Guinea * &#x60;GW&#x60; - Guinea-Bissau * &#x60;GY&#x60; - Guyana * &#x60;HT&#x60; - Haiti * &#x60;HM&#x60; - Heard Island and McDonald Islands * &#x60;VA&#x60; - Holy See * &#x60;HN&#x60; - Honduras * &#x60;HK&#x60; - Hong Kong * &#x60;HU&#x60; - Hungary * &#x60;IS&#x60; - Iceland * &#x60;IN&#x60; - India * &#x60;ID&#x60; - Indonesia * &#x60;IR&#x60; - Iran * &#x60;IQ&#x60; - Iraq * &#x60;IE&#x60; - Ireland * &#x60;IM&#x60; - Isle of Man * &#x60;IL&#x60; - Israel * &#x60;IT&#x60; - Italy * &#x60;JM&#x60; - Jamaica * &#x60;JP&#x60; - Japan * &#x60;JE&#x60; - Jersey * &#x60;JO&#x60; - Jordan * &#x60;KZ&#x60; - Kazakhstan * &#x60;KE&#x60; - Kenya * &#x60;KI&#x60; - Kiribati * &#x60;KW&#x60; - Kuwait * &#x60;KG&#x60; - Kyrgyzstan * &#x60;LA&#x60; - Laos * &#x60;LV&#x60; - Latvia * &#x60;LB&#x60; - Lebanon * &#x60;LS&#x60; - Lesotho * &#x60;LR&#x60; - Liberia * &#x60;LY&#x60; - Libya * &#x60;LI&#x60; - Liechtenstein * &#x60;LT&#x60; - Lithuania * &#x60;LU&#x60; - Luxembourg * &#x60;MO&#x60; - Macao * &#x60;MG&#x60; - Madagascar * &#x60;MW&#x60; - Malawi * &#x60;MY&#x60; - Malaysia * &#x60;MV&#x60; - Maldives * &#x60;ML&#x60; - Mali * &#x60;MT&#x60; - Malta * &#x60;MH&#x60; - Marshall Islands * &#x60;MQ&#x60; - Martinique * &#x60;MR&#x60; - Mauritania * &#x60;MU&#x60; - Mauritius * &#x60;YT&#x60; - Mayotte * &#x60;MX&#x60; - Mexico * &#x60;FM&#x60; - Micronesia (Federated States of) * &#x60;MD&#x60; - Moldova * &#x60;MC&#x60; - Monaco * &#x60;MN&#x60; - Mongolia * &#x60;ME&#x60; - Montenegro * &#x60;MS&#x60; - Montserrat * &#x60;MA&#x60; - Morocco * &#x60;MZ&#x60; - Mozambique * &#x60;MM&#x60; - Myanmar * &#x60;NA&#x60; - Namibia * &#x60;NR&#x60; - Nauru * &#x60;NP&#x60; - Nepal * &#x60;NL&#x60; - Netherlands * &#x60;NC&#x60; - New Caledonia * &#x60;NZ&#x60; - New Zealand * &#x60;NI&#x60; - Nicaragua * &#x60;NE&#x60; - Niger * &#x60;NG&#x60; - Nigeria * &#x60;NU&#x60; - Niue * &#x60;NF&#x60; - Norfolk Island * &#x60;KP&#x60; - North Korea * &#x60;MK&#x60; - North Macedonia * &#x60;MP&#x60; - Northern Mariana Islands * &#x60;NO&#x60; - Norway * &#x60;OM&#x60; - Oman * &#x60;PK&#x60; - Pakistan * &#x60;PW&#x60; - Palau * &#x60;PS&#x60; - Palestine, State of * &#x60;PA&#x60; - Panama * &#x60;PG&#x60; - Papua New Guinea * &#x60;PY&#x60; - Paraguay * &#x60;PE&#x60; - Peru * &#x60;PH&#x60; - Philippines * &#x60;PN&#x60; - Pitcairn * &#x60;PL&#x60; - Poland * &#x60;PT&#x60; - Portugal * &#x60;PR&#x60; - Puerto Rico * &#x60;QA&#x60; - Qatar * &#x60;RE&#x60; - Réunion * &#x60;RO&#x60; - Romania * &#x60;RU&#x60; - Russia * &#x60;RW&#x60; - Rwanda * &#x60;BL&#x60; - Saint Barthélemy * &#x60;SH&#x60; - Saint Helena, Ascension and Tristan da Cunha * &#x60;KN&#x60; - Saint Kitts and Nevis * &#x60;LC&#x60; - Saint Lucia * &#x60;MF&#x60; - Saint Martin (French part) * &#x60;PM&#x60; - Saint Pierre and Miquelon * &#x60;VC&#x60; - Saint Vincent and the Grenadines * &#x60;WS&#x60; - Samoa * &#x60;SM&#x60; - San Marino * &#x60;ST&#x60; - Sao Tome and Principe * &#x60;SA&#x60; - Saudi Arabia * &#x60;SN&#x60; - Senegal * &#x60;RS&#x60; - Serbia * &#x60;SC&#x60; - Seychelles * &#x60;SL&#x60; - Sierra Leone * &#x60;SG&#x60; - Singapore * &#x60;SX&#x60; - Sint Maarten (Dutch part) * &#x60;SK&#x60; - Slovakia * &#x60;SI&#x60; - Slovenia * &#x60;SB&#x60; - Solomon Islands * &#x60;SO&#x60; - Somalia * &#x60;ZA&#x60; - South Africa * &#x60;GS&#x60; - South Georgia and the South Sandwich Islands * &#x60;KR&#x60; - South Korea * &#x60;SS&#x60; - South Sudan * &#x60;ES&#x60; - Spain * &#x60;LK&#x60; - Sri Lanka * &#x60;SD&#x60; - Sudan * &#x60;SR&#x60; - Suriname * &#x60;SJ&#x60; - Svalbard and Jan Mayen * &#x60;SE&#x60; - Sweden * &#x60;CH&#x60; - Switzerland * &#x60;SY&#x60; - Syria * &#x60;TW&#x60; - Taiwan * &#x60;TJ&#x60; - Tajikistan * &#x60;TZ&#x60; - Tanzania * &#x60;TH&#x60; - Thailand * &#x60;TL&#x60; - Timor-Leste * &#x60;TG&#x60; - Togo * &#x60;TK&#x60; - Tokelau * &#x60;TO&#x60; - Tonga * &#x60;TT&#x60; - Trinidad and Tobago * &#x60;TN&#x60; - Tunisia * &#x60;TR&#x60; - Turkey * &#x60;TM&#x60; - Turkmenistan * &#x60;TC&#x60; - Turks and Caicos Islands * &#x60;TV&#x60; - Tuvalu * &#x60;UG&#x60; - Uganda * &#x60;UA&#x60; - Ukraine * &#x60;AE&#x60; - United Arab Emirates * &#x60;GB&#x60; - United Kingdom * &#x60;UM&#x60; - United States Minor Outlying Islands * &#x60;US&#x60; - United States of America * &#x60;UY&#x60; - Uruguay * &#x60;UZ&#x60; - Uzbekistan * &#x60;VU&#x60; - Vanuatu * &#x60;VE&#x60; - Venezuela * &#x60;VN&#x60; - Vietnam * &#x60;VG&#x60; - Virgin Islands (British) * &#x60;VI&#x60; - Virgin Islands (U.S.) * &#x60;WF&#x60; - Wallis and Futuna * &#x60;EH&#x60; - Western Sahara * &#x60;YE&#x60; - Yemen * &#x60;ZM&#x60; - Zambia * &#x60;ZW&#x60; - Zimbabwe | [optional] |
14
14
  | **zip_code** | **String** | The address&#39;s zip code. | [optional] |
15
+ | **created_at** | **Time** | | [optional][readonly] |
16
+ | **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
15
17
 
16
18
  ## Example
17
19
 
@@ -25,8 +27,10 @@ instance = MergeAccountingClient::Address.new(
25
27
  city: New York,
26
28
  state: NY,
27
29
  country_subdivision: NY,
28
- country: USA,
29
- zip_code: 10027
30
+ country: US,
31
+ zip_code: 10027,
32
+ created_at: 2021-09-15T00:00Z,
33
+ modified_at: 2021-10-16T00:00Z
30
34
  )
31
35
  ```
32
36
 
@@ -0,0 +1,34 @@
1
+ # MergeAccountingClient::AddressRequest
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **type** | [**AddressTypeEnum**](AddressTypeEnum.md) | The address type. * &#x60;BILLING&#x60; - BILLING * &#x60;SHIPPING&#x60; - SHIPPING | [optional] |
8
+ | **street_1** | **String** | Line 1 of the address&#39;s street. | [optional] |
9
+ | **street_2** | **String** | Line 2 of the address&#39;s street. | [optional] |
10
+ | **city** | **String** | The address&#39;s city. | [optional] |
11
+ | **country_subdivision** | **String** | The address&#39;s state or region. | [optional] |
12
+ | **country** | [**CountryEnum**](CountryEnum.md) | The address&#39;s country. * &#x60;AF&#x60; - Afghanistan * &#x60;AX&#x60; - Åland Islands * &#x60;AL&#x60; - Albania * &#x60;DZ&#x60; - Algeria * &#x60;AS&#x60; - American Samoa * &#x60;AD&#x60; - Andorra * &#x60;AO&#x60; - Angola * &#x60;AI&#x60; - Anguilla * &#x60;AQ&#x60; - Antarctica * &#x60;AG&#x60; - Antigua and Barbuda * &#x60;AR&#x60; - Argentina * &#x60;AM&#x60; - Armenia * &#x60;AW&#x60; - Aruba * &#x60;AU&#x60; - Australia * &#x60;AT&#x60; - Austria * &#x60;AZ&#x60; - Azerbaijan * &#x60;BS&#x60; - Bahamas * &#x60;BH&#x60; - Bahrain * &#x60;BD&#x60; - Bangladesh * &#x60;BB&#x60; - Barbados * &#x60;BY&#x60; - Belarus * &#x60;BE&#x60; - Belgium * &#x60;BZ&#x60; - Belize * &#x60;BJ&#x60; - Benin * &#x60;BM&#x60; - Bermuda * &#x60;BT&#x60; - Bhutan * &#x60;BO&#x60; - Bolivia * &#x60;BQ&#x60; - Bonaire, Sint Eustatius and Saba * &#x60;BA&#x60; - Bosnia and Herzegovina * &#x60;BW&#x60; - Botswana * &#x60;BV&#x60; - Bouvet Island * &#x60;BR&#x60; - Brazil * &#x60;IO&#x60; - British Indian Ocean Territory * &#x60;BN&#x60; - Brunei * &#x60;BG&#x60; - Bulgaria * &#x60;BF&#x60; - Burkina Faso * &#x60;BI&#x60; - Burundi * &#x60;CV&#x60; - Cabo Verde * &#x60;KH&#x60; - Cambodia * &#x60;CM&#x60; - Cameroon * &#x60;CA&#x60; - Canada * &#x60;KY&#x60; - Cayman Islands * &#x60;CF&#x60; - Central African Republic * &#x60;TD&#x60; - Chad * &#x60;CL&#x60; - Chile * &#x60;CN&#x60; - China * &#x60;CX&#x60; - Christmas Island * &#x60;CC&#x60; - Cocos (Keeling) Islands * &#x60;CO&#x60; - Colombia * &#x60;KM&#x60; - Comoros * &#x60;CG&#x60; - Congo * &#x60;CD&#x60; - Congo (the Democratic Republic of the) * &#x60;CK&#x60; - Cook Islands * &#x60;CR&#x60; - Costa Rica * &#x60;CI&#x60; - Côte d&#39;Ivoire * &#x60;HR&#x60; - Croatia * &#x60;CU&#x60; - Cuba * &#x60;CW&#x60; - Curaçao * &#x60;CY&#x60; - Cyprus * &#x60;CZ&#x60; - Czechia * &#x60;DK&#x60; - Denmark * &#x60;DJ&#x60; - Djibouti * &#x60;DM&#x60; - Dominica * &#x60;DO&#x60; - Dominican Republic * &#x60;EC&#x60; - Ecuador * &#x60;EG&#x60; - Egypt * &#x60;SV&#x60; - El Salvador * &#x60;GQ&#x60; - Equatorial Guinea * &#x60;ER&#x60; - Eritrea * &#x60;EE&#x60; - Estonia * &#x60;SZ&#x60; - Eswatini * &#x60;ET&#x60; - Ethiopia * &#x60;FK&#x60; - Falkland Islands (Malvinas) * &#x60;FO&#x60; - Faroe Islands * &#x60;FJ&#x60; - Fiji * &#x60;FI&#x60; - Finland * &#x60;FR&#x60; - France * &#x60;GF&#x60; - French Guiana * &#x60;PF&#x60; - French Polynesia * &#x60;TF&#x60; - French Southern Territories * &#x60;GA&#x60; - Gabon * &#x60;GM&#x60; - Gambia * &#x60;GE&#x60; - Georgia * &#x60;DE&#x60; - Germany * &#x60;GH&#x60; - Ghana * &#x60;GI&#x60; - Gibraltar * &#x60;GR&#x60; - Greece * &#x60;GL&#x60; - Greenland * &#x60;GD&#x60; - Grenada * &#x60;GP&#x60; - Guadeloupe * &#x60;GU&#x60; - Guam * &#x60;GT&#x60; - Guatemala * &#x60;GG&#x60; - Guernsey * &#x60;GN&#x60; - Guinea * &#x60;GW&#x60; - Guinea-Bissau * &#x60;GY&#x60; - Guyana * &#x60;HT&#x60; - Haiti * &#x60;HM&#x60; - Heard Island and McDonald Islands * &#x60;VA&#x60; - Holy See * &#x60;HN&#x60; - Honduras * &#x60;HK&#x60; - Hong Kong * &#x60;HU&#x60; - Hungary * &#x60;IS&#x60; - Iceland * &#x60;IN&#x60; - India * &#x60;ID&#x60; - Indonesia * &#x60;IR&#x60; - Iran * &#x60;IQ&#x60; - Iraq * &#x60;IE&#x60; - Ireland * &#x60;IM&#x60; - Isle of Man * &#x60;IL&#x60; - Israel * &#x60;IT&#x60; - Italy * &#x60;JM&#x60; - Jamaica * &#x60;JP&#x60; - Japan * &#x60;JE&#x60; - Jersey * &#x60;JO&#x60; - Jordan * &#x60;KZ&#x60; - Kazakhstan * &#x60;KE&#x60; - Kenya * &#x60;KI&#x60; - Kiribati * &#x60;KW&#x60; - Kuwait * &#x60;KG&#x60; - Kyrgyzstan * &#x60;LA&#x60; - Laos * &#x60;LV&#x60; - Latvia * &#x60;LB&#x60; - Lebanon * &#x60;LS&#x60; - Lesotho * &#x60;LR&#x60; - Liberia * &#x60;LY&#x60; - Libya * &#x60;LI&#x60; - Liechtenstein * &#x60;LT&#x60; - Lithuania * &#x60;LU&#x60; - Luxembourg * &#x60;MO&#x60; - Macao * &#x60;MG&#x60; - Madagascar * &#x60;MW&#x60; - Malawi * &#x60;MY&#x60; - Malaysia * &#x60;MV&#x60; - Maldives * &#x60;ML&#x60; - Mali * &#x60;MT&#x60; - Malta * &#x60;MH&#x60; - Marshall Islands * &#x60;MQ&#x60; - Martinique * &#x60;MR&#x60; - Mauritania * &#x60;MU&#x60; - Mauritius * &#x60;YT&#x60; - Mayotte * &#x60;MX&#x60; - Mexico * &#x60;FM&#x60; - Micronesia (Federated States of) * &#x60;MD&#x60; - Moldova * &#x60;MC&#x60; - Monaco * &#x60;MN&#x60; - Mongolia * &#x60;ME&#x60; - Montenegro * &#x60;MS&#x60; - Montserrat * &#x60;MA&#x60; - Morocco * &#x60;MZ&#x60; - Mozambique * &#x60;MM&#x60; - Myanmar * &#x60;NA&#x60; - Namibia * &#x60;NR&#x60; - Nauru * &#x60;NP&#x60; - Nepal * &#x60;NL&#x60; - Netherlands * &#x60;NC&#x60; - New Caledonia * &#x60;NZ&#x60; - New Zealand * &#x60;NI&#x60; - Nicaragua * &#x60;NE&#x60; - Niger * &#x60;NG&#x60; - Nigeria * &#x60;NU&#x60; - Niue * &#x60;NF&#x60; - Norfolk Island * &#x60;KP&#x60; - North Korea * &#x60;MK&#x60; - North Macedonia * &#x60;MP&#x60; - Northern Mariana Islands * &#x60;NO&#x60; - Norway * &#x60;OM&#x60; - Oman * &#x60;PK&#x60; - Pakistan * &#x60;PW&#x60; - Palau * &#x60;PS&#x60; - Palestine, State of * &#x60;PA&#x60; - Panama * &#x60;PG&#x60; - Papua New Guinea * &#x60;PY&#x60; - Paraguay * &#x60;PE&#x60; - Peru * &#x60;PH&#x60; - Philippines * &#x60;PN&#x60; - Pitcairn * &#x60;PL&#x60; - Poland * &#x60;PT&#x60; - Portugal * &#x60;PR&#x60; - Puerto Rico * &#x60;QA&#x60; - Qatar * &#x60;RE&#x60; - Réunion * &#x60;RO&#x60; - Romania * &#x60;RU&#x60; - Russia * &#x60;RW&#x60; - Rwanda * &#x60;BL&#x60; - Saint Barthélemy * &#x60;SH&#x60; - Saint Helena, Ascension and Tristan da Cunha * &#x60;KN&#x60; - Saint Kitts and Nevis * &#x60;LC&#x60; - Saint Lucia * &#x60;MF&#x60; - Saint Martin (French part) * &#x60;PM&#x60; - Saint Pierre and Miquelon * &#x60;VC&#x60; - Saint Vincent and the Grenadines * &#x60;WS&#x60; - Samoa * &#x60;SM&#x60; - San Marino * &#x60;ST&#x60; - Sao Tome and Principe * &#x60;SA&#x60; - Saudi Arabia * &#x60;SN&#x60; - Senegal * &#x60;RS&#x60; - Serbia * &#x60;SC&#x60; - Seychelles * &#x60;SL&#x60; - Sierra Leone * &#x60;SG&#x60; - Singapore * &#x60;SX&#x60; - Sint Maarten (Dutch part) * &#x60;SK&#x60; - Slovakia * &#x60;SI&#x60; - Slovenia * &#x60;SB&#x60; - Solomon Islands * &#x60;SO&#x60; - Somalia * &#x60;ZA&#x60; - South Africa * &#x60;GS&#x60; - South Georgia and the South Sandwich Islands * &#x60;KR&#x60; - South Korea * &#x60;SS&#x60; - South Sudan * &#x60;ES&#x60; - Spain * &#x60;LK&#x60; - Sri Lanka * &#x60;SD&#x60; - Sudan * &#x60;SR&#x60; - Suriname * &#x60;SJ&#x60; - Svalbard and Jan Mayen * &#x60;SE&#x60; - Sweden * &#x60;CH&#x60; - Switzerland * &#x60;SY&#x60; - Syria * &#x60;TW&#x60; - Taiwan * &#x60;TJ&#x60; - Tajikistan * &#x60;TZ&#x60; - Tanzania * &#x60;TH&#x60; - Thailand * &#x60;TL&#x60; - Timor-Leste * &#x60;TG&#x60; - Togo * &#x60;TK&#x60; - Tokelau * &#x60;TO&#x60; - Tonga * &#x60;TT&#x60; - Trinidad and Tobago * &#x60;TN&#x60; - Tunisia * &#x60;TR&#x60; - Turkey * &#x60;TM&#x60; - Turkmenistan * &#x60;TC&#x60; - Turks and Caicos Islands * &#x60;TV&#x60; - Tuvalu * &#x60;UG&#x60; - Uganda * &#x60;UA&#x60; - Ukraine * &#x60;AE&#x60; - United Arab Emirates * &#x60;GB&#x60; - United Kingdom * &#x60;UM&#x60; - United States Minor Outlying Islands * &#x60;US&#x60; - United States of America * &#x60;UY&#x60; - Uruguay * &#x60;UZ&#x60; - Uzbekistan * &#x60;VU&#x60; - Vanuatu * &#x60;VE&#x60; - Venezuela * &#x60;VN&#x60; - Vietnam * &#x60;VG&#x60; - Virgin Islands (British) * &#x60;VI&#x60; - Virgin Islands (U.S.) * &#x60;WF&#x60; - Wallis and Futuna * &#x60;EH&#x60; - Western Sahara * &#x60;YE&#x60; - Yemen * &#x60;ZM&#x60; - Zambia * &#x60;ZW&#x60; - Zimbabwe | [optional] |
13
+ | **zip_code** | **String** | The address&#39;s zip code. | [optional] |
14
+ | **integration_params** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional] |
15
+ | **linked_account_params** | [**Hash&lt;String, AnyType&gt;**](AnyType.md) | | [optional] |
16
+
17
+ ## Example
18
+
19
+ ```ruby
20
+ require 'merge_accounting_client'
21
+
22
+ instance = MergeAccountingClient::AddressRequest.new(
23
+ type: SHIPPING,
24
+ street_1: 2920 Broadway,
25
+ street_2: 2nd Floor,
26
+ city: New York,
27
+ country_subdivision: NY,
28
+ country: US,
29
+ zip_code: 10027,
30
+ integration_params: {&quot;unique_integration_field&quot;:&quot;unique_integration_field_value&quot;},
31
+ linked_account_params: {&quot;unique_linked_account_field&quot;:&quot;unique_linked_account_field_value&quot;}
32
+ )
33
+ ```
34
+
@@ -0,0 +1,155 @@
1
+ # MergeAccountingClient::AsyncPassthroughApi
2
+
3
+ All URIs are relative to *https://api.merge.dev/api/accounting/v1*
4
+
5
+ | Method | HTTP request | Description |
6
+ | ------ | ------------ | ----------- |
7
+ | [**async_passthrough_create**](AsyncPassthroughApi.md#async_passthrough_create) | **POST** /async-passthrough | |
8
+ | [**async_passthrough_retrieve**](AsyncPassthroughApi.md#async_passthrough_retrieve) | **GET** /async-passthrough/{async_passthrough_receipt_id} | |
9
+
10
+
11
+ ## async_passthrough_create
12
+
13
+ > <AsyncPassthroughReciept> async_passthrough_create(x_account_token, data_passthrough_request)
14
+
15
+
16
+
17
+ Asynchronously pull data from an endpoint not currently supported by Merge.
18
+
19
+ ### Examples
20
+
21
+ ```ruby
22
+ require 'time'
23
+ require 'merge_accounting_client'
24
+ # setup authorization
25
+ MergeAccountingClient.configure do |config|
26
+ # Configure API key authorization: tokenAuth
27
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
28
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
29
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
30
+ end
31
+
32
+ api_instance = MergeAccountingClient::AsyncPassthroughApi.new
33
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
34
+ data_passthrough_request = MergeAccountingClient::DataPassthroughRequest.new({method: MergeAccountingClient::MethodEnum::GET, path: '/scooters'}) # DataPassthroughRequest |
35
+
36
+ begin
37
+
38
+ result = api_instance.async_passthrough_create(x_account_token, data_passthrough_request)
39
+ p result
40
+ rescue MergeAccountingClient::ApiError => e
41
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_create: #{e}"
42
+ end
43
+ ```
44
+
45
+ #### Using the async_passthrough_create_with_http_info variant
46
+
47
+ This returns an Array which contains the response data, status code and headers.
48
+
49
+ > <Array(<AsyncPassthroughReciept>, Integer, Hash)> async_passthrough_create_with_http_info(x_account_token, data_passthrough_request)
50
+
51
+ ```ruby
52
+ begin
53
+
54
+ data, status_code, headers = api_instance.async_passthrough_create_with_http_info(x_account_token, data_passthrough_request)
55
+ p status_code # => 2xx
56
+ p headers # => { ... }
57
+ p data # => <AsyncPassthroughReciept>
58
+ rescue MergeAccountingClient::ApiError => e
59
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_create_with_http_info: #{e}"
60
+ end
61
+ ```
62
+
63
+ ### Parameters
64
+
65
+ | Name | Type | Description | Notes |
66
+ | ---- | ---- | ----------- | ----- |
67
+ | **x_account_token** | **String** | Token identifying the end user. | |
68
+ | **data_passthrough_request** | [**DataPassthroughRequest**](DataPassthroughRequest.md) | | |
69
+
70
+ ### Return type
71
+
72
+ [**AsyncPassthroughReciept**](AsyncPassthroughReciept.md)
73
+
74
+ ### Authorization
75
+
76
+ [tokenAuth](../README.md#tokenAuth)
77
+
78
+ ### HTTP request headers
79
+
80
+ - **Content-Type**: application/json, application/x-www-form-urlencoded, multipart/form-data
81
+ - **Accept**: application/json
82
+
83
+
84
+ ## async_passthrough_retrieve
85
+
86
+ > <RemoteResponse> async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id)
87
+
88
+
89
+
90
+ Retrieves data from earlier async-passthrough POST request
91
+
92
+ ### Examples
93
+
94
+ ```ruby
95
+ require 'time'
96
+ require 'merge_accounting_client'
97
+ # setup authorization
98
+ MergeAccountingClient.configure do |config|
99
+ # Configure API key authorization: tokenAuth
100
+ config.api_key['tokenAuth'] = 'YOUR API KEY'
101
+ # Uncomment the following line to set a prefix for the API key, e.g. 'Bearer' (defaults to nil)
102
+ # config.api_key_prefix['tokenAuth'] = 'Bearer'
103
+ end
104
+
105
+ api_instance = MergeAccountingClient::AsyncPassthroughApi.new
106
+ x_account_token = 'x_account_token_example' # String | Token identifying the end user.
107
+ async_passthrough_receipt_id = TODO # String |
108
+
109
+ begin
110
+
111
+ result = api_instance.async_passthrough_retrieve(x_account_token, async_passthrough_receipt_id)
112
+ p result
113
+ rescue MergeAccountingClient::ApiError => e
114
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_retrieve: #{e}"
115
+ end
116
+ ```
117
+
118
+ #### Using the async_passthrough_retrieve_with_http_info variant
119
+
120
+ This returns an Array which contains the response data, status code and headers.
121
+
122
+ > <Array(<RemoteResponse>, Integer, Hash)> async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id)
123
+
124
+ ```ruby
125
+ begin
126
+
127
+ data, status_code, headers = api_instance.async_passthrough_retrieve_with_http_info(x_account_token, async_passthrough_receipt_id)
128
+ p status_code # => 2xx
129
+ p headers # => { ... }
130
+ p data # => <RemoteResponse>
131
+ rescue MergeAccountingClient::ApiError => e
132
+ puts "Error when calling AsyncPassthroughApi->async_passthrough_retrieve_with_http_info: #{e}"
133
+ end
134
+ ```
135
+
136
+ ### Parameters
137
+
138
+ | Name | Type | Description | Notes |
139
+ | ---- | ---- | ----------- | ----- |
140
+ | **x_account_token** | **String** | Token identifying the end user. | |
141
+ | **async_passthrough_receipt_id** | [**String**](.md) | | |
142
+
143
+ ### Return type
144
+
145
+ [**RemoteResponse**](RemoteResponse.md)
146
+
147
+ ### Authorization
148
+
149
+ [tokenAuth](../README.md#tokenAuth)
150
+
151
+ ### HTTP request headers
152
+
153
+ - **Content-Type**: Not defined
154
+ - **Accept**: application/json
155
+
@@ -0,0 +1,18 @@
1
+ # MergeAccountingClient::AsyncPassthroughReciept
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **async_passthrough_receipt_id** | **String** | | |
8
+
9
+ ## Example
10
+
11
+ ```ruby
12
+ require 'merge_accounting_client'
13
+
14
+ instance = MergeAccountingClient::AsyncPassthroughReciept.new(
15
+ async_passthrough_receipt_id: fd29020f-2695-445e-922e-dcd5e81903fd
16
+ )
17
+ ```
18
+
@@ -119,8 +119,8 @@ opts = {
119
119
  cursor: 'cD0yMDIxLTAxLTA2KzAzJTNBMjQlM0E1My40MzQzMjYlMkIwMCUzQTAw', # String | The pagination cursor value.
120
120
  include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
121
121
  include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
122
- modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified after this datetime.
123
- modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, will only return objects modified before this datetime.
122
+ modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge after this date time will be returned.
123
+ modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided, only objects synced by Merge before this date time will be returned.
124
124
  page_size: 56, # Integer | Number of results to return per page.
125
125
  remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
126
126
  }
@@ -163,8 +163,8 @@ end
163
163
  | **cursor** | **String** | The pagination cursor value. | [optional] |
164
164
  | **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
165
165
  | **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
166
- | **modified_after** | **Time** | If provided, will only return objects modified after this datetime. | [optional] |
167
- | **modified_before** | **Time** | If provided, will only return objects modified before this datetime. | [optional] |
166
+ | **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
167
+ | **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
168
168
  | **page_size** | **Integer** | Number of results to return per page. | [optional] |
169
169
  | **remote_id** | **String** | The API provider&#39;s ID for the given object. | [optional] |
170
170
 
@@ -0,0 +1,32 @@
1
+ # MergeAccountingClient::AuditLogEvent
2
+
3
+ ## Properties
4
+
5
+ | Name | Type | Description | Notes |
6
+ | ---- | ---- | ----------- | ----- |
7
+ | **id** | **String** | | [optional][readonly] |
8
+ | **user_name** | **String** | The User&#39;s full name at the time of this Event occurring. | [optional] |
9
+ | **user_email** | **String** | The User&#39;s email at the time of this Event occurring. | [optional] |
10
+ | **role** | [**RoleEnum**](RoleEnum.md) | Designates the role of the user (or SYSTEM/API if action not taken by a user) at the time of this Event occurring. * &#x60;ADMIN&#x60; - ADMIN * &#x60;DEVELOPER&#x60; - DEVELOPER * &#x60;MEMBER&#x60; - MEMBER * &#x60;API&#x60; - API * &#x60;SYSTEM&#x60; - SYSTEM * &#x60;MERGE_TEAM&#x60; - MERGE_TEAM | |
11
+ | **ip_address** | **String** | | |
12
+ | **event_type** | [**EventTypeEnum**](EventTypeEnum.md) | Designates the type of event that occurred. * &#x60;CREATED_REMOTE_PRODUCTION_API_KEY&#x60; - CREATED_REMOTE_PRODUCTION_API_KEY * &#x60;DELETED_REMOTE_PRODUCTION_API_KEY&#x60; - DELETED_REMOTE_PRODUCTION_API_KEY * &#x60;CREATED_TEST_API_KEY&#x60; - CREATED_TEST_API_KEY * &#x60;DELETED_TEST_API_KEY&#x60; - DELETED_TEST_API_KEY * &#x60;REGENERATED_PRODUCTION_API_KEY&#x60; - REGENERATED_PRODUCTION_API_KEY * &#x60;INVITED_USER&#x60; - INVITED_USER * &#x60;TWO_FACTOR_AUTH_ENABLED&#x60; - TWO_FACTOR_AUTH_ENABLED * &#x60;TWO_FACTOR_AUTH_DISABLED&#x60; - TWO_FACTOR_AUTH_DISABLED * &#x60;DELETED_LINKED_ACCOUNT&#x60; - DELETED_LINKED_ACCOUNT * &#x60;CREATED_DESTINATION&#x60; - CREATED_DESTINATION * &#x60;DELETED_DESTINATION&#x60; - DELETED_DESTINATION * &#x60;CHANGED_SCOPES&#x60; - CHANGED_SCOPES * &#x60;CHANGED_PERSONAL_INFORMATION&#x60; - CHANGED_PERSONAL_INFORMATION * &#x60;CHANGED_ORGANIZATION_SETTINGS&#x60; - CHANGED_ORGANIZATION_SETTINGS * &#x60;ENABLED_INTEGRATION&#x60; - ENABLED_INTEGRATION * &#x60;DISABLED_INTEGRATION&#x60; - DISABLED_INTEGRATION * &#x60;ENABLED_CATEGORY&#x60; - ENABLED_CATEGORY * &#x60;DISABLED_CATEGORY&#x60; - DISABLED_CATEGORY * &#x60;CHANGED_PASSWORD&#x60; - CHANGED_PASSWORD * &#x60;RESET_PASSWORD&#x60; - RESET_PASSWORD * &#x60;ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION&#x60; - ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION * &#x60;ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT&#x60; - ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT * &#x60;DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION&#x60; - DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION * &#x60;DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT&#x60; - DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT | |
13
+ | **event_description** | **String** | | |
14
+ | **created_at** | **Time** | | [optional][readonly] |
15
+
16
+ ## Example
17
+
18
+ ```ruby
19
+ require 'merge_accounting_client'
20
+
21
+ instance = MergeAccountingClient::AuditLogEvent.new(
22
+ id: b5ceea2a-7171-47ce-8090-165cfce5572c,
23
+ user_name: Gil Feig,
24
+ user_email: hello@merge.dev,
25
+ role: ADMIN,
26
+ ip_address: 192.0.2.123,
27
+ event_type: CHANGED_SCOPES,
28
+ event_description: Organization-wide Scopes for model hris.Employee updated from Read to Read+Write,
29
+ created_at: null
30
+ )
31
+ ```
32
+