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.
- checksums.yaml +4 -4
- data/README.md +238 -224
- data/docs/Account.md +5 -1
- data/docs/AccountIntegration.md +8 -2
- data/docs/AccountingAttachment.md +5 -1
- data/docs/AccountingPeriod.md +30 -0
- data/docs/AccountingPeriodStatusEnum.md +15 -0
- data/docs/AccountingPeriodsApi.md +167 -0
- data/docs/AccountingPhoneNumber.md +5 -1
- data/docs/AccountsApi.md +4 -4
- data/docs/Address.md +6 -2
- data/docs/AddressRequest.md +34 -0
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/AttachmentsApi.md +4 -4
- data/docs/AuditLogEvent.md +32 -0
- data/docs/AuditTrailApi.md +91 -0
- data/docs/BalanceSheet.md +5 -1
- data/docs/BalanceSheetsApi.md +4 -4
- data/docs/CashFlowStatement.md +5 -1
- data/docs/CashFlowStatementsApi.md +4 -4
- data/docs/CompanyInfo.md +6 -2
- data/docs/CompanyInfoApi.md +4 -4
- data/docs/Contact.md +6 -2
- data/docs/ContactRequest.md +1 -1
- data/docs/ContactsApi.md +8 -4
- data/docs/CreditNote.md +14 -2
- data/docs/CreditNoteLineItem.md +9 -1
- data/docs/CreditNotesApi.md +6 -6
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/EndUserDetailsRequest.md +2 -2
- data/docs/EventTypeEnum.md +15 -0
- data/docs/Expense.md +14 -2
- data/docs/ExpenseLine.md +11 -1
- data/docs/ExpenseLineRequest.md +2 -0
- data/docs/ExpenseRequest.md +9 -1
- data/docs/ExpensesApi.md +4 -4
- data/docs/ForceResyncApi.md +1 -1
- data/docs/IncomeStatement.md +5 -1
- data/docs/IncomeStatementsApi.md +4 -4
- data/docs/Invoice.md +18 -4
- data/docs/InvoiceLineItem.md +7 -1
- data/docs/InvoiceRequest.md +7 -1
- data/docs/InvoiceStatusEnum.md +15 -0
- data/docs/InvoicesApi.md +6 -6
- data/docs/Issue.md +2 -2
- data/docs/IssuesApi.md +6 -6
- data/docs/Item.md +5 -1
- data/docs/ItemsApi.md +4 -4
- data/docs/JournalEntriesApi.md +6 -6
- data/docs/JournalEntry.md +13 -1
- data/docs/JournalEntryRequest.md +4 -0
- data/docs/JournalLine.md +13 -1
- data/docs/JournalLineRequest.md +4 -0
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/MetaResponse.md +2 -2
- data/docs/PaginatedAccountingPeriodList.md +22 -0
- data/docs/PaginatedAuditLogEventList.md +22 -0
- data/docs/Payment.md +11 -1
- data/docs/PaymentLineItem.md +32 -0
- data/docs/PaymentLineItemRequest.md +30 -0
- data/docs/PaymentRequest.md +6 -0
- data/docs/PaymentsApi.md +4 -4
- data/docs/PurchaseOrder.md +13 -3
- data/docs/PurchaseOrderLineItem.md +9 -1
- data/docs/PurchaseOrderRequest.md +2 -0
- data/docs/PurchaseOrdersApi.md +6 -6
- data/docs/RemoteData.md +1 -1
- data/docs/ReportItem.md +5 -1
- data/docs/RoleEnum.md +15 -0
- data/docs/SyncStatus.md +1 -1
- data/docs/SyncStatusApi.md +15 -11
- data/docs/TaxRate.md +5 -1
- data/docs/TaxRatesApi.md +4 -4
- data/docs/TrackingCategoriesApi.md +4 -4
- data/docs/TrackingCategory.md +5 -1
- data/docs/Transaction.md +9 -3
- data/docs/TransactionLineItem.md +9 -1
- data/docs/TransactionsApi.md +4 -4
- data/docs/VendorCredit.md +10 -2
- data/docs/VendorCreditLine.md +9 -1
- data/docs/VendorCreditsApi.md +6 -6
- data/git_push.sh +58 -0
- data/lib/merge_accounting_client/api/accounting_periods_api.rb +167 -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/audit_trail_api.rb +95 -0
- 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 +10 -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 +3 -3
- 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 +6 -6
- data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
- data/lib/merge_accounting_client/configuration.rb +4 -0
- data/lib/merge_accounting_client/models/account.rb +22 -3
- data/lib/merge_accounting_client/models/account_integration.rb +37 -4
- data/lib/merge_accounting_client/models/account_request.rb +1 -1
- data/lib/merge_accounting_client/models/accounting_attachment.rb +21 -2
- data/lib/merge_accounting_client/models/accounting_period.rb +296 -0
- data/lib/merge_accounting_client/models/accounting_period_status_enum.rb +45 -0
- data/lib/merge_accounting_client/models/accounting_phone_number.rb +24 -5
- data/lib/merge_accounting_client/models/address.rb +24 -5
- data/lib/merge_accounting_client/models/address_request.rb +311 -0
- data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_accounting_client/models/audit_log_event.rb +356 -0
- data/lib/merge_accounting_client/models/balance_sheet.rb +21 -2
- data/lib/merge_accounting_client/models/cash_flow_statement.rb +21 -2
- data/lib/merge_accounting_client/models/company_info.rb +22 -3
- data/lib/merge_accounting_client/models/contact.rb +23 -4
- data/lib/merge_accounting_client/models/contact_request.rb +2 -2
- data/lib/merge_accounting_client/models/credit_note.rb +84 -3
- data/lib/merge_accounting_client/models/credit_note_line_item.rb +43 -5
- data/lib/merge_accounting_client/models/end_user_details_request.rb +2 -2
- data/lib/merge_accounting_client/models/event_type_enum.rb +67 -0
- data/lib/merge_accounting_client/models/expense.rb +66 -3
- data/lib/merge_accounting_client/models/expense_line.rb +54 -5
- data/lib/merge_accounting_client/models/expense_line_request.rb +12 -1
- data/lib/merge_accounting_client/models/expense_request.rb +46 -2
- data/lib/merge_accounting_client/models/income_statement.rb +21 -2
- data/lib/merge_accounting_client/models/invoice.rb +84 -9
- data/lib/merge_accounting_client/models/invoice_line_item.rb +31 -2
- data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
- data/lib/merge_accounting_client/models/invoice_request.rb +35 -2
- data/lib/merge_accounting_client/models/invoice_status_enum.rb +49 -0
- data/lib/merge_accounting_client/models/issue.rb +1 -0
- data/lib/merge_accounting_client/models/item.rb +21 -2
- data/lib/merge_accounting_client/models/journal_entry.rb +81 -2
- data/lib/merge_accounting_client/models/journal_entry_request.rb +38 -1
- data/lib/merge_accounting_client/models/journal_line.rb +65 -5
- data/lib/merge_accounting_client/models/journal_line_request.rb +23 -1
- data/lib/merge_accounting_client/models/paginated_accounting_period_list.rb +240 -0
- data/lib/merge_accounting_client/models/paginated_audit_log_event_list.rb +240 -0
- data/lib/merge_accounting_client/models/payment.rb +55 -2
- data/lib/merge_accounting_client/models/payment_line_item.rb +308 -0
- data/lib/merge_accounting_client/models/payment_line_item_request.rb +319 -0
- data/lib/merge_accounting_client/models/payment_request.rb +35 -1
- data/lib/merge_accounting_client/models/purchase_order.rb +70 -3
- data/lib/merge_accounting_client/models/purchase_order_line_item.rb +43 -5
- data/lib/merge_accounting_client/models/purchase_order_request.rb +12 -1
- data/lib/merge_accounting_client/models/remote_data.rb +3 -4
- data/lib/merge_accounting_client/models/report_item.rb +24 -5
- data/lib/merge_accounting_client/models/role_enum.rb +49 -0
- data/lib/merge_accounting_client/models/sync_status_status_enum.rb +1 -1
- data/lib/merge_accounting_client/models/tax_rate.rb +21 -2
- data/lib/merge_accounting_client/models/tracking_category.rb +22 -3
- data/lib/merge_accounting_client/models/transaction.rb +33 -3
- data/lib/merge_accounting_client/models/transaction_line_item.rb +43 -5
- data/lib/merge_accounting_client/models/vendor_credit.rb +44 -3
- data/lib/merge_accounting_client/models/vendor_credit_line.rb +43 -5
- data/lib/merge_accounting_client/version.rb +1 -1
- data/lib/merge_accounting_client.rb +15 -7
- data/spec/api/accounting_periods_api_spec.rb +63 -0
- 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/audit_trail_api_spec.rb +51 -0
- 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 +4 -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 +18 -0
- data/spec/models/account_spec.rb +12 -0
- data/spec/models/accounting_attachment_spec.rb +12 -0
- data/spec/models/accounting_period_spec.rb +70 -0
- data/spec/models/accounting_period_status_enum_spec.rb +28 -0
- data/spec/models/accounting_phone_number_spec.rb +12 -0
- data/spec/models/address_request_spec.rb +82 -0
- data/spec/models/address_spec.rb +12 -0
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/audit_log_event_spec.rb +76 -0
- data/spec/models/balance_sheet_spec.rb +12 -0
- data/spec/models/cash_flow_statement_spec.rb +12 -0
- data/spec/models/company_info_spec.rb +12 -0
- data/spec/models/contact_spec.rb +12 -0
- data/spec/models/credit_note_line_item_spec.rb +24 -0
- data/spec/models/credit_note_spec.rb +36 -0
- data/spec/models/event_type_enum_spec.rb +28 -0
- data/spec/models/expense_line_request_spec.rb +6 -0
- data/spec/models/expense_line_spec.rb +30 -0
- data/spec/models/expense_request_spec.rb +24 -0
- data/spec/models/expense_spec.rb +36 -0
- data/spec/models/income_statement_spec.rb +12 -0
- data/spec/models/invoice_line_item_spec.rb +18 -0
- data/spec/models/invoice_request_spec.rb +18 -0
- data/spec/models/invoice_spec.rb +43 -1
- data/spec/models/invoice_status_enum_spec.rb +28 -0
- data/spec/models/item_spec.rb +12 -0
- data/spec/models/journal_entry_request_spec.rb +12 -0
- data/spec/models/journal_entry_spec.rb +36 -0
- data/spec/models/journal_line_request_spec.rb +12 -0
- data/spec/models/journal_line_spec.rb +36 -0
- data/spec/models/paginated_accounting_period_list_spec.rb +46 -0
- data/spec/models/paginated_audit_log_event_list_spec.rb +46 -0
- data/spec/models/payment_line_item_request_spec.rb +70 -0
- data/spec/models/payment_line_item_spec.rb +76 -0
- data/spec/models/payment_request_spec.rb +18 -0
- data/spec/models/payment_spec.rb +30 -0
- data/spec/models/purchase_order_line_item_spec.rb +24 -0
- data/spec/models/purchase_order_request_spec.rb +6 -0
- data/spec/models/purchase_order_spec.rb +30 -0
- data/spec/models/report_item_spec.rb +12 -0
- data/spec/models/role_enum_spec.rb +28 -0
- data/spec/models/tax_rate_spec.rb +12 -0
- data/spec/models/tracking_category_spec.rb +12 -0
- data/spec/models/transaction_line_item_spec.rb +24 -0
- data/spec/models/transaction_spec.rb +18 -0
- data/spec/models/vendor_credit_line_spec.rb +24 -0
- data/spec/models/vendor_credit_spec.rb +24 -0
- metadata +211 -150
@@ -0,0 +1,63 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for MergeAccountingClient::AccountingPeriodsApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AccountingPeriodsApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeAccountingClient::AccountingPeriodsApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AccountingPeriodsApi' do
|
30
|
+
it 'should create an instance of AccountingPeriodsApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeAccountingClient::AccountingPeriodsApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for accounting_periods_list
|
36
|
+
# Returns a list of `AccountingPeriod` objects.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [String] :cursor The pagination cursor value.
|
40
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
41
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
42
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
43
|
+
# @return [PaginatedAccountingPeriodList]
|
44
|
+
describe 'accounting_periods_list test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
# unit tests for accounting_periods_retrieve
|
51
|
+
# Returns an `AccountingPeriod` object with the given `id`.
|
52
|
+
# @param x_account_token Token identifying the end user.
|
53
|
+
# @param id
|
54
|
+
# @param [Hash] opts the optional parameters
|
55
|
+
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
56
|
+
# @return [AccountingPeriod]
|
57
|
+
describe 'accounting_periods_retrieve test' do
|
58
|
+
it 'should work' do
|
59
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
60
|
+
end
|
61
|
+
end
|
62
|
+
|
63
|
+
end
|
@@ -57,8 +57,8 @@ describe 'AccountsApi' do
|
|
57
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
58
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
|
-
# @option opts [Time] :modified_after If provided,
|
61
|
-
# @option opts [Time] :modified_before If provided,
|
60
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
61
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
62
62
|
# @option opts [Integer] :page_size Number of results to return per page.
|
63
63
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
64
64
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -0,0 +1,59 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for MergeAccountingClient::AsyncPassthroughApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AsyncPassthroughApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeAccountingClient::AsyncPassthroughApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AsyncPassthroughApi' do
|
30
|
+
it 'should create an instance of AsyncPassthroughApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeAccountingClient::AsyncPassthroughApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for async_passthrough_create
|
36
|
+
# Asynchronously pull data from an endpoint not currently supported by Merge.
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param data_passthrough_request
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @return [AsyncPassthroughReciept]
|
41
|
+
describe 'async_passthrough_create test' do
|
42
|
+
it 'should work' do
|
43
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
44
|
+
end
|
45
|
+
end
|
46
|
+
|
47
|
+
# unit tests for async_passthrough_retrieve
|
48
|
+
# Retrieves data from earlier async-passthrough POST request
|
49
|
+
# @param x_account_token Token identifying the end user.
|
50
|
+
# @param async_passthrough_receipt_id
|
51
|
+
# @param [Hash] opts the optional parameters
|
52
|
+
# @return [RemoteResponse]
|
53
|
+
describe 'async_passthrough_retrieve test' do
|
54
|
+
it 'should work' do
|
55
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
56
|
+
end
|
57
|
+
end
|
58
|
+
|
59
|
+
end
|
@@ -56,8 +56,8 @@ describe 'AttachmentsApi' do
|
|
56
56
|
# @option opts [String] :cursor The pagination cursor value.
|
57
57
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
58
58
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
59
|
-
# @option opts [Time] :modified_after If provided,
|
60
|
-
# @option opts [Time] :modified_before If provided,
|
59
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
60
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
61
61
|
# @option opts [Integer] :page_size Number of results to return per page.
|
62
62
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
63
63
|
# @return [PaginatedAccountingAttachmentList]
|
@@ -0,0 +1,51 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
|
16
|
+
# Unit tests for MergeAccountingClient::AuditTrailApi
|
17
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
18
|
+
# Please update as you see appropriate
|
19
|
+
describe 'AuditTrailApi' do
|
20
|
+
before do
|
21
|
+
# run before each test
|
22
|
+
@api_instance = MergeAccountingClient::AuditTrailApi.new
|
23
|
+
end
|
24
|
+
|
25
|
+
after do
|
26
|
+
# run after each test
|
27
|
+
end
|
28
|
+
|
29
|
+
describe 'test an instance of AuditTrailApi' do
|
30
|
+
it 'should create an instance of AuditTrailApi' do
|
31
|
+
expect(@api_instance).to be_instance_of(MergeAccountingClient::AuditTrailApi)
|
32
|
+
end
|
33
|
+
end
|
34
|
+
|
35
|
+
# unit tests for audit_trail_list
|
36
|
+
# Gets a list of audit trail events.
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [String] :cursor The pagination cursor value.
|
39
|
+
# @option opts [String] :end_date If included, will only include audit trail events that occured before this time
|
40
|
+
# @option opts [String] :event_type If included, will only include events with the given event type. Possible values include: `CREATED_REMOTE_PRODUCTION_API_KEY`, `DELETED_REMOTE_PRODUCTION_API_KEY`, `CREATED_TEST_API_KEY`, `DELETED_TEST_API_KEY`, `REGENERATED_PRODUCTION_API_KEY`, `INVITED_USER`, `TWO_FACTOR_AUTH_ENABLED`, `TWO_FACTOR_AUTH_DISABLED`, `DELETED_LINKED_ACCOUNT`, `CREATED_DESTINATION`, `DELETED_DESTINATION`, `CHANGED_SCOPES`, `CHANGED_PERSONAL_INFORMATION`, `CHANGED_ORGANIZATION_SETTINGS`, `ENABLED_INTEGRATION`, `DISABLED_INTEGRATION`, `ENABLED_CATEGORY`, `DISABLED_CATEGORY`, `CHANGED_PASSWORD`, `RESET_PASSWORD`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `ENABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_ORGANIZATION`, `DISABLED_REDACT_UNMAPPED_DATA_FOR_LINKED_ACCOUNT`
|
41
|
+
# @option opts [Integer] :page_size Number of results to return per page.
|
42
|
+
# @option opts [String] :start_date If included, will only include audit trail events that occured after this time
|
43
|
+
# @option opts [String] :user_email If provided, this will return events associated with the specified user email. Please note that the email address reflects the user's email at the time of the event, and may not be their current email.
|
44
|
+
# @return [PaginatedAuditLogEventList]
|
45
|
+
describe 'audit_trail_list test' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
48
|
+
end
|
49
|
+
end
|
50
|
+
|
51
|
+
end
|
@@ -43,8 +43,8 @@ describe 'BalanceSheetsApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
50
|
# @return [PaginatedBalanceSheetList]
|
@@ -43,8 +43,8 @@ describe 'CashFlowStatementsApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
50
|
# @return [PaginatedCashFlowStatementList]
|
@@ -42,8 +42,8 @@ describe 'CompanyInfoApi' do
|
|
42
42
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
43
43
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
|
-
# @option opts [Time] :modified_after If provided,
|
46
|
-
# @option opts [Time] :modified_before If provided,
|
45
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
46
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
47
47
|
# @option opts [Integer] :page_size Number of results to return per page.
|
48
48
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
49
49
|
# @return [PaginatedCompanyInfoList]
|
@@ -57,8 +57,10 @@ describe 'ContactsApi' do
|
|
57
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
58
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
|
-
# @option opts [
|
61
|
-
# @option opts [
|
60
|
+
# @option opts [String] :is_customer If provided, will only return Contacts that are denoted as customers.
|
61
|
+
# @option opts [String] :is_supplier If provided, will only return Contacts that are denoted as suppliers.
|
62
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
63
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
62
64
|
# @option opts [Integer] :page_size Number of results to return per page.
|
63
65
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
64
66
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -43,8 +43,8 @@ describe 'CreditNotesApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
50
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -32,12 +32,12 @@ describe 'DeleteAccountApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
-
# unit tests for
|
35
|
+
# unit tests for delete_account_delete
|
36
36
|
# Delete a linked account.
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [nil]
|
40
|
-
describe '
|
40
|
+
describe 'delete_account_delete test' do
|
41
41
|
it 'should work' do
|
42
42
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
43
|
end
|
@@ -57,8 +57,8 @@ describe 'ExpensesApi' do
|
|
57
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
58
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
|
-
# @option opts [Time] :modified_after If provided,
|
61
|
-
# @option opts [Time] :modified_before If provided,
|
60
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
61
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
62
62
|
# @option opts [Integer] :page_size Number of results to return per page.
|
63
63
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
64
64
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -33,7 +33,7 @@ describe 'ForceResyncApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for sync_status_resync_create
|
36
|
-
# Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available for monthly and
|
36
|
+
# Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @return [Array<SyncStatus>]
|
@@ -43,8 +43,8 @@ describe 'IncomeStatementsApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
50
|
# @return [PaginatedIncomeStatementList]
|
@@ -60,8 +60,8 @@ describe 'InvoicesApi' do
|
|
60
60
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
61
61
|
# @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
|
62
62
|
# @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
|
63
|
-
# @option opts [Time] :modified_after If provided,
|
64
|
-
# @option opts [Time] :modified_before If provided,
|
63
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
64
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
65
65
|
# @option opts [Integer] :page_size Number of results to return per page.
|
66
66
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
67
67
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
data/spec/api/issues_api_spec.rb
CHANGED
@@ -43,11 +43,11 @@ describe 'IssuesApi' do
|
|
43
43
|
# @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
|
44
44
|
# @option opts [String] :include_muted If True, will include muted issues
|
45
45
|
# @option opts [String] :integration_name
|
46
|
-
# @option opts [Time] :last_incident_time_after If provided, will only return issues whose
|
47
|
-
# @option opts [Time] :last_incident_time_before If provided, will only return issues whose
|
46
|
+
# @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
|
47
|
+
# @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
|
50
|
-
# @option opts [String] :status
|
50
|
+
# @option opts [String] :status Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED
|
51
51
|
# @return [PaginatedIssueList]
|
52
52
|
describe 'issues_list test' do
|
53
53
|
it 'should work' do
|
data/spec/api/items_api_spec.rb
CHANGED
@@ -43,8 +43,8 @@ describe 'ItemsApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
50
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -57,8 +57,8 @@ describe 'JournalEntriesApi' do
|
|
57
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
58
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
|
-
# @option opts [Time] :modified_after If provided,
|
61
|
-
# @option opts [Time] :modified_before If provided,
|
60
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
61
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
62
62
|
# @option opts [Integer] :page_size Number of results to return per page.
|
63
63
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
64
64
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -35,7 +35,7 @@ describe 'LinkedAccountsApi' do
|
|
35
35
|
# unit tests for linked_accounts_list
|
36
36
|
# List linked accounts for your organization.
|
37
37
|
# @param [Hash] opts the optional parameters
|
38
|
-
# @option opts [String] :category
|
38
|
+
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage', 'datawarehouse') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage * `datawarehouse` - datawarehouse
|
39
39
|
# @option opts [String] :cursor The pagination cursor value.
|
40
40
|
# @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
|
41
41
|
# @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
|
@@ -59,8 +59,8 @@ describe 'PaymentsApi' do
|
|
59
59
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
60
60
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
61
61
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
62
|
-
# @option opts [Time] :modified_after If provided,
|
63
|
-
# @option opts [Time] :modified_before If provided,
|
62
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
63
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
64
64
|
# @option opts [Integer] :page_size Number of results to return per page.
|
65
65
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
66
66
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -59,8 +59,8 @@ describe 'PurchaseOrdersApi' do
|
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
60
|
# @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
|
61
61
|
# @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
|
62
|
-
# @option opts [Time] :modified_after If provided,
|
63
|
-
# @option opts [Time] :modified_before If provided,
|
62
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
63
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
64
64
|
# @option opts [Integer] :page_size Number of results to return per page.
|
65
65
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
66
66
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for sync_status_list
|
36
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `
|
36
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`. Learn more about sync status in our [Help Center](https://help.merge.dev/en/articles/8184193-merge-sync-statuses).
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :cursor The pagination cursor value.
|
@@ -43,8 +43,8 @@ describe 'TaxRatesApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
50
|
# @return [PaginatedTaxRateList]
|
@@ -43,8 +43,8 @@ describe 'TrackingCategoriesApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
50
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -43,8 +43,8 @@ describe 'TransactionsApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
50
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -43,8 +43,8 @@ describe 'VendorCreditsApi' do
|
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
44
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
|
-
# @option opts [Time] :modified_after If provided,
|
47
|
-
# @option opts [Time] :modified_before If provided,
|
46
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
47
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
50
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -61,4 +61,22 @@ describe MergeAccountingClient::AccountIntegration do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
describe 'test attribute "is_in_beta"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "api_endpoints_to_documentation_urls"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
76
|
+
describe 'test attribute "webhook_setup_guide_url"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
64
82
|
end
|
data/spec/models/account_spec.rb
CHANGED
@@ -103,6 +103,18 @@ describe MergeAccountingClient::Account do
|
|
103
103
|
end
|
104
104
|
end
|
105
105
|
|
106
|
+
describe 'test attribute "created_at"' do
|
107
|
+
it 'should work' do
|
108
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
109
|
+
end
|
110
|
+
end
|
111
|
+
|
112
|
+
describe 'test attribute "modified_at"' do
|
113
|
+
it 'should work' do
|
114
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
115
|
+
end
|
116
|
+
end
|
117
|
+
|
106
118
|
describe 'test attribute "field_mappings"' do
|
107
119
|
it 'should work' do
|
108
120
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -61,6 +61,18 @@ describe MergeAccountingClient::AccountingAttachment do
|
|
61
61
|
end
|
62
62
|
end
|
63
63
|
|
64
|
+
describe 'test attribute "created_at"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
describe 'test attribute "modified_at"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
64
76
|
describe 'test attribute "field_mappings"' do
|
65
77
|
it 'should work' do
|
66
78
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -0,0 +1,70 @@
|
|
1
|
+
=begin
|
2
|
+
#Merge Accounting API
|
3
|
+
|
4
|
+
#The unified API for building rich integrations with multiple Accounting & Finance platforms.
|
5
|
+
|
6
|
+
The version of the OpenAPI document: 1.0
|
7
|
+
Contact: hello@merge.dev
|
8
|
+
Generated by: https://openapi-generator.tech
|
9
|
+
OpenAPI Generator version: 5.1.1
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for MergeAccountingClient::AccountingPeriod
|
18
|
+
# Automatically generated by openapi-generator (https://openapi-generator.tech)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe MergeAccountingClient::AccountingPeriod do
|
21
|
+
let(:instance) { MergeAccountingClient::AccountingPeriod.new }
|
22
|
+
|
23
|
+
describe 'test an instance of AccountingPeriod' do
|
24
|
+
it 'should create an instance of AccountingPeriod' do
|
25
|
+
expect(instance).to be_instance_of(MergeAccountingClient::AccountingPeriod)
|
26
|
+
end
|
27
|
+
end
|
28
|
+
describe 'test attribute "start_date"' do
|
29
|
+
it 'should work' do
|
30
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
31
|
+
end
|
32
|
+
end
|
33
|
+
|
34
|
+
describe 'test attribute "end_date"' do
|
35
|
+
it 'should work' do
|
36
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
37
|
+
end
|
38
|
+
end
|
39
|
+
|
40
|
+
describe 'test attribute "status"' do
|
41
|
+
it 'should work' do
|
42
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
43
|
+
end
|
44
|
+
end
|
45
|
+
|
46
|
+
describe 'test attribute "name"' do
|
47
|
+
it 'should work' do
|
48
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
49
|
+
end
|
50
|
+
end
|
51
|
+
|
52
|
+
describe 'test attribute "id"' do
|
53
|
+
it 'should work' do
|
54
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
55
|
+
end
|
56
|
+
end
|
57
|
+
|
58
|
+
describe 'test attribute "created_at"' do
|
59
|
+
it 'should work' do
|
60
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
61
|
+
end
|
62
|
+
end
|
63
|
+
|
64
|
+
describe 'test attribute "modified_at"' do
|
65
|
+
it 'should work' do
|
66
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
67
|
+
end
|
68
|
+
end
|
69
|
+
|
70
|
+
end
|