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
@@ -28,7 +28,7 @@ module MergeAccountingClient
|
|
28
28
|
# The company the tax rate belongs to.
|
29
29
|
attr_accessor :company
|
30
30
|
|
31
|
-
# Indicates whether or not this object has been deleted
|
31
|
+
# Indicates whether or not this object has been deleted in the third party platform.
|
32
32
|
attr_accessor :remote_was_deleted
|
33
33
|
|
34
34
|
attr_accessor :id
|
@@ -36,6 +36,11 @@ module MergeAccountingClient
|
|
36
36
|
# The third-party API ID of the matching object.
|
37
37
|
attr_accessor :remote_id
|
38
38
|
|
39
|
+
attr_accessor :created_at
|
40
|
+
|
41
|
+
# This is the datetime that this object was last updated by Merge
|
42
|
+
attr_accessor :modified_at
|
43
|
+
|
39
44
|
attr_accessor :field_mappings
|
40
45
|
|
41
46
|
attr_accessor :remote_data
|
@@ -50,6 +55,8 @@ module MergeAccountingClient
|
|
50
55
|
:'remote_was_deleted' => :'remote_was_deleted',
|
51
56
|
:'id' => :'id',
|
52
57
|
:'remote_id' => :'remote_id',
|
58
|
+
:'created_at' => :'created_at',
|
59
|
+
:'modified_at' => :'modified_at',
|
53
60
|
:'field_mappings' => :'field_mappings',
|
54
61
|
:'remote_data' => :'remote_data'
|
55
62
|
}
|
@@ -70,6 +77,8 @@ module MergeAccountingClient
|
|
70
77
|
:'remote_was_deleted' => :'Boolean',
|
71
78
|
:'id' => :'String',
|
72
79
|
:'remote_id' => :'String',
|
80
|
+
:'created_at' => :'Time',
|
81
|
+
:'modified_at' => :'Time',
|
73
82
|
:'field_mappings' => :'Hash<String, Object>',
|
74
83
|
:'remote_data' => :'Array<RemoteData>'
|
75
84
|
}
|
@@ -131,6 +140,14 @@ module MergeAccountingClient
|
|
131
140
|
self.remote_id = attributes[:'remote_id']
|
132
141
|
end
|
133
142
|
|
143
|
+
if attributes.key?(:'created_at')
|
144
|
+
self.created_at = attributes[:'created_at']
|
145
|
+
end
|
146
|
+
|
147
|
+
if attributes.key?(:'modified_at')
|
148
|
+
self.modified_at = attributes[:'modified_at']
|
149
|
+
end
|
150
|
+
|
134
151
|
if attributes.key?(:'field_mappings')
|
135
152
|
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
136
153
|
self.field_mappings = value
|
@@ -169,6 +186,8 @@ module MergeAccountingClient
|
|
169
186
|
remote_was_deleted == o.remote_was_deleted &&
|
170
187
|
id == o.id &&
|
171
188
|
remote_id == o.remote_id &&
|
189
|
+
created_at == o.created_at &&
|
190
|
+
modified_at == o.modified_at &&
|
172
191
|
field_mappings == o.field_mappings &&
|
173
192
|
remote_data == o.remote_data
|
174
193
|
end
|
@@ -182,7 +201,7 @@ module MergeAccountingClient
|
|
182
201
|
# Calculates hash code according to all attributes.
|
183
202
|
# @return [Integer] Hash code
|
184
203
|
def hash
|
185
|
-
[description, total_tax_rate, effective_tax_rate, company, remote_was_deleted, id, remote_id, field_mappings, remote_data].hash
|
204
|
+
[description, total_tax_rate, effective_tax_rate, company, remote_was_deleted, id, remote_id, created_at, modified_at, field_mappings, remote_data].hash
|
186
205
|
end
|
187
206
|
|
188
207
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeAccountingClient
|
17
|
-
# # The TrackingCategory Object ### Description
|
17
|
+
# # The TrackingCategory Object ### Description A `TrackingCategory` object represents a categorization method used to classify transactions within an accounting platform. They are often used to group records for reporting and analysis purposes. The most common types of `TrackingCategories` are Classes and Departments. ### Usage Example Fetch from the `GET TrackingCategory` endpoint and view a company's tracking category.
|
18
18
|
class TrackingCategory
|
19
19
|
# The tracking category's name.
|
20
20
|
attr_accessor :name
|
@@ -31,7 +31,7 @@ module MergeAccountingClient
|
|
31
31
|
# The company the tracking category belongs to.
|
32
32
|
attr_accessor :company
|
33
33
|
|
34
|
-
# Indicates whether or not this object has been deleted
|
34
|
+
# Indicates whether or not this object has been deleted in the third party platform.
|
35
35
|
attr_accessor :remote_was_deleted
|
36
36
|
|
37
37
|
attr_accessor :id
|
@@ -39,6 +39,11 @@ module MergeAccountingClient
|
|
39
39
|
# The third-party API ID of the matching object.
|
40
40
|
attr_accessor :remote_id
|
41
41
|
|
42
|
+
attr_accessor :created_at
|
43
|
+
|
44
|
+
# This is the datetime that this object was last updated by Merge
|
45
|
+
attr_accessor :modified_at
|
46
|
+
|
42
47
|
attr_accessor :field_mappings
|
43
48
|
|
44
49
|
attr_accessor :remote_data
|
@@ -54,6 +59,8 @@ module MergeAccountingClient
|
|
54
59
|
:'remote_was_deleted' => :'remote_was_deleted',
|
55
60
|
:'id' => :'id',
|
56
61
|
:'remote_id' => :'remote_id',
|
62
|
+
:'created_at' => :'created_at',
|
63
|
+
:'modified_at' => :'modified_at',
|
57
64
|
:'field_mappings' => :'field_mappings',
|
58
65
|
:'remote_data' => :'remote_data'
|
59
66
|
}
|
@@ -75,6 +82,8 @@ module MergeAccountingClient
|
|
75
82
|
:'remote_was_deleted' => :'Boolean',
|
76
83
|
:'id' => :'String',
|
77
84
|
:'remote_id' => :'String',
|
85
|
+
:'created_at' => :'Time',
|
86
|
+
:'modified_at' => :'Time',
|
78
87
|
:'field_mappings' => :'Hash<String, Object>',
|
79
88
|
:'remote_data' => :'Array<RemoteData>'
|
80
89
|
}
|
@@ -141,6 +150,14 @@ module MergeAccountingClient
|
|
141
150
|
self.remote_id = attributes[:'remote_id']
|
142
151
|
end
|
143
152
|
|
153
|
+
if attributes.key?(:'created_at')
|
154
|
+
self.created_at = attributes[:'created_at']
|
155
|
+
end
|
156
|
+
|
157
|
+
if attributes.key?(:'modified_at')
|
158
|
+
self.modified_at = attributes[:'modified_at']
|
159
|
+
end
|
160
|
+
|
144
161
|
if attributes.key?(:'field_mappings')
|
145
162
|
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
146
163
|
self.field_mappings = value
|
@@ -180,6 +197,8 @@ module MergeAccountingClient
|
|
180
197
|
remote_was_deleted == o.remote_was_deleted &&
|
181
198
|
id == o.id &&
|
182
199
|
remote_id == o.remote_id &&
|
200
|
+
created_at == o.created_at &&
|
201
|
+
modified_at == o.modified_at &&
|
183
202
|
field_mappings == o.field_mappings &&
|
184
203
|
remote_data == o.remote_data
|
185
204
|
end
|
@@ -193,7 +212,7 @@ module MergeAccountingClient
|
|
193
212
|
# Calculates hash code according to all attributes.
|
194
213
|
# @return [Integer] Hash code
|
195
214
|
def hash
|
196
|
-
[name, status, category_type, parent_category, company, remote_was_deleted, id, remote_id, field_mappings, remote_data].hash
|
215
|
+
[name, status, category_type, parent_category, company, remote_was_deleted, id, remote_id, created_at, modified_at, field_mappings, remote_data].hash
|
197
216
|
end
|
198
217
|
|
199
218
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeAccountingClient
|
17
|
-
# # The Transaction Object ### Description The `Transaction` includes
|
17
|
+
# # The Transaction Object ### Description The `Transaction` common model includes records of all types of transactions that do not appear in other common models. The type of transaction can be identified through the type field. More specifically, it will contain all types of transactions outside of: * __Credit Notes__ * __Expenses__ * __Invoices__ * __Journal Entries__ * __Payments__ * __Purchase Orders__ * __Vendor Credits__ ### Usage Example Fetch from the `GET Transaction` endpoint and view a company's transactions.
|
18
18
|
class Transaction
|
19
19
|
# The type of transaction, which can by any transaction object not already included in Merge’s common model.
|
20
20
|
attr_accessor :transaction_type
|
@@ -47,14 +47,22 @@ module MergeAccountingClient
|
|
47
47
|
|
48
48
|
attr_accessor :line_items
|
49
49
|
|
50
|
-
# Indicates whether or not this object has been deleted
|
50
|
+
# Indicates whether or not this object has been deleted in the third party platform.
|
51
51
|
attr_accessor :remote_was_deleted
|
52
52
|
|
53
|
+
# The accounting period that the Transaction was generated in.
|
54
|
+
attr_accessor :accounting_period
|
55
|
+
|
53
56
|
attr_accessor :id
|
54
57
|
|
55
58
|
# The third-party API ID of the matching object.
|
56
59
|
attr_accessor :remote_id
|
57
60
|
|
61
|
+
attr_accessor :created_at
|
62
|
+
|
63
|
+
# This is the datetime that this object was last updated by Merge
|
64
|
+
attr_accessor :modified_at
|
65
|
+
|
58
66
|
attr_accessor :field_mappings
|
59
67
|
|
60
68
|
attr_accessor :remote_data
|
@@ -74,8 +82,11 @@ module MergeAccountingClient
|
|
74
82
|
:'tracking_categories' => :'tracking_categories',
|
75
83
|
:'line_items' => :'line_items',
|
76
84
|
:'remote_was_deleted' => :'remote_was_deleted',
|
85
|
+
:'accounting_period' => :'accounting_period',
|
77
86
|
:'id' => :'id',
|
78
87
|
:'remote_id' => :'remote_id',
|
88
|
+
:'created_at' => :'created_at',
|
89
|
+
:'modified_at' => :'modified_at',
|
79
90
|
:'field_mappings' => :'field_mappings',
|
80
91
|
:'remote_data' => :'remote_data'
|
81
92
|
}
|
@@ -101,8 +112,11 @@ module MergeAccountingClient
|
|
101
112
|
:'tracking_categories' => :'Array<String>',
|
102
113
|
:'line_items' => :'Array<TransactionLineItem>',
|
103
114
|
:'remote_was_deleted' => :'Boolean',
|
115
|
+
:'accounting_period' => :'String',
|
104
116
|
:'id' => :'String',
|
105
117
|
:'remote_id' => :'String',
|
118
|
+
:'created_at' => :'Time',
|
119
|
+
:'modified_at' => :'Time',
|
106
120
|
:'field_mappings' => :'Hash<String, Object>',
|
107
121
|
:'remote_data' => :'Array<RemoteData>'
|
108
122
|
}
|
@@ -120,6 +134,7 @@ module MergeAccountingClient
|
|
120
134
|
:'currency',
|
121
135
|
:'exchange_rate',
|
122
136
|
:'company',
|
137
|
+
:'accounting_period',
|
123
138
|
:'remote_id',
|
124
139
|
:'field_mappings',
|
125
140
|
:'remote_data'
|
@@ -193,6 +208,10 @@ module MergeAccountingClient
|
|
193
208
|
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
194
209
|
end
|
195
210
|
|
211
|
+
if attributes.key?(:'accounting_period')
|
212
|
+
self.accounting_period = attributes[:'accounting_period']
|
213
|
+
end
|
214
|
+
|
196
215
|
if attributes.key?(:'id')
|
197
216
|
self.id = attributes[:'id']
|
198
217
|
end
|
@@ -201,6 +220,14 @@ module MergeAccountingClient
|
|
201
220
|
self.remote_id = attributes[:'remote_id']
|
202
221
|
end
|
203
222
|
|
223
|
+
if attributes.key?(:'created_at')
|
224
|
+
self.created_at = attributes[:'created_at']
|
225
|
+
end
|
226
|
+
|
227
|
+
if attributes.key?(:'modified_at')
|
228
|
+
self.modified_at = attributes[:'modified_at']
|
229
|
+
end
|
230
|
+
|
204
231
|
if attributes.key?(:'field_mappings')
|
205
232
|
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
206
233
|
self.field_mappings = value
|
@@ -278,8 +305,11 @@ module MergeAccountingClient
|
|
278
305
|
tracking_categories == o.tracking_categories &&
|
279
306
|
line_items == o.line_items &&
|
280
307
|
remote_was_deleted == o.remote_was_deleted &&
|
308
|
+
accounting_period == o.accounting_period &&
|
281
309
|
id == o.id &&
|
282
310
|
remote_id == o.remote_id &&
|
311
|
+
created_at == o.created_at &&
|
312
|
+
modified_at == o.modified_at &&
|
283
313
|
field_mappings == o.field_mappings &&
|
284
314
|
remote_data == o.remote_data
|
285
315
|
end
|
@@ -293,7 +323,7 @@ module MergeAccountingClient
|
|
293
323
|
# Calculates hash code according to all attributes.
|
294
324
|
# @return [Integer] Hash code
|
295
325
|
def hash
|
296
|
-
[transaction_type, number, transaction_date, account, contact, total_amount, currency, exchange_rate, company, tracking_categories, line_items, remote_was_deleted, id, remote_id, field_mappings, remote_data].hash
|
326
|
+
[transaction_type, number, transaction_date, account, contact, total_amount, currency, exchange_rate, company, tracking_categories, line_items, remote_was_deleted, accounting_period, id, remote_id, created_at, modified_at, field_mappings, remote_data].hash
|
297
327
|
end
|
298
328
|
|
299
329
|
# Builds the object from hash
|
@@ -54,6 +54,16 @@ module MergeAccountingClient
|
|
54
54
|
# The company the line belongs to.
|
55
55
|
attr_accessor :company
|
56
56
|
|
57
|
+
# Indicates whether or not this object has been deleted in the third party platform.
|
58
|
+
attr_accessor :remote_was_deleted
|
59
|
+
|
60
|
+
attr_accessor :id
|
61
|
+
|
62
|
+
attr_accessor :created_at
|
63
|
+
|
64
|
+
# This is the datetime that this object was last updated by Merge
|
65
|
+
attr_accessor :modified_at
|
66
|
+
|
57
67
|
# Attribute mapping from ruby-style variable name to JSON key.
|
58
68
|
def self.attribute_map
|
59
69
|
{
|
@@ -69,7 +79,11 @@ module MergeAccountingClient
|
|
69
79
|
:'tax_rate' => :'tax_rate',
|
70
80
|
:'currency' => :'currency',
|
71
81
|
:'exchange_rate' => :'exchange_rate',
|
72
|
-
:'company' => :'company'
|
82
|
+
:'company' => :'company',
|
83
|
+
:'remote_was_deleted' => :'remote_was_deleted',
|
84
|
+
:'id' => :'id',
|
85
|
+
:'created_at' => :'created_at',
|
86
|
+
:'modified_at' => :'modified_at'
|
73
87
|
}
|
74
88
|
end
|
75
89
|
|
@@ -93,7 +107,11 @@ module MergeAccountingClient
|
|
93
107
|
:'tax_rate' => :'String',
|
94
108
|
:'currency' => :'CurrencyEnum',
|
95
109
|
:'exchange_rate' => :'String',
|
96
|
-
:'company' => :'String'
|
110
|
+
:'company' => :'String',
|
111
|
+
:'remote_was_deleted' => :'Boolean',
|
112
|
+
:'id' => :'String',
|
113
|
+
:'created_at' => :'Time',
|
114
|
+
:'modified_at' => :'Time'
|
97
115
|
}
|
98
116
|
end
|
99
117
|
|
@@ -111,7 +129,7 @@ module MergeAccountingClient
|
|
111
129
|
:'tax_rate',
|
112
130
|
:'currency',
|
113
131
|
:'exchange_rate',
|
114
|
-
:'company'
|
132
|
+
:'company',
|
115
133
|
])
|
116
134
|
end
|
117
135
|
|
@@ -183,6 +201,22 @@ module MergeAccountingClient
|
|
183
201
|
if attributes.key?(:'company')
|
184
202
|
self.company = attributes[:'company']
|
185
203
|
end
|
204
|
+
|
205
|
+
if attributes.key?(:'remote_was_deleted')
|
206
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
207
|
+
end
|
208
|
+
|
209
|
+
if attributes.key?(:'id')
|
210
|
+
self.id = attributes[:'id']
|
211
|
+
end
|
212
|
+
|
213
|
+
if attributes.key?(:'created_at')
|
214
|
+
self.created_at = attributes[:'created_at']
|
215
|
+
end
|
216
|
+
|
217
|
+
if attributes.key?(:'modified_at')
|
218
|
+
self.modified_at = attributes[:'modified_at']
|
219
|
+
end
|
186
220
|
end
|
187
221
|
|
188
222
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -288,7 +322,11 @@ module MergeAccountingClient
|
|
288
322
|
tax_rate == o.tax_rate &&
|
289
323
|
currency == o.currency &&
|
290
324
|
exchange_rate == o.exchange_rate &&
|
291
|
-
company == o.company
|
325
|
+
company == o.company &&
|
326
|
+
remote_was_deleted == o.remote_was_deleted &&
|
327
|
+
id == o.id &&
|
328
|
+
created_at == o.created_at &&
|
329
|
+
modified_at == o.modified_at
|
292
330
|
end
|
293
331
|
|
294
332
|
# @see the `==` method
|
@@ -300,7 +338,7 @@ module MergeAccountingClient
|
|
300
338
|
# Calculates hash code according to all attributes.
|
301
339
|
# @return [Integer] Hash code
|
302
340
|
def hash
|
303
|
-
[remote_id, memo, unit_price, quantity, item, account, tracking_category, tracking_categories, total_line_amount, tax_rate, currency, exchange_rate, company].hash
|
341
|
+
[remote_id, memo, unit_price, quantity, item, account, tracking_category, tracking_categories, total_line_amount, tax_rate, currency, exchange_rate, company, remote_was_deleted, id, created_at, modified_at].hash
|
304
342
|
end
|
305
343
|
|
306
344
|
# Builds the object from hash
|
@@ -14,7 +14,7 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeAccountingClient
|
17
|
-
# # The VendorCredit Object ### Description
|
17
|
+
# # The VendorCredit Object ### Description A `VendorCredit` is transaction issued by a vendor to the accounting company, indicating a reduction or cancellation of the amount owed to the vendor. It is most generally used as an adjustment note used to rectify errors, returns, or overpayments related to a purchasing transaction. A `VendorCredit` can be applied to *Accounts Payable* Invoices to decrease the overall amount of the Invoice. ### Usage Example Fetch from the `GET VendorCredit` endpoint and view a company's vendor credits.
|
18
18
|
class VendorCredit
|
19
19
|
attr_accessor :id
|
20
20
|
|
@@ -44,9 +44,19 @@ module MergeAccountingClient
|
|
44
44
|
|
45
45
|
attr_accessor :lines
|
46
46
|
|
47
|
-
|
47
|
+
attr_accessor :tracking_categories
|
48
|
+
|
49
|
+
# Indicates whether or not this object has been deleted in the third party platform.
|
48
50
|
attr_accessor :remote_was_deleted
|
49
51
|
|
52
|
+
# The accounting period that the VendorCredit was generated in.
|
53
|
+
attr_accessor :accounting_period
|
54
|
+
|
55
|
+
attr_accessor :created_at
|
56
|
+
|
57
|
+
# This is the datetime that this object was last updated by Merge
|
58
|
+
attr_accessor :modified_at
|
59
|
+
|
50
60
|
attr_accessor :field_mappings
|
51
61
|
|
52
62
|
attr_accessor :remote_data
|
@@ -64,7 +74,11 @@ module MergeAccountingClient
|
|
64
74
|
:'exchange_rate' => :'exchange_rate',
|
65
75
|
:'company' => :'company',
|
66
76
|
:'lines' => :'lines',
|
77
|
+
:'tracking_categories' => :'tracking_categories',
|
67
78
|
:'remote_was_deleted' => :'remote_was_deleted',
|
79
|
+
:'accounting_period' => :'accounting_period',
|
80
|
+
:'created_at' => :'created_at',
|
81
|
+
:'modified_at' => :'modified_at',
|
68
82
|
:'field_mappings' => :'field_mappings',
|
69
83
|
:'remote_data' => :'remote_data'
|
70
84
|
}
|
@@ -88,7 +102,11 @@ module MergeAccountingClient
|
|
88
102
|
:'exchange_rate' => :'String',
|
89
103
|
:'company' => :'String',
|
90
104
|
:'lines' => :'Array<VendorCreditLine>',
|
105
|
+
:'tracking_categories' => :'Array<String>',
|
91
106
|
:'remote_was_deleted' => :'Boolean',
|
107
|
+
:'accounting_period' => :'String',
|
108
|
+
:'created_at' => :'Time',
|
109
|
+
:'modified_at' => :'Time',
|
92
110
|
:'field_mappings' => :'Hash<String, Object>',
|
93
111
|
:'remote_data' => :'Array<RemoteData>'
|
94
112
|
}
|
@@ -105,6 +123,7 @@ module MergeAccountingClient
|
|
105
123
|
:'currency',
|
106
124
|
:'exchange_rate',
|
107
125
|
:'company',
|
126
|
+
:'accounting_period',
|
108
127
|
:'field_mappings',
|
109
128
|
:'remote_data'
|
110
129
|
])
|
@@ -167,10 +186,28 @@ module MergeAccountingClient
|
|
167
186
|
end
|
168
187
|
end
|
169
188
|
|
189
|
+
if attributes.key?(:'tracking_categories')
|
190
|
+
if (value = attributes[:'tracking_categories']).is_a?(Array)
|
191
|
+
self.tracking_categories = value
|
192
|
+
end
|
193
|
+
end
|
194
|
+
|
170
195
|
if attributes.key?(:'remote_was_deleted')
|
171
196
|
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
172
197
|
end
|
173
198
|
|
199
|
+
if attributes.key?(:'accounting_period')
|
200
|
+
self.accounting_period = attributes[:'accounting_period']
|
201
|
+
end
|
202
|
+
|
203
|
+
if attributes.key?(:'created_at')
|
204
|
+
self.created_at = attributes[:'created_at']
|
205
|
+
end
|
206
|
+
|
207
|
+
if attributes.key?(:'modified_at')
|
208
|
+
self.modified_at = attributes[:'modified_at']
|
209
|
+
end
|
210
|
+
|
174
211
|
if attributes.key?(:'field_mappings')
|
175
212
|
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
176
213
|
self.field_mappings = value
|
@@ -229,7 +266,11 @@ module MergeAccountingClient
|
|
229
266
|
exchange_rate == o.exchange_rate &&
|
230
267
|
company == o.company &&
|
231
268
|
lines == o.lines &&
|
269
|
+
tracking_categories == o.tracking_categories &&
|
232
270
|
remote_was_deleted == o.remote_was_deleted &&
|
271
|
+
accounting_period == o.accounting_period &&
|
272
|
+
created_at == o.created_at &&
|
273
|
+
modified_at == o.modified_at &&
|
233
274
|
field_mappings == o.field_mappings &&
|
234
275
|
remote_data == o.remote_data
|
235
276
|
end
|
@@ -243,7 +284,7 @@ module MergeAccountingClient
|
|
243
284
|
# Calculates hash code according to all attributes.
|
244
285
|
# @return [Integer] Hash code
|
245
286
|
def hash
|
246
|
-
[id, remote_id, number, transaction_date, vendor, total_amount, currency, exchange_rate, company, lines, remote_was_deleted, field_mappings, remote_data].hash
|
287
|
+
[id, remote_id, number, transaction_date, vendor, total_amount, currency, exchange_rate, company, lines, tracking_categories, remote_was_deleted, accounting_period, created_at, modified_at, field_mappings, remote_data].hash
|
247
288
|
end
|
248
289
|
|
249
290
|
# Builds the object from hash
|
@@ -40,6 +40,16 @@ module MergeAccountingClient
|
|
40
40
|
# The vendor credit line item's exchange rate.
|
41
41
|
attr_accessor :exchange_rate
|
42
42
|
|
43
|
+
# Indicates whether or not this object has been deleted in the third party platform.
|
44
|
+
attr_accessor :remote_was_deleted
|
45
|
+
|
46
|
+
attr_accessor :id
|
47
|
+
|
48
|
+
attr_accessor :created_at
|
49
|
+
|
50
|
+
# This is the datetime that this object was last updated by Merge
|
51
|
+
attr_accessor :modified_at
|
52
|
+
|
43
53
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
54
|
def self.attribute_map
|
45
55
|
{
|
@@ -50,7 +60,11 @@ module MergeAccountingClient
|
|
50
60
|
:'description' => :'description',
|
51
61
|
:'account' => :'account',
|
52
62
|
:'company' => :'company',
|
53
|
-
:'exchange_rate' => :'exchange_rate'
|
63
|
+
:'exchange_rate' => :'exchange_rate',
|
64
|
+
:'remote_was_deleted' => :'remote_was_deleted',
|
65
|
+
:'id' => :'id',
|
66
|
+
:'created_at' => :'created_at',
|
67
|
+
:'modified_at' => :'modified_at'
|
54
68
|
}
|
55
69
|
end
|
56
70
|
|
@@ -69,7 +83,11 @@ module MergeAccountingClient
|
|
69
83
|
:'description' => :'String',
|
70
84
|
:'account' => :'String',
|
71
85
|
:'company' => :'String',
|
72
|
-
:'exchange_rate' => :'String'
|
86
|
+
:'exchange_rate' => :'String',
|
87
|
+
:'remote_was_deleted' => :'Boolean',
|
88
|
+
:'id' => :'String',
|
89
|
+
:'created_at' => :'Time',
|
90
|
+
:'modified_at' => :'Time'
|
73
91
|
}
|
74
92
|
end
|
75
93
|
|
@@ -82,7 +100,7 @@ module MergeAccountingClient
|
|
82
100
|
:'description',
|
83
101
|
:'account',
|
84
102
|
:'company',
|
85
|
-
:'exchange_rate'
|
103
|
+
:'exchange_rate',
|
86
104
|
])
|
87
105
|
end
|
88
106
|
|
@@ -134,6 +152,22 @@ module MergeAccountingClient
|
|
134
152
|
if attributes.key?(:'exchange_rate')
|
135
153
|
self.exchange_rate = attributes[:'exchange_rate']
|
136
154
|
end
|
155
|
+
|
156
|
+
if attributes.key?(:'remote_was_deleted')
|
157
|
+
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
158
|
+
end
|
159
|
+
|
160
|
+
if attributes.key?(:'id')
|
161
|
+
self.id = attributes[:'id']
|
162
|
+
end
|
163
|
+
|
164
|
+
if attributes.key?(:'created_at')
|
165
|
+
self.created_at = attributes[:'created_at']
|
166
|
+
end
|
167
|
+
|
168
|
+
if attributes.key?(:'modified_at')
|
169
|
+
self.modified_at = attributes[:'modified_at']
|
170
|
+
end
|
137
171
|
end
|
138
172
|
|
139
173
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -183,7 +217,11 @@ module MergeAccountingClient
|
|
183
217
|
description == o.description &&
|
184
218
|
account == o.account &&
|
185
219
|
company == o.company &&
|
186
|
-
exchange_rate == o.exchange_rate
|
220
|
+
exchange_rate == o.exchange_rate &&
|
221
|
+
remote_was_deleted == o.remote_was_deleted &&
|
222
|
+
id == o.id &&
|
223
|
+
created_at == o.created_at &&
|
224
|
+
modified_at == o.modified_at
|
187
225
|
end
|
188
226
|
|
189
227
|
# @see the `==` method
|
@@ -195,7 +233,7 @@ module MergeAccountingClient
|
|
195
233
|
# Calculates hash code according to all attributes.
|
196
234
|
# @return [Integer] Hash code
|
197
235
|
def hash
|
198
|
-
[remote_id, net_amount, tracking_category, tracking_categories, description, account, company, exchange_rate].hash
|
236
|
+
[remote_id, net_amount, tracking_category, tracking_categories, description, account, company, exchange_rate, remote_was_deleted, id, created_at, modified_at].hash
|
199
237
|
end
|
200
238
|
|
201
239
|
# Builds the object from hash
|
@@ -32,10 +32,15 @@ require 'merge_accounting_client/models/accounting_attachment'
|
|
32
32
|
require 'merge_accounting_client/models/accounting_attachment_endpoint_request'
|
33
33
|
require 'merge_accounting_client/models/accounting_attachment_request'
|
34
34
|
require 'merge_accounting_client/models/accounting_attachment_response'
|
35
|
+
require 'merge_accounting_client/models/accounting_period'
|
36
|
+
require 'merge_accounting_client/models/accounting_period_status_enum'
|
35
37
|
require 'merge_accounting_client/models/accounting_phone_number'
|
36
38
|
require 'merge_accounting_client/models/accounting_phone_number_request'
|
37
39
|
require 'merge_accounting_client/models/address'
|
40
|
+
require 'merge_accounting_client/models/address_request'
|
38
41
|
require 'merge_accounting_client/models/address_type_enum'
|
42
|
+
require 'merge_accounting_client/models/async_passthrough_reciept'
|
43
|
+
require 'merge_accounting_client/models/audit_log_event'
|
39
44
|
require 'merge_accounting_client/models/available_actions'
|
40
45
|
require 'merge_accounting_client/models/balance_sheet'
|
41
46
|
require 'merge_accounting_client/models/cash_flow_statement'
|
@@ -43,13 +48,7 @@ require 'merge_accounting_client/models/categories_enum'
|
|
43
48
|
require 'merge_accounting_client/models/category_enum'
|
44
49
|
require 'merge_accounting_client/models/category_type_enum'
|
45
50
|
require 'merge_accounting_client/models/classification_enum'
|
46
|
-
require 'merge_accounting_client/models/common_model_scope_data'
|
47
|
-
require 'merge_accounting_client/models/common_model_scopes'
|
48
51
|
require 'merge_accounting_client/models/common_model_scopes_body_request'
|
49
|
-
require 'merge_accounting_client/models/common_model_scopes_disabled_models'
|
50
|
-
require 'merge_accounting_client/models/common_model_scopes_disabled_models_enabled_actions_enum'
|
51
|
-
require 'merge_accounting_client/models/common_model_scopes_post_inner_deserializer_request'
|
52
|
-
require 'merge_accounting_client/models/common_model_scopes_update_serializer'
|
53
52
|
require 'merge_accounting_client/models/company_info'
|
54
53
|
require 'merge_accounting_client/models/condition_schema'
|
55
54
|
require 'merge_accounting_client/models/condition_type_enum'
|
@@ -69,6 +68,7 @@ require 'merge_accounting_client/models/enabled_actions_enum'
|
|
69
68
|
require 'merge_accounting_client/models/encoding_enum'
|
70
69
|
require 'merge_accounting_client/models/end_user_details_request'
|
71
70
|
require 'merge_accounting_client/models/error_validation_problem'
|
71
|
+
require 'merge_accounting_client/models/event_type_enum'
|
72
72
|
require 'merge_accounting_client/models/expense'
|
73
73
|
require 'merge_accounting_client/models/expense_endpoint_request'
|
74
74
|
require 'merge_accounting_client/models/expense_line'
|
@@ -83,6 +83,7 @@ require 'merge_accounting_client/models/invoice_line_item'
|
|
83
83
|
require 'merge_accounting_client/models/invoice_line_item_request'
|
84
84
|
require 'merge_accounting_client/models/invoice_request'
|
85
85
|
require 'merge_accounting_client/models/invoice_response'
|
86
|
+
require 'merge_accounting_client/models/invoice_status_enum'
|
86
87
|
require 'merge_accounting_client/models/invoice_type_enum'
|
87
88
|
require 'merge_accounting_client/models/issue'
|
88
89
|
require 'merge_accounting_client/models/issue_status_enum'
|
@@ -108,6 +109,8 @@ require 'merge_accounting_client/models/operator_schema'
|
|
108
109
|
require 'merge_accounting_client/models/paginated_account_details_and_actions_list'
|
109
110
|
require 'merge_accounting_client/models/paginated_account_list'
|
110
111
|
require 'merge_accounting_client/models/paginated_accounting_attachment_list'
|
112
|
+
require 'merge_accounting_client/models/paginated_accounting_period_list'
|
113
|
+
require 'merge_accounting_client/models/paginated_audit_log_event_list'
|
111
114
|
require 'merge_accounting_client/models/paginated_balance_sheet_list'
|
112
115
|
require 'merge_accounting_client/models/paginated_cash_flow_statement_list'
|
113
116
|
require 'merge_accounting_client/models/paginated_company_info_list'
|
@@ -129,6 +132,8 @@ require 'merge_accounting_client/models/paginated_transaction_list'
|
|
129
132
|
require 'merge_accounting_client/models/paginated_vendor_credit_list'
|
130
133
|
require 'merge_accounting_client/models/payment'
|
131
134
|
require 'merge_accounting_client/models/payment_endpoint_request'
|
135
|
+
require 'merge_accounting_client/models/payment_line_item'
|
136
|
+
require 'merge_accounting_client/models/payment_line_item_request'
|
132
137
|
require 'merge_accounting_client/models/payment_request'
|
133
138
|
require 'merge_accounting_client/models/payment_response'
|
134
139
|
require 'merge_accounting_client/models/posting_status_enum'
|
@@ -146,6 +151,7 @@ require 'merge_accounting_client/models/remote_response'
|
|
146
151
|
require 'merge_accounting_client/models/report_item'
|
147
152
|
require 'merge_accounting_client/models/request_format_enum'
|
148
153
|
require 'merge_accounting_client/models/response_type_enum'
|
154
|
+
require 'merge_accounting_client/models/role_enum'
|
149
155
|
require 'merge_accounting_client/models/selective_sync_configurations_usage_enum'
|
150
156
|
require 'merge_accounting_client/models/status7d1_enum'
|
151
157
|
require 'merge_accounting_client/models/sync_status'
|
@@ -164,13 +170,15 @@ require 'merge_accounting_client/models/webhook_receiver_request'
|
|
164
170
|
# APIs
|
165
171
|
require 'merge_accounting_client/api/account_details_api'
|
166
172
|
require 'merge_accounting_client/api/account_token_api'
|
173
|
+
require 'merge_accounting_client/api/accounting_periods_api'
|
167
174
|
require 'merge_accounting_client/api/accounts_api'
|
168
175
|
require 'merge_accounting_client/api/addresses_api'
|
176
|
+
require 'merge_accounting_client/api/async_passthrough_api'
|
169
177
|
require 'merge_accounting_client/api/attachments_api'
|
178
|
+
require 'merge_accounting_client/api/audit_trail_api'
|
170
179
|
require 'merge_accounting_client/api/available_actions_api'
|
171
180
|
require 'merge_accounting_client/api/balance_sheets_api'
|
172
181
|
require 'merge_accounting_client/api/cash_flow_statements_api'
|
173
|
-
require 'merge_accounting_client/api/common_model_scopes_api'
|
174
182
|
require 'merge_accounting_client/api/company_info_api'
|
175
183
|
require 'merge_accounting_client/api/contacts_api'
|
176
184
|
require 'merge_accounting_client/api/credit_notes_api'
|