merge_accounting_client 1.0.7 → 1.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -13
- data/docs/Account.md +2 -0
- data/docs/AccountIntegration.md +5 -1
- data/docs/AccountingAttachment.md +2 -0
- data/docs/AccountingPhoneNumber.md +3 -1
- data/docs/AccountsApi.md +4 -4
- data/docs/Address.md +4 -2
- data/docs/AsyncPassthroughApi.md +155 -0
- data/docs/AsyncPassthroughReciept.md +18 -0
- data/docs/AttachmentsApi.md +4 -4
- data/docs/BalanceSheet.md +2 -0
- data/docs/BalanceSheetsApi.md +4 -4
- data/docs/CashFlowStatement.md +2 -0
- data/docs/CashFlowStatementsApi.md +4 -4
- data/docs/CompanyInfo.md +3 -1
- data/docs/CompanyInfoApi.md +4 -4
- data/docs/Contact.md +2 -0
- data/docs/ContactsApi.md +4 -4
- data/docs/CreditNote.md +6 -0
- data/docs/CreditNoteLineItem.md +3 -1
- data/docs/CreditNotesApi.md +4 -4
- data/docs/DeleteAccountApi.md +9 -9
- data/docs/EndUserDetailsRequest.md +1 -1
- data/docs/Expense.md +4 -0
- data/docs/ExpenseLine.md +3 -1
- data/docs/ExpenseRequest.md +2 -0
- data/docs/ExpensesApi.md +4 -4
- data/docs/ForceResyncApi.md +1 -1
- data/docs/IncomeStatement.md +2 -0
- data/docs/IncomeStatementsApi.md +4 -4
- data/docs/Invoice.md +7 -3
- data/docs/InvoiceLineItem.md +2 -0
- data/docs/InvoiceRequest.md +3 -1
- data/docs/InvoicesApi.md +4 -4
- data/docs/Issue.md +1 -1
- data/docs/IssuesApi.md +6 -6
- data/docs/Item.md +2 -0
- data/docs/ItemsApi.md +4 -4
- data/docs/JournalEntriesApi.md +4 -4
- data/docs/JournalEntry.md +4 -0
- data/docs/JournalLine.md +3 -1
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/Payment.md +4 -0
- data/docs/PaymentRequest.md +2 -0
- data/docs/PaymentsApi.md +4 -4
- data/docs/PurchaseOrder.md +4 -0
- data/docs/PurchaseOrderLineItem.md +3 -1
- data/docs/PurchaseOrdersApi.md +4 -4
- data/docs/RemoteData.md +1 -1
- data/docs/ReportItem.md +3 -1
- data/docs/SyncStatus.md +1 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/TaxRate.md +2 -0
- data/docs/TaxRatesApi.md +4 -4
- data/docs/TrackingCategoriesApi.md +4 -4
- data/docs/TrackingCategory.md +2 -0
- data/docs/Transaction.md +2 -0
- data/docs/TransactionLineItem.md +3 -1
- data/docs/TransactionsApi.md +4 -4
- data/docs/VendorCredit.md +4 -0
- data/docs/VendorCreditLine.md +3 -1
- data/docs/VendorCreditsApi.md +4 -4
- data/git_push.sh +58 -0
- data/lib/merge_accounting_client/api/accounts_api.rb +4 -4
- data/lib/merge_accounting_client/api/async_passthrough_api.rb +160 -0
- data/lib/merge_accounting_client/api/attachments_api.rb +4 -4
- data/lib/merge_accounting_client/api/balance_sheets_api.rb +4 -4
- data/lib/merge_accounting_client/api/cash_flow_statements_api.rb +4 -4
- data/lib/merge_accounting_client/api/company_info_api.rb +4 -4
- data/lib/merge_accounting_client/api/contacts_api.rb +4 -4
- data/lib/merge_accounting_client/api/credit_notes_api.rb +6 -6
- data/lib/merge_accounting_client/api/delete_account_api.rb +7 -7
- data/lib/merge_accounting_client/api/expenses_api.rb +6 -6
- data/lib/merge_accounting_client/api/force_resync_api.rb +2 -2
- data/lib/merge_accounting_client/api/income_statements_api.rb +4 -4
- data/lib/merge_accounting_client/api/invoices_api.rb +6 -6
- data/lib/merge_accounting_client/api/issues_api.rb +6 -6
- data/lib/merge_accounting_client/api/items_api.rb +4 -4
- data/lib/merge_accounting_client/api/journal_entries_api.rb +6 -6
- data/lib/merge_accounting_client/api/linked_accounts_api.rb +2 -2
- data/lib/merge_accounting_client/api/payments_api.rb +6 -6
- data/lib/merge_accounting_client/api/purchase_orders_api.rb +6 -6
- data/lib/merge_accounting_client/api/sync_status_api.rb +2 -2
- data/lib/merge_accounting_client/api/tax_rates_api.rb +4 -4
- data/lib/merge_accounting_client/api/tracking_categories_api.rb +4 -4
- data/lib/merge_accounting_client/api/transactions_api.rb +4 -4
- data/lib/merge_accounting_client/api/vendor_credits_api.rb +6 -6
- data/lib/merge_accounting_client/models/account.rb +11 -1
- data/lib/merge_accounting_client/models/account_integration.rb +26 -4
- data/lib/merge_accounting_client/models/accounting_attachment.rb +11 -1
- data/lib/merge_accounting_client/models/accounting_phone_number.rb +15 -5
- data/lib/merge_accounting_client/models/address.rb +15 -5
- data/lib/merge_accounting_client/models/async_passthrough_reciept.rb +223 -0
- data/lib/merge_accounting_client/models/balance_sheet.rb +11 -1
- data/lib/merge_accounting_client/models/cash_flow_statement.rb +11 -1
- data/lib/merge_accounting_client/models/company_info.rb +11 -1
- data/lib/merge_accounting_client/models/contact.rb +11 -1
- data/lib/merge_accounting_client/models/credit_note.rb +50 -1
- data/lib/merge_accounting_client/models/credit_note_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/end_user_details_request.rb +1 -1
- data/lib/merge_accounting_client/models/expense.rb +22 -1
- data/lib/merge_accounting_client/models/expense_line.rb +15 -5
- data/lib/merge_accounting_client/models/expense_request.rb +12 -1
- data/lib/merge_accounting_client/models/income_statement.rb +11 -1
- data/lib/merge_accounting_client/models/invoice.rb +33 -12
- data/lib/merge_accounting_client/models/invoice_line_item.rb +12 -2
- data/lib/merge_accounting_client/models/invoice_line_item_request.rb +1 -1
- data/lib/merge_accounting_client/models/invoice_request.rb +13 -2
- data/lib/merge_accounting_client/models/issue.rb +1 -0
- data/lib/merge_accounting_client/models/item.rb +11 -1
- data/lib/merge_accounting_client/models/journal_entry.rb +22 -1
- data/lib/merge_accounting_client/models/journal_line.rb +15 -5
- data/lib/merge_accounting_client/models/payment.rb +22 -1
- data/lib/merge_accounting_client/models/payment_request.rb +12 -1
- data/lib/merge_accounting_client/models/purchase_order.rb +22 -1
- data/lib/merge_accounting_client/models/purchase_order_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/remote_data.rb +3 -4
- data/lib/merge_accounting_client/models/report_item.rb +15 -5
- data/lib/merge_accounting_client/models/sync_status_status_enum.rb +2 -1
- data/lib/merge_accounting_client/models/tax_rate.rb +11 -1
- data/lib/merge_accounting_client/models/tracking_category.rb +11 -1
- data/lib/merge_accounting_client/models/transaction.rb +11 -1
- data/lib/merge_accounting_client/models/transaction_line_item.rb +15 -5
- data/lib/merge_accounting_client/models/vendor_credit.rb +22 -1
- data/lib/merge_accounting_client/models/vendor_credit_line.rb +15 -5
- data/lib/merge_accounting_client/version.rb +1 -1
- data/lib/merge_accounting_client.rb +6 -2
- data/spec/api/accounts_api_spec.rb +2 -2
- data/spec/api/async_passthrough_api_spec.rb +59 -0
- data/spec/api/attachments_api_spec.rb +2 -2
- data/spec/api/balance_sheets_api_spec.rb +2 -2
- data/spec/api/cash_flow_statements_api_spec.rb +2 -2
- data/spec/api/company_info_api_spec.rb +2 -2
- data/spec/api/contacts_api_spec.rb +2 -2
- data/spec/api/credit_notes_api_spec.rb +2 -2
- data/spec/api/delete_account_api_spec.rb +2 -2
- data/spec/api/expenses_api_spec.rb +2 -2
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/income_statements_api_spec.rb +2 -2
- data/spec/api/invoices_api_spec.rb +2 -2
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/items_api_spec.rb +2 -2
- data/spec/api/journal_entries_api_spec.rb +2 -2
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/payments_api_spec.rb +2 -2
- data/spec/api/purchase_orders_api_spec.rb +2 -2
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tax_rates_api_spec.rb +2 -2
- data/spec/api/tracking_categories_api_spec.rb +2 -2
- data/spec/api/transactions_api_spec.rb +2 -2
- data/spec/api/vendor_credits_api_spec.rb +2 -2
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/account_spec.rb +6 -0
- data/spec/models/accounting_attachment_spec.rb +6 -0
- data/spec/models/accounting_phone_number_spec.rb +6 -0
- data/spec/models/address_spec.rb +6 -0
- data/spec/models/async_passthrough_reciept_spec.rb +34 -0
- data/spec/models/balance_sheet_spec.rb +6 -0
- data/spec/models/cash_flow_statement_spec.rb +6 -0
- data/spec/models/company_info_spec.rb +6 -0
- data/spec/models/contact_spec.rb +6 -0
- data/spec/models/credit_note_line_item_spec.rb +6 -0
- data/spec/models/credit_note_spec.rb +18 -0
- data/spec/models/expense_line_spec.rb +6 -0
- data/spec/models/expense_request_spec.rb +6 -0
- data/spec/models/expense_spec.rb +12 -0
- data/spec/models/income_statement_spec.rb +6 -0
- data/spec/models/invoice_line_item_spec.rb +6 -0
- data/spec/models/invoice_request_spec.rb +6 -0
- data/spec/models/invoice_spec.rb +14 -2
- data/spec/models/item_spec.rb +6 -0
- data/spec/models/journal_entry_spec.rb +12 -0
- data/spec/models/journal_line_spec.rb +6 -0
- data/spec/models/payment_request_spec.rb +6 -0
- data/spec/models/payment_spec.rb +12 -0
- data/spec/models/purchase_order_line_item_spec.rb +6 -0
- data/spec/models/purchase_order_spec.rb +12 -0
- data/spec/models/report_item_spec.rb +6 -0
- data/spec/models/tax_rate_spec.rb +6 -0
- data/spec/models/tracking_category_spec.rb +6 -0
- data/spec/models/transaction_line_item_spec.rb +6 -0
- data/spec/models/transaction_spec.rb +6 -0
- data/spec/models/vendor_credit_line_spec.rb +6 -0
- data/spec/models/vendor_credit_spec.rb +12 -0
- metadata +160 -151
@@ -21,7 +21,7 @@ module MergeAccountingClient
|
|
21
21
|
end
|
22
22
|
# List linked accounts for your organization.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
-
# @option opts [String] :category
|
24
|
+
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage
|
25
25
|
# @option opts [String] :cursor The pagination cursor value.
|
26
26
|
# @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
|
27
27
|
# @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
|
@@ -42,7 +42,7 @@ module MergeAccountingClient
|
|
42
42
|
|
43
43
|
# List linked accounts for your organization.
|
44
44
|
# @param [Hash] opts the optional parameters
|
45
|
-
# @option opts [String] :category
|
45
|
+
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage
|
46
46
|
# @option opts [String] :cursor The pagination cursor value.
|
47
47
|
# @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
|
48
48
|
# @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
|
@@ -107,8 +107,8 @@ module MergeAccountingClient
|
|
107
107
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
108
108
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
109
109
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
110
|
-
# @option opts [Time] :modified_after If provided,
|
111
|
-
# @option opts [Time] :modified_before If provided,
|
110
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
111
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
112
112
|
# @option opts [Integer] :page_size Number of results to return per page.
|
113
113
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
114
114
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -131,8 +131,8 @@ module MergeAccountingClient
|
|
131
131
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
132
132
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
133
133
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
134
|
-
# @option opts [Time] :modified_after If provided,
|
135
|
-
# @option opts [Time] :modified_before If provided,
|
134
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
135
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
136
136
|
# @option opts [Integer] :page_size Number of results to return per page.
|
137
137
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
138
138
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -146,7 +146,7 @@ module MergeAccountingClient
|
|
146
146
|
if @api_client.config.client_side_validation && x_account_token.nil?
|
147
147
|
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling PaymentsApi.payments_list"
|
148
148
|
end
|
149
|
-
allowable_values = ["account", "account,company", "company", "contact", "contact,account", "contact,account,company", "contact,company"]
|
149
|
+
allowable_values = ["account", "account,company", "company", "contact", "contact,account", "contact,account,company", "contact,company", "tracking_categories", "tracking_categories,account", "tracking_categories,account,company", "tracking_categories,company", "tracking_categories,contact", "tracking_categories,contact,account", "tracking_categories,contact,account,company", "tracking_categories,contact,company"]
|
150
150
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
151
151
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
152
152
|
end
|
@@ -299,7 +299,7 @@ module MergeAccountingClient
|
|
299
299
|
if @api_client.config.client_side_validation && id.nil?
|
300
300
|
fail ArgumentError, "Missing the required parameter 'id' when calling PaymentsApi.payments_retrieve"
|
301
301
|
end
|
302
|
-
allowable_values = ["account", "account,company", "company", "contact", "contact,account", "contact,account,company", "contact,company"]
|
302
|
+
allowable_values = ["account", "account,company", "company", "contact", "contact,account", "contact,account,company", "contact,company", "tracking_categories", "tracking_categories,account", "tracking_categories,account,company", "tracking_categories,company", "tracking_categories,contact", "tracking_categories,contact,account", "tracking_categories,contact,account,company", "tracking_categories,contact,company"]
|
303
303
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
304
304
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
305
305
|
end
|
@@ -107,8 +107,8 @@ module MergeAccountingClient
|
|
107
107
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
108
108
|
# @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
|
109
109
|
# @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
|
110
|
-
# @option opts [Time] :modified_after If provided,
|
111
|
-
# @option opts [Time] :modified_before If provided,
|
110
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
111
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
112
112
|
# @option opts [Integer] :page_size Number of results to return per page.
|
113
113
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
114
114
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -131,8 +131,8 @@ module MergeAccountingClient
|
|
131
131
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
132
132
|
# @option opts [Time] :issue_date_after If provided, will only return objects created after this datetime.
|
133
133
|
# @option opts [Time] :issue_date_before If provided, will only return objects created before this datetime.
|
134
|
-
# @option opts [Time] :modified_after If provided,
|
135
|
-
# @option opts [Time] :modified_before If provided,
|
134
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
135
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
136
136
|
# @option opts [Integer] :page_size Number of results to return per page.
|
137
137
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
138
138
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -146,7 +146,7 @@ module MergeAccountingClient
|
|
146
146
|
if @api_client.config.client_side_validation && x_account_token.nil?
|
147
147
|
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling PurchaseOrdersApi.purchase_orders_list"
|
148
148
|
end
|
149
|
-
allowable_values = ["company", "delivery_address", "delivery_address,company", "delivery_address,vendor", "delivery_address,vendor,company", "line_items", "line_items,company", "line_items,delivery_address", "line_items,delivery_address,company", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,company", "line_items,vendor", "line_items,vendor,company", "vendor", "vendor,company"]
|
149
|
+
allowable_values = ["company", "delivery_address", "delivery_address,company", "delivery_address,vendor", "delivery_address,vendor,company", "line_items", "line_items,company", "line_items,delivery_address", "line_items,delivery_address,company", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,company", "line_items,tracking_categories", "line_items,tracking_categories,company", "line_items,tracking_categories,delivery_address", "line_items,tracking_categories,delivery_address,company", "line_items,tracking_categories,delivery_address,vendor", "line_items,tracking_categories,delivery_address,vendor,company", "line_items,tracking_categories,vendor", "line_items,tracking_categories,vendor,company", "line_items,vendor", "line_items,vendor,company", "tracking_categories", "tracking_categories,company", "tracking_categories,delivery_address", "tracking_categories,delivery_address,company", "tracking_categories,delivery_address,vendor", "tracking_categories,delivery_address,vendor,company", "tracking_categories,vendor", "tracking_categories,vendor,company", "vendor", "vendor,company"]
|
150
150
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
151
151
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
152
152
|
end
|
@@ -311,7 +311,7 @@ module MergeAccountingClient
|
|
311
311
|
if @api_client.config.client_side_validation && id.nil?
|
312
312
|
fail ArgumentError, "Missing the required parameter 'id' when calling PurchaseOrdersApi.purchase_orders_retrieve"
|
313
313
|
end
|
314
|
-
allowable_values = ["company", "delivery_address", "delivery_address,company", "delivery_address,vendor", "delivery_address,vendor,company", "line_items", "line_items,company", "line_items,delivery_address", "line_items,delivery_address,company", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,company", "line_items,vendor", "line_items,vendor,company", "vendor", "vendor,company"]
|
314
|
+
allowable_values = ["company", "delivery_address", "delivery_address,company", "delivery_address,vendor", "delivery_address,vendor,company", "line_items", "line_items,company", "line_items,delivery_address", "line_items,delivery_address,company", "line_items,delivery_address,vendor", "line_items,delivery_address,vendor,company", "line_items,tracking_categories", "line_items,tracking_categories,company", "line_items,tracking_categories,delivery_address", "line_items,tracking_categories,delivery_address,company", "line_items,tracking_categories,delivery_address,vendor", "line_items,tracking_categories,delivery_address,vendor,company", "line_items,tracking_categories,vendor", "line_items,tracking_categories,vendor,company", "line_items,vendor", "line_items,vendor,company", "tracking_categories", "tracking_categories,company", "tracking_categories,delivery_address", "tracking_categories,delivery_address,company", "tracking_categories,delivery_address,vendor", "tracking_categories,delivery_address,vendor,company", "tracking_categories,vendor", "tracking_categories,vendor,company", "vendor", "vendor,company"]
|
315
315
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
316
316
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
317
317
|
end
|
@@ -19,7 +19,7 @@ module MergeAccountingClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
22
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`
|
23
23
|
# @param x_account_token [String] Token identifying the end user.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @option opts [String] :cursor The pagination cursor value.
|
@@ -30,7 +30,7 @@ module MergeAccountingClient
|
|
30
30
|
data
|
31
31
|
end
|
32
32
|
|
33
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
33
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PARTIALLY_SYNCED`, `PAUSED`, `SYNCING`
|
34
34
|
# @param x_account_token [String] Token identifying the end user.
|
35
35
|
# @param [Hash] opts the optional parameters
|
36
36
|
# @option opts [String] :cursor The pagination cursor value.
|
@@ -29,8 +29,8 @@ module MergeAccountingClient
|
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
30
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
31
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
35
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
36
36
|
# @return [PaginatedTaxRateList]
|
@@ -49,8 +49,8 @@ module MergeAccountingClient
|
|
49
49
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
50
50
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
51
51
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
52
|
-
# @option opts [Time] :modified_after If provided,
|
53
|
-
# @option opts [Time] :modified_before If provided,
|
52
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
53
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
54
54
|
# @option opts [Integer] :page_size Number of results to return per page.
|
55
55
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
56
56
|
# @return [Array<(PaginatedTaxRateList, Integer, Hash)>] PaginatedTaxRateList data, response status code and response headers
|
@@ -29,8 +29,8 @@ module MergeAccountingClient
|
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
30
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
31
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
35
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
36
36
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -51,8 +51,8 @@ module MergeAccountingClient
|
|
51
51
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
52
52
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
53
53
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
54
|
-
# @option opts [Time] :modified_after If provided,
|
55
|
-
# @option opts [Time] :modified_before If provided,
|
54
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
55
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
56
56
|
# @option opts [Integer] :page_size Number of results to return per page.
|
57
57
|
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
58
58
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
@@ -29,8 +29,8 @@ module MergeAccountingClient
|
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
30
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
31
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
35
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
36
36
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -51,8 +51,8 @@ module MergeAccountingClient
|
|
51
51
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
52
52
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
53
53
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
54
|
-
# @option opts [Time] :modified_after If provided,
|
55
|
-
# @option opts [Time] :modified_before If provided,
|
54
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
55
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
56
56
|
# @option opts [Integer] :page_size Number of results to return per page.
|
57
57
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
58
58
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -29,8 +29,8 @@ module MergeAccountingClient
|
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
30
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
31
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
35
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
36
36
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -51,8 +51,8 @@ module MergeAccountingClient
|
|
51
51
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
52
52
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
53
53
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
54
|
-
# @option opts [Time] :modified_after If provided,
|
55
|
-
# @option opts [Time] :modified_before If provided,
|
54
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
55
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
56
56
|
# @option opts [Integer] :page_size Number of results to return per page.
|
57
57
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
58
58
|
# @option opts [Time] :transaction_date_after If provided, will only return objects created after this datetime.
|
@@ -66,7 +66,7 @@ module MergeAccountingClient
|
|
66
66
|
if @api_client.config.client_side_validation && x_account_token.nil?
|
67
67
|
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling VendorCreditsApi.vendor_credits_list"
|
68
68
|
end
|
69
|
-
allowable_values = ["company", "lines", "lines,company", "lines,vendor", "lines,vendor,company", "vendor", "vendor,company"]
|
69
|
+
allowable_values = ["company", "lines", "lines,company", "lines,tracking_categories", "lines,tracking_categories,company", "lines,tracking_categories,vendor", "lines,tracking_categories,vendor,company", "lines,vendor", "lines,vendor,company", "tracking_categories", "tracking_categories,company", "tracking_categories,vendor", "tracking_categories,vendor,company", "vendor", "vendor,company"]
|
70
70
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
71
71
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
72
72
|
end
|
@@ -155,7 +155,7 @@ module MergeAccountingClient
|
|
155
155
|
if @api_client.config.client_side_validation && id.nil?
|
156
156
|
fail ArgumentError, "Missing the required parameter 'id' when calling VendorCreditsApi.vendor_credits_retrieve"
|
157
157
|
end
|
158
|
-
allowable_values = ["company", "lines", "lines,company", "lines,vendor", "lines,vendor,company", "vendor", "vendor,company"]
|
158
|
+
allowable_values = ["company", "lines", "lines,company", "lines,tracking_categories", "lines,tracking_categories,company", "lines,tracking_categories,vendor", "lines,tracking_categories,vendor,company", "lines,vendor", "lines,vendor,company", "tracking_categories", "tracking_categories,company", "tracking_categories,vendor", "tracking_categories,vendor,company", "vendor", "vendor,company"]
|
159
159
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
160
160
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
161
161
|
end
|
@@ -54,6 +54,9 @@ module MergeAccountingClient
|
|
54
54
|
# Indicates whether or not this object has been deleted by third party webhooks.
|
55
55
|
attr_accessor :remote_was_deleted
|
56
56
|
|
57
|
+
# This is the datetime that this object was last updated by Merge
|
58
|
+
attr_accessor :modified_at
|
59
|
+
|
57
60
|
attr_accessor :field_mappings
|
58
61
|
|
59
62
|
attr_accessor :remote_data
|
@@ -74,6 +77,7 @@ module MergeAccountingClient
|
|
74
77
|
:'parent_account' => :'parent_account',
|
75
78
|
:'company' => :'company',
|
76
79
|
:'remote_was_deleted' => :'remote_was_deleted',
|
80
|
+
:'modified_at' => :'modified_at',
|
77
81
|
:'field_mappings' => :'field_mappings',
|
78
82
|
:'remote_data' => :'remote_data'
|
79
83
|
}
|
@@ -100,6 +104,7 @@ module MergeAccountingClient
|
|
100
104
|
:'parent_account' => :'String',
|
101
105
|
:'company' => :'String',
|
102
106
|
:'remote_was_deleted' => :'Boolean',
|
107
|
+
:'modified_at' => :'Time',
|
103
108
|
:'field_mappings' => :'Hash<String, Object>',
|
104
109
|
:'remote_data' => :'Array<RemoteData>'
|
105
110
|
}
|
@@ -191,6 +196,10 @@ module MergeAccountingClient
|
|
191
196
|
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
192
197
|
end
|
193
198
|
|
199
|
+
if attributes.key?(:'modified_at')
|
200
|
+
self.modified_at = attributes[:'modified_at']
|
201
|
+
end
|
202
|
+
|
194
203
|
if attributes.key?(:'field_mappings')
|
195
204
|
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
196
205
|
self.field_mappings = value
|
@@ -235,6 +244,7 @@ module MergeAccountingClient
|
|
235
244
|
parent_account == o.parent_account &&
|
236
245
|
company == o.company &&
|
237
246
|
remote_was_deleted == o.remote_was_deleted &&
|
247
|
+
modified_at == o.modified_at &&
|
238
248
|
field_mappings == o.field_mappings &&
|
239
249
|
remote_data == o.remote_data
|
240
250
|
end
|
@@ -248,7 +258,7 @@ module MergeAccountingClient
|
|
248
258
|
# Calculates hash code according to all attributes.
|
249
259
|
# @return [Integer] Hash code
|
250
260
|
def hash
|
251
|
-
[id, remote_id, name, description, classification, type, status, current_balance, currency, account_number, parent_account, company, remote_was_deleted, field_mappings, remote_data].hash
|
261
|
+
[id, remote_id, name, description, classification, type, status, current_balance, currency, account_number, parent_account, company, remote_was_deleted, modified_at, field_mappings, remote_data].hash
|
252
262
|
end
|
253
263
|
|
254
264
|
# Builds the object from hash
|
@@ -32,6 +32,12 @@ module MergeAccountingClient
|
|
32
32
|
|
33
33
|
attr_accessor :slug
|
34
34
|
|
35
|
+
# If checked, this integration will not appear in the linking flow, and will appear elsewhere with a Beta tag.
|
36
|
+
attr_accessor :is_in_beta
|
37
|
+
|
38
|
+
# Mapping of API endpoints to documentation urls for support. Example: {'GET': [['/common-model-scopes', 'https://docs.merge.dev/accounting/common-model-scopes/#common_model_scopes_retrieve'],['/common-model-actions', 'https://docs.merge.dev/accounting/common-model-actions/#common_model_actions_retrieve']], 'POST': []}
|
39
|
+
attr_accessor :api_endpoints_to_documentation_urls
|
40
|
+
|
35
41
|
# Attribute mapping from ruby-style variable name to JSON key.
|
36
42
|
def self.attribute_map
|
37
43
|
{
|
@@ -40,7 +46,9 @@ module MergeAccountingClient
|
|
40
46
|
:'image' => :'image',
|
41
47
|
:'square_image' => :'square_image',
|
42
48
|
:'color' => :'color',
|
43
|
-
:'slug' => :'slug'
|
49
|
+
:'slug' => :'slug',
|
50
|
+
:'is_in_beta' => :'is_in_beta',
|
51
|
+
:'api_endpoints_to_documentation_urls' => :'api_endpoints_to_documentation_urls'
|
44
52
|
}
|
45
53
|
end
|
46
54
|
|
@@ -57,7 +65,9 @@ module MergeAccountingClient
|
|
57
65
|
:'image' => :'String',
|
58
66
|
:'square_image' => :'String',
|
59
67
|
:'color' => :'String',
|
60
|
-
:'slug' => :'String'
|
68
|
+
:'slug' => :'String',
|
69
|
+
:'is_in_beta' => :'Boolean',
|
70
|
+
:'api_endpoints_to_documentation_urls' => :'Hash<String, Object>'
|
61
71
|
}
|
62
72
|
end
|
63
73
|
|
@@ -109,6 +119,16 @@ module MergeAccountingClient
|
|
109
119
|
if attributes.key?(:'slug')
|
110
120
|
self.slug = attributes[:'slug']
|
111
121
|
end
|
122
|
+
|
123
|
+
if attributes.key?(:'is_in_beta')
|
124
|
+
self.is_in_beta = attributes[:'is_in_beta']
|
125
|
+
end
|
126
|
+
|
127
|
+
if attributes.key?(:'api_endpoints_to_documentation_urls')
|
128
|
+
if (value = attributes[:'api_endpoints_to_documentation_urls']).is_a?(Hash)
|
129
|
+
self.api_endpoints_to_documentation_urls = value
|
130
|
+
end
|
131
|
+
end
|
112
132
|
end
|
113
133
|
|
114
134
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -165,7 +185,9 @@ module MergeAccountingClient
|
|
165
185
|
image == o.image &&
|
166
186
|
square_image == o.square_image &&
|
167
187
|
color == o.color &&
|
168
|
-
slug == o.slug
|
188
|
+
slug == o.slug &&
|
189
|
+
is_in_beta == o.is_in_beta &&
|
190
|
+
api_endpoints_to_documentation_urls == o.api_endpoints_to_documentation_urls
|
169
191
|
end
|
170
192
|
|
171
193
|
# @see the `==` method
|
@@ -177,7 +199,7 @@ module MergeAccountingClient
|
|
177
199
|
# Calculates hash code according to all attributes.
|
178
200
|
# @return [Integer] Hash code
|
179
201
|
def hash
|
180
|
-
[name, categories, image, square_image, color, slug].hash
|
202
|
+
[name, categories, image, square_image, color, slug, is_in_beta, api_endpoints_to_documentation_urls].hash
|
181
203
|
end
|
182
204
|
|
183
205
|
# Builds the object from hash
|
@@ -33,6 +33,9 @@ module MergeAccountingClient
|
|
33
33
|
# Indicates whether or not this object has been deleted by third party webhooks.
|
34
34
|
attr_accessor :remote_was_deleted
|
35
35
|
|
36
|
+
# This is the datetime that this object was last updated by Merge
|
37
|
+
attr_accessor :modified_at
|
38
|
+
|
36
39
|
attr_accessor :field_mappings
|
37
40
|
|
38
41
|
attr_accessor :remote_data
|
@@ -46,6 +49,7 @@ module MergeAccountingClient
|
|
46
49
|
:'file_url' => :'file_url',
|
47
50
|
:'company' => :'company',
|
48
51
|
:'remote_was_deleted' => :'remote_was_deleted',
|
52
|
+
:'modified_at' => :'modified_at',
|
49
53
|
:'field_mappings' => :'field_mappings',
|
50
54
|
:'remote_data' => :'remote_data'
|
51
55
|
}
|
@@ -65,6 +69,7 @@ module MergeAccountingClient
|
|
65
69
|
:'file_url' => :'String',
|
66
70
|
:'company' => :'String',
|
67
71
|
:'remote_was_deleted' => :'Boolean',
|
72
|
+
:'modified_at' => :'Time',
|
68
73
|
:'field_mappings' => :'Hash<String, Object>',
|
69
74
|
:'remote_data' => :'Array<RemoteData>'
|
70
75
|
}
|
@@ -121,6 +126,10 @@ module MergeAccountingClient
|
|
121
126
|
self.remote_was_deleted = attributes[:'remote_was_deleted']
|
122
127
|
end
|
123
128
|
|
129
|
+
if attributes.key?(:'modified_at')
|
130
|
+
self.modified_at = attributes[:'modified_at']
|
131
|
+
end
|
132
|
+
|
124
133
|
if attributes.key?(:'field_mappings')
|
125
134
|
if (value = attributes[:'field_mappings']).is_a?(Hash)
|
126
135
|
self.field_mappings = value
|
@@ -173,6 +182,7 @@ module MergeAccountingClient
|
|
173
182
|
file_url == o.file_url &&
|
174
183
|
company == o.company &&
|
175
184
|
remote_was_deleted == o.remote_was_deleted &&
|
185
|
+
modified_at == o.modified_at &&
|
176
186
|
field_mappings == o.field_mappings &&
|
177
187
|
remote_data == o.remote_data
|
178
188
|
end
|
@@ -186,7 +196,7 @@ module MergeAccountingClient
|
|
186
196
|
# Calculates hash code according to all attributes.
|
187
197
|
# @return [Integer] Hash code
|
188
198
|
def hash
|
189
|
-
[id, remote_id, file_name, file_url, company, remote_was_deleted, field_mappings, remote_data].hash
|
199
|
+
[id, remote_id, file_name, file_url, company, remote_was_deleted, modified_at, field_mappings, remote_data].hash
|
190
200
|
end
|
191
201
|
|
192
202
|
# Builds the object from hash
|
@@ -22,11 +22,15 @@ module MergeAccountingClient
|
|
22
22
|
# The phone number's type.
|
23
23
|
attr_accessor :type
|
24
24
|
|
25
|
+
# This is the datetime that this object was last updated by Merge
|
26
|
+
attr_accessor :modified_at
|
27
|
+
|
25
28
|
# Attribute mapping from ruby-style variable name to JSON key.
|
26
29
|
def self.attribute_map
|
27
30
|
{
|
28
31
|
:'number' => :'number',
|
29
|
-
:'type' => :'type'
|
32
|
+
:'type' => :'type',
|
33
|
+
:'modified_at' => :'modified_at'
|
30
34
|
}
|
31
35
|
end
|
32
36
|
|
@@ -39,7 +43,8 @@ module MergeAccountingClient
|
|
39
43
|
def self.openapi_types
|
40
44
|
{
|
41
45
|
:'number' => :'String',
|
42
|
-
:'type' => :'String'
|
46
|
+
:'type' => :'String',
|
47
|
+
:'modified_at' => :'Time'
|
43
48
|
}
|
44
49
|
end
|
45
50
|
|
@@ -47,7 +52,7 @@ module MergeAccountingClient
|
|
47
52
|
def self.openapi_nullable
|
48
53
|
Set.new([
|
49
54
|
:'number',
|
50
|
-
:'type'
|
55
|
+
:'type',
|
51
56
|
])
|
52
57
|
end
|
53
58
|
|
@@ -73,6 +78,10 @@ module MergeAccountingClient
|
|
73
78
|
if attributes.key?(:'type')
|
74
79
|
self.type = attributes[:'type']
|
75
80
|
end
|
81
|
+
|
82
|
+
if attributes.key?(:'modified_at')
|
83
|
+
self.modified_at = attributes[:'modified_at']
|
84
|
+
end
|
76
85
|
end
|
77
86
|
|
78
87
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -94,7 +103,8 @@ module MergeAccountingClient
|
|
94
103
|
return true if self.equal?(o)
|
95
104
|
self.class == o.class &&
|
96
105
|
number == o.number &&
|
97
|
-
type == o.type
|
106
|
+
type == o.type &&
|
107
|
+
modified_at == o.modified_at
|
98
108
|
end
|
99
109
|
|
100
110
|
# @see the `==` method
|
@@ -106,7 +116,7 @@ module MergeAccountingClient
|
|
106
116
|
# Calculates hash code according to all attributes.
|
107
117
|
# @return [Integer] Hash code
|
108
118
|
def hash
|
109
|
-
[number, type].hash
|
119
|
+
[number, type, modified_at].hash
|
110
120
|
end
|
111
121
|
|
112
122
|
# Builds the object from hash
|
@@ -40,6 +40,9 @@ module MergeAccountingClient
|
|
40
40
|
# The address's zip code.
|
41
41
|
attr_accessor :zip_code
|
42
42
|
|
43
|
+
# This is the datetime that this object was last updated by Merge
|
44
|
+
attr_accessor :modified_at
|
45
|
+
|
43
46
|
# Attribute mapping from ruby-style variable name to JSON key.
|
44
47
|
def self.attribute_map
|
45
48
|
{
|
@@ -50,7 +53,8 @@ module MergeAccountingClient
|
|
50
53
|
:'state' => :'state',
|
51
54
|
:'country_subdivision' => :'country_subdivision',
|
52
55
|
:'country' => :'country',
|
53
|
-
:'zip_code' => :'zip_code'
|
56
|
+
:'zip_code' => :'zip_code',
|
57
|
+
:'modified_at' => :'modified_at'
|
54
58
|
}
|
55
59
|
end
|
56
60
|
|
@@ -69,7 +73,8 @@ module MergeAccountingClient
|
|
69
73
|
:'state' => :'Object',
|
70
74
|
:'country_subdivision' => :'String',
|
71
75
|
:'country' => :'CountryEnum',
|
72
|
-
:'zip_code' => :'String'
|
76
|
+
:'zip_code' => :'String',
|
77
|
+
:'modified_at' => :'Time'
|
73
78
|
}
|
74
79
|
end
|
75
80
|
|
@@ -83,7 +88,7 @@ module MergeAccountingClient
|
|
83
88
|
:'state',
|
84
89
|
:'country_subdivision',
|
85
90
|
:'country',
|
86
|
-
:'zip_code'
|
91
|
+
:'zip_code',
|
87
92
|
])
|
88
93
|
end
|
89
94
|
|
@@ -133,6 +138,10 @@ module MergeAccountingClient
|
|
133
138
|
if attributes.key?(:'zip_code')
|
134
139
|
self.zip_code = attributes[:'zip_code']
|
135
140
|
end
|
141
|
+
|
142
|
+
if attributes.key?(:'modified_at')
|
143
|
+
self.modified_at = attributes[:'modified_at']
|
144
|
+
end
|
136
145
|
end
|
137
146
|
|
138
147
|
# Show invalid properties with the reasons. Usually used together with valid?
|
@@ -160,7 +169,8 @@ module MergeAccountingClient
|
|
160
169
|
state == o.state &&
|
161
170
|
country_subdivision == o.country_subdivision &&
|
162
171
|
country == o.country &&
|
163
|
-
zip_code == o.zip_code
|
172
|
+
zip_code == o.zip_code &&
|
173
|
+
modified_at == o.modified_at
|
164
174
|
end
|
165
175
|
|
166
176
|
# @see the `==` method
|
@@ -172,7 +182,7 @@ module MergeAccountingClient
|
|
172
182
|
# Calculates hash code according to all attributes.
|
173
183
|
# @return [Integer] Hash code
|
174
184
|
def hash
|
175
|
-
[type, street_1, street_2, city, state, country_subdivision, country, zip_code].hash
|
185
|
+
[type, street_1, street_2, city, state, country_subdivision, country, zip_code, modified_at].hash
|
176
186
|
end
|
177
187
|
|
178
188
|
# Builds the object from hash
|