merge_ruby_client 0.1.2 → 0.1.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/merge_ruby_client/accounting/account_details/client.rb +26 -6
- data/lib/merge_ruby_client/accounting/account_token/client.rb +26 -6
- data/lib/merge_ruby_client/accounting/accounting_periods/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/accounts/client.rb +80 -24
- data/lib/merge_ruby_client/accounting/addresses/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/async_passthrough/client.rb +46 -12
- data/lib/merge_ruby_client/accounting/attachments/client.rb +80 -24
- data/lib/merge_ruby_client/accounting/audit_trail/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/available_actions/client.rb +26 -6
- data/lib/merge_ruby_client/accounting/balance_sheets/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/cash_flow_statements/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/company_info/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/contacts/client.rb +80 -24
- data/lib/merge_ruby_client/accounting/credit_notes/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/delete_account/client.rb +26 -6
- data/lib/merge_ruby_client/accounting/expenses/client.rb +80 -24
- data/lib/merge_ruby_client/accounting/field_mapping/client.rb +138 -36
- data/lib/merge_ruby_client/accounting/force_resync/client.rb +32 -12
- data/lib/merge_ruby_client/accounting/generate_key/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/income_statements/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/invoices/client.rb +120 -36
- data/lib/merge_ruby_client/accounting/issues/client.rb +46 -12
- data/lib/merge_ruby_client/accounting/items/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/journal_entries/client.rb +80 -24
- data/lib/merge_ruby_client/accounting/link_token/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/linked_accounts/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/passthrough/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/payments/client.rb +120 -36
- data/lib/merge_ruby_client/accounting/phone_numbers/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/purchase_orders/client.rb +80 -24
- data/lib/merge_ruby_client/accounting/regenerate_key/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/scopes/client.rb +72 -18
- data/lib/merge_ruby_client/accounting/sync_status/client.rb +20 -6
- data/lib/merge_ruby_client/accounting/tax_rates/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/tracking_categories/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/transactions/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/types/account.rb +17 -17
- data/lib/merge_ruby_client/accounting/types/account_details.rb +12 -11
- data/lib/merge_ruby_client/accounting/types/account_details_and_actions.rb +11 -11
- data/lib/merge_ruby_client/accounting/types/account_details_and_actions_integration.rb +10 -10
- data/lib/merge_ruby_client/accounting/types/account_integration.rb +10 -9
- data/lib/merge_ruby_client/accounting/types/account_request.rb +13 -12
- data/lib/merge_ruby_client/accounting/types/account_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/account_token.rb +1 -1
- data/lib/merge_ruby_client/accounting/types/accounting_attachment.rb +10 -10
- data/lib/merge_ruby_client/accounting/types/accounting_attachment_request.rb +6 -5
- data/lib/merge_ruby_client/accounting/types/accounting_attachment_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/accounting_period.rb +3 -3
- data/lib/merge_ruby_client/accounting/types/accounting_phone_number.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/accounting_phone_number_request.rb +5 -4
- data/lib/merge_ruby_client/accounting/types/address.rb +8 -8
- data/lib/merge_ruby_client/accounting/types/address_request.rb +10 -9
- data/lib/merge_ruby_client/accounting/types/advanced_metadata.rb +7 -6
- data/lib/merge_ruby_client/accounting/types/async_passthrough_reciept.rb +2 -1
- data/lib/merge_ruby_client/accounting/types/audit_log_event.rb +7 -7
- data/lib/merge_ruby_client/accounting/types/available_actions.rb +4 -4
- data/lib/merge_ruby_client/accounting/types/balance_sheet.rb +19 -19
- data/lib/merge_ruby_client/accounting/types/balance_sheet_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/cash_flow_statement.rb +20 -20
- data/lib/merge_ruby_client/accounting/types/cash_flow_statement_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/common_model_scope_api.rb +3 -3
- data/lib/merge_ruby_client/accounting/types/common_model_scopes_body_request.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/company_info.rb +20 -20
- data/lib/merge_ruby_client/accounting/types/contact.rb +21 -21
- data/lib/merge_ruby_client/accounting/types/contact_addresses_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/contact_request.rb +16 -16
- data/lib/merge_ruby_client/accounting/types/contact_request_addresses_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/contact_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/credit_note.rb +25 -25
- data/lib/merge_ruby_client/accounting/types/credit_note_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_applied_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb +12 -12
- data/lib/merge_ruby_client/accounting/types/credit_note_line_item_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_line_item_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/credit_note_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/data_passthrough_request.rb +10 -10
- data/lib/merge_ruby_client/accounting/types/debug_mode_log.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/debug_model_log_summary.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/error_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/accounting/types/expense.rb +19 -19
- data/lib/merge_ruby_client/accounting/types/expense_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line.rb +11 -11
- data/lib/merge_ruby_client/accounting/types/expense_line_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_request.rb +11 -11
- data/lib/merge_ruby_client/accounting/types/expense_line_request_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_request_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_request_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_request_tracking_category.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_line_tracking_category.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_request.rb +14 -14
- data/lib/merge_ruby_client/accounting/types/expense_request_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_request_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_request_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_request_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/expense_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/expense_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/external_target_field_api.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/external_target_field_api_response.rb +57 -57
- data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_remote_field.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_response.rb +57 -57
- data/lib/merge_ruby_client/accounting/types/field_mapping_api_instance_target_field.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/field_mapping_instance_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/field_permission_deserializer.rb +3 -2
- data/lib/merge_ruby_client/accounting/types/field_permission_deserializer_request.rb +3 -2
- data/lib/merge_ruby_client/accounting/types/income_statement.rb +24 -24
- data/lib/merge_ruby_client/accounting/types/income_statement_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/individual_common_model_scope_deserializer.rb +4 -4
- data/lib/merge_ruby_client/accounting/types/individual_common_model_scope_deserializer_request.rb +4 -4
- data/lib/merge_ruby_client/accounting/types/invoice.rb +33 -33
- data/lib/merge_ruby_client/accounting/types/invoice_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_applied_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item.rb +14 -14
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_request.rb +13 -13
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_request_tracking_category.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_line_item_tracking_category.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_purchase_orders_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_request.rb +25 -25
- data/lib/merge_ruby_client/accounting/types/invoice_request_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_request_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_request_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_request_purchase_orders_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/invoice_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/invoice_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/issue.rb +6 -6
- data/lib/merge_ruby_client/accounting/types/item.rb +11 -11
- data/lib/merge_ruby_client/accounting/types/item_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/item_purchase_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/item_sales_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry.rb +24 -24
- data/lib/merge_ruby_client/accounting/types/journal_entry_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_applied_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_request.rb +16 -16
- data/lib/merge_ruby_client/accounting/types/journal_entry_request_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_request_payments_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_entry_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/journal_entry_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_line.rb +12 -12
- data/lib/merge_ruby_client/accounting/types/journal_line_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_line_request.rb +12 -12
- data/lib/merge_ruby_client/accounting/types/journal_line_request_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_line_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_line_request_tracking_category.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_line_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/journal_line_tracking_category.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/link_token.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/linked_account_status.rb +3 -2
- data/lib/merge_ruby_client/accounting/types/meta_response.rb +4 -4
- data/lib/merge_ruby_client/accounting/types/model_operation.rb +5 -4
- data/lib/merge_ruby_client/accounting/types/model_permission_deserializer.rb +2 -1
- data/lib/merge_ruby_client/accounting/types/model_permission_deserializer_request.rb +2 -1
- data/lib/merge_ruby_client/accounting/types/multipart_form_field_request.rb +6 -5
- data/lib/merge_ruby_client/accounting/types/paginated_account_details_and_actions_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_account_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_accounting_attachment_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_accounting_period_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_audit_log_event_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_balance_sheet_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_cash_flow_statement_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_company_info_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_contact_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_credit_note_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_expense_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_income_statement_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_invoice_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_issue_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_item_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_journal_entry_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_payment_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_purchase_order_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_sync_status_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_tax_rate_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_tracking_category_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_transaction_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/paginated_vendor_credit_list.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/patched_payment_request.rb +12 -12
- data/lib/merge_ruby_client/accounting/types/patched_payment_request_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/patched_payment_request_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/patched_payment_request_applied_to_lines_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/patched_payment_request_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/patched_payment_request_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/patched_payment_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment.rb +17 -17
- data/lib/merge_ruby_client/accounting/types/payment_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_applied_to_lines_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_line_item.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/payment_line_item_request.rb +6 -6
- data/lib/merge_ruby_client/accounting/types/payment_request.rb +12 -12
- data/lib/merge_ruby_client/accounting/types/payment_request_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_request_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_request_applied_to_lines_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_request_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_request_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/payment_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/payment_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order.rb +20 -20
- data/lib/merge_ruby_client/accounting/types/purchase_order_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_delivery_address.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_line_item.rb +14 -14
- data/lib/merge_ruby_client/accounting/types/purchase_order_line_item_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request.rb +14 -14
- data/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_request.rb +14 -14
- data/lib/merge_ruby_client/accounting/types/purchase_order_request_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_request_delivery_address.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_request_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_request_vendor.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_response.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/purchase_order_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/purchase_order_vendor.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/remote_data.rb +3 -2
- data/lib/merge_ruby_client/accounting/types/remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/accounting/types/remote_field_api.rb +3 -3
- data/lib/merge_ruby_client/accounting/types/remote_field_api_coverage.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/remote_field_api_response.rb +57 -57
- data/lib/merge_ruby_client/accounting/types/remote_key.rb +3 -2
- data/lib/merge_ruby_client/accounting/types/remote_response.rb +8 -7
- data/lib/merge_ruby_client/accounting/types/report_item.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/request_format_enum.rb +1 -1
- data/lib/merge_ruby_client/accounting/types/response_type_enum.rb +1 -1
- data/lib/merge_ruby_client/accounting/types/sync_status.rb +5 -5
- data/lib/merge_ruby_client/accounting/types/tax_rate.rb +10 -10
- data/lib/merge_ruby_client/accounting/types/tax_rate_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/tracking_category.rb +11 -11
- data/lib/merge_ruby_client/accounting/types/tracking_category_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/transaction.rb +19 -19
- data/lib/merge_ruby_client/accounting/types/transaction_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/transaction_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/transaction_contact.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/transaction_line_item.rb +14 -14
- data/lib/merge_ruby_client/accounting/types/transaction_line_item_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/transaction_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/validation_problem_source.rb +2 -1
- data/lib/merge_ruby_client/accounting/types/vendor_credit.rb +17 -17
- data/lib/merge_ruby_client/accounting/types/vendor_credit_accounting_period.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/vendor_credit_company.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb +9 -9
- data/lib/merge_ruby_client/accounting/types/vendor_credit_line_account.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/vendor_credit_tracking_categories_item.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/vendor_credit_vendor.rb +2 -2
- data/lib/merge_ruby_client/accounting/types/warning_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/accounting/types/webhook_receiver.rb +4 -3
- data/lib/merge_ruby_client/accounting/vendor_credits/client.rb +40 -12
- data/lib/merge_ruby_client/accounting/webhook_receivers/client.rb +52 -18
- data/lib/merge_ruby_client/ats/account_details/client.rb +26 -6
- data/lib/merge_ruby_client/ats/account_token/client.rb +26 -6
- data/lib/merge_ruby_client/ats/activities/client.rb +80 -24
- data/lib/merge_ruby_client/ats/applications/client.rb +90 -30
- data/lib/merge_ruby_client/ats/applications/types/applications_list_request_expand.rb +192 -0
- data/lib/merge_ruby_client/ats/applications/types/applications_retrieve_request_expand.rb +192 -0
- data/lib/merge_ruby_client/ats/async_passthrough/client.rb +46 -12
- data/lib/merge_ruby_client/ats/attachments/client.rb +80 -24
- data/lib/merge_ruby_client/ats/audit_trail/client.rb +24 -8
- data/lib/merge_ruby_client/ats/available_actions/client.rb +26 -6
- data/lib/merge_ruby_client/ats/candidates/client.rb +140 -42
- data/lib/merge_ruby_client/ats/delete_account/client.rb +26 -6
- data/lib/merge_ruby_client/ats/departments/client.rb +40 -12
- data/lib/merge_ruby_client/ats/eeocs/client.rb +40 -12
- data/lib/merge_ruby_client/ats/field_mapping/client.rb +138 -36
- data/lib/merge_ruby_client/ats/force_resync/client.rb +32 -12
- data/lib/merge_ruby_client/ats/generate_key/client.rb +20 -6
- data/lib/merge_ruby_client/ats/interviews/client.rb +80 -24
- data/lib/merge_ruby_client/ats/issues/client.rb +56 -16
- data/lib/merge_ruby_client/ats/job_interview_stages/client.rb +40 -12
- data/lib/merge_ruby_client/ats/job_postings/client.rb +40 -12
- data/lib/merge_ruby_client/ats/jobs/client.rb +60 -18
- data/lib/merge_ruby_client/ats/link_token/client.rb +30 -8
- data/lib/merge_ruby_client/ats/linked_accounts/client.rb +20 -6
- data/lib/merge_ruby_client/ats/offers/client.rb +40 -12
- data/lib/merge_ruby_client/ats/offices/client.rb +40 -12
- data/lib/merge_ruby_client/ats/passthrough/client.rb +20 -6
- data/lib/merge_ruby_client/ats/regenerate_key/client.rb +20 -6
- data/lib/merge_ruby_client/ats/reject_reasons/client.rb +40 -12
- data/lib/merge_ruby_client/ats/scopes/client.rb +72 -18
- data/lib/merge_ruby_client/ats/scorecards/client.rb +40 -12
- data/lib/merge_ruby_client/ats/sync_status/client.rb +20 -6
- data/lib/merge_ruby_client/ats/tags/client.rb +20 -6
- data/lib/merge_ruby_client/ats/types/account_details.rb +12 -11
- data/lib/merge_ruby_client/ats/types/account_details_and_actions.rb +11 -11
- data/lib/merge_ruby_client/ats/types/account_details_and_actions_integration.rb +10 -10
- data/lib/merge_ruby_client/ats/types/account_integration.rb +26 -11
- data/lib/merge_ruby_client/ats/types/account_token.rb +1 -1
- data/lib/merge_ruby_client/ats/types/activity.rb +14 -14
- data/lib/merge_ruby_client/ats/types/activity_request.rb +9 -9
- data/lib/merge_ruby_client/ats/types/activity_request_user.rb +2 -2
- data/lib/merge_ruby_client/ats/types/activity_response.rb +9 -9
- data/lib/merge_ruby_client/ats/types/activity_user.rb +2 -2
- data/lib/merge_ruby_client/ats/types/advanced_metadata.rb +7 -6
- data/lib/merge_ruby_client/ats/types/application.rb +24 -12
- data/lib/merge_ruby_client/ats/types/application_candidate.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_credited_to.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_current_stage.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_job.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_offers_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_reject_reason.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request.rb +20 -8
- data/lib/merge_ruby_client/ats/types/application_request_candidate.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request_credited_to.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request_current_stage.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request_job.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request_offers_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request_reject_reason.rb +2 -2
- data/lib/merge_ruby_client/ats/types/application_request_screening_question_answers_item.rb +56 -0
- data/lib/merge_ruby_client/ats/types/application_response.rb +9 -9
- data/lib/merge_ruby_client/ats/types/application_screening_question_answers_item.rb +56 -0
- data/lib/merge_ruby_client/ats/types/async_passthrough_reciept.rb +2 -1
- data/lib/merge_ruby_client/ats/types/attachment.rb +11 -11
- data/lib/merge_ruby_client/ats/types/attachment_request.rb +7 -6
- data/lib/merge_ruby_client/ats/types/attachment_response.rb +9 -9
- data/lib/merge_ruby_client/ats/types/audit_log_event.rb +9 -7
- data/lib/merge_ruby_client/ats/types/available_actions.rb +4 -4
- data/lib/merge_ruby_client/ats/types/candidate.rb +30 -30
- data/lib/merge_ruby_client/ats/types/candidate_applications_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/candidate_attachments_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/candidate_request.rb +26 -26
- data/lib/merge_ruby_client/ats/types/candidate_request_applications_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/candidate_request_attachments_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/candidate_response.rb +9 -9
- data/lib/merge_ruby_client/ats/types/common_model_scope_api.rb +3 -3
- data/lib/merge_ruby_client/ats/types/common_model_scopes_body_request.rb +4 -3
- data/lib/merge_ruby_client/ats/types/data_passthrough_request.rb +10 -10
- data/lib/merge_ruby_client/ats/types/debug_mode_log.rb +2 -2
- data/lib/merge_ruby_client/ats/types/debug_model_log_summary.rb +4 -3
- data/lib/merge_ruby_client/ats/types/department.rb +8 -8
- data/lib/merge_ruby_client/ats/types/eeoc.rb +11 -11
- data/lib/merge_ruby_client/ats/types/eeoc_candidate.rb +2 -2
- data/lib/merge_ruby_client/ats/types/email_address.rb +14 -4
- data/lib/merge_ruby_client/ats/types/email_address_request.rb +5 -4
- data/lib/merge_ruby_client/ats/types/error_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/ats/types/event_type_enum.rb +2 -0
- data/lib/merge_ruby_client/ats/types/external_target_field_api.rb +4 -3
- data/lib/merge_ruby_client/ats/types/external_target_field_api_response.rb +48 -48
- data/lib/merge_ruby_client/ats/types/field_mapping_api_instance.rb +2 -2
- data/lib/merge_ruby_client/ats/types/field_mapping_api_instance_remote_field.rb +2 -2
- data/lib/merge_ruby_client/ats/types/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/ats/types/field_mapping_api_instance_response.rb +48 -48
- data/lib/merge_ruby_client/ats/types/field_mapping_api_instance_target_field.rb +4 -3
- data/lib/merge_ruby_client/ats/types/field_mapping_instance_response.rb +9 -9
- data/lib/merge_ruby_client/ats/types/field_permission_deserializer.rb +3 -2
- data/lib/merge_ruby_client/ats/types/field_permission_deserializer_request.rb +3 -2
- data/lib/merge_ruby_client/ats/types/individual_common_model_scope_deserializer.rb +4 -4
- data/lib/merge_ruby_client/ats/types/individual_common_model_scope_deserializer_request.rb +4 -4
- data/lib/merge_ruby_client/ats/types/issue.rb +6 -6
- data/lib/merge_ruby_client/ats/types/job.rb +29 -29
- data/lib/merge_ruby_client/ats/types/job_departments_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/job_hiring_managers_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/job_interview_stage.rb +9 -9
- data/lib/merge_ruby_client/ats/types/job_interview_stage_job.rb +2 -2
- data/lib/merge_ruby_client/ats/types/job_offices_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/job_posting.rb +14 -14
- data/lib/merge_ruby_client/ats/types/job_posting_job.rb +2 -2
- data/lib/merge_ruby_client/ats/types/job_posting_job_posting_urls_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/job_recruiters_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/link_token.rb +4 -3
- data/lib/merge_ruby_client/ats/types/linked_account_status.rb +3 -2
- data/lib/merge_ruby_client/ats/types/meta_response.rb +4 -4
- data/lib/merge_ruby_client/ats/types/model_operation.rb +5 -4
- data/lib/merge_ruby_client/ats/types/model_permission_deserializer.rb +2 -1
- data/lib/merge_ruby_client/ats/types/model_permission_deserializer_request.rb +2 -1
- data/lib/merge_ruby_client/ats/types/multipart_form_field_request.rb +6 -5
- data/lib/merge_ruby_client/ats/types/offer.rb +8 -8
- data/lib/merge_ruby_client/ats/types/offer_application.rb +2 -2
- data/lib/merge_ruby_client/ats/types/offer_creator.rb +2 -2
- data/lib/merge_ruby_client/ats/types/office.rb +9 -9
- data/lib/merge_ruby_client/ats/types/paginated_account_details_and_actions_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_activity_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_application_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_attachment_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_audit_log_event_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_candidate_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_department_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_eeoc_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_issue_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_job_interview_stage_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_job_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_job_posting_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_offer_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_office_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_reject_reason_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_remote_user_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_scheduled_interview_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_scorecard_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_screening_question_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_sync_status_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/paginated_tag_list.rb +5 -5
- data/lib/merge_ruby_client/ats/types/patched_candidate_request.rb +22 -22
- data/lib/merge_ruby_client/ats/types/phone_number.rb +14 -4
- data/lib/merge_ruby_client/ats/types/phone_number_request.rb +5 -4
- data/lib/merge_ruby_client/ats/types/reject_reason.rb +8 -8
- data/lib/merge_ruby_client/ats/types/remote_data.rb +3 -2
- data/lib/merge_ruby_client/ats/types/remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/ats/types/remote_field_api.rb +6 -6
- data/lib/merge_ruby_client/ats/types/remote_field_api_coverage.rb +2 -2
- data/lib/merge_ruby_client/ats/types/remote_field_api_response.rb +48 -48
- data/lib/merge_ruby_client/ats/types/remote_key.rb +3 -2
- data/lib/merge_ruby_client/ats/types/remote_response.rb +8 -7
- data/lib/merge_ruby_client/ats/types/remote_user.rb +12 -12
- data/lib/merge_ruby_client/ats/types/request_format_enum.rb +1 -1
- data/lib/merge_ruby_client/ats/types/response_type_enum.rb +1 -1
- data/lib/merge_ruby_client/ats/types/scheduled_interview.rb +12 -12
- data/lib/merge_ruby_client/ats/types/scheduled_interview_application.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_interviewers_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_job_interview_stage.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_organizer.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_request.rb +7 -7
- data/lib/merge_ruby_client/ats/types/scheduled_interview_request_application.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_request_interviewers_item.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_request_job_interview_stage.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_request_organizer.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scheduled_interview_response.rb +9 -9
- data/lib/merge_ruby_client/ats/types/scorecard.rb +8 -8
- data/lib/merge_ruby_client/ats/types/scorecard_application.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scorecard_interview.rb +2 -2
- data/lib/merge_ruby_client/ats/types/scorecard_interviewer.rb +2 -2
- data/lib/merge_ruby_client/ats/types/screening_question.rb +19 -9
- data/lib/merge_ruby_client/ats/types/screening_question_answer.rb +132 -0
- data/lib/merge_ruby_client/ats/types/screening_question_answer_question.rb +58 -0
- data/lib/merge_ruby_client/ats/types/screening_question_answer_request.rb +113 -0
- data/lib/merge_ruby_client/ats/types/screening_question_answer_request_question.rb +59 -0
- data/lib/merge_ruby_client/ats/types/screening_question_job.rb +2 -2
- data/lib/merge_ruby_client/ats/types/screening_question_option.rb +15 -5
- data/lib/merge_ruby_client/ats/types/sync_status.rb +5 -5
- data/lib/merge_ruby_client/ats/types/tag.rb +5 -5
- data/lib/merge_ruby_client/ats/types/url.rb +15 -4
- data/lib/merge_ruby_client/ats/types/url_request.rb +5 -4
- data/lib/merge_ruby_client/ats/types/validation_problem_source.rb +2 -1
- data/lib/merge_ruby_client/ats/types/warning_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/ats/types/webhook_receiver.rb +4 -3
- data/lib/merge_ruby_client/ats/users/client.rb +40 -12
- data/lib/merge_ruby_client/ats/webhook_receivers/client.rb +52 -18
- data/lib/merge_ruby_client/crm/account_details/client.rb +26 -6
- data/lib/merge_ruby_client/crm/account_token/client.rb +26 -6
- data/lib/merge_ruby_client/crm/accounts/client.rb +148 -44
- data/lib/merge_ruby_client/crm/association_types/client.rb +80 -24
- data/lib/merge_ruby_client/crm/associations/client.rb +40 -12
- data/lib/merge_ruby_client/crm/async_passthrough/client.rb +46 -12
- data/lib/merge_ruby_client/crm/audit_trail/client.rb +24 -8
- data/lib/merge_ruby_client/crm/available_actions/client.rb +26 -6
- data/lib/merge_ruby_client/crm/contacts/client.rb +168 -50
- data/lib/merge_ruby_client/crm/custom_object_classes/client.rb +40 -12
- data/lib/merge_ruby_client/crm/custom_objects/client.rb +179 -24
- data/lib/merge_ruby_client/crm/delete_account/client.rb +26 -6
- data/lib/merge_ruby_client/crm/engagement_types/client.rb +68 -20
- data/lib/merge_ruby_client/crm/engagements/client.rb +148 -44
- data/lib/merge_ruby_client/crm/field_mapping/client.rb +138 -36
- data/lib/merge_ruby_client/crm/force_resync/client.rb +32 -12
- data/lib/merge_ruby_client/crm/generate_key/client.rb +20 -6
- data/lib/merge_ruby_client/crm/issues/client.rb +56 -16
- data/lib/merge_ruby_client/crm/leads/client.rb +108 -32
- data/lib/merge_ruby_client/crm/link_token/client.rb +30 -8
- data/lib/merge_ruby_client/crm/linked_accounts/client.rb +20 -6
- data/lib/merge_ruby_client/crm/notes/client.rb +108 -32
- data/lib/merge_ruby_client/crm/opportunities/client.rb +156 -46
- data/lib/merge_ruby_client/crm/passthrough/client.rb +20 -6
- data/lib/merge_ruby_client/crm/regenerate_key/client.rb +20 -6
- data/lib/merge_ruby_client/crm/scopes/client.rb +72 -18
- data/lib/merge_ruby_client/crm/stages/client.rb +68 -20
- data/lib/merge_ruby_client/crm/sync_status/client.rb +20 -6
- data/lib/merge_ruby_client/crm/tasks/client.rb +148 -44
- data/lib/merge_ruby_client/crm/types/account.rb +21 -21
- data/lib/merge_ruby_client/crm/types/account_details.rb +12 -11
- data/lib/merge_ruby_client/crm/types/account_details_and_actions.rb +11 -11
- data/lib/merge_ruby_client/crm/types/account_details_and_actions_integration.rb +10 -10
- data/lib/merge_ruby_client/crm/types/account_integration.rb +26 -11
- data/lib/merge_ruby_client/crm/types/account_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/account_request.rb +13 -13
- data/lib/merge_ruby_client/crm/types/account_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/account_token.rb +1 -1
- data/lib/merge_ruby_client/crm/types/address.rb +7 -7
- data/lib/merge_ruby_client/crm/types/address_request.rb +10 -9
- data/lib/merge_ruby_client/crm/types/advanced_metadata.rb +7 -6
- data/lib/merge_ruby_client/crm/types/association.rb +8 -8
- data/lib/merge_ruby_client/crm/types/association_association_type.rb +2 -2
- data/lib/merge_ruby_client/crm/types/association_sub_type.rb +2 -2
- data/lib/merge_ruby_client/crm/types/association_type.rb +10 -10
- data/lib/merge_ruby_client/crm/types/association_type_request_request.rb +7 -7
- data/lib/merge_ruby_client/crm/types/async_passthrough_reciept.rb +2 -1
- data/lib/merge_ruby_client/crm/types/audit_log_event.rb +9 -7
- data/lib/merge_ruby_client/crm/types/available_actions.rb +4 -4
- data/lib/merge_ruby_client/crm/types/common_model_scope_api.rb +3 -3
- data/lib/merge_ruby_client/crm/types/common_model_scopes_body_request.rb +4 -3
- data/lib/merge_ruby_client/crm/types/contact.rb +21 -21
- data/lib/merge_ruby_client/crm/types/contact_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/contact_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/contact_request.rb +16 -16
- data/lib/merge_ruby_client/crm/types/contact_request_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/contact_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/crm_account_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/crm_association_type_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/crm_contact_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/crm_custom_object_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/custom_object.rb +7 -7
- data/lib/merge_ruby_client/crm/types/custom_object_class.rb +9 -9
- data/lib/merge_ruby_client/crm/types/custom_object_request.rb +2 -1
- data/lib/merge_ruby_client/crm/types/data_passthrough_request.rb +10 -10
- data/lib/merge_ruby_client/crm/types/debug_mode_log.rb +2 -2
- data/lib/merge_ruby_client/crm/types/debug_model_log_summary.rb +4 -3
- data/lib/merge_ruby_client/crm/types/email_address.rb +2 -2
- data/lib/merge_ruby_client/crm/types/email_address_request.rb +5 -4
- data/lib/merge_ruby_client/crm/types/engagement.rb +16 -16
- data/lib/merge_ruby_client/crm/types/engagement_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_contacts_item.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_engagement_type.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_request.rb +11 -11
- data/lib/merge_ruby_client/crm/types/engagement_request_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_request_contacts_item.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_request_engagement_type.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/engagement_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/engagement_type.rb +7 -7
- data/lib/merge_ruby_client/crm/types/error_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/crm/types/event_type_enum.rb +2 -0
- data/lib/merge_ruby_client/crm/types/external_target_field_api.rb +4 -3
- data/lib/merge_ruby_client/crm/types/external_target_field_api_response.rb +27 -27
- data/lib/merge_ruby_client/crm/types/field_mapping_api_instance.rb +2 -2
- data/lib/merge_ruby_client/crm/types/field_mapping_api_instance_remote_field.rb +2 -2
- data/lib/merge_ruby_client/crm/types/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/crm/types/field_mapping_api_instance_response.rb +27 -27
- data/lib/merge_ruby_client/crm/types/field_mapping_api_instance_target_field.rb +4 -3
- data/lib/merge_ruby_client/crm/types/field_mapping_instance_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/field_permission_deserializer.rb +3 -2
- data/lib/merge_ruby_client/crm/types/field_permission_deserializer_request.rb +3 -2
- data/lib/merge_ruby_client/crm/types/ignore_common_model_request.rb +3 -2
- data/lib/merge_ruby_client/crm/types/individual_common_model_scope_deserializer.rb +4 -4
- data/lib/merge_ruby_client/crm/types/individual_common_model_scope_deserializer_request.rb +4 -4
- data/lib/merge_ruby_client/crm/types/issue.rb +6 -6
- data/lib/merge_ruby_client/crm/types/item_schema.rb +4 -3
- data/lib/merge_ruby_client/crm/types/lead.rb +24 -24
- data/lib/merge_ruby_client/crm/types/lead_converted_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/lead_converted_contact.rb +2 -2
- data/lib/merge_ruby_client/crm/types/lead_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/lead_request.rb +19 -19
- data/lib/merge_ruby_client/crm/types/lead_request_converted_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/lead_request_converted_contact.rb +2 -2
- data/lib/merge_ruby_client/crm/types/lead_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/lead_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/link_token.rb +4 -3
- data/lib/merge_ruby_client/crm/types/linked_account_status.rb +3 -2
- data/lib/merge_ruby_client/crm/types/meta_response.rb +4 -4
- data/lib/merge_ruby_client/crm/types/model_operation.rb +5 -4
- data/lib/merge_ruby_client/crm/types/model_permission_deserializer.rb +2 -1
- data/lib/merge_ruby_client/crm/types/model_permission_deserializer_request.rb +2 -1
- data/lib/merge_ruby_client/crm/types/multipart_form_field_request.rb +6 -5
- data/lib/merge_ruby_client/crm/types/note.rb +11 -11
- data/lib/merge_ruby_client/crm/types/note_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_contact.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_opportunity.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_request.rb +6 -6
- data/lib/merge_ruby_client/crm/types/note_request_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_request_contact.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_request_opportunity.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/note_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/object_class_description_request.rb +3 -2
- data/lib/merge_ruby_client/crm/types/opportunity.rb +14 -14
- data/lib/merge_ruby_client/crm/types/opportunity_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/opportunity_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/opportunity_request.rb +9 -9
- data/lib/merge_ruby_client/crm/types/opportunity_request_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/opportunity_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/opportunity_request_stage.rb +2 -2
- data/lib/merge_ruby_client/crm/types/opportunity_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/opportunity_stage.rb +2 -2
- data/lib/merge_ruby_client/crm/types/paginated_account_details_and_actions_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_account_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_association_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_association_type_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_audit_log_event_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_contact_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_custom_object_class_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_custom_object_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_engagement_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_engagement_type_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_issue_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_lead_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_note_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_opportunity_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_remote_field_class_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_stage_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_sync_status_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_task_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/paginated_user_list.rb +5 -5
- data/lib/merge_ruby_client/crm/types/patched_account_request.rb +14 -14
- data/lib/merge_ruby_client/crm/types/patched_contact_request.rb +17 -17
- data/lib/merge_ruby_client/crm/types/patched_contact_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/patched_engagement_request.rb +12 -12
- data/lib/merge_ruby_client/crm/types/patched_opportunity_request.rb +12 -12
- data/lib/merge_ruby_client/crm/types/patched_task_request.rb +11 -11
- data/lib/merge_ruby_client/crm/types/phone_number.rb +2 -2
- data/lib/merge_ruby_client/crm/types/phone_number_request.rb +5 -4
- data/lib/merge_ruby_client/crm/types/remote_data.rb +3 -2
- data/lib/merge_ruby_client/crm/types/remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/crm/types/remote_field.rb +4 -4
- data/lib/merge_ruby_client/crm/types/remote_field_api.rb +6 -6
- data/lib/merge_ruby_client/crm/types/remote_field_api_coverage.rb +2 -2
- data/lib/merge_ruby_client/crm/types/remote_field_api_response.rb +27 -27
- data/lib/merge_ruby_client/crm/types/remote_field_class.rb +11 -11
- data/lib/merge_ruby_client/crm/types/remote_field_class_field_choices_item.rb +3 -2
- data/lib/merge_ruby_client/crm/types/remote_field_class_for_custom_object_class.rb +9 -9
- data/lib/merge_ruby_client/crm/types/remote_field_class_for_custom_object_class_field_choices_item.rb +3 -2
- data/lib/merge_ruby_client/crm/types/remote_field_class_for_custom_object_class_item_schema.rb +4 -3
- data/lib/merge_ruby_client/crm/types/remote_field_remote_field_class.rb +2 -2
- data/lib/merge_ruby_client/crm/types/remote_field_request.rb +4 -4
- data/lib/merge_ruby_client/crm/types/remote_field_request_remote_field_class.rb +2 -2
- data/lib/merge_ruby_client/crm/types/remote_key.rb +3 -2
- data/lib/merge_ruby_client/crm/types/remote_response.rb +8 -7
- data/lib/merge_ruby_client/crm/types/request_format_enum.rb +1 -1
- data/lib/merge_ruby_client/crm/types/response_type_enum.rb +1 -1
- data/lib/merge_ruby_client/crm/types/stage.rb +11 -11
- data/lib/merge_ruby_client/crm/types/sync_status.rb +5 -5
- data/lib/merge_ruby_client/crm/types/task.rb +13 -13
- data/lib/merge_ruby_client/crm/types/task_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/task_opportunity.rb +2 -2
- data/lib/merge_ruby_client/crm/types/task_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/task_request.rb +8 -8
- data/lib/merge_ruby_client/crm/types/task_request_account.rb +2 -2
- data/lib/merge_ruby_client/crm/types/task_request_opportunity.rb +2 -2
- data/lib/merge_ruby_client/crm/types/task_request_owner.rb +2 -2
- data/lib/merge_ruby_client/crm/types/task_response.rb +9 -9
- data/lib/merge_ruby_client/crm/types/user.rb +13 -13
- data/lib/merge_ruby_client/crm/types/validation_problem_source.rb +2 -1
- data/lib/merge_ruby_client/crm/types/warning_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/crm/types/webhook_receiver.rb +4 -3
- data/lib/merge_ruby_client/crm/users/client.rb +88 -26
- data/lib/merge_ruby_client/crm/webhook_receivers/client.rb +52 -18
- data/lib/merge_ruby_client/filestorage/account_details/client.rb +26 -6
- data/lib/merge_ruby_client/filestorage/account_token/client.rb +26 -6
- data/lib/merge_ruby_client/filestorage/async_passthrough/client.rb +46 -12
- data/lib/merge_ruby_client/filestorage/audit_trail/client.rb +24 -8
- data/lib/merge_ruby_client/filestorage/available_actions/client.rb +26 -6
- data/lib/merge_ruby_client/filestorage/delete_account/client.rb +26 -6
- data/lib/merge_ruby_client/filestorage/drives/client.rb +40 -12
- data/lib/merge_ruby_client/filestorage/field_mapping/client.rb +138 -36
- data/lib/merge_ruby_client/filestorage/files/client.rb +112 -28
- data/lib/merge_ruby_client/filestorage/folders/client.rb +80 -24
- data/lib/merge_ruby_client/filestorage/force_resync/client.rb +32 -12
- data/lib/merge_ruby_client/filestorage/generate_key/client.rb +20 -6
- data/lib/merge_ruby_client/filestorage/groups/client.rb +40 -12
- data/lib/merge_ruby_client/filestorage/issues/client.rb +56 -16
- data/lib/merge_ruby_client/filestorage/link_token/client.rb +30 -8
- data/lib/merge_ruby_client/filestorage/linked_accounts/client.rb +22 -10
- data/lib/merge_ruby_client/filestorage/passthrough/client.rb +20 -6
- data/lib/merge_ruby_client/filestorage/regenerate_key/client.rb +20 -6
- data/lib/merge_ruby_client/filestorage/scopes/client.rb +72 -18
- data/lib/merge_ruby_client/filestorage/sync_status/client.rb +20 -6
- data/lib/merge_ruby_client/filestorage/types/account_details.rb +12 -11
- data/lib/merge_ruby_client/filestorage/types/account_details_and_actions.rb +11 -11
- data/lib/merge_ruby_client/filestorage/types/account_details_and_actions_integration.rb +10 -10
- data/lib/merge_ruby_client/filestorage/types/account_integration.rb +26 -11
- data/lib/merge_ruby_client/filestorage/types/account_token.rb +1 -1
- data/lib/merge_ruby_client/filestorage/types/advanced_metadata.rb +7 -6
- data/lib/merge_ruby_client/filestorage/types/async_passthrough_reciept.rb +2 -1
- data/lib/merge_ruby_client/filestorage/types/audit_log_event.rb +9 -7
- data/lib/merge_ruby_client/filestorage/types/available_actions.rb +4 -4
- data/lib/merge_ruby_client/filestorage/types/common_model_scope_api.rb +3 -3
- data/lib/merge_ruby_client/filestorage/types/common_model_scopes_body_request.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/data_passthrough_request.rb +10 -10
- data/lib/merge_ruby_client/filestorage/types/debug_mode_log.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/debug_model_log_summary.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/drive.rb +7 -7
- data/lib/merge_ruby_client/filestorage/types/error_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/filestorage/types/event_type_enum.rb +2 -0
- data/lib/merge_ruby_client/filestorage/types/external_target_field_api.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/external_target_field_api_response.rb +15 -15
- data/lib/merge_ruby_client/filestorage/types/field_mapping_api_instance.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/field_mapping_api_instance_response.rb +15 -15
- data/lib/merge_ruby_client/filestorage/types/field_mapping_api_instance_target_field.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/field_mapping_instance_response.rb +9 -9
- data/lib/merge_ruby_client/filestorage/types/field_permission_deserializer.rb +3 -2
- data/lib/merge_ruby_client/filestorage/types/field_permission_deserializer_request.rb +3 -2
- data/lib/merge_ruby_client/filestorage/types/file.rb +11 -11
- data/lib/merge_ruby_client/filestorage/types/file_drive.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/file_folder.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/file_permissions.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/file_permissions_item.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/file_request.rb +8 -8
- data/lib/merge_ruby_client/filestorage/types/file_request_drive.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/file_request_folder.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/file_request_permissions.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/file_request_permissions_item.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/file_storage_file_response.rb +9 -9
- data/lib/merge_ruby_client/filestorage/types/file_storage_folder_response.rb +9 -9
- data/lib/merge_ruby_client/filestorage/types/folder.rb +9 -9
- data/lib/merge_ruby_client/filestorage/types/folder_drive.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/folder_parent_folder.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/folder_permissions.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/folder_permissions_item.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/folder_request.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/folder_request_drive.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/folder_request_parent_folder.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/folder_request_permissions.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/folder_request_permissions_item.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/group.rb +8 -8
- data/lib/merge_ruby_client/filestorage/types/individual_common_model_scope_deserializer.rb +4 -4
- data/lib/merge_ruby_client/filestorage/types/individual_common_model_scope_deserializer_request.rb +4 -4
- data/lib/merge_ruby_client/filestorage/types/issue.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/link_token.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/linked_account_status.rb +3 -2
- data/lib/merge_ruby_client/filestorage/types/meta_response.rb +4 -4
- data/lib/merge_ruby_client/filestorage/types/model_operation.rb +5 -4
- data/lib/merge_ruby_client/filestorage/types/model_permission_deserializer.rb +2 -1
- data/lib/merge_ruby_client/filestorage/types/model_permission_deserializer_request.rb +2 -1
- data/lib/merge_ruby_client/filestorage/types/multipart_form_field_request.rb +6 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_account_details_and_actions_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_audit_log_event_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_drive_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_file_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_folder_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_group_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_issue_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_sync_status_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/paginated_user_list.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/permission.rb +4 -4
- data/lib/merge_ruby_client/filestorage/types/permission_group.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/permission_request.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/permission_request_group.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/permission_request_user.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/permission_user.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/filestorage/types/remote_field_api.rb +6 -6
- data/lib/merge_ruby_client/filestorage/types/remote_field_api_coverage.rb +2 -2
- data/lib/merge_ruby_client/filestorage/types/remote_field_api_response.rb +15 -15
- data/lib/merge_ruby_client/filestorage/types/remote_key.rb +3 -2
- data/lib/merge_ruby_client/filestorage/types/remote_response.rb +8 -7
- data/lib/merge_ruby_client/filestorage/types/request_format_enum.rb +1 -1
- data/lib/merge_ruby_client/filestorage/types/response_type_enum.rb +1 -1
- data/lib/merge_ruby_client/filestorage/types/sync_status.rb +5 -5
- data/lib/merge_ruby_client/filestorage/types/user.rb +8 -8
- data/lib/merge_ruby_client/filestorage/types/validation_problem_source.rb +2 -1
- data/lib/merge_ruby_client/filestorage/types/warning_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/filestorage/types/webhook_receiver.rb +4 -3
- data/lib/merge_ruby_client/filestorage/users/client.rb +40 -12
- data/lib/merge_ruby_client/filestorage/webhook_receivers/client.rb +52 -18
- data/lib/merge_ruby_client/hris/account_details/client.rb +26 -6
- data/lib/merge_ruby_client/hris/account_token/client.rb +26 -6
- data/lib/merge_ruby_client/hris/async_passthrough/client.rb +46 -12
- data/lib/merge_ruby_client/hris/audit_trail/client.rb +24 -8
- data/lib/merge_ruby_client/hris/available_actions/client.rb +26 -6
- data/lib/merge_ruby_client/hris/bank_info/client.rb +44 -14
- data/lib/merge_ruby_client/hris/benefits/client.rb +40 -12
- data/lib/merge_ruby_client/hris/companies/client.rb +40 -12
- data/lib/merge_ruby_client/hris/delete_account/client.rb +26 -6
- data/lib/merge_ruby_client/hris/dependents/client.rb +40 -12
- data/lib/merge_ruby_client/hris/employee_payroll_runs/client.rb +40 -12
- data/lib/merge_ruby_client/hris/employees/client.rb +100 -30
- data/lib/merge_ruby_client/hris/employer_benefits/client.rb +40 -12
- data/lib/merge_ruby_client/hris/employments/client.rb +44 -14
- data/lib/merge_ruby_client/hris/field_mapping/client.rb +138 -36
- data/lib/merge_ruby_client/hris/force_resync/client.rb +32 -12
- data/lib/merge_ruby_client/hris/generate_key/client.rb +20 -6
- data/lib/merge_ruby_client/hris/groups/client.rb +40 -12
- data/lib/merge_ruby_client/hris/issues/client.rb +56 -16
- data/lib/merge_ruby_client/hris/link_token/client.rb +30 -8
- data/lib/merge_ruby_client/hris/linked_accounts/client.rb +22 -10
- data/lib/merge_ruby_client/hris/locations/client.rb +40 -12
- data/lib/merge_ruby_client/hris/passthrough/client.rb +20 -6
- data/lib/merge_ruby_client/hris/pay_groups/client.rb +40 -12
- data/lib/merge_ruby_client/hris/payroll_runs/client.rb +40 -12
- data/lib/merge_ruby_client/hris/regenerate_key/client.rb +20 -6
- data/lib/merge_ruby_client/hris/scopes/client.rb +72 -18
- data/lib/merge_ruby_client/hris/sync_status/client.rb +20 -6
- data/lib/merge_ruby_client/hris/teams/client.rb +40 -12
- data/lib/merge_ruby_client/hris/time_off/client.rb +80 -24
- data/lib/merge_ruby_client/hris/time_off_balances/client.rb +40 -12
- data/lib/merge_ruby_client/hris/timesheet_entries/client.rb +90 -36
- data/lib/merge_ruby_client/hris/types/account_details.rb +12 -11
- data/lib/merge_ruby_client/hris/types/account_details_and_actions.rb +11 -11
- data/lib/merge_ruby_client/hris/types/account_details_and_actions_integration.rb +10 -10
- data/lib/merge_ruby_client/hris/types/account_integration.rb +26 -11
- data/lib/merge_ruby_client/hris/types/account_token.rb +1 -1
- data/lib/merge_ruby_client/hris/types/advanced_metadata.rb +7 -6
- data/lib/merge_ruby_client/hris/types/async_passthrough_reciept.rb +2 -1
- data/lib/merge_ruby_client/hris/types/audit_log_event.rb +9 -7
- data/lib/merge_ruby_client/hris/types/available_actions.rb +4 -4
- data/lib/merge_ruby_client/hris/types/bank_info.rb +11 -11
- data/lib/merge_ruby_client/hris/types/bank_info_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/benefit.rb +12 -12
- data/lib/merge_ruby_client/hris/types/benefit_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/common_model_scope_api.rb +3 -3
- data/lib/merge_ruby_client/hris/types/common_model_scopes_body_request.rb +4 -3
- data/lib/merge_ruby_client/hris/types/company.rb +10 -10
- data/lib/merge_ruby_client/hris/types/data_passthrough_request.rb +10 -10
- data/lib/merge_ruby_client/hris/types/debug_mode_log.rb +2 -2
- data/lib/merge_ruby_client/hris/types/debug_model_log_summary.rb +4 -3
- data/lib/merge_ruby_client/hris/types/deduction.rb +11 -11
- data/lib/merge_ruby_client/hris/types/dependent.rb +17 -17
- data/lib/merge_ruby_client/hris/types/earning.rb +10 -10
- data/lib/merge_ruby_client/hris/types/employee.rb +29 -29
- data/lib/merge_ruby_client/hris/types/employee_company.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_employments_item.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_groups_item.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_home_location.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_manager.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_pay_group.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_payroll_run.rb +18 -18
- data/lib/merge_ruby_client/hris/types/employee_payroll_run_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_payroll_run_payroll_run.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request.rb +23 -23
- data/lib/merge_ruby_client/hris/types/employee_request_company.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_employments_item.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_groups_item.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_home_location.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_manager.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_pay_group.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_team.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_request_work_location.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_response.rb +9 -9
- data/lib/merge_ruby_client/hris/types/employee_team.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employee_work_location.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employer_benefit.rb +9 -9
- data/lib/merge_ruby_client/hris/types/employment.rb +14 -14
- data/lib/merge_ruby_client/hris/types/employment_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/employment_pay_group.rb +2 -2
- data/lib/merge_ruby_client/hris/types/error_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/hris/types/event_type_enum.rb +2 -0
- data/lib/merge_ruby_client/hris/types/external_target_field_api.rb +4 -3
- data/lib/merge_ruby_client/hris/types/external_target_field_api_response.rb +48 -48
- data/lib/merge_ruby_client/hris/types/field_mapping_api_instance.rb +2 -2
- data/lib/merge_ruby_client/hris/types/field_mapping_api_instance_remote_field.rb +2 -2
- data/lib/merge_ruby_client/hris/types/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/hris/types/field_mapping_api_instance_response.rb +48 -48
- data/lib/merge_ruby_client/hris/types/field_mapping_api_instance_target_field.rb +4 -3
- data/lib/merge_ruby_client/hris/types/field_mapping_instance_response.rb +9 -9
- data/lib/merge_ruby_client/hris/types/field_permission_deserializer.rb +3 -2
- data/lib/merge_ruby_client/hris/types/field_permission_deserializer_request.rb +3 -2
- data/lib/merge_ruby_client/hris/types/group.rb +11 -11
- data/lib/merge_ruby_client/hris/types/individual_common_model_scope_deserializer.rb +4 -4
- data/lib/merge_ruby_client/hris/types/individual_common_model_scope_deserializer_request.rb +4 -4
- data/lib/merge_ruby_client/hris/types/issue.rb +6 -6
- data/lib/merge_ruby_client/hris/types/link_token.rb +4 -3
- data/lib/merge_ruby_client/hris/types/linked_account_status.rb +3 -2
- data/lib/merge_ruby_client/hris/types/location.rb +16 -16
- data/lib/merge_ruby_client/hris/types/meta_response.rb +4 -4
- data/lib/merge_ruby_client/hris/types/model_operation.rb +5 -4
- data/lib/merge_ruby_client/hris/types/model_permission_deserializer.rb +2 -1
- data/lib/merge_ruby_client/hris/types/model_permission_deserializer_request.rb +2 -1
- data/lib/merge_ruby_client/hris/types/multipart_form_field_request.rb +6 -5
- data/lib/merge_ruby_client/hris/types/paginated_account_details_and_actions_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_audit_log_event_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_bank_info_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_benefit_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_company_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_dependent_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_employee_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_employee_payroll_run_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_employer_benefit_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_employment_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_group_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_issue_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_location_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_pay_group_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_payroll_run_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_sync_status_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_team_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_time_off_balance_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_time_off_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/paginated_timesheet_entry_list.rb +5 -5
- data/lib/merge_ruby_client/hris/types/pay_group.rb +8 -8
- data/lib/merge_ruby_client/hris/types/payroll_run.rb +9 -9
- data/lib/merge_ruby_client/hris/types/remote_data.rb +3 -2
- data/lib/merge_ruby_client/hris/types/remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/hris/types/remote_field_api.rb +6 -6
- data/lib/merge_ruby_client/hris/types/remote_field_api_coverage.rb +2 -2
- data/lib/merge_ruby_client/hris/types/remote_field_api_response.rb +48 -48
- data/lib/merge_ruby_client/hris/types/remote_key.rb +3 -2
- data/lib/merge_ruby_client/hris/types/remote_response.rb +8 -7
- data/lib/merge_ruby_client/hris/types/request_format_enum.rb +1 -1
- data/lib/merge_ruby_client/hris/types/response_type_enum.rb +1 -1
- data/lib/merge_ruby_client/hris/types/sync_status.rb +5 -5
- data/lib/merge_ruby_client/hris/types/tax.rb +11 -11
- data/lib/merge_ruby_client/hris/types/team.rb +8 -8
- data/lib/merge_ruby_client/hris/types/team_parent_team.rb +2 -2
- data/lib/merge_ruby_client/hris/types/time_off.rb +12 -12
- data/lib/merge_ruby_client/hris/types/time_off_approver.rb +2 -2
- data/lib/merge_ruby_client/hris/types/time_off_balance.rb +10 -10
- data/lib/merge_ruby_client/hris/types/time_off_balance_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/time_off_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/time_off_request.rb +7 -7
- data/lib/merge_ruby_client/hris/types/time_off_request_approver.rb +2 -2
- data/lib/merge_ruby_client/hris/types/time_off_request_employee.rb +2 -2
- data/lib/merge_ruby_client/hris/types/time_off_response.rb +9 -9
- data/lib/merge_ruby_client/hris/types/timesheet_entry.rb +7 -7
- data/lib/merge_ruby_client/hris/types/timesheet_entry_request.rb +4 -4
- data/lib/merge_ruby_client/hris/types/timesheet_entry_response.rb +9 -9
- data/lib/merge_ruby_client/hris/types/validation_problem_source.rb +2 -1
- data/lib/merge_ruby_client/hris/types/warning_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/hris/types/webhook_receiver.rb +4 -3
- data/lib/merge_ruby_client/hris/webhook_receivers/client.rb +52 -18
- data/lib/merge_ruby_client/ticketing/account_details/client.rb +26 -6
- data/lib/merge_ruby_client/ticketing/account_token/client.rb +26 -6
- data/lib/merge_ruby_client/ticketing/accounts/client.rb +40 -12
- data/lib/merge_ruby_client/ticketing/async_passthrough/client.rb +46 -12
- data/lib/merge_ruby_client/ticketing/attachments/client.rb +112 -28
- data/lib/merge_ruby_client/ticketing/audit_trail/client.rb +24 -8
- data/lib/merge_ruby_client/ticketing/available_actions/client.rb +26 -6
- data/lib/merge_ruby_client/ticketing/collections/client.rb +60 -18
- data/lib/merge_ruby_client/ticketing/comments/client.rb +80 -24
- data/lib/merge_ruby_client/ticketing/contacts/client.rb +80 -24
- data/lib/merge_ruby_client/ticketing/delete_account/client.rb +26 -6
- data/lib/merge_ruby_client/ticketing/field_mapping/client.rb +138 -36
- data/lib/merge_ruby_client/ticketing/force_resync/client.rb +32 -12
- data/lib/merge_ruby_client/ticketing/generate_key/client.rb +20 -6
- data/lib/merge_ruby_client/ticketing/issues/client.rb +56 -16
- data/lib/merge_ruby_client/ticketing/link_token/client.rb +30 -8
- data/lib/merge_ruby_client/ticketing/linked_accounts/client.rb +22 -10
- data/lib/merge_ruby_client/ticketing/passthrough/client.rb +20 -6
- data/lib/merge_ruby_client/ticketing/projects/client.rb +60 -18
- data/lib/merge_ruby_client/ticketing/regenerate_key/client.rb +20 -6
- data/lib/merge_ruby_client/ticketing/roles/client.rb +40 -12
- data/lib/merge_ruby_client/ticketing/scopes/client.rb +72 -18
- data/lib/merge_ruby_client/ticketing/sync_status/client.rb +20 -6
- data/lib/merge_ruby_client/ticketing/tags/client.rb +40 -12
- data/lib/merge_ruby_client/ticketing/teams/client.rb +40 -12
- data/lib/merge_ruby_client/ticketing/tickets/client.rb +180 -56
- data/lib/merge_ruby_client/ticketing/types/account.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/account_details.rb +12 -11
- data/lib/merge_ruby_client/ticketing/types/account_details_and_actions.rb +11 -11
- data/lib/merge_ruby_client/ticketing/types/account_details_and_actions_integration.rb +10 -10
- data/lib/merge_ruby_client/ticketing/types/account_integration.rb +26 -11
- data/lib/merge_ruby_client/ticketing/types/account_token.rb +1 -1
- data/lib/merge_ruby_client/ticketing/types/advanced_metadata.rb +7 -6
- data/lib/merge_ruby_client/ticketing/types/async_passthrough_reciept.rb +2 -1
- data/lib/merge_ruby_client/ticketing/types/attachment.rb +11 -11
- data/lib/merge_ruby_client/ticketing/types/attachment_request.rb +6 -6
- data/lib/merge_ruby_client/ticketing/types/attachment_request_ticket.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/attachment_ticket.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/audit_log_event.rb +9 -7
- data/lib/merge_ruby_client/ticketing/types/available_actions.rb +4 -4
- data/lib/merge_ruby_client/ticketing/types/collection.rb +11 -11
- data/lib/merge_ruby_client/ticketing/types/collection_parent_collection.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/comment.rb +10 -10
- data/lib/merge_ruby_client/ticketing/types/comment_contact.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/comment_request.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/comment_request_contact.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/comment_request_ticket.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/comment_request_user.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/comment_response.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/comment_ticket.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/comment_user.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/common_model_scope_api.rb +3 -3
- data/lib/merge_ruby_client/ticketing/types/common_model_scopes_body_request.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/contact.rb +11 -11
- data/lib/merge_ruby_client/ticketing/types/contact_account.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/contact_request.rb +6 -6
- data/lib/merge_ruby_client/ticketing/types/contact_request_account.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/data_passthrough_request.rb +10 -10
- data/lib/merge_ruby_client/ticketing/types/debug_mode_log.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/debug_model_log_summary.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/error_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/ticketing/types/event_type_enum.rb +2 -0
- data/lib/merge_ruby_client/ticketing/types/external_target_field_api.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/external_target_field_api_response.rb +33 -33
- data/lib/merge_ruby_client/ticketing/types/field_mapping_api_instance.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/field_mapping_api_instance_remote_field.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/field_mapping_api_instance_remote_field_remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/field_mapping_api_instance_response.rb +33 -33
- data/lib/merge_ruby_client/ticketing/types/field_mapping_api_instance_target_field.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/field_mapping_instance_response.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/field_permission_deserializer.rb +3 -2
- data/lib/merge_ruby_client/ticketing/types/field_permission_deserializer_request.rb +3 -2
- data/lib/merge_ruby_client/ticketing/types/individual_common_model_scope_deserializer.rb +4 -4
- data/lib/merge_ruby_client/ticketing/types/individual_common_model_scope_deserializer_request.rb +4 -4
- data/lib/merge_ruby_client/ticketing/types/issue.rb +6 -6
- data/lib/merge_ruby_client/ticketing/types/item_schema.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/link_token.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/linked_account_status.rb +3 -2
- data/lib/merge_ruby_client/ticketing/types/meta_response.rb +4 -4
- data/lib/merge_ruby_client/ticketing/types/model_operation.rb +5 -4
- data/lib/merge_ruby_client/ticketing/types/model_permission_deserializer.rb +2 -1
- data/lib/merge_ruby_client/ticketing/types/model_permission_deserializer_request.rb +2 -1
- data/lib/merge_ruby_client/ticketing/types/multipart_form_field_request.rb +6 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_account_details_and_actions_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_account_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_attachment_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_audit_log_event_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_collection_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_comment_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_contact_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_issue_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_project_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_remote_field_class_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_role_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_sync_status_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_tag_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_team_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_ticket_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/paginated_user_list.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/patched_ticket_request.rb +18 -18
- data/lib/merge_ruby_client/ticketing/types/project.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/remote_data.rb +3 -2
- data/lib/merge_ruby_client/ticketing/types/remote_endpoint_info.rb +4 -3
- data/lib/merge_ruby_client/ticketing/types/remote_field.rb +1 -1
- data/lib/merge_ruby_client/ticketing/types/remote_field_api.rb +6 -6
- data/lib/merge_ruby_client/ticketing/types/remote_field_api_coverage.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/remote_field_api_response.rb +33 -33
- data/lib/merge_ruby_client/ticketing/types/remote_field_class.rb +11 -11
- data/lib/merge_ruby_client/ticketing/types/remote_field_class_field_choices_item.rb +3 -2
- data/lib/merge_ruby_client/ticketing/types/remote_field_remote_field_class.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/remote_field_request.rb +1 -1
- data/lib/merge_ruby_client/ticketing/types/remote_field_request_remote_field_class.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/remote_key.rb +3 -2
- data/lib/merge_ruby_client/ticketing/types/remote_response.rb +8 -7
- data/lib/merge_ruby_client/ticketing/types/request_format_enum.rb +1 -1
- data/lib/merge_ruby_client/ticketing/types/response_type_enum.rb +1 -1
- data/lib/merge_ruby_client/ticketing/types/role.rb +10 -10
- data/lib/merge_ruby_client/ticketing/types/sync_status.rb +5 -5
- data/lib/merge_ruby_client/ticketing/types/tag.rb +17 -9
- data/lib/merge_ruby_client/ticketing/types/team.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/ticket.rb +26 -26
- data/lib/merge_ruby_client/ticketing/types/ticket_account.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_assignees_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_attachments_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_collections_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_contact.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_creator.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_parent_ticket.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request.rb +21 -21
- data/lib/merge_ruby_client/ticketing/types/ticket_request_account.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request_assignees_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request_attachments_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request_collections_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request_contact.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request_creator.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_request_parent_ticket.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/ticket_response.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/ticketing_attachment_response.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/ticketing_contact_response.rb +9 -9
- data/lib/merge_ruby_client/ticketing/types/user.rb +17 -17
- data/lib/merge_ruby_client/ticketing/types/user_roles_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/user_teams_item.rb +2 -2
- data/lib/merge_ruby_client/ticketing/types/validation_problem_source.rb +2 -1
- data/lib/merge_ruby_client/ticketing/types/warning_validation_problem.rb +3 -3
- data/lib/merge_ruby_client/ticketing/types/webhook_receiver.rb +4 -3
- data/lib/merge_ruby_client/ticketing/users/client.rb +40 -12
- data/lib/merge_ruby_client/ticketing/webhook_receivers/client.rb +52 -18
- data/lib/merge_ruby_client.rb +6 -6
- data/lib/requests.rb +26 -20
- data/lib/types_export.rb +6 -0
- metadata +8 -2
@@ -46,18 +46,22 @@ module Merge
|
|
46
46
|
# @return [Merge::Crm::PaginatedTaskList]
|
47
47
|
# @example
|
48
48
|
# api = Merge::Client.new(
|
49
|
-
# environment: Environment::PRODUCTION,
|
50
49
|
# base_url: "https://api.example.com",
|
50
|
+
# environment: Merge::Environment::PRODUCTION,
|
51
51
|
# api_key: "YOUR_AUTH_TOKEN"
|
52
52
|
# )
|
53
|
-
# api.crm.list
|
53
|
+
# api.crm.tasks.list
|
54
54
|
def list(created_after: nil, created_before: nil, cursor: nil, expand: nil, include_deleted_data: nil,
|
55
55
|
include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, page_size: nil, remote_id: nil, request_options: nil)
|
56
56
|
response = @request_client.conn.get do |req|
|
57
57
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
58
58
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
59
59
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
60
|
-
req.headers = {
|
60
|
+
req.headers = {
|
61
|
+
**(req.headers || {}),
|
62
|
+
**@request_client.get_headers,
|
63
|
+
**(request_options&.additional_headers || {})
|
64
|
+
}.compact
|
61
65
|
req.params = {
|
62
66
|
**(request_options&.additional_query_parameters || {}),
|
63
67
|
"created_after": created_after,
|
@@ -72,6 +76,9 @@ module Merge
|
|
72
76
|
"page_size": page_size,
|
73
77
|
"remote_id": remote_id
|
74
78
|
}.compact
|
79
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
80
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
81
|
+
end
|
75
82
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks"
|
76
83
|
end
|
77
84
|
Merge::Crm::PaginatedTaskList.from_json(json_object: response.body)
|
@@ -97,17 +104,21 @@ module Merge
|
|
97
104
|
# @return [Merge::Crm::TaskResponse]
|
98
105
|
# @example
|
99
106
|
# api = Merge::Client.new(
|
100
|
-
# environment: Environment::PRODUCTION,
|
101
107
|
# base_url: "https://api.example.com",
|
108
|
+
# environment: Merge::Environment::PRODUCTION,
|
102
109
|
# api_key: "YOUR_AUTH_TOKEN"
|
103
110
|
# )
|
104
|
-
# api.crm.create(model: { })
|
111
|
+
# api.crm.tasks.create(model: { })
|
105
112
|
def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
106
113
|
response = @request_client.conn.post do |req|
|
107
114
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
108
115
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
109
116
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
110
|
-
req.headers = {
|
117
|
+
req.headers = {
|
118
|
+
**(req.headers || {}),
|
119
|
+
**@request_client.get_headers,
|
120
|
+
**(request_options&.additional_headers || {})
|
121
|
+
}.compact
|
111
122
|
req.params = {
|
112
123
|
**(request_options&.additional_query_parameters || {}),
|
113
124
|
"is_debug_mode": is_debug_mode,
|
@@ -132,23 +143,30 @@ module Merge
|
|
132
143
|
# @return [Merge::Crm::Task]
|
133
144
|
# @example
|
134
145
|
# api = Merge::Client.new(
|
135
|
-
# environment: Environment::PRODUCTION,
|
136
146
|
# base_url: "https://api.example.com",
|
147
|
+
# environment: Merge::Environment::PRODUCTION,
|
137
148
|
# api_key: "YOUR_AUTH_TOKEN"
|
138
149
|
# )
|
139
|
-
# api.crm.retrieve(id: "id")
|
150
|
+
# api.crm.tasks.retrieve(id: "id")
|
140
151
|
def retrieve(id:, expand: nil, include_remote_data: nil, include_remote_fields: nil, request_options: nil)
|
141
152
|
response = @request_client.conn.get do |req|
|
142
153
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
143
154
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
144
155
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
145
|
-
req.headers = {
|
156
|
+
req.headers = {
|
157
|
+
**(req.headers || {}),
|
158
|
+
**@request_client.get_headers,
|
159
|
+
**(request_options&.additional_headers || {})
|
160
|
+
}.compact
|
146
161
|
req.params = {
|
147
162
|
**(request_options&.additional_query_parameters || {}),
|
148
163
|
"expand": expand,
|
149
164
|
"include_remote_data": include_remote_data,
|
150
165
|
"include_remote_fields": include_remote_fields
|
151
166
|
}.compact
|
167
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
168
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
169
|
+
end
|
152
170
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/#{id}"
|
153
171
|
end
|
154
172
|
Merge::Crm::Task.from_json(json_object: response.body)
|
@@ -175,17 +193,21 @@ module Merge
|
|
175
193
|
# @return [Merge::Crm::TaskResponse]
|
176
194
|
# @example
|
177
195
|
# api = Merge::Client.new(
|
178
|
-
# environment: Environment::PRODUCTION,
|
179
196
|
# base_url: "https://api.example.com",
|
197
|
+
# environment: Merge::Environment::PRODUCTION,
|
180
198
|
# api_key: "YOUR_AUTH_TOKEN"
|
181
199
|
# )
|
182
|
-
# api.crm.partial_update(id: "id", model: { })
|
200
|
+
# api.crm.tasks.partial_update(id: "id", model: { })
|
183
201
|
def partial_update(id:, model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
184
202
|
response = @request_client.conn.patch do |req|
|
185
203
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
186
204
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
187
205
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
188
|
-
req.headers = {
|
206
|
+
req.headers = {
|
207
|
+
**(req.headers || {}),
|
208
|
+
**@request_client.get_headers,
|
209
|
+
**(request_options&.additional_headers || {})
|
210
|
+
}.compact
|
189
211
|
req.params = {
|
190
212
|
**(request_options&.additional_query_parameters || {}),
|
191
213
|
"is_debug_mode": is_debug_mode,
|
@@ -204,17 +226,27 @@ module Merge
|
|
204
226
|
# @return [Merge::Crm::MetaResponse]
|
205
227
|
# @example
|
206
228
|
# api = Merge::Client.new(
|
207
|
-
# environment: Environment::PRODUCTION,
|
208
229
|
# base_url: "https://api.example.com",
|
230
|
+
# environment: Merge::Environment::PRODUCTION,
|
209
231
|
# api_key: "YOUR_AUTH_TOKEN"
|
210
232
|
# )
|
211
|
-
# api.crm.meta_patch_retrieve(id: "id")
|
233
|
+
# api.crm.tasks.meta_patch_retrieve(id: "id")
|
212
234
|
def meta_patch_retrieve(id:, request_options: nil)
|
213
235
|
response = @request_client.conn.get do |req|
|
214
236
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
215
237
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
216
238
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
217
|
-
req.headers = {
|
239
|
+
req.headers = {
|
240
|
+
**(req.headers || {}),
|
241
|
+
**@request_client.get_headers,
|
242
|
+
**(request_options&.additional_headers || {})
|
243
|
+
}.compact
|
244
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
245
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
246
|
+
end
|
247
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
248
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
249
|
+
end
|
218
250
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/meta/patch/#{id}"
|
219
251
|
end
|
220
252
|
Merge::Crm::MetaResponse.from_json(json_object: response.body)
|
@@ -226,17 +258,27 @@ module Merge
|
|
226
258
|
# @return [Merge::Crm::MetaResponse]
|
227
259
|
# @example
|
228
260
|
# api = Merge::Client.new(
|
229
|
-
# environment: Environment::PRODUCTION,
|
230
261
|
# base_url: "https://api.example.com",
|
262
|
+
# environment: Merge::Environment::PRODUCTION,
|
231
263
|
# api_key: "YOUR_AUTH_TOKEN"
|
232
264
|
# )
|
233
|
-
# api.crm.meta_post_retrieve
|
265
|
+
# api.crm.tasks.meta_post_retrieve
|
234
266
|
def meta_post_retrieve(request_options: nil)
|
235
267
|
response = @request_client.conn.get do |req|
|
236
268
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
237
269
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
238
270
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
239
|
-
req.headers = {
|
271
|
+
req.headers = {
|
272
|
+
**(req.headers || {}),
|
273
|
+
**@request_client.get_headers,
|
274
|
+
**(request_options&.additional_headers || {})
|
275
|
+
}.compact
|
276
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
277
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
278
|
+
end
|
279
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
280
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
281
|
+
end
|
240
282
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/meta/post"
|
241
283
|
end
|
242
284
|
Merge::Crm::MetaResponse.from_json(json_object: response.body)
|
@@ -250,31 +292,41 @@ module Merge
|
|
250
292
|
# produce these models.
|
251
293
|
# @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to
|
252
294
|
# common models, in a normalized format.
|
295
|
+
# @param is_common_model_field [Boolean] If provided, will only return remote field classes with this
|
296
|
+
# is_common_model_field value
|
253
297
|
# @param page_size [Integer] Number of results to return per page.
|
254
298
|
# @param request_options [Merge::RequestOptions]
|
255
299
|
# @return [Merge::Crm::PaginatedRemoteFieldClassList]
|
256
300
|
# @example
|
257
301
|
# api = Merge::Client.new(
|
258
|
-
# environment: Environment::PRODUCTION,
|
259
302
|
# base_url: "https://api.example.com",
|
303
|
+
# environment: Merge::Environment::PRODUCTION,
|
260
304
|
# api_key: "YOUR_AUTH_TOKEN"
|
261
305
|
# )
|
262
|
-
# api.crm.remote_field_classes_list
|
306
|
+
# api.crm.tasks.remote_field_classes_list
|
263
307
|
def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil,
|
264
|
-
include_remote_fields: nil, page_size: nil, request_options: nil)
|
308
|
+
include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil)
|
265
309
|
response = @request_client.conn.get do |req|
|
266
310
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
267
311
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
268
312
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
269
|
-
req.headers = {
|
313
|
+
req.headers = {
|
314
|
+
**(req.headers || {}),
|
315
|
+
**@request_client.get_headers,
|
316
|
+
**(request_options&.additional_headers || {})
|
317
|
+
}.compact
|
270
318
|
req.params = {
|
271
319
|
**(request_options&.additional_query_parameters || {}),
|
272
320
|
"cursor": cursor,
|
273
321
|
"include_deleted_data": include_deleted_data,
|
274
322
|
"include_remote_data": include_remote_data,
|
275
323
|
"include_remote_fields": include_remote_fields,
|
324
|
+
"is_common_model_field": is_common_model_field,
|
276
325
|
"page_size": page_size
|
277
326
|
}.compact
|
327
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
328
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
329
|
+
end
|
278
330
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/remote-field-classes"
|
279
331
|
end
|
280
332
|
Merge::Crm::PaginatedRemoteFieldClassList.from_json(json_object: response.body)
|
@@ -312,11 +364,11 @@ module Merge
|
|
312
364
|
# @return [Merge::Crm::PaginatedTaskList]
|
313
365
|
# @example
|
314
366
|
# api = Merge::Client.new(
|
315
|
-
# environment: Environment::PRODUCTION,
|
316
367
|
# base_url: "https://api.example.com",
|
368
|
+
# environment: Merge::Environment::PRODUCTION,
|
317
369
|
# api_key: "YOUR_AUTH_TOKEN"
|
318
370
|
# )
|
319
|
-
# api.crm.list
|
371
|
+
# api.crm.tasks.list
|
320
372
|
def list(created_after: nil, created_before: nil, cursor: nil, expand: nil, include_deleted_data: nil,
|
321
373
|
include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, page_size: nil, remote_id: nil, request_options: nil)
|
322
374
|
Async do
|
@@ -324,7 +376,11 @@ module Merge
|
|
324
376
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
325
377
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
326
378
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
327
|
-
req.headers = {
|
379
|
+
req.headers = {
|
380
|
+
**(req.headers || {}),
|
381
|
+
**@request_client.get_headers,
|
382
|
+
**(request_options&.additional_headers || {})
|
383
|
+
}.compact
|
328
384
|
req.params = {
|
329
385
|
**(request_options&.additional_query_parameters || {}),
|
330
386
|
"created_after": created_after,
|
@@ -339,6 +395,9 @@ module Merge
|
|
339
395
|
"page_size": page_size,
|
340
396
|
"remote_id": remote_id
|
341
397
|
}.compact
|
398
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
399
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
400
|
+
end
|
342
401
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks"
|
343
402
|
end
|
344
403
|
Merge::Crm::PaginatedTaskList.from_json(json_object: response.body)
|
@@ -365,18 +424,22 @@ module Merge
|
|
365
424
|
# @return [Merge::Crm::TaskResponse]
|
366
425
|
# @example
|
367
426
|
# api = Merge::Client.new(
|
368
|
-
# environment: Environment::PRODUCTION,
|
369
427
|
# base_url: "https://api.example.com",
|
428
|
+
# environment: Merge::Environment::PRODUCTION,
|
370
429
|
# api_key: "YOUR_AUTH_TOKEN"
|
371
430
|
# )
|
372
|
-
# api.crm.create(model: { })
|
431
|
+
# api.crm.tasks.create(model: { })
|
373
432
|
def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
374
433
|
Async do
|
375
434
|
response = @request_client.conn.post do |req|
|
376
435
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
377
436
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
378
437
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
379
|
-
req.headers = {
|
438
|
+
req.headers = {
|
439
|
+
**(req.headers || {}),
|
440
|
+
**@request_client.get_headers,
|
441
|
+
**(request_options&.additional_headers || {})
|
442
|
+
}.compact
|
380
443
|
req.params = {
|
381
444
|
**(request_options&.additional_query_parameters || {}),
|
382
445
|
"is_debug_mode": is_debug_mode,
|
@@ -402,24 +465,31 @@ module Merge
|
|
402
465
|
# @return [Merge::Crm::Task]
|
403
466
|
# @example
|
404
467
|
# api = Merge::Client.new(
|
405
|
-
# environment: Environment::PRODUCTION,
|
406
468
|
# base_url: "https://api.example.com",
|
469
|
+
# environment: Merge::Environment::PRODUCTION,
|
407
470
|
# api_key: "YOUR_AUTH_TOKEN"
|
408
471
|
# )
|
409
|
-
# api.crm.retrieve(id: "id")
|
472
|
+
# api.crm.tasks.retrieve(id: "id")
|
410
473
|
def retrieve(id:, expand: nil, include_remote_data: nil, include_remote_fields: nil, request_options: nil)
|
411
474
|
Async do
|
412
475
|
response = @request_client.conn.get do |req|
|
413
476
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
414
477
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
415
478
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
416
|
-
req.headers = {
|
479
|
+
req.headers = {
|
480
|
+
**(req.headers || {}),
|
481
|
+
**@request_client.get_headers,
|
482
|
+
**(request_options&.additional_headers || {})
|
483
|
+
}.compact
|
417
484
|
req.params = {
|
418
485
|
**(request_options&.additional_query_parameters || {}),
|
419
486
|
"expand": expand,
|
420
487
|
"include_remote_data": include_remote_data,
|
421
488
|
"include_remote_fields": include_remote_fields
|
422
489
|
}.compact
|
490
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
491
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
492
|
+
end
|
423
493
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/#{id}"
|
424
494
|
end
|
425
495
|
Merge::Crm::Task.from_json(json_object: response.body)
|
@@ -447,18 +517,22 @@ module Merge
|
|
447
517
|
# @return [Merge::Crm::TaskResponse]
|
448
518
|
# @example
|
449
519
|
# api = Merge::Client.new(
|
450
|
-
# environment: Environment::PRODUCTION,
|
451
520
|
# base_url: "https://api.example.com",
|
521
|
+
# environment: Merge::Environment::PRODUCTION,
|
452
522
|
# api_key: "YOUR_AUTH_TOKEN"
|
453
523
|
# )
|
454
|
-
# api.crm.partial_update(id: "id", model: { })
|
524
|
+
# api.crm.tasks.partial_update(id: "id", model: { })
|
455
525
|
def partial_update(id:, model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
456
526
|
Async do
|
457
527
|
response = @request_client.conn.patch do |req|
|
458
528
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
459
529
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
460
530
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
461
|
-
req.headers = {
|
531
|
+
req.headers = {
|
532
|
+
**(req.headers || {}),
|
533
|
+
**@request_client.get_headers,
|
534
|
+
**(request_options&.additional_headers || {})
|
535
|
+
}.compact
|
462
536
|
req.params = {
|
463
537
|
**(request_options&.additional_query_parameters || {}),
|
464
538
|
"is_debug_mode": is_debug_mode,
|
@@ -478,18 +552,28 @@ module Merge
|
|
478
552
|
# @return [Merge::Crm::MetaResponse]
|
479
553
|
# @example
|
480
554
|
# api = Merge::Client.new(
|
481
|
-
# environment: Environment::PRODUCTION,
|
482
555
|
# base_url: "https://api.example.com",
|
556
|
+
# environment: Merge::Environment::PRODUCTION,
|
483
557
|
# api_key: "YOUR_AUTH_TOKEN"
|
484
558
|
# )
|
485
|
-
# api.crm.meta_patch_retrieve(id: "id")
|
559
|
+
# api.crm.tasks.meta_patch_retrieve(id: "id")
|
486
560
|
def meta_patch_retrieve(id:, request_options: nil)
|
487
561
|
Async do
|
488
562
|
response = @request_client.conn.get do |req|
|
489
563
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
490
564
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
491
565
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
492
|
-
req.headers = {
|
566
|
+
req.headers = {
|
567
|
+
**(req.headers || {}),
|
568
|
+
**@request_client.get_headers,
|
569
|
+
**(request_options&.additional_headers || {})
|
570
|
+
}.compact
|
571
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
572
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
573
|
+
end
|
574
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
575
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
576
|
+
end
|
493
577
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/meta/patch/#{id}"
|
494
578
|
end
|
495
579
|
Merge::Crm::MetaResponse.from_json(json_object: response.body)
|
@@ -502,18 +586,28 @@ module Merge
|
|
502
586
|
# @return [Merge::Crm::MetaResponse]
|
503
587
|
# @example
|
504
588
|
# api = Merge::Client.new(
|
505
|
-
# environment: Environment::PRODUCTION,
|
506
589
|
# base_url: "https://api.example.com",
|
590
|
+
# environment: Merge::Environment::PRODUCTION,
|
507
591
|
# api_key: "YOUR_AUTH_TOKEN"
|
508
592
|
# )
|
509
|
-
# api.crm.meta_post_retrieve
|
593
|
+
# api.crm.tasks.meta_post_retrieve
|
510
594
|
def meta_post_retrieve(request_options: nil)
|
511
595
|
Async do
|
512
596
|
response = @request_client.conn.get do |req|
|
513
597
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
514
598
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
515
599
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
516
|
-
req.headers = {
|
600
|
+
req.headers = {
|
601
|
+
**(req.headers || {}),
|
602
|
+
**@request_client.get_headers,
|
603
|
+
**(request_options&.additional_headers || {})
|
604
|
+
}.compact
|
605
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
606
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
607
|
+
end
|
608
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
609
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
610
|
+
end
|
517
611
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/meta/post"
|
518
612
|
end
|
519
613
|
Merge::Crm::MetaResponse.from_json(json_object: response.body)
|
@@ -528,32 +622,42 @@ module Merge
|
|
528
622
|
# produce these models.
|
529
623
|
# @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to
|
530
624
|
# common models, in a normalized format.
|
625
|
+
# @param is_common_model_field [Boolean] If provided, will only return remote field classes with this
|
626
|
+
# is_common_model_field value
|
531
627
|
# @param page_size [Integer] Number of results to return per page.
|
532
628
|
# @param request_options [Merge::RequestOptions]
|
533
629
|
# @return [Merge::Crm::PaginatedRemoteFieldClassList]
|
534
630
|
# @example
|
535
631
|
# api = Merge::Client.new(
|
536
|
-
# environment: Environment::PRODUCTION,
|
537
632
|
# base_url: "https://api.example.com",
|
633
|
+
# environment: Merge::Environment::PRODUCTION,
|
538
634
|
# api_key: "YOUR_AUTH_TOKEN"
|
539
635
|
# )
|
540
|
-
# api.crm.remote_field_classes_list
|
636
|
+
# api.crm.tasks.remote_field_classes_list
|
541
637
|
def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil,
|
542
|
-
include_remote_fields: nil, page_size: nil, request_options: nil)
|
638
|
+
include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil)
|
543
639
|
Async do
|
544
640
|
response = @request_client.conn.get do |req|
|
545
641
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
546
642
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
547
643
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
548
|
-
req.headers = {
|
644
|
+
req.headers = {
|
645
|
+
**(req.headers || {}),
|
646
|
+
**@request_client.get_headers,
|
647
|
+
**(request_options&.additional_headers || {})
|
648
|
+
}.compact
|
549
649
|
req.params = {
|
550
650
|
**(request_options&.additional_query_parameters || {}),
|
551
651
|
"cursor": cursor,
|
552
652
|
"include_deleted_data": include_deleted_data,
|
553
653
|
"include_remote_data": include_remote_data,
|
554
654
|
"include_remote_fields": include_remote_fields,
|
655
|
+
"is_common_model_field": is_common_model_field,
|
555
656
|
"page_size": page_size
|
556
657
|
}.compact
|
658
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
659
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
660
|
+
end
|
557
661
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/tasks/remote-field-classes"
|
558
662
|
end
|
559
663
|
Merge::Crm::PaginatedRemoteFieldClassList.from_json(json_object: response.body)
|
@@ -140,8 +140,8 @@ module Merge
|
|
140
140
|
def self.from_json(json_object:)
|
141
141
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
142
142
|
parsed_json = JSON.parse(json_object)
|
143
|
-
id =
|
144
|
-
remote_id =
|
143
|
+
id = parsed_json["id"]
|
144
|
+
remote_id = parsed_json["remote_id"]
|
145
145
|
created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?)
|
146
146
|
modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?)
|
147
147
|
if parsed_json["owner"].nil?
|
@@ -150,18 +150,18 @@ module Merge
|
|
150
150
|
owner = parsed_json["owner"].to_json
|
151
151
|
owner = Merge::Crm::AccountOwner.from_json(json_object: owner)
|
152
152
|
end
|
153
|
-
name =
|
154
|
-
description =
|
155
|
-
industry =
|
156
|
-
website =
|
157
|
-
number_of_employees =
|
158
|
-
addresses = parsed_json["addresses"]&.map do |
|
159
|
-
|
160
|
-
Merge::Crm::Address.from_json(json_object:
|
153
|
+
name = parsed_json["name"]
|
154
|
+
description = parsed_json["description"]
|
155
|
+
industry = parsed_json["industry"]
|
156
|
+
website = parsed_json["website"]
|
157
|
+
number_of_employees = parsed_json["number_of_employees"]
|
158
|
+
addresses = parsed_json["addresses"]&.map do |item|
|
159
|
+
item = item.to_json
|
160
|
+
Merge::Crm::Address.from_json(json_object: item)
|
161
161
|
end
|
162
|
-
phone_numbers = parsed_json["phone_numbers"]&.map do |
|
163
|
-
|
164
|
-
Merge::Crm::PhoneNumber.from_json(json_object:
|
162
|
+
phone_numbers = parsed_json["phone_numbers"]&.map do |item|
|
163
|
+
item = item.to_json
|
164
|
+
Merge::Crm::PhoneNumber.from_json(json_object: item)
|
165
165
|
end
|
166
166
|
last_activity_at = (DateTime.parse(parsed_json["last_activity_at"]) unless parsed_json["last_activity_at"].nil?)
|
167
167
|
remote_updated_at = unless parsed_json["remote_updated_at"].nil?
|
@@ -170,15 +170,15 @@ module Merge
|
|
170
170
|
remote_created_at = unless parsed_json["remote_created_at"].nil?
|
171
171
|
DateTime.parse(parsed_json["remote_created_at"])
|
172
172
|
end
|
173
|
-
remote_was_deleted =
|
174
|
-
field_mappings =
|
175
|
-
remote_data = parsed_json["remote_data"]&.map do |
|
176
|
-
|
177
|
-
Merge::Crm::RemoteData.from_json(json_object:
|
173
|
+
remote_was_deleted = parsed_json["remote_was_deleted"]
|
174
|
+
field_mappings = parsed_json["field_mappings"]
|
175
|
+
remote_data = parsed_json["remote_data"]&.map do |item|
|
176
|
+
item = item.to_json
|
177
|
+
Merge::Crm::RemoteData.from_json(json_object: item)
|
178
178
|
end
|
179
|
-
remote_fields = parsed_json["remote_fields"]&.map do |
|
180
|
-
|
181
|
-
Merge::Crm::RemoteField.from_json(json_object:
|
179
|
+
remote_fields = parsed_json["remote_fields"]&.map do |item|
|
180
|
+
item = item.to_json
|
181
|
+
Merge::Crm::RemoteField.from_json(json_object: item)
|
182
182
|
end
|
183
183
|
new(
|
184
184
|
id: id,
|
@@ -93,17 +93,18 @@ module Merge
|
|
93
93
|
# @return [Merge::Crm::AccountDetails]
|
94
94
|
def self.from_json(json_object:)
|
95
95
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
96
|
+
parsed_json = JSON.parse(json_object)
|
97
|
+
id = parsed_json["id"]
|
98
|
+
integration = parsed_json["integration"]
|
99
|
+
integration_slug = parsed_json["integration_slug"]
|
100
|
+
category = parsed_json["category"]
|
101
|
+
end_user_origin_id = parsed_json["end_user_origin_id"]
|
102
|
+
end_user_organization_name = parsed_json["end_user_organization_name"]
|
103
|
+
end_user_email_address = parsed_json["end_user_email_address"]
|
104
|
+
status = parsed_json["status"]
|
105
|
+
webhook_listener_url = parsed_json["webhook_listener_url"]
|
106
|
+
is_duplicate = parsed_json["is_duplicate"]
|
107
|
+
account_type = parsed_json["account_type"]
|
107
108
|
new(
|
108
109
|
id: id,
|
109
110
|
integration: integration,
|
@@ -107,23 +107,23 @@ module Merge
|
|
107
107
|
def self.from_json(json_object:)
|
108
108
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
109
109
|
parsed_json = JSON.parse(json_object)
|
110
|
-
id =
|
111
|
-
category =
|
112
|
-
status =
|
113
|
-
status_detail =
|
114
|
-
end_user_origin_id =
|
115
|
-
end_user_organization_name =
|
116
|
-
end_user_email_address =
|
117
|
-
subdomain =
|
118
|
-
webhook_listener_url =
|
119
|
-
is_duplicate =
|
110
|
+
id = parsed_json["id"]
|
111
|
+
category = parsed_json["category"]
|
112
|
+
status = parsed_json["status"]
|
113
|
+
status_detail = parsed_json["status_detail"]
|
114
|
+
end_user_origin_id = parsed_json["end_user_origin_id"]
|
115
|
+
end_user_organization_name = parsed_json["end_user_organization_name"]
|
116
|
+
end_user_email_address = parsed_json["end_user_email_address"]
|
117
|
+
subdomain = parsed_json["subdomain"]
|
118
|
+
webhook_listener_url = parsed_json["webhook_listener_url"]
|
119
|
+
is_duplicate = parsed_json["is_duplicate"]
|
120
120
|
if parsed_json["integration"].nil?
|
121
121
|
integration = nil
|
122
122
|
else
|
123
123
|
integration = parsed_json["integration"].to_json
|
124
124
|
integration = Merge::Crm::AccountDetailsAndActionsIntegration.from_json(json_object: integration)
|
125
125
|
end
|
126
|
-
account_type =
|
126
|
+
account_type = parsed_json["account_type"]
|
127
127
|
new(
|
128
128
|
id: id,
|
129
129
|
category: category,
|
@@ -74,16 +74,16 @@ module Merge
|
|
74
74
|
def self.from_json(json_object:)
|
75
75
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
76
76
|
parsed_json = JSON.parse(json_object)
|
77
|
-
name =
|
78
|
-
categories =
|
79
|
-
image =
|
80
|
-
square_image =
|
81
|
-
color =
|
82
|
-
slug =
|
83
|
-
passthrough_available =
|
84
|
-
available_model_operations = parsed_json["available_model_operations"]&.map do |
|
85
|
-
|
86
|
-
Merge::Crm::ModelOperation.from_json(json_object:
|
77
|
+
name = parsed_json["name"]
|
78
|
+
categories = parsed_json["categories"]
|
79
|
+
image = parsed_json["image"]
|
80
|
+
square_image = parsed_json["square_image"]
|
81
|
+
color = parsed_json["color"]
|
82
|
+
slug = parsed_json["slug"]
|
83
|
+
passthrough_available = parsed_json["passthrough_available"]
|
84
|
+
available_model_operations = parsed_json["available_model_operations"]&.map do |item|
|
85
|
+
item = item.to_json
|
86
|
+
Merge::Crm::ModelOperation.from_json(json_object: item)
|
87
87
|
end
|
88
88
|
new(
|
89
89
|
name: name,
|