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
@@ -19,7 +19,7 @@ module Merge
|
|
19
19
|
@request_client = request_client
|
20
20
|
end
|
21
21
|
|
22
|
-
# Gets issues.
|
22
|
+
# Gets all issues for Organization.
|
23
23
|
#
|
24
24
|
# @param account_token [String]
|
25
25
|
# @param cursor [String] The pagination cursor value.
|
@@ -36,6 +36,8 @@ module Merge
|
|
36
36
|
# datetime.
|
37
37
|
# @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this
|
38
38
|
# datetime.
|
39
|
+
# @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed
|
40
|
+
# in.
|
39
41
|
# @param page_size [Integer] Number of results to return per page.
|
40
42
|
# @param start_date [String] If included, will only include issues whose most recent action occurred after
|
41
43
|
# this time
|
@@ -46,18 +48,22 @@ module Merge
|
|
46
48
|
# @return [Merge::Crm::PaginatedIssueList]
|
47
49
|
# @example
|
48
50
|
# api = Merge::Client.new(
|
49
|
-
# environment: Environment::PRODUCTION,
|
50
51
|
# base_url: "https://api.example.com",
|
52
|
+
# environment: Merge::Environment::PRODUCTION,
|
51
53
|
# api_key: "YOUR_AUTH_TOKEN"
|
52
54
|
# )
|
53
|
-
# api.crm.list
|
55
|
+
# api.crm.issues.list
|
54
56
|
def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil,
|
55
|
-
first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil)
|
57
|
+
first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil)
|
56
58
|
response = @request_client.conn.get do |req|
|
57
59
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
58
60
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
59
61
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
60
|
-
req.headers = {
|
62
|
+
req.headers = {
|
63
|
+
**(req.headers || {}),
|
64
|
+
**@request_client.get_headers,
|
65
|
+
**(request_options&.additional_headers || {})
|
66
|
+
}.compact
|
61
67
|
req.params = {
|
62
68
|
**(request_options&.additional_query_parameters || {}),
|
63
69
|
"account_token": account_token,
|
@@ -70,10 +76,14 @@ module Merge
|
|
70
76
|
"integration_name": integration_name,
|
71
77
|
"last_incident_time_after": last_incident_time_after,
|
72
78
|
"last_incident_time_before": last_incident_time_before,
|
79
|
+
"linked_account_id": linked_account_id,
|
73
80
|
"page_size": page_size,
|
74
81
|
"start_date": start_date,
|
75
82
|
"status": status
|
76
83
|
}.compact
|
84
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
85
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
86
|
+
end
|
77
87
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/issues"
|
78
88
|
end
|
79
89
|
Merge::Crm::PaginatedIssueList.from_json(json_object: response.body)
|
@@ -86,17 +96,27 @@ module Merge
|
|
86
96
|
# @return [Merge::Crm::Issue]
|
87
97
|
# @example
|
88
98
|
# api = Merge::Client.new(
|
89
|
-
# environment: Environment::PRODUCTION,
|
90
99
|
# base_url: "https://api.example.com",
|
100
|
+
# environment: Merge::Environment::PRODUCTION,
|
91
101
|
# api_key: "YOUR_AUTH_TOKEN"
|
92
102
|
# )
|
93
|
-
# api.crm.retrieve(id: "id")
|
103
|
+
# api.crm.issues.retrieve(id: "id")
|
94
104
|
def retrieve(id:, request_options: nil)
|
95
105
|
response = @request_client.conn.get do |req|
|
96
106
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
97
107
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
98
108
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
99
|
-
req.headers = {
|
109
|
+
req.headers = {
|
110
|
+
**(req.headers || {}),
|
111
|
+
**@request_client.get_headers,
|
112
|
+
**(request_options&.additional_headers || {})
|
113
|
+
}.compact
|
114
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
115
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
116
|
+
end
|
117
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
118
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
119
|
+
end
|
100
120
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/issues/#{id}"
|
101
121
|
end
|
102
122
|
Merge::Crm::Issue.from_json(json_object: response.body)
|
@@ -113,7 +133,7 @@ module Merge
|
|
113
133
|
@request_client = request_client
|
114
134
|
end
|
115
135
|
|
116
|
-
# Gets issues.
|
136
|
+
# Gets all issues for Organization.
|
117
137
|
#
|
118
138
|
# @param account_token [String]
|
119
139
|
# @param cursor [String] The pagination cursor value.
|
@@ -130,6 +150,8 @@ module Merge
|
|
130
150
|
# datetime.
|
131
151
|
# @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this
|
132
152
|
# datetime.
|
153
|
+
# @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed
|
154
|
+
# in.
|
133
155
|
# @param page_size [Integer] Number of results to return per page.
|
134
156
|
# @param start_date [String] If included, will only include issues whose most recent action occurred after
|
135
157
|
# this time
|
@@ -140,19 +162,23 @@ module Merge
|
|
140
162
|
# @return [Merge::Crm::PaginatedIssueList]
|
141
163
|
# @example
|
142
164
|
# api = Merge::Client.new(
|
143
|
-
# environment: Environment::PRODUCTION,
|
144
165
|
# base_url: "https://api.example.com",
|
166
|
+
# environment: Merge::Environment::PRODUCTION,
|
145
167
|
# api_key: "YOUR_AUTH_TOKEN"
|
146
168
|
# )
|
147
|
-
# api.crm.list
|
169
|
+
# api.crm.issues.list
|
148
170
|
def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil,
|
149
|
-
first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil)
|
171
|
+
first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil)
|
150
172
|
Async do
|
151
173
|
response = @request_client.conn.get do |req|
|
152
174
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
153
175
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
154
176
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
155
|
-
req.headers = {
|
177
|
+
req.headers = {
|
178
|
+
**(req.headers || {}),
|
179
|
+
**@request_client.get_headers,
|
180
|
+
**(request_options&.additional_headers || {})
|
181
|
+
}.compact
|
156
182
|
req.params = {
|
157
183
|
**(request_options&.additional_query_parameters || {}),
|
158
184
|
"account_token": account_token,
|
@@ -165,10 +191,14 @@ module Merge
|
|
165
191
|
"integration_name": integration_name,
|
166
192
|
"last_incident_time_after": last_incident_time_after,
|
167
193
|
"last_incident_time_before": last_incident_time_before,
|
194
|
+
"linked_account_id": linked_account_id,
|
168
195
|
"page_size": page_size,
|
169
196
|
"start_date": start_date,
|
170
197
|
"status": status
|
171
198
|
}.compact
|
199
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
200
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
201
|
+
end
|
172
202
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/issues"
|
173
203
|
end
|
174
204
|
Merge::Crm::PaginatedIssueList.from_json(json_object: response.body)
|
@@ -182,18 +212,28 @@ module Merge
|
|
182
212
|
# @return [Merge::Crm::Issue]
|
183
213
|
# @example
|
184
214
|
# api = Merge::Client.new(
|
185
|
-
# environment: Environment::PRODUCTION,
|
186
215
|
# base_url: "https://api.example.com",
|
216
|
+
# environment: Merge::Environment::PRODUCTION,
|
187
217
|
# api_key: "YOUR_AUTH_TOKEN"
|
188
218
|
# )
|
189
|
-
# api.crm.retrieve(id: "id")
|
219
|
+
# api.crm.issues.retrieve(id: "id")
|
190
220
|
def retrieve(id:, request_options: nil)
|
191
221
|
Async do
|
192
222
|
response = @request_client.conn.get do |req|
|
193
223
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
194
224
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
195
225
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
196
|
-
req.headers = {
|
226
|
+
req.headers = {
|
227
|
+
**(req.headers || {}),
|
228
|
+
**@request_client.get_headers,
|
229
|
+
**(request_options&.additional_headers || {})
|
230
|
+
}.compact
|
231
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
232
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
233
|
+
end
|
234
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
235
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
236
|
+
end
|
197
237
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/issues/#{id}"
|
198
238
|
end
|
199
239
|
Merge::Crm::Issue.from_json(json_object: response.body)
|
@@ -52,18 +52,22 @@ module Merge
|
|
52
52
|
# @return [Merge::Crm::PaginatedLeadList]
|
53
53
|
# @example
|
54
54
|
# api = Merge::Client.new(
|
55
|
-
# environment: Environment::PRODUCTION,
|
56
55
|
# base_url: "https://api.example.com",
|
56
|
+
# environment: Merge::Environment::PRODUCTION,
|
57
57
|
# api_key: "YOUR_AUTH_TOKEN"
|
58
58
|
# )
|
59
|
-
# api.crm.list
|
59
|
+
# api.crm.leads.list
|
60
60
|
def list(converted_account_id: nil, converted_contact_id: nil, created_after: nil, created_before: nil,
|
61
61
|
cursor: nil, email_addresses: nil, expand: nil, include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, owner_id: nil, page_size: nil, phone_numbers: nil, remote_id: nil, request_options: nil)
|
62
62
|
response = @request_client.conn.get do |req|
|
63
63
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
64
64
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
65
65
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
66
|
-
req.headers = {
|
66
|
+
req.headers = {
|
67
|
+
**(req.headers || {}),
|
68
|
+
**@request_client.get_headers,
|
69
|
+
**(request_options&.additional_headers || {})
|
70
|
+
}.compact
|
67
71
|
req.params = {
|
68
72
|
**(request_options&.additional_query_parameters || {}),
|
69
73
|
"converted_account_id": converted_account_id,
|
@@ -83,6 +87,9 @@ module Merge
|
|
83
87
|
"phone_numbers": phone_numbers,
|
84
88
|
"remote_id": remote_id
|
85
89
|
}.compact
|
90
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
91
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
92
|
+
end
|
86
93
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads"
|
87
94
|
end
|
88
95
|
Merge::Crm::PaginatedLeadList.from_json(json_object: response.body)
|
@@ -112,17 +119,21 @@ module Merge
|
|
112
119
|
# @return [Merge::Crm::LeadResponse]
|
113
120
|
# @example
|
114
121
|
# api = Merge::Client.new(
|
115
|
-
# environment: Environment::PRODUCTION,
|
116
122
|
# base_url: "https://api.example.com",
|
123
|
+
# environment: Merge::Environment::PRODUCTION,
|
117
124
|
# api_key: "YOUR_AUTH_TOKEN"
|
118
125
|
# )
|
119
|
-
# api.crm.create(model: { })
|
126
|
+
# api.crm.leads.create(model: { })
|
120
127
|
def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
121
128
|
response = @request_client.conn.post do |req|
|
122
129
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
123
130
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
124
131
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
125
|
-
req.headers = {
|
132
|
+
req.headers = {
|
133
|
+
**(req.headers || {}),
|
134
|
+
**@request_client.get_headers,
|
135
|
+
**(request_options&.additional_headers || {})
|
136
|
+
}.compact
|
126
137
|
req.params = {
|
127
138
|
**(request_options&.additional_query_parameters || {}),
|
128
139
|
"is_debug_mode": is_debug_mode,
|
@@ -147,23 +158,30 @@ module Merge
|
|
147
158
|
# @return [Merge::Crm::Lead]
|
148
159
|
# @example
|
149
160
|
# api = Merge::Client.new(
|
150
|
-
# environment: Environment::PRODUCTION,
|
151
161
|
# base_url: "https://api.example.com",
|
162
|
+
# environment: Merge::Environment::PRODUCTION,
|
152
163
|
# api_key: "YOUR_AUTH_TOKEN"
|
153
164
|
# )
|
154
|
-
# api.crm.retrieve(id: "id")
|
165
|
+
# api.crm.leads.retrieve(id: "id")
|
155
166
|
def retrieve(id:, expand: nil, include_remote_data: nil, include_remote_fields: nil, request_options: nil)
|
156
167
|
response = @request_client.conn.get do |req|
|
157
168
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
158
169
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
159
170
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
160
|
-
req.headers = {
|
171
|
+
req.headers = {
|
172
|
+
**(req.headers || {}),
|
173
|
+
**@request_client.get_headers,
|
174
|
+
**(request_options&.additional_headers || {})
|
175
|
+
}.compact
|
161
176
|
req.params = {
|
162
177
|
**(request_options&.additional_query_parameters || {}),
|
163
178
|
"expand": expand,
|
164
179
|
"include_remote_data": include_remote_data,
|
165
180
|
"include_remote_fields": include_remote_fields
|
166
181
|
}.compact
|
182
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
183
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
184
|
+
end
|
167
185
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads/#{id}"
|
168
186
|
end
|
169
187
|
Merge::Crm::Lead.from_json(json_object: response.body)
|
@@ -175,17 +193,27 @@ module Merge
|
|
175
193
|
# @return [Merge::Crm::MetaResponse]
|
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.meta_post_retrieve
|
200
|
+
# api.crm.leads.meta_post_retrieve
|
183
201
|
def meta_post_retrieve(request_options: nil)
|
184
202
|
response = @request_client.conn.get 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
|
211
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
212
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
213
|
+
end
|
214
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
215
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
216
|
+
end
|
189
217
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads/meta/post"
|
190
218
|
end
|
191
219
|
Merge::Crm::MetaResponse.from_json(json_object: response.body)
|
@@ -199,31 +227,41 @@ module Merge
|
|
199
227
|
# produce these models.
|
200
228
|
# @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to
|
201
229
|
# common models, in a normalized format.
|
230
|
+
# @param is_common_model_field [Boolean] If provided, will only return remote field classes with this
|
231
|
+
# is_common_model_field value
|
202
232
|
# @param page_size [Integer] Number of results to return per page.
|
203
233
|
# @param request_options [Merge::RequestOptions]
|
204
234
|
# @return [Merge::Crm::PaginatedRemoteFieldClassList]
|
205
235
|
# @example
|
206
236
|
# api = Merge::Client.new(
|
207
|
-
# environment: Environment::PRODUCTION,
|
208
237
|
# base_url: "https://api.example.com",
|
238
|
+
# environment: Merge::Environment::PRODUCTION,
|
209
239
|
# api_key: "YOUR_AUTH_TOKEN"
|
210
240
|
# )
|
211
|
-
# api.crm.remote_field_classes_list
|
241
|
+
# api.crm.leads.remote_field_classes_list
|
212
242
|
def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil,
|
213
|
-
include_remote_fields: nil, page_size: nil, request_options: nil)
|
243
|
+
include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil)
|
214
244
|
response = @request_client.conn.get do |req|
|
215
245
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
216
246
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
217
247
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
218
|
-
req.headers = {
|
248
|
+
req.headers = {
|
249
|
+
**(req.headers || {}),
|
250
|
+
**@request_client.get_headers,
|
251
|
+
**(request_options&.additional_headers || {})
|
252
|
+
}.compact
|
219
253
|
req.params = {
|
220
254
|
**(request_options&.additional_query_parameters || {}),
|
221
255
|
"cursor": cursor,
|
222
256
|
"include_deleted_data": include_deleted_data,
|
223
257
|
"include_remote_data": include_remote_data,
|
224
258
|
"include_remote_fields": include_remote_fields,
|
259
|
+
"is_common_model_field": is_common_model_field,
|
225
260
|
"page_size": page_size
|
226
261
|
}.compact
|
262
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
263
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
264
|
+
end
|
227
265
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads/remote-field-classes"
|
228
266
|
end
|
229
267
|
Merge::Crm::PaginatedRemoteFieldClassList.from_json(json_object: response.body)
|
@@ -268,11 +306,11 @@ module Merge
|
|
268
306
|
# @return [Merge::Crm::PaginatedLeadList]
|
269
307
|
# @example
|
270
308
|
# api = Merge::Client.new(
|
271
|
-
# environment: Environment::PRODUCTION,
|
272
309
|
# base_url: "https://api.example.com",
|
310
|
+
# environment: Merge::Environment::PRODUCTION,
|
273
311
|
# api_key: "YOUR_AUTH_TOKEN"
|
274
312
|
# )
|
275
|
-
# api.crm.list
|
313
|
+
# api.crm.leads.list
|
276
314
|
def list(converted_account_id: nil, converted_contact_id: nil, created_after: nil, created_before: nil,
|
277
315
|
cursor: nil, email_addresses: nil, expand: nil, include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, owner_id: nil, page_size: nil, phone_numbers: nil, remote_id: nil, request_options: nil)
|
278
316
|
Async do
|
@@ -280,7 +318,11 @@ module Merge
|
|
280
318
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
281
319
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
282
320
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
283
|
-
req.headers = {
|
321
|
+
req.headers = {
|
322
|
+
**(req.headers || {}),
|
323
|
+
**@request_client.get_headers,
|
324
|
+
**(request_options&.additional_headers || {})
|
325
|
+
}.compact
|
284
326
|
req.params = {
|
285
327
|
**(request_options&.additional_query_parameters || {}),
|
286
328
|
"converted_account_id": converted_account_id,
|
@@ -300,6 +342,9 @@ module Merge
|
|
300
342
|
"phone_numbers": phone_numbers,
|
301
343
|
"remote_id": remote_id
|
302
344
|
}.compact
|
345
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
346
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
347
|
+
end
|
303
348
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads"
|
304
349
|
end
|
305
350
|
Merge::Crm::PaginatedLeadList.from_json(json_object: response.body)
|
@@ -330,18 +375,22 @@ module Merge
|
|
330
375
|
# @return [Merge::Crm::LeadResponse]
|
331
376
|
# @example
|
332
377
|
# api = Merge::Client.new(
|
333
|
-
# environment: Environment::PRODUCTION,
|
334
378
|
# base_url: "https://api.example.com",
|
379
|
+
# environment: Merge::Environment::PRODUCTION,
|
335
380
|
# api_key: "YOUR_AUTH_TOKEN"
|
336
381
|
# )
|
337
|
-
# api.crm.create(model: { })
|
382
|
+
# api.crm.leads.create(model: { })
|
338
383
|
def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
339
384
|
Async do
|
340
385
|
response = @request_client.conn.post do |req|
|
341
386
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
342
387
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
343
388
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
344
|
-
req.headers = {
|
389
|
+
req.headers = {
|
390
|
+
**(req.headers || {}),
|
391
|
+
**@request_client.get_headers,
|
392
|
+
**(request_options&.additional_headers || {})
|
393
|
+
}.compact
|
345
394
|
req.params = {
|
346
395
|
**(request_options&.additional_query_parameters || {}),
|
347
396
|
"is_debug_mode": is_debug_mode,
|
@@ -367,24 +416,31 @@ module Merge
|
|
367
416
|
# @return [Merge::Crm::Lead]
|
368
417
|
# @example
|
369
418
|
# api = Merge::Client.new(
|
370
|
-
# environment: Environment::PRODUCTION,
|
371
419
|
# base_url: "https://api.example.com",
|
420
|
+
# environment: Merge::Environment::PRODUCTION,
|
372
421
|
# api_key: "YOUR_AUTH_TOKEN"
|
373
422
|
# )
|
374
|
-
# api.crm.retrieve(id: "id")
|
423
|
+
# api.crm.leads.retrieve(id: "id")
|
375
424
|
def retrieve(id:, expand: nil, include_remote_data: nil, include_remote_fields: nil, request_options: nil)
|
376
425
|
Async do
|
377
426
|
response = @request_client.conn.get do |req|
|
378
427
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
379
428
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
380
429
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
381
|
-
req.headers = {
|
430
|
+
req.headers = {
|
431
|
+
**(req.headers || {}),
|
432
|
+
**@request_client.get_headers,
|
433
|
+
**(request_options&.additional_headers || {})
|
434
|
+
}.compact
|
382
435
|
req.params = {
|
383
436
|
**(request_options&.additional_query_parameters || {}),
|
384
437
|
"expand": expand,
|
385
438
|
"include_remote_data": include_remote_data,
|
386
439
|
"include_remote_fields": include_remote_fields
|
387
440
|
}.compact
|
441
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
442
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
443
|
+
end
|
388
444
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads/#{id}"
|
389
445
|
end
|
390
446
|
Merge::Crm::Lead.from_json(json_object: response.body)
|
@@ -397,18 +453,28 @@ module Merge
|
|
397
453
|
# @return [Merge::Crm::MetaResponse]
|
398
454
|
# @example
|
399
455
|
# api = Merge::Client.new(
|
400
|
-
# environment: Environment::PRODUCTION,
|
401
456
|
# base_url: "https://api.example.com",
|
457
|
+
# environment: Merge::Environment::PRODUCTION,
|
402
458
|
# api_key: "YOUR_AUTH_TOKEN"
|
403
459
|
# )
|
404
|
-
# api.crm.meta_post_retrieve
|
460
|
+
# api.crm.leads.meta_post_retrieve
|
405
461
|
def meta_post_retrieve(request_options: nil)
|
406
462
|
Async do
|
407
463
|
response = @request_client.conn.get do |req|
|
408
464
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
409
465
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
410
466
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
411
|
-
req.headers = {
|
467
|
+
req.headers = {
|
468
|
+
**(req.headers || {}),
|
469
|
+
**@request_client.get_headers,
|
470
|
+
**(request_options&.additional_headers || {})
|
471
|
+
}.compact
|
472
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
473
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
474
|
+
end
|
475
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
476
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
477
|
+
end
|
412
478
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads/meta/post"
|
413
479
|
end
|
414
480
|
Merge::Crm::MetaResponse.from_json(json_object: response.body)
|
@@ -423,32 +489,42 @@ module Merge
|
|
423
489
|
# produce these models.
|
424
490
|
# @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to
|
425
491
|
# common models, in a normalized format.
|
492
|
+
# @param is_common_model_field [Boolean] If provided, will only return remote field classes with this
|
493
|
+
# is_common_model_field value
|
426
494
|
# @param page_size [Integer] Number of results to return per page.
|
427
495
|
# @param request_options [Merge::RequestOptions]
|
428
496
|
# @return [Merge::Crm::PaginatedRemoteFieldClassList]
|
429
497
|
# @example
|
430
498
|
# api = Merge::Client.new(
|
431
|
-
# environment: Environment::PRODUCTION,
|
432
499
|
# base_url: "https://api.example.com",
|
500
|
+
# environment: Merge::Environment::PRODUCTION,
|
433
501
|
# api_key: "YOUR_AUTH_TOKEN"
|
434
502
|
# )
|
435
|
-
# api.crm.remote_field_classes_list
|
503
|
+
# api.crm.leads.remote_field_classes_list
|
436
504
|
def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil,
|
437
|
-
include_remote_fields: nil, page_size: nil, request_options: nil)
|
505
|
+
include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil)
|
438
506
|
Async do
|
439
507
|
response = @request_client.conn.get do |req|
|
440
508
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
441
509
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
442
510
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
443
|
-
req.headers = {
|
511
|
+
req.headers = {
|
512
|
+
**(req.headers || {}),
|
513
|
+
**@request_client.get_headers,
|
514
|
+
**(request_options&.additional_headers || {})
|
515
|
+
}.compact
|
444
516
|
req.params = {
|
445
517
|
**(request_options&.additional_query_parameters || {}),
|
446
518
|
"cursor": cursor,
|
447
519
|
"include_deleted_data": include_deleted_data,
|
448
520
|
"include_remote_data": include_remote_data,
|
449
521
|
"include_remote_fields": include_remote_fields,
|
522
|
+
"is_common_model_field": is_common_model_field,
|
450
523
|
"page_size": page_size
|
451
524
|
}.compact
|
525
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
526
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
527
|
+
end
|
452
528
|
req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/leads/remote-field-classes"
|
453
529
|
end
|
454
530
|
Merge::Crm::PaginatedRemoteFieldClassList.from_json(json_object: response.body)
|
@@ -35,6 +35,9 @@ module Merge
|
|
35
35
|
# @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on
|
36
36
|
# Magic Link, see
|
37
37
|
# https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
|
38
|
+
# @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the
|
39
|
+
# linking flow. Defaults to false. For more information on Magic Link, see
|
40
|
+
# https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
|
38
41
|
# @param common_models [Array<Hash>] An array of objects to specify the models and fields that will be disabled for a
|
39
42
|
# given Linked Account. Each object uses model_id, enabled_actions, and
|
40
43
|
# disabled_fields to specify the model, method, and fields that are scoped for a
|
@@ -51,23 +54,30 @@ module Merge
|
|
51
54
|
# @return [Merge::Crm::LinkToken]
|
52
55
|
# @example
|
53
56
|
# api = Merge::Client.new(
|
54
|
-
# environment: Environment::PRODUCTION,
|
55
57
|
# base_url: "https://api.example.com",
|
58
|
+
# environment: Merge::Environment::PRODUCTION,
|
56
59
|
# api_key: "YOUR_AUTH_TOKEN"
|
57
60
|
# )
|
58
|
-
# api.crm.create(
|
61
|
+
# api.crm.link_token.create(
|
59
62
|
# end_user_email_address: "example@gmail.com",
|
60
63
|
# end_user_organization_name: "Test Organization",
|
61
64
|
# end_user_origin_id: "12345",
|
62
65
|
# categories: [HRIS, ATS]
|
63
66
|
# )
|
64
67
|
def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:,
|
65
|
-
integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil)
|
68
|
+
integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil)
|
66
69
|
response = @request_client.conn.post do |req|
|
67
70
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
68
71
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
69
72
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
70
|
-
req.headers = {
|
73
|
+
req.headers = {
|
74
|
+
**(req.headers || {}),
|
75
|
+
**@request_client.get_headers,
|
76
|
+
**(request_options&.additional_headers || {})
|
77
|
+
}.compact
|
78
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
79
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
80
|
+
end
|
71
81
|
req.body = {
|
72
82
|
**(request_options&.additional_body_parameters || {}),
|
73
83
|
end_user_email_address: end_user_email_address,
|
@@ -77,6 +87,7 @@ module Merge
|
|
77
87
|
integration: integration,
|
78
88
|
link_expiry_mins: link_expiry_mins,
|
79
89
|
should_create_magic_link_url: should_create_magic_link_url,
|
90
|
+
hide_admin_magic_link: hide_admin_magic_link,
|
80
91
|
common_models: common_models,
|
81
92
|
category_common_model_scopes: category_common_model_scopes,
|
82
93
|
language: language,
|
@@ -115,6 +126,9 @@ module Merge
|
|
115
126
|
# @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on
|
116
127
|
# Magic Link, see
|
117
128
|
# https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
|
129
|
+
# @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the
|
130
|
+
# linking flow. Defaults to false. For more information on Magic Link, see
|
131
|
+
# https://merge.dev/blog/integrations-fast-say-hello-to-magic-link.
|
118
132
|
# @param common_models [Array<Hash>] An array of objects to specify the models and fields that will be disabled for a
|
119
133
|
# given Linked Account. Each object uses model_id, enabled_actions, and
|
120
134
|
# disabled_fields to specify the model, method, and fields that are scoped for a
|
@@ -131,24 +145,31 @@ module Merge
|
|
131
145
|
# @return [Merge::Crm::LinkToken]
|
132
146
|
# @example
|
133
147
|
# api = Merge::Client.new(
|
134
|
-
# environment: Environment::PRODUCTION,
|
135
148
|
# base_url: "https://api.example.com",
|
149
|
+
# environment: Merge::Environment::PRODUCTION,
|
136
150
|
# api_key: "YOUR_AUTH_TOKEN"
|
137
151
|
# )
|
138
|
-
# api.crm.create(
|
152
|
+
# api.crm.link_token.create(
|
139
153
|
# end_user_email_address: "example@gmail.com",
|
140
154
|
# end_user_organization_name: "Test Organization",
|
141
155
|
# end_user_origin_id: "12345",
|
142
156
|
# categories: [HRIS, ATS]
|
143
157
|
# )
|
144
158
|
def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:,
|
145
|
-
integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil)
|
159
|
+
integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil)
|
146
160
|
Async do
|
147
161
|
response = @request_client.conn.post do |req|
|
148
162
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
149
163
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
150
164
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
151
|
-
req.headers = {
|
165
|
+
req.headers = {
|
166
|
+
**(req.headers || {}),
|
167
|
+
**@request_client.get_headers,
|
168
|
+
**(request_options&.additional_headers || {})
|
169
|
+
}.compact
|
170
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
171
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
172
|
+
end
|
152
173
|
req.body = {
|
153
174
|
**(request_options&.additional_body_parameters || {}),
|
154
175
|
end_user_email_address: end_user_email_address,
|
@@ -158,6 +179,7 @@ module Merge
|
|
158
179
|
integration: integration,
|
159
180
|
link_expiry_mins: link_expiry_mins,
|
160
181
|
should_create_magic_link_url: should_create_magic_link_url,
|
182
|
+
hide_admin_magic_link: hide_admin_magic_link,
|
161
183
|
common_models: common_models,
|
162
184
|
category_common_model_scopes: category_common_model_scopes,
|
163
185
|
language: language,
|