merge_accounting_client 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -13
- data/docs/Account.md +2 -0
- data/docs/AccountIntegration.md +5 -1
- data/docs/AccountingAttachment.md +2 -0
- data/docs/AccountingPhoneNumber.md +3 -1
- data/docs/AccountsApi.md +4 -4
- data/docs/Address.md +4 -2
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/AttachmentsApi.md +4 -4
- data/docs/BalanceSheet.md +2 -0
- data/docs/BalanceSheetsApi.md +4 -4
- data/docs/CashFlowStatement.md +2 -0
- data/docs/CashFlowStatementsApi.md +4 -4
- data/docs/CompanyInfo.md +3 -1
- data/docs/CompanyInfoApi.md +4 -4
- data/docs/Contact.md +2 -0
- data/docs/ContactsApi.md +4 -4
- data/docs/CreditNote.md +6 -0
- data/docs/CreditNoteLineItem.md +3 -1
- data/docs/CreditNotesApi.md +4 -4
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/Expense.md +4 -0
- data/docs/ExpenseLine.md +3 -1
- data/docs/ExpenseRequest.md +2 -0
- data/docs/ExpensesApi.md +4 -4
- data/docs/ForceResyncApi.md +1 -1
- data/docs/IncomeStatement.md +2 -0
- data/docs/IncomeStatementsApi.md +4 -4
- data/docs/Invoice.md +7 -3
- data/docs/InvoiceLineItem.md +2 -0
- data/docs/InvoiceRequest.md +3 -1
- data/docs/InvoicesApi.md +4 -4
- data/docs/Issue.md +1 -1
- data/docs/IssuesApi.md +6 -6
- data/docs/Item.md +2 -0
- data/docs/ItemsApi.md +4 -4
- data/docs/JournalEntriesApi.md +4 -4
- data/docs/JournalEntry.md +4 -0
- data/docs/JournalLine.md +3 -1
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/Payment.md +4 -0
- data/docs/PaymentRequest.md +2 -0
- data/docs/PaymentsApi.md +4 -4
- data/docs/PurchaseOrder.md +4 -0
- data/docs/PurchaseOrderLineItem.md +3 -1
- data/docs/PurchaseOrdersApi.md +4 -4
- data/docs/RemoteData.md +1 -1
- data/docs/ReportItem.md +3 -1
- data/docs/SyncStatus.md +1 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/TaxRate.md +2 -0
- data/docs/TaxRatesApi.md +4 -4
- data/docs/TrackingCategoriesApi.md +4 -4
- data/docs/TrackingCategory.md +2 -0
- data/docs/Transaction.md +2 -0
- data/docs/TransactionLineItem.md +3 -1
- data/docs/TransactionsApi.md +4 -4
- data/docs/VendorCredit.md +4 -0
- data/docs/VendorCreditLine.md +3 -1
- data/docs/VendorCreditsApi.md +4 -4
- data/git_push.sh +58 -0
- data/lib/merge_accounting_client/api/accounts_api.rb +4 -4
- data/lib/merge_accounting_client/api/async_passthrough_api.rb +160 -0
- data/lib/merge_accounting_client/api/attachments_api.rb +4 -4
- data/lib/merge_accounting_client/api/balance_sheets_api.rb +4 -4
- data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +4 -4
- data/lib/merge_accounting_client/api/company_info_api.rb +4 -4
- data/lib/merge_accounting_client/api/contacts_api.rb +4 -4
- data/lib/merge_accounting_client/api/credit_notes_api.rb +6 -6
- data/lib/merge_accounting_client/api/delete_account_api.rb +7 -7
- data/lib/merge_accounting_client/api/expenses_api.rb +6 -6
- data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
- data/lib/merge_accounting_client/api/income_statements_api.rb +4 -4
- data/lib/merge_accounting_client/api/invoices_api.rb +6 -6
- data/lib/merge_accounting_client/api/issues_api.rb +6 -6
- data/lib/merge_accounting_client/api/items_api.rb +4 -4
- data/lib/merge_accounting_client/api/journal_entries_api.rb +6 -6
- data/lib/merge_accounting_client/api/linked_accounts_api.rb +2 -2
- data/lib/merge_accounting_client/api/payments_api.rb +6 -6
- data/lib/merge_accounting_client/api/purchase_orders_api.rb +6 -6
- data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
- data/lib/merge_accounting_client/api/tax_rates_api.rb +4 -4
- data/lib/merge_accounting_client/api/tracking_categories_api.rb +4 -4
- data/lib/merge_accounting_client/api/transactions_api.rb +4 -4
- data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
- data/lib/merge_accounting_client/models/account.rb +11 -1
- data/lib/merge_accounting_client/models/account_integration.rb +26 -4
- data/lib/merge_accounting_client/models/accounting_attachment.rb +11 -1
- data/lib/merge_accounting_client/models/accounting_phone_number.rb +15 -5
- data/lib/merge_accounting_client/models/address.rb +15 -5
- data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_accounting_client/models/balance_sheet.rb +11 -1
- data/lib/merge_accounting_client/models/cash_flow_statement.rb +11 -1
- data/lib/merge_accounting_client/models/company_info.rb +11 -1
- data/lib/merge_accounting_client/models/contact.rb +11 -1
- data/lib/merge_accounting_client/models/credit_note.rb +50 -1
- data/lib/merge_accounting_client/models/credit_note_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/end_user_details_request.rb +1 -1
- data/lib/merge_accounting_client/models/expense.rb +22 -1
- data/lib/merge_accounting_client/models/expense_line.rb +15 -5
- data/lib/merge_accounting_client/models/expense_request.rb +12 -1
- data/lib/merge_accounting_client/models/income_statement.rb +11 -1
- data/lib/merge_accounting_client/models/invoice.rb +33 -12
- data/lib/merge_accounting_client/models/invoice_line_item.rb +12 -2
- data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
- data/lib/merge_accounting_client/models/invoice_request.rb +13 -2
- data/lib/merge_accounting_client/models/issue.rb +1 -0
- data/lib/merge_accounting_client/models/item.rb +11 -1
- data/lib/merge_accounting_client/models/journal_entry.rb +22 -1
- data/lib/merge_accounting_client/models/journal_line.rb +15 -5
- data/lib/merge_accounting_client/models/payment.rb +22 -1
- data/lib/merge_accounting_client/models/payment_request.rb +12 -1
- data/lib/merge_accounting_client/models/purchase_order.rb +22 -1
- data/lib/merge_accounting_client/models/purchase_order_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/remote_data.rb +3 -4
- data/lib/merge_accounting_client/models/report_item.rb +15 -5
- data/lib/merge_accounting_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_accounting_client/models/tax_rate.rb +11 -1
- data/lib/merge_accounting_client/models/tracking_category.rb +11 -1
- data/lib/merge_accounting_client/models/transaction.rb +11 -1
- data/lib/merge_accounting_client/models/transaction_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/vendor_credit.rb +22 -1
- data/lib/merge_accounting_client/models/vendor_credit_line.rb +15 -5
- data/lib/merge_accounting_client/version.rb +1 -1
- data/lib/merge_accounting_client.rb +6 -2
- data/spec/api/accounts_api_spec.rb +2 -2
- data/spec/api/async_passthrough_api_spec.rb +59 -0
- data/spec/api/attachments_api_spec.rb +2 -2
- data/spec/api/balance_sheets_api_spec.rb +2 -2
- data/spec/api/cash_flow_statements_api_spec.rb +2 -2
- data/spec/api/company_info_api_spec.rb +2 -2
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/credit_notes_api_spec.rb +2 -2
- data/spec/api/delete_account_api_spec.rb +2 -2
- data/spec/api/expenses_api_spec.rb +2 -2
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/income_statements_api_spec.rb +2 -2
- data/spec/api/invoices_api_spec.rb +2 -2
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/items_api_spec.rb +2 -2
- data/spec/api/journal_entries_api_spec.rb +2 -2
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/payments_api_spec.rb +2 -2
- data/spec/api/purchase_orders_api_spec.rb +2 -2
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tax_rates_api_spec.rb +2 -2
- data/spec/api/tracking_categories_api_spec.rb +2 -2
- data/spec/api/transactions_api_spec.rb +2 -2
- data/spec/api/vendor_credits_api_spec.rb +2 -2
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/account_spec.rb +6 -0
- data/spec/models/accounting_attachment_spec.rb +6 -0
- data/spec/models/accounting_phone_number_spec.rb +6 -0
- data/spec/models/address_spec.rb +6 -0
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/balance_sheet_spec.rb +6 -0
- data/spec/models/cash_flow_statement_spec.rb +6 -0
- data/spec/models/company_info_spec.rb +6 -0
- data/spec/models/contact_spec.rb +6 -0
- data/spec/models/credit_note_line_item_spec.rb +6 -0
- data/spec/models/credit_note_spec.rb +18 -0
- data/spec/models/expense_line_spec.rb +6 -0
- data/spec/models/expense_request_spec.rb +6 -0
- data/spec/models/expense_spec.rb +12 -0
- data/spec/models/income_statement_spec.rb +6 -0
- data/spec/models/invoice_line_item_spec.rb +6 -0
- data/spec/models/invoice_request_spec.rb +6 -0
- data/spec/models/invoice_spec.rb +14 -2
- data/spec/models/item_spec.rb +6 -0
- data/spec/models/journal_entry_spec.rb +12 -0
- data/spec/models/journal_line_spec.rb +6 -0
- data/spec/models/payment_request_spec.rb +6 -0
- data/spec/models/payment_spec.rb +12 -0
- data/spec/models/purchase_order_line_item_spec.rb +6 -0
- data/spec/models/purchase_order_spec.rb +12 -0
- data/spec/models/report_item_spec.rb +6 -0
- data/spec/models/tax_rate_spec.rb +6 -0
- data/spec/models/tracking_category_spec.rb +6 -0
- data/spec/models/transaction_line_item_spec.rb +6 -0
- data/spec/models/transaction_spec.rb +6 -0
- data/spec/models/vendor_credit_line_spec.rb +6 -0
- data/spec/models/vendor_credit_spec.rb +12 -0
- metadata +160 -151
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 518b3d7fce2496b36f8504c872a0057095c15cdcf5274d254ad7e431963928e1
|
4
|
+
data.tar.gz: d2a2bc91725813146eca6f7fb4bfc5eeceb5f6f44d758807e256d570738bf267
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f005f4c033e66fcafabe076686835991475d4698889d92e213f5475dc4356d1c97e1aea38ac6f506095395e121030c7ba4bdc72f015465dfdae0c1a82701ccca
|
7
|
+
data.tar.gz: 0c4bc7cf9d32d27ae28ef6de832a2a5e516c79c8d9639da75e5b87fe977f21e3fc7fa11da29b01e38ab8e2c0785cb6b6f4bee3a4cd0858888ba58448993dee08
|
data/README.md
CHANGED
@@ -7,7 +7,7 @@ The unified API for building rich integrations with multiple Accounting & Financ
|
|
7
7
|
This SDK is automatically generated by the [OpenAPI Generator](https://openapi-generator.tech) project:
|
8
8
|
|
9
9
|
- API version: 1.0
|
10
|
-
- Package version: 1.0.
|
10
|
+
- Package version: 1.0.9
|
11
11
|
- Build package: org.openapitools.codegen.languages.RubyClientCodegen
|
12
12
|
For more information, please visit [https://www.merge.dev/](https://www.merge.dev/)
|
13
13
|
|
@@ -24,16 +24,16 @@ gem build merge_accounting_client.gemspec
|
|
24
24
|
Then either install the gem locally:
|
25
25
|
|
26
26
|
```shell
|
27
|
-
gem install ./merge_accounting_client-1.0.
|
27
|
+
gem install ./merge_accounting_client-1.0.9.gem
|
28
28
|
```
|
29
29
|
|
30
|
-
(for development, run `gem install --dev ./merge_accounting_client-1.0.
|
30
|
+
(for development, run `gem install --dev ./merge_accounting_client-1.0.9.gem` to install the development dependencies)
|
31
31
|
|
32
32
|
or publish the gem to a gem hosting service, e.g. [RubyGems](https://rubygems.org/).
|
33
33
|
|
34
34
|
Finally add this to the Gemfile:
|
35
35
|
|
36
|
-
gem 'merge_accounting_client', '~> 1.0.
|
36
|
+
gem 'merge_accounting_client', '~> 1.0.9'
|
37
37
|
|
38
38
|
### Install from Git
|
39
39
|
|
@@ -90,6 +90,8 @@ Class | Method | HTTP request | Description
|
|
90
90
|
*MergeAccountingClient::AccountsApi* | [**accounts_meta_post_retrieve**](docs/AccountsApi.md#accounts_meta_post_retrieve) | **GET** /accounts/meta/post |
|
91
91
|
*MergeAccountingClient::AccountsApi* | [**accounts_retrieve**](docs/AccountsApi.md#accounts_retrieve) | **GET** /accounts/{id} |
|
92
92
|
*MergeAccountingClient::AddressesApi* | [**addresses_retrieve**](docs/AddressesApi.md#addresses_retrieve) | **GET** /addresses/{id} |
|
93
|
+
*MergeAccountingClient::AsyncPassthroughApi* | [**async_passthrough_create**](docs/AsyncPassthroughApi.md#async_passthrough_create) | **POST** /async-passthrough |
|
94
|
+
*MergeAccountingClient::AsyncPassthroughApi* | [**async_passthrough_retrieve**](docs/AsyncPassthroughApi.md#async_passthrough_retrieve) | **GET** /async-passthrough/{async_passthrough_receipt_id} |
|
93
95
|
*MergeAccountingClient::AttachmentsApi* | [**attachments_create**](docs/AttachmentsApi.md#attachments_create) | **POST** /attachments |
|
94
96
|
*MergeAccountingClient::AttachmentsApi* | [**attachments_list**](docs/AttachmentsApi.md#attachments_list) | **GET** /attachments |
|
95
97
|
*MergeAccountingClient::AttachmentsApi* | [**attachments_meta_post_retrieve**](docs/AttachmentsApi.md#attachments_meta_post_retrieve) | **GET** /attachments/meta/post |
|
@@ -99,8 +101,6 @@ Class | Method | HTTP request | Description
|
|
99
101
|
*MergeAccountingClient::BalanceSheetsApi* | [**balance_sheets_retrieve**](docs/BalanceSheetsApi.md#balance_sheets_retrieve) | **GET** /balance-sheets/{id} |
|
100
102
|
*MergeAccountingClient::CashFlowStatementsApi* | [**cash_flow_statements_list**](docs/CashFlowStatementsApi.md#cash_flow_statements_list) | **GET** /cash-flow-statements |
|
101
103
|
*MergeAccountingClient::CashFlowStatementsApi* | [**cash_flow_statements_retrieve**](docs/CashFlowStatementsApi.md#cash_flow_statements_retrieve) | **GET** /cash-flow-statements/{id} |
|
102
|
-
*MergeAccountingClient::CommonModelScopesApi* | [**common_model_scopes_create**](docs/CommonModelScopesApi.md#common_model_scopes_create) | **POST** /common-model-scopes |
|
103
|
-
*MergeAccountingClient::CommonModelScopesApi* | [**common_model_scopes_retrieve**](docs/CommonModelScopesApi.md#common_model_scopes_retrieve) | **GET** /common-model-scopes |
|
104
104
|
*MergeAccountingClient::CompanyInfoApi* | [**company_info_list**](docs/CompanyInfoApi.md#company_info_list) | **GET** /company-info |
|
105
105
|
*MergeAccountingClient::CompanyInfoApi* | [**company_info_retrieve**](docs/CompanyInfoApi.md#company_info_retrieve) | **GET** /company-info/{id} |
|
106
106
|
*MergeAccountingClient::ContactsApi* | [**contacts_create**](docs/ContactsApi.md#contacts_create) | **POST** /contacts |
|
@@ -109,7 +109,7 @@ Class | Method | HTTP request | Description
|
|
109
109
|
*MergeAccountingClient::ContactsApi* | [**contacts_retrieve**](docs/ContactsApi.md#contacts_retrieve) | **GET** /contacts/{id} |
|
110
110
|
*MergeAccountingClient::CreditNotesApi* | [**credit_notes_list**](docs/CreditNotesApi.md#credit_notes_list) | **GET** /credit-notes |
|
111
111
|
*MergeAccountingClient::CreditNotesApi* | [**credit_notes_retrieve**](docs/CreditNotesApi.md#credit_notes_retrieve) | **GET** /credit-notes/{id} |
|
112
|
-
*MergeAccountingClient::DeleteAccountApi* | [**
|
112
|
+
*MergeAccountingClient::DeleteAccountApi* | [**delete_account_delete**](docs/DeleteAccountApi.md#delete_account_delete) | **POST** /delete-account |
|
113
113
|
*MergeAccountingClient::ExpensesApi* | [**expenses_create**](docs/ExpensesApi.md#expenses_create) | **POST** /expenses |
|
114
114
|
*MergeAccountingClient::ExpensesApi* | [**expenses_list**](docs/ExpensesApi.md#expenses_list) | **GET** /expenses |
|
115
115
|
*MergeAccountingClient::ExpensesApi* | [**expenses_meta_post_retrieve**](docs/ExpensesApi.md#expenses_meta_post_retrieve) | **GET** /expenses/meta/post |
|
@@ -180,6 +180,7 @@ Class | Method | HTTP request | Description
|
|
180
180
|
- [MergeAccountingClient::AccountingPhoneNumberRequest](docs/AccountingPhoneNumberRequest.md)
|
181
181
|
- [MergeAccountingClient::Address](docs/Address.md)
|
182
182
|
- [MergeAccountingClient::AddressTypeEnum](docs/AddressTypeEnum.md)
|
183
|
+
- [MergeAccountingClient::AsyncPassthroughReciept](docs/AsyncPassthroughReciept.md)
|
183
184
|
- [MergeAccountingClient::AvailableActions](docs/AvailableActions.md)
|
184
185
|
- [MergeAccountingClient::BalanceSheet](docs/BalanceSheet.md)
|
185
186
|
- [MergeAccountingClient::CashFlowStatement](docs/CashFlowStatement.md)
|
@@ -187,13 +188,7 @@ Class | Method | HTTP request | Description
|
|
187
188
|
- [MergeAccountingClient::CategoryEnum](docs/CategoryEnum.md)
|
188
189
|
- [MergeAccountingClient::CategoryTypeEnum](docs/CategoryTypeEnum.md)
|
189
190
|
- [MergeAccountingClient::ClassificationEnum](docs/ClassificationEnum.md)
|
190
|
-
- [MergeAccountingClient::CommonModelScopeData](docs/CommonModelScopeData.md)
|
191
|
-
- [MergeAccountingClient::CommonModelScopes](docs/CommonModelScopes.md)
|
192
191
|
- [MergeAccountingClient::CommonModelScopesBodyRequest](docs/CommonModelScopesBodyRequest.md)
|
193
|
-
- [MergeAccountingClient::CommonModelScopesDisabledModels](docs/CommonModelScopesDisabledModels.md)
|
194
|
-
- [MergeAccountingClient::CommonModelScopesDisabledModelsEnabledActionsEnum](docs/CommonModelScopesDisabledModelsEnabledActionsEnum.md)
|
195
|
-
- [MergeAccountingClient::CommonModelScopesPostInnerDeserializerRequest](docs/CommonModelScopesPostInnerDeserializerRequest.md)
|
196
|
-
- [MergeAccountingClient::CommonModelScopesUpdateSerializer](docs/CommonModelScopesUpdateSerializer.md)
|
197
192
|
- [MergeAccountingClient::CompanyInfo](docs/CompanyInfo.md)
|
198
193
|
- [MergeAccountingClient::ConditionSchema](docs/ConditionSchema.md)
|
199
194
|
- [MergeAccountingClient::ConditionTypeEnum](docs/ConditionTypeEnum.md)
|
data/docs/Account.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **parent_account** | **String** | ID of the parent account. | [optional] |
|
18
18
|
| **company** | **String** | The company the account belongs to. | [optional] |
|
19
19
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
20
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
20
21
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
22
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
22
23
|
|
@@ -39,6 +40,7 @@ instance = MergeAccountingClient::Account.new(
|
|
39
40
|
parent_account: 22d92d6c-22f9-11ed-861d-0242ac120002,
|
40
41
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
41
42
|
remote_was_deleted: null,
|
43
|
+
modified_at: 2021-10-16T00:00Z,
|
42
44
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
43
45
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
44
46
|
)
|
data/docs/AccountIntegration.md
CHANGED
@@ -10,6 +10,8 @@
|
|
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] |
|
13
15
|
|
14
16
|
## Example
|
15
17
|
|
@@ -22,7 +24,9 @@ instance = MergeAccountingClient::AccountIntegration.new(
|
|
22
24
|
image: null,
|
23
25
|
square_image: null,
|
24
26
|
color: null,
|
25
|
-
slug: null
|
27
|
+
slug: null,
|
28
|
+
is_in_beta: null,
|
29
|
+
api_endpoints_to_documentation_urls: null
|
26
30
|
)
|
27
31
|
```
|
28
32
|
|
@@ -10,6 +10,7 @@
|
|
10
10
|
| **file_url** | **String** | The attachment's url. | [optional] |
|
11
11
|
| **company** | **String** | The company the accounting attachment belongs to. | [optional] |
|
12
12
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
13
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
13
14
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
14
15
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
15
16
|
|
@@ -25,6 +26,7 @@ instance = MergeAccountingClient::AccountingAttachment.new(
|
|
25
26
|
file_url: https://merge-brand.s3.amazonaws.com/20210315/rect-logo-270x80%402x.png,
|
26
27
|
company: 595c8f97-2ac4-45b7-b000-41bdf43240b5,
|
27
28
|
remote_was_deleted: null,
|
29
|
+
modified_at: 2021-10-16T00:00Z,
|
28
30
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
29
31
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
30
32
|
)
|
@@ -6,6 +6,7 @@
|
|
6
6
|
| ---- | ---- | ----------- | ----- |
|
7
7
|
| **number** | **String** | The phone number. | [optional] |
|
8
8
|
| **type** | **String** | The phone number's type. | [optional] |
|
9
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
9
10
|
|
10
11
|
## Example
|
11
12
|
|
@@ -14,7 +15,8 @@ require 'merge_accounting_client'
|
|
14
15
|
|
15
16
|
instance = MergeAccountingClient::AccountingPhoneNumber.new(
|
16
17
|
number: +3198675309,
|
17
|
-
type: Mobile
|
18
|
+
type: Mobile,
|
19
|
+
modified_at: 2021-10-16T00:00Z
|
18
20
|
)
|
19
21
|
```
|
20
22
|
|
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,
|
124
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
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,
|
171
|
-
| **modified_before** | **Time** | If provided,
|
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's ID for the given object. | [optional] |
|
data/docs/Address.md
CHANGED
@@ -12,6 +12,7 @@
|
|
12
12
|
| **country_subdivision** | **String** | The address's state or region. | [optional] |
|
13
13
|
| **country** | [**CountryEnum**](CountryEnum.md) | The address's country. * `AF` - Afghanistan * `AX` - Åland Islands * `AL` - Albania * `DZ` - Algeria * `AS` - American Samoa * `AD` - Andorra * `AO` - Angola * `AI` - Anguilla * `AQ` - Antarctica * `AG` - Antigua and Barbuda * `AR` - Argentina * `AM` - Armenia * `AW` - Aruba * `AU` - Australia * `AT` - Austria * `AZ` - Azerbaijan * `BS` - Bahamas * `BH` - Bahrain * `BD` - Bangladesh * `BB` - Barbados * `BY` - Belarus * `BE` - Belgium * `BZ` - Belize * `BJ` - Benin * `BM` - Bermuda * `BT` - Bhutan * `BO` - Bolivia * `BQ` - Bonaire, Sint Eustatius and Saba * `BA` - Bosnia and Herzegovina * `BW` - Botswana * `BV` - Bouvet Island * `BR` - Brazil * `IO` - British Indian Ocean Territory * `BN` - Brunei * `BG` - Bulgaria * `BF` - Burkina Faso * `BI` - Burundi * `CV` - Cabo Verde * `KH` - Cambodia * `CM` - Cameroon * `CA` - Canada * `KY` - Cayman Islands * `CF` - Central African Republic * `TD` - Chad * `CL` - Chile * `CN` - China * `CX` - Christmas Island * `CC` - Cocos (Keeling) Islands * `CO` - Colombia * `KM` - Comoros * `CG` - Congo * `CD` - Congo (the Democratic Republic of the) * `CK` - Cook Islands * `CR` - Costa Rica * `CI` - Côte d'Ivoire * `HR` - Croatia * `CU` - Cuba * `CW` - Curaçao * `CY` - Cyprus * `CZ` - Czechia * `DK` - Denmark * `DJ` - Djibouti * `DM` - Dominica * `DO` - Dominican Republic * `EC` - Ecuador * `EG` - Egypt * `SV` - El Salvador * `GQ` - Equatorial Guinea * `ER` - Eritrea * `EE` - Estonia * `SZ` - Eswatini * `ET` - Ethiopia * `FK` - Falkland Islands (Malvinas) * `FO` - Faroe Islands * `FJ` - Fiji * `FI` - Finland * `FR` - France * `GF` - French Guiana * `PF` - French Polynesia * `TF` - French Southern Territories * `GA` - Gabon * `GM` - Gambia * `GE` - Georgia * `DE` - Germany * `GH` - Ghana * `GI` - Gibraltar * `GR` - Greece * `GL` - Greenland * `GD` - Grenada * `GP` - Guadeloupe * `GU` - Guam * `GT` - Guatemala * `GG` - Guernsey * `GN` - Guinea * `GW` - Guinea-Bissau * `GY` - Guyana * `HT` - Haiti * `HM` - Heard Island and McDonald Islands * `VA` - Holy See * `HN` - Honduras * `HK` - Hong Kong * `HU` - Hungary * `IS` - Iceland * `IN` - India * `ID` - Indonesia * `IR` - Iran * `IQ` - Iraq * `IE` - Ireland * `IM` - Isle of Man * `IL` - Israel * `IT` - Italy * `JM` - Jamaica * `JP` - Japan * `JE` - Jersey * `JO` - Jordan * `KZ` - Kazakhstan * `KE` - Kenya * `KI` - Kiribati * `KW` - Kuwait * `KG` - Kyrgyzstan * `LA` - Laos * `LV` - Latvia * `LB` - Lebanon * `LS` - Lesotho * `LR` - Liberia * `LY` - Libya * `LI` - Liechtenstein * `LT` - Lithuania * `LU` - Luxembourg * `MO` - Macao * `MG` - Madagascar * `MW` - Malawi * `MY` - Malaysia * `MV` - Maldives * `ML` - Mali * `MT` - Malta * `MH` - Marshall Islands * `MQ` - Martinique * `MR` - Mauritania * `MU` - Mauritius * `YT` - Mayotte * `MX` - Mexico * `FM` - Micronesia (Federated States of) * `MD` - Moldova * `MC` - Monaco * `MN` - Mongolia * `ME` - Montenegro * `MS` - Montserrat * `MA` - Morocco * `MZ` - Mozambique * `MM` - Myanmar * `NA` - Namibia * `NR` - Nauru * `NP` - Nepal * `NL` - Netherlands * `NC` - New Caledonia * `NZ` - New Zealand * `NI` - Nicaragua * `NE` - Niger * `NG` - Nigeria * `NU` - Niue * `NF` - Norfolk Island * `KP` - North Korea * `MK` - North Macedonia * `MP` - Northern Mariana Islands * `NO` - Norway * `OM` - Oman * `PK` - Pakistan * `PW` - Palau * `PS` - Palestine, State of * `PA` - Panama * `PG` - Papua New Guinea * `PY` - Paraguay * `PE` - Peru * `PH` - Philippines * `PN` - Pitcairn * `PL` - Poland * `PT` - Portugal * `PR` - Puerto Rico * `QA` - Qatar * `RE` - Réunion * `RO` - Romania * `RU` - Russia * `RW` - Rwanda * `BL` - Saint Barthélemy * `SH` - Saint Helena, Ascension and Tristan da Cunha * `KN` - Saint Kitts and Nevis * `LC` - Saint Lucia * `MF` - Saint Martin (French part) * `PM` - Saint Pierre and Miquelon * `VC` - Saint Vincent and the Grenadines * `WS` - Samoa * `SM` - San Marino * `ST` - Sao Tome and Principe * `SA` - Saudi Arabia * `SN` - Senegal * `RS` - Serbia * `SC` - Seychelles * `SL` - Sierra Leone * `SG` - Singapore * `SX` - Sint Maarten (Dutch part) * `SK` - Slovakia * `SI` - Slovenia * `SB` - Solomon Islands * `SO` - Somalia * `ZA` - South Africa * `GS` - South Georgia and the South Sandwich Islands * `KR` - South Korea * `SS` - South Sudan * `ES` - Spain * `LK` - Sri Lanka * `SD` - Sudan * `SR` - Suriname * `SJ` - Svalbard and Jan Mayen * `SE` - Sweden * `CH` - Switzerland * `SY` - Syria * `TW` - Taiwan * `TJ` - Tajikistan * `TZ` - Tanzania * `TH` - Thailand * `TL` - Timor-Leste * `TG` - Togo * `TK` - Tokelau * `TO` - Tonga * `TT` - Trinidad and Tobago * `TN` - Tunisia * `TR` - Turkey * `TM` - Turkmenistan * `TC` - Turks and Caicos Islands * `TV` - Tuvalu * `UG` - Uganda * `UA` - Ukraine * `AE` - United Arab Emirates * `GB` - United Kingdom * `UM` - United States Minor Outlying Islands * `US` - United States of America * `UY` - Uruguay * `UZ` - Uzbekistan * `VU` - Vanuatu * `VE` - Venezuela * `VN` - Vietnam * `VG` - Virgin Islands (British) * `VI` - Virgin Islands (U.S.) * `WF` - Wallis and Futuna * `EH` - Western Sahara * `YE` - Yemen * `ZM` - Zambia * `ZW` - Zimbabwe | [optional] |
|
14
14
|
| **zip_code** | **String** | The address's zip code. | [optional] |
|
15
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
15
16
|
|
16
17
|
## Example
|
17
18
|
|
@@ -25,8 +26,9 @@ instance = MergeAccountingClient::Address.new(
|
|
25
26
|
city: New York,
|
26
27
|
state: NY,
|
27
28
|
country_subdivision: NY,
|
28
|
-
country:
|
29
|
-
zip_code: 10027
|
29
|
+
country: US,
|
30
|
+
zip_code: 10027,
|
31
|
+
modified_at: 2021-10-16T00:00Z
|
30
32
|
)
|
31
33
|
```
|
32
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
|
+
|
data/docs/AttachmentsApi.md
CHANGED
@@ -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,
|
123
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
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,
|
167
|
-
| **modified_before** | **Time** | If provided,
|
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's ID for the given object. | [optional] |
|
170
170
|
|
data/docs/BalanceSheet.md
CHANGED
@@ -16,6 +16,7 @@
|
|
16
16
|
| **equity** | [**Array<ReportItem>**](ReportItem.md) | | [optional][readonly] |
|
17
17
|
| **remote_generated_at** | **Time** | The time that balance sheet was generated by the accounting system. | [optional] |
|
18
18
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
19
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
19
20
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
20
21
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
21
22
|
|
@@ -37,6 +38,7 @@ instance = MergeAccountingClient::BalanceSheet.new(
|
|
37
38
|
equity: [{"remote_id":"10012","name":"Equity","value":500,"sub_items":[]}],
|
38
39
|
remote_generated_at: 2021-10-01T00:00Z,
|
39
40
|
remote_was_deleted: null,
|
41
|
+
modified_at: 2021-10-16T00:00Z,
|
40
42
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
41
43
|
remote_data: null
|
42
44
|
)
|
data/docs/BalanceSheetsApi.md
CHANGED
@@ -39,8 +39,8 @@ opts = {
|
|
39
39
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
43
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
+
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.
|
43
|
+
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.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
46
46
|
}
|
@@ -84,8 +84,8 @@ end
|
|
84
84
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
85
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
86
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
87
|
-
| **modified_after** | **Time** | If provided,
|
88
|
-
| **modified_before** | **Time** | If provided,
|
87
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
88
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
89
89
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
90
90
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
91
91
|
|
data/docs/CashFlowStatement.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
| **financing_activities** | [**Array<ReportItem>**](ReportItem.md) | | [optional][readonly] |
|
19
19
|
| **remote_generated_at** | **Time** | The time that cash flow statement was generated by the accounting system. | [optional] |
|
20
20
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
21
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
21
22
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
22
23
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
23
24
|
|
@@ -41,6 +42,7 @@ instance = MergeAccountingClient::CashFlowStatement.new(
|
|
41
42
|
financing_activities: [{"remote_id":"10231","name":"Financing Activities","value":1000,"sub_items":[]}],
|
42
43
|
remote_generated_at: 2020-04-01T00:00Z,
|
43
44
|
remote_was_deleted: null,
|
45
|
+
modified_at: 2021-10-16T00:00Z,
|
44
46
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
45
47
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
46
48
|
)
|
@@ -39,8 +39,8 @@ opts = {
|
|
39
39
|
expand: 'company', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
40
40
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
41
41
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
43
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
+
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.
|
43
|
+
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.
|
44
44
|
page_size: 56, # Integer | Number of results to return per page.
|
45
45
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
46
46
|
}
|
@@ -84,8 +84,8 @@ end
|
|
84
84
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
85
85
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
86
86
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
87
|
-
| **modified_after** | **Time** | If provided,
|
88
|
-
| **modified_before** | **Time** | If provided,
|
87
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
88
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
89
89
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
90
90
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
91
91
|
|
data/docs/CompanyInfo.md
CHANGED
@@ -17,6 +17,7 @@
|
|
17
17
|
| **addresses** | [**Array<Address>**](Address.md) | | [optional] |
|
18
18
|
| **phone_numbers** | [**Array<AccountingPhoneNumber>**](AccountingPhoneNumber.md) | | [optional] |
|
19
19
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
20
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
20
21
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
21
22
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
22
23
|
|
@@ -36,9 +37,10 @@ instance = MergeAccountingClient::CompanyInfo.new(
|
|
36
37
|
currency: USD,
|
37
38
|
remote_created_at: 2020-03-31T00:00Z,
|
38
39
|
urls: https://www.merge.dev,
|
39
|
-
addresses: [{"street_1":"2920 Broadway","street_2":"2nd Floor","city":"New York","state":"NY","country":"
|
40
|
+
addresses: [{"street_1":"2920 Broadway","street_2":"2nd Floor","city":"New York","state":"NY","country":"US","zip_code":"10027"}],
|
40
41
|
phone_numbers: null,
|
41
42
|
remote_was_deleted: null,
|
43
|
+
modified_at: 2021-10-16T00:00Z,
|
42
44
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
43
45
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
44
46
|
)
|
data/docs/CompanyInfoApi.md
CHANGED
@@ -38,8 +38,8 @@ opts = {
|
|
38
38
|
expand: 'addresses', # String | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
39
39
|
include_deleted_data: true, # Boolean | Whether to include data that was marked as deleted by third party webhooks.
|
40
40
|
include_remote_data: true, # Boolean | Whether to include the original data Merge fetched from the third-party to produce these models.
|
41
|
-
modified_after: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
42
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
41
|
+
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.
|
42
|
+
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.
|
43
43
|
page_size: 56, # Integer | Number of results to return per page.
|
44
44
|
remote_id: 'remote_id_example' # String | The API provider's ID for the given object.
|
45
45
|
}
|
@@ -82,8 +82,8 @@ end
|
|
82
82
|
| **expand** | **String** | Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces. | [optional] |
|
83
83
|
| **include_deleted_data** | **Boolean** | Whether to include data that was marked as deleted by third party webhooks. | [optional] |
|
84
84
|
| **include_remote_data** | **Boolean** | Whether to include the original data Merge fetched from the third-party to produce these models. | [optional] |
|
85
|
-
| **modified_after** | **Time** | If provided,
|
86
|
-
| **modified_before** | **Time** | If provided,
|
85
|
+
| **modified_after** | **Time** | If provided, only objects synced by Merge after this date time will be returned. | [optional] |
|
86
|
+
| **modified_before** | **Time** | If provided, only objects synced by Merge before this date time will be returned. | [optional] |
|
87
87
|
| **page_size** | **Integer** | Number of results to return per page. | [optional] |
|
88
88
|
| **remote_id** | **String** | The API provider's ID for the given object. | [optional] |
|
89
89
|
|
data/docs/Contact.md
CHANGED
@@ -18,6 +18,7 @@
|
|
18
18
|
| **addresses** | **Array<String>** | `Address` object IDs for the given `Contacts` object. | [optional] |
|
19
19
|
| **phone_numbers** | [**Array<AccountingPhoneNumber>**](AccountingPhoneNumber.md) | `AccountingPhoneNumber` object for the given `Contacts` object. | [optional] |
|
20
20
|
| **remote_was_deleted** | **Boolean** | Indicates whether or not this object has been deleted by third party webhooks. | [optional][readonly] |
|
21
|
+
| **modified_at** | **Time** | This is the datetime that this object was last updated by Merge | [optional][readonly] |
|
21
22
|
| **field_mappings** | [**Hash<String, AnyType>**](AnyType.md) | | [optional][readonly] |
|
22
23
|
| **remote_data** | [**Array<RemoteData>**](RemoteData.md) | | [optional][readonly] |
|
23
24
|
|
@@ -41,6 +42,7 @@ instance = MergeAccountingClient::Contact.new(
|
|
41
42
|
addresses: ["2f2702aa-8948-492b-a412-2acdf6d2c499","d98c7428-8dda-48a8-a1da-c570f65e2375"],
|
42
43
|
phone_numbers: [{"number":"+3198675309","type":"Mobile"}],
|
43
44
|
remote_was_deleted: null,
|
45
|
+
modified_at: 2021-10-16T00:00Z,
|
44
46
|
field_mappings: {"organization_defined_targets":{"custom_key":"custom_value"},"linked_account_defined_targets":{"custom_key":"custom_value"}},
|
45
47
|
remote_data: [{"path":"/actions","data":["Varies by platform"]}]
|
46
48
|
)
|
data/docs/ContactsApi.md
CHANGED
@@ -120,8 +120,8 @@ opts = {
|
|
120
120
|
expand: 'addresses', # 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,
|
124
|
-
modified_before: Time.parse('2013-10-20T19:20:30+01:00'), # Time | If provided,
|
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: 'status', # 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,
|
171
|
-
| **modified_before** | **Time** | If provided,
|
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's ID for the given object. | [optional] |
|