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
@@ -27,9 +27,9 @@ module Merge
|
|
27
27
|
# @param created_after [DateTime] If provided, will only return objects created after this datetime.
|
28
28
|
# @param created_before [DateTime] If provided, will only return objects created before this datetime.
|
29
29
|
# @param cursor [String] The pagination cursor value.
|
30
|
-
# @param employee_id [String] If provided, will only return
|
31
|
-
# @param ended_after [String] If provided, will only return
|
32
|
-
# @param ended_before [String] If provided, will only return
|
30
|
+
# @param employee_id [String] If provided, will only return timesheet entries for this employee.
|
31
|
+
# @param ended_after [String] If provided, will only return timesheet entries ended after this datetime.
|
32
|
+
# @param ended_before [String] If provided, will only return timesheet entries ended before this datetime.
|
33
33
|
# @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks.
|
34
34
|
# @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to
|
35
35
|
# produce these models.
|
@@ -40,25 +40,28 @@ module Merge
|
|
40
40
|
# start_time, -start_time.
|
41
41
|
# @param page_size [Integer] Number of results to return per page.
|
42
42
|
# @param remote_id [String] The API provider's ID for the given object.
|
43
|
-
# @param started_after [String] If provided, will only return
|
44
|
-
# @param started_before [String] If provided, will only return
|
45
|
-
# datetime.
|
43
|
+
# @param started_after [String] If provided, will only return timesheet entries started after this datetime.
|
44
|
+
# @param started_before [String] If provided, will only return timesheet entries started before this datetime.
|
46
45
|
# @param request_options [Merge::RequestOptions]
|
47
46
|
# @return [Merge::Hris::PaginatedTimesheetEntryList]
|
48
47
|
# @example
|
49
48
|
# api = Merge::Client.new(
|
50
|
-
# environment: Environment::PRODUCTION,
|
51
49
|
# base_url: "https://api.example.com",
|
50
|
+
# environment: Merge::Environment::PRODUCTION,
|
52
51
|
# api_key: "YOUR_AUTH_TOKEN"
|
53
52
|
# )
|
54
|
-
# api.hris.list
|
53
|
+
# api.hris.timesheet_entries.list
|
55
54
|
def list(created_after: nil, created_before: nil, cursor: nil, employee_id: nil, ended_after: nil,
|
56
55
|
ended_before: nil, include_deleted_data: nil, include_remote_data: nil, modified_after: nil, modified_before: nil, order_by: nil, page_size: nil, remote_id: nil, started_after: nil, started_before: nil, request_options: nil)
|
57
56
|
response = @request_client.conn.get do |req|
|
58
57
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
59
58
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
60
59
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
61
|
-
req.headers = {
|
60
|
+
req.headers = {
|
61
|
+
**(req.headers || {}),
|
62
|
+
**@request_client.get_headers,
|
63
|
+
**(request_options&.additional_headers || {})
|
64
|
+
}.compact
|
62
65
|
req.params = {
|
63
66
|
**(request_options&.additional_query_parameters || {}),
|
64
67
|
"created_after": created_after,
|
@@ -77,6 +80,9 @@ module Merge
|
|
77
80
|
"started_after": started_after,
|
78
81
|
"started_before": started_before
|
79
82
|
}.compact
|
83
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
84
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
85
|
+
end
|
80
86
|
req.url "#{@request_client.get_url(request_options: request_options)}/hris/v1/timesheet-entries"
|
81
87
|
end
|
82
88
|
Merge::Hris::PaginatedTimesheetEntryList.from_json(json_object: response.body)
|
@@ -97,17 +103,21 @@ module Merge
|
|
97
103
|
# @return [Merge::Hris::TimesheetEntryResponse]
|
98
104
|
# @example
|
99
105
|
# api = Merge::Client.new(
|
100
|
-
# environment: Environment::PRODUCTION,
|
101
106
|
# base_url: "https://api.example.com",
|
107
|
+
# environment: Merge::Environment::PRODUCTION,
|
102
108
|
# api_key: "YOUR_AUTH_TOKEN"
|
103
109
|
# )
|
104
|
-
# api.hris.create(model: { })
|
110
|
+
# api.hris.timesheet_entries.create(model: { })
|
105
111
|
def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
106
112
|
response = @request_client.conn.post do |req|
|
107
113
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
108
114
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
109
115
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
110
|
-
req.headers = {
|
116
|
+
req.headers = {
|
117
|
+
**(req.headers || {}),
|
118
|
+
**@request_client.get_headers,
|
119
|
+
**(request_options&.additional_headers || {})
|
120
|
+
}.compact
|
111
121
|
req.params = {
|
112
122
|
**(request_options&.additional_query_parameters || {}),
|
113
123
|
"is_debug_mode": is_debug_mode,
|
@@ -128,21 +138,28 @@ module Merge
|
|
128
138
|
# @return [Merge::Hris::TimesheetEntry]
|
129
139
|
# @example
|
130
140
|
# api = Merge::Client.new(
|
131
|
-
# environment: Environment::PRODUCTION,
|
132
141
|
# base_url: "https://api.example.com",
|
142
|
+
# environment: Merge::Environment::PRODUCTION,
|
133
143
|
# api_key: "YOUR_AUTH_TOKEN"
|
134
144
|
# )
|
135
|
-
# api.hris.retrieve(id: "id")
|
145
|
+
# api.hris.timesheet_entries.retrieve(id: "id")
|
136
146
|
def retrieve(id:, include_remote_data: nil, request_options: nil)
|
137
147
|
response = @request_client.conn.get do |req|
|
138
148
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
139
149
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
140
150
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
141
|
-
req.headers = {
|
151
|
+
req.headers = {
|
152
|
+
**(req.headers || {}),
|
153
|
+
**@request_client.get_headers,
|
154
|
+
**(request_options&.additional_headers || {})
|
155
|
+
}.compact
|
142
156
|
req.params = {
|
143
157
|
**(request_options&.additional_query_parameters || {}),
|
144
158
|
"include_remote_data": include_remote_data
|
145
159
|
}.compact
|
160
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
161
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
162
|
+
end
|
146
163
|
req.url "#{@request_client.get_url(request_options: request_options)}/hris/v1/timesheet-entries/#{id}"
|
147
164
|
end
|
148
165
|
Merge::Hris::TimesheetEntry.from_json(json_object: response.body)
|
@@ -154,17 +171,27 @@ module Merge
|
|
154
171
|
# @return [Merge::Hris::MetaResponse]
|
155
172
|
# @example
|
156
173
|
# api = Merge::Client.new(
|
157
|
-
# environment: Environment::PRODUCTION,
|
158
174
|
# base_url: "https://api.example.com",
|
175
|
+
# environment: Merge::Environment::PRODUCTION,
|
159
176
|
# api_key: "YOUR_AUTH_TOKEN"
|
160
177
|
# )
|
161
|
-
# api.hris.meta_post_retrieve
|
178
|
+
# api.hris.timesheet_entries.meta_post_retrieve
|
162
179
|
def meta_post_retrieve(request_options: nil)
|
163
180
|
response = @request_client.conn.get do |req|
|
164
181
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
165
182
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
166
183
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
167
|
-
req.headers = {
|
184
|
+
req.headers = {
|
185
|
+
**(req.headers || {}),
|
186
|
+
**@request_client.get_headers,
|
187
|
+
**(request_options&.additional_headers || {})
|
188
|
+
}.compact
|
189
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
190
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
191
|
+
end
|
192
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
193
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
194
|
+
end
|
168
195
|
req.url "#{@request_client.get_url(request_options: request_options)}/hris/v1/timesheet-entries/meta/post"
|
169
196
|
end
|
170
197
|
Merge::Hris::MetaResponse.from_json(json_object: response.body)
|
@@ -186,9 +213,9 @@ module Merge
|
|
186
213
|
# @param created_after [DateTime] If provided, will only return objects created after this datetime.
|
187
214
|
# @param created_before [DateTime] If provided, will only return objects created before this datetime.
|
188
215
|
# @param cursor [String] The pagination cursor value.
|
189
|
-
# @param employee_id [String] If provided, will only return
|
190
|
-
# @param ended_after [String] If provided, will only return
|
191
|
-
# @param ended_before [String] If provided, will only return
|
216
|
+
# @param employee_id [String] If provided, will only return timesheet entries for this employee.
|
217
|
+
# @param ended_after [String] If provided, will only return timesheet entries ended after this datetime.
|
218
|
+
# @param ended_before [String] If provided, will only return timesheet entries ended before this datetime.
|
192
219
|
# @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks.
|
193
220
|
# @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to
|
194
221
|
# produce these models.
|
@@ -199,18 +226,17 @@ module Merge
|
|
199
226
|
# start_time, -start_time.
|
200
227
|
# @param page_size [Integer] Number of results to return per page.
|
201
228
|
# @param remote_id [String] The API provider's ID for the given object.
|
202
|
-
# @param started_after [String] If provided, will only return
|
203
|
-
# @param started_before [String] If provided, will only return
|
204
|
-
# datetime.
|
229
|
+
# @param started_after [String] If provided, will only return timesheet entries started after this datetime.
|
230
|
+
# @param started_before [String] If provided, will only return timesheet entries started before this datetime.
|
205
231
|
# @param request_options [Merge::RequestOptions]
|
206
232
|
# @return [Merge::Hris::PaginatedTimesheetEntryList]
|
207
233
|
# @example
|
208
234
|
# api = Merge::Client.new(
|
209
|
-
# environment: Environment::PRODUCTION,
|
210
235
|
# base_url: "https://api.example.com",
|
236
|
+
# environment: Merge::Environment::PRODUCTION,
|
211
237
|
# api_key: "YOUR_AUTH_TOKEN"
|
212
238
|
# )
|
213
|
-
# api.hris.list
|
239
|
+
# api.hris.timesheet_entries.list
|
214
240
|
def list(created_after: nil, created_before: nil, cursor: nil, employee_id: nil, ended_after: nil,
|
215
241
|
ended_before: nil, include_deleted_data: nil, include_remote_data: nil, modified_after: nil, modified_before: nil, order_by: nil, page_size: nil, remote_id: nil, started_after: nil, started_before: nil, request_options: nil)
|
216
242
|
Async do
|
@@ -218,7 +244,11 @@ module Merge
|
|
218
244
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
219
245
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
220
246
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
221
|
-
req.headers = {
|
247
|
+
req.headers = {
|
248
|
+
**(req.headers || {}),
|
249
|
+
**@request_client.get_headers,
|
250
|
+
**(request_options&.additional_headers || {})
|
251
|
+
}.compact
|
222
252
|
req.params = {
|
223
253
|
**(request_options&.additional_query_parameters || {}),
|
224
254
|
"created_after": created_after,
|
@@ -237,6 +267,9 @@ module Merge
|
|
237
267
|
"started_after": started_after,
|
238
268
|
"started_before": started_before
|
239
269
|
}.compact
|
270
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
271
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
272
|
+
end
|
240
273
|
req.url "#{@request_client.get_url(request_options: request_options)}/hris/v1/timesheet-entries"
|
241
274
|
end
|
242
275
|
Merge::Hris::PaginatedTimesheetEntryList.from_json(json_object: response.body)
|
@@ -258,18 +291,22 @@ module Merge
|
|
258
291
|
# @return [Merge::Hris::TimesheetEntryResponse]
|
259
292
|
# @example
|
260
293
|
# api = Merge::Client.new(
|
261
|
-
# environment: Environment::PRODUCTION,
|
262
294
|
# base_url: "https://api.example.com",
|
295
|
+
# environment: Merge::Environment::PRODUCTION,
|
263
296
|
# api_key: "YOUR_AUTH_TOKEN"
|
264
297
|
# )
|
265
|
-
# api.hris.create(model: { })
|
298
|
+
# api.hris.timesheet_entries.create(model: { })
|
266
299
|
def create(model:, is_debug_mode: nil, run_async: nil, request_options: nil)
|
267
300
|
Async do
|
268
301
|
response = @request_client.conn.post do |req|
|
269
302
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
270
303
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
271
304
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
272
|
-
req.headers = {
|
305
|
+
req.headers = {
|
306
|
+
**(req.headers || {}),
|
307
|
+
**@request_client.get_headers,
|
308
|
+
**(request_options&.additional_headers || {})
|
309
|
+
}.compact
|
273
310
|
req.params = {
|
274
311
|
**(request_options&.additional_query_parameters || {}),
|
275
312
|
"is_debug_mode": is_debug_mode,
|
@@ -291,22 +328,29 @@ module Merge
|
|
291
328
|
# @return [Merge::Hris::TimesheetEntry]
|
292
329
|
# @example
|
293
330
|
# api = Merge::Client.new(
|
294
|
-
# environment: Environment::PRODUCTION,
|
295
331
|
# base_url: "https://api.example.com",
|
332
|
+
# environment: Merge::Environment::PRODUCTION,
|
296
333
|
# api_key: "YOUR_AUTH_TOKEN"
|
297
334
|
# )
|
298
|
-
# api.hris.retrieve(id: "id")
|
335
|
+
# api.hris.timesheet_entries.retrieve(id: "id")
|
299
336
|
def retrieve(id:, include_remote_data: nil, request_options: nil)
|
300
337
|
Async do
|
301
338
|
response = @request_client.conn.get do |req|
|
302
339
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
303
340
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
304
341
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
305
|
-
req.headers = {
|
342
|
+
req.headers = {
|
343
|
+
**(req.headers || {}),
|
344
|
+
**@request_client.get_headers,
|
345
|
+
**(request_options&.additional_headers || {})
|
346
|
+
}.compact
|
306
347
|
req.params = {
|
307
348
|
**(request_options&.additional_query_parameters || {}),
|
308
349
|
"include_remote_data": include_remote_data
|
309
350
|
}.compact
|
351
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
352
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
353
|
+
end
|
310
354
|
req.url "#{@request_client.get_url(request_options: request_options)}/hris/v1/timesheet-entries/#{id}"
|
311
355
|
end
|
312
356
|
Merge::Hris::TimesheetEntry.from_json(json_object: response.body)
|
@@ -319,18 +363,28 @@ module Merge
|
|
319
363
|
# @return [Merge::Hris::MetaResponse]
|
320
364
|
# @example
|
321
365
|
# api = Merge::Client.new(
|
322
|
-
# environment: Environment::PRODUCTION,
|
323
366
|
# base_url: "https://api.example.com",
|
367
|
+
# environment: Merge::Environment::PRODUCTION,
|
324
368
|
# api_key: "YOUR_AUTH_TOKEN"
|
325
369
|
# )
|
326
|
-
# api.hris.meta_post_retrieve
|
370
|
+
# api.hris.timesheet_entries.meta_post_retrieve
|
327
371
|
def meta_post_retrieve(request_options: nil)
|
328
372
|
Async do
|
329
373
|
response = @request_client.conn.get do |req|
|
330
374
|
req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil?
|
331
375
|
req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil?
|
332
376
|
req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil?
|
333
|
-
req.headers = {
|
377
|
+
req.headers = {
|
378
|
+
**(req.headers || {}),
|
379
|
+
**@request_client.get_headers,
|
380
|
+
**(request_options&.additional_headers || {})
|
381
|
+
}.compact
|
382
|
+
unless request_options.nil? || request_options&.additional_query_parameters.nil?
|
383
|
+
req.params = { **(request_options&.additional_query_parameters || {}) }.compact
|
384
|
+
end
|
385
|
+
unless request_options.nil? || request_options&.additional_body_parameters.nil?
|
386
|
+
req.body = { **(request_options&.additional_body_parameters || {}) }.compact
|
387
|
+
end
|
334
388
|
req.url "#{@request_client.get_url(request_options: request_options)}/hris/v1/timesheet-entries/meta/post"
|
335
389
|
end
|
336
390
|
Merge::Hris::MetaResponse.from_json(json_object: response.body)
|
@@ -93,17 +93,18 @@ module Merge
|
|
93
93
|
# @return [Merge::Hris::AccountDetails]
|
94
94
|
def self.from_json(json_object:)
|
95
95
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
105
|
-
|
106
|
-
|
96
|
+
parsed_json = JSON.parse(json_object)
|
97
|
+
id = parsed_json["id"]
|
98
|
+
integration = parsed_json["integration"]
|
99
|
+
integration_slug = parsed_json["integration_slug"]
|
100
|
+
category = parsed_json["category"]
|
101
|
+
end_user_origin_id = parsed_json["end_user_origin_id"]
|
102
|
+
end_user_organization_name = parsed_json["end_user_organization_name"]
|
103
|
+
end_user_email_address = parsed_json["end_user_email_address"]
|
104
|
+
status = parsed_json["status"]
|
105
|
+
webhook_listener_url = parsed_json["webhook_listener_url"]
|
106
|
+
is_duplicate = parsed_json["is_duplicate"]
|
107
|
+
account_type = parsed_json["account_type"]
|
107
108
|
new(
|
108
109
|
id: id,
|
109
110
|
integration: integration,
|
@@ -107,23 +107,23 @@ module Merge
|
|
107
107
|
def self.from_json(json_object:)
|
108
108
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
109
109
|
parsed_json = JSON.parse(json_object)
|
110
|
-
id =
|
111
|
-
category =
|
112
|
-
status =
|
113
|
-
status_detail =
|
114
|
-
end_user_origin_id =
|
115
|
-
end_user_organization_name =
|
116
|
-
end_user_email_address =
|
117
|
-
subdomain =
|
118
|
-
webhook_listener_url =
|
119
|
-
is_duplicate =
|
110
|
+
id = parsed_json["id"]
|
111
|
+
category = parsed_json["category"]
|
112
|
+
status = parsed_json["status"]
|
113
|
+
status_detail = parsed_json["status_detail"]
|
114
|
+
end_user_origin_id = parsed_json["end_user_origin_id"]
|
115
|
+
end_user_organization_name = parsed_json["end_user_organization_name"]
|
116
|
+
end_user_email_address = parsed_json["end_user_email_address"]
|
117
|
+
subdomain = parsed_json["subdomain"]
|
118
|
+
webhook_listener_url = parsed_json["webhook_listener_url"]
|
119
|
+
is_duplicate = parsed_json["is_duplicate"]
|
120
120
|
if parsed_json["integration"].nil?
|
121
121
|
integration = nil
|
122
122
|
else
|
123
123
|
integration = parsed_json["integration"].to_json
|
124
124
|
integration = Merge::Hris::AccountDetailsAndActionsIntegration.from_json(json_object: integration)
|
125
125
|
end
|
126
|
-
account_type =
|
126
|
+
account_type = parsed_json["account_type"]
|
127
127
|
new(
|
128
128
|
id: id,
|
129
129
|
category: category,
|
@@ -74,16 +74,16 @@ module Merge
|
|
74
74
|
def self.from_json(json_object:)
|
75
75
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
76
76
|
parsed_json = JSON.parse(json_object)
|
77
|
-
name =
|
78
|
-
categories =
|
79
|
-
image =
|
80
|
-
square_image =
|
81
|
-
color =
|
82
|
-
slug =
|
83
|
-
passthrough_available =
|
84
|
-
available_model_operations = parsed_json["available_model_operations"]&.map do |
|
85
|
-
|
86
|
-
Merge::Hris::ModelOperation.from_json(json_object:
|
77
|
+
name = parsed_json["name"]
|
78
|
+
categories = parsed_json["categories"]
|
79
|
+
image = parsed_json["image"]
|
80
|
+
square_image = parsed_json["square_image"]
|
81
|
+
color = parsed_json["color"]
|
82
|
+
slug = parsed_json["slug"]
|
83
|
+
passthrough_available = parsed_json["passthrough_available"]
|
84
|
+
available_model_operations = parsed_json["available_model_operations"]&.map do |item|
|
85
|
+
item = item.to_json
|
86
|
+
Merge::Hris::ModelOperation.from_json(json_object: item)
|
87
87
|
end
|
88
88
|
new(
|
89
89
|
name: name,
|
@@ -9,6 +9,11 @@ module Merge
|
|
9
9
|
class AccountIntegration
|
10
10
|
# @return [String] Company name.
|
11
11
|
attr_reader :name
|
12
|
+
# @return [String] Optional. This shortened name appears in places with limited space, usually in
|
13
|
+
# conjunction with the platform's logo (e.g., Merge Link menu).<br><br>Example:
|
14
|
+
# <i>Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP
|
15
|
+
# SuccessFactors)</i>
|
16
|
+
attr_reader :abbreviated_name
|
12
17
|
# @return [Array<Merge::Hris::CategoriesEnum>] Category or categories this integration belongs to. Multiple categories should
|
13
18
|
# be comma separated, i.e. [ats, hris].
|
14
19
|
attr_reader :categories
|
@@ -41,6 +46,10 @@ module Merge
|
|
41
46
|
OMIT = Object.new
|
42
47
|
|
43
48
|
# @param name [String] Company name.
|
49
|
+
# @param abbreviated_name [String] Optional. This shortened name appears in places with limited space, usually in
|
50
|
+
# conjunction with the platform's logo (e.g., Merge Link menu).<br><br>Example:
|
51
|
+
# <i>Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP
|
52
|
+
# SuccessFactors)</i>
|
44
53
|
# @param categories [Array<Merge::Hris::CategoriesEnum>] Category or categories this integration belongs to. Multiple categories should
|
45
54
|
# be comma separated, i.e. [ats, hris].
|
46
55
|
# @param image [String] Company logo in rectangular shape. <b>Upload an image with a clear
|
@@ -58,9 +67,10 @@ module Merge
|
|
58
67
|
# @param category_beta_status [Hash{String => Object}] Category or categories this integration is in beta status for.
|
59
68
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
60
69
|
# @return [Merge::Hris::AccountIntegration]
|
61
|
-
def initialize(name:,
|
62
|
-
api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil)
|
70
|
+
def initialize(name:, abbreviated_name: OMIT, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT,
|
71
|
+
slug: OMIT, api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil)
|
63
72
|
@name = name
|
73
|
+
@abbreviated_name = abbreviated_name if abbreviated_name != OMIT
|
64
74
|
@categories = categories if categories != OMIT
|
65
75
|
@image = image if image != OMIT
|
66
76
|
@square_image = square_image if square_image != OMIT
|
@@ -74,6 +84,7 @@ module Merge
|
|
74
84
|
@additional_properties = additional_properties
|
75
85
|
@_field_set = {
|
76
86
|
"name": name,
|
87
|
+
"abbreviated_name": abbreviated_name,
|
77
88
|
"categories": categories,
|
78
89
|
"image": image,
|
79
90
|
"square_image": square_image,
|
@@ -93,17 +104,20 @@ module Merge
|
|
93
104
|
# @return [Merge::Hris::AccountIntegration]
|
94
105
|
def self.from_json(json_object:)
|
95
106
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
96
|
-
|
97
|
-
|
98
|
-
|
99
|
-
|
100
|
-
|
101
|
-
|
102
|
-
|
103
|
-
|
104
|
-
|
107
|
+
parsed_json = JSON.parse(json_object)
|
108
|
+
name = parsed_json["name"]
|
109
|
+
abbreviated_name = parsed_json["abbreviated_name"]
|
110
|
+
categories = parsed_json["categories"]
|
111
|
+
image = parsed_json["image"]
|
112
|
+
square_image = parsed_json["square_image"]
|
113
|
+
color = parsed_json["color"]
|
114
|
+
slug = parsed_json["slug"]
|
115
|
+
api_endpoints_to_documentation_urls = parsed_json["api_endpoints_to_documentation_urls"]
|
116
|
+
webhook_setup_guide_url = parsed_json["webhook_setup_guide_url"]
|
117
|
+
category_beta_status = parsed_json["category_beta_status"]
|
105
118
|
new(
|
106
119
|
name: name,
|
120
|
+
abbreviated_name: abbreviated_name,
|
107
121
|
categories: categories,
|
108
122
|
image: image,
|
109
123
|
square_image: square_image,
|
@@ -131,6 +145,7 @@ module Merge
|
|
131
145
|
# @return [Void]
|
132
146
|
def self.validate_raw(obj:)
|
133
147
|
obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.")
|
148
|
+
obj.abbreviated_name&.is_a?(String) != false || raise("Passed value for field obj.abbreviated_name is not the expected type, validation failed.")
|
134
149
|
obj.categories&.is_a?(Array) != false || raise("Passed value for field obj.categories is not the expected type, validation failed.")
|
135
150
|
obj.image&.is_a?(String) != false || raise("Passed value for field obj.image is not the expected type, validation failed.")
|
136
151
|
obj.square_image&.is_a?(String) != false || raise("Passed value for field obj.square_image is not the expected type, validation failed.")
|
@@ -37,7 +37,7 @@ module Merge
|
|
37
37
|
def self.from_json(json_object:)
|
38
38
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
39
39
|
parsed_json = JSON.parse(json_object)
|
40
|
-
account_token =
|
40
|
+
account_token = parsed_json["account_token"]
|
41
41
|
if parsed_json["integration"].nil?
|
42
42
|
integration = nil
|
43
43
|
else
|
@@ -61,12 +61,13 @@ module Merge
|
|
61
61
|
# @return [Merge::Hris::AdvancedMetadata]
|
62
62
|
def self.from_json(json_object:)
|
63
63
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
64
|
+
parsed_json = JSON.parse(json_object)
|
65
|
+
id = parsed_json["id"]
|
66
|
+
display_name = parsed_json["display_name"]
|
67
|
+
description = parsed_json["description"]
|
68
|
+
is_required = parsed_json["is_required"]
|
69
|
+
is_custom = parsed_json["is_custom"]
|
70
|
+
field_choices = parsed_json["field_choices"]
|
70
71
|
new(
|
71
72
|
id: id,
|
72
73
|
display_name: display_name,
|
@@ -31,7 +31,8 @@ module Merge
|
|
31
31
|
# @return [Merge::Hris::AsyncPassthroughReciept]
|
32
32
|
def self.from_json(json_object:)
|
33
33
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
34
|
-
|
34
|
+
parsed_json = JSON.parse(json_object)
|
35
|
+
async_passthrough_receipt_id = parsed_json["async_passthrough_receipt_id"]
|
35
36
|
new(async_passthrough_receipt_id: async_passthrough_receipt_id, additional_properties: struct)
|
36
37
|
end
|
37
38
|
|
@@ -71,6 +71,7 @@ module Merge
|
|
71
71
|
# - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK
|
72
72
|
# - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK
|
73
73
|
# - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED
|
74
|
+
# - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED
|
74
75
|
attr_reader :event_type
|
75
76
|
# @return [String]
|
76
77
|
attr_reader :event_description
|
@@ -141,6 +142,7 @@ module Merge
|
|
141
142
|
# - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK
|
142
143
|
# - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK
|
143
144
|
# - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED
|
145
|
+
# - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED
|
144
146
|
# @param event_description [String]
|
145
147
|
# @param created_at [DateTime]
|
146
148
|
# @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition
|
@@ -177,13 +179,13 @@ module Merge
|
|
177
179
|
def self.from_json(json_object:)
|
178
180
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
179
181
|
parsed_json = JSON.parse(json_object)
|
180
|
-
id =
|
181
|
-
user_name =
|
182
|
-
user_email =
|
183
|
-
role =
|
184
|
-
ip_address =
|
185
|
-
event_type =
|
186
|
-
event_description =
|
182
|
+
id = parsed_json["id"]
|
183
|
+
user_name = parsed_json["user_name"]
|
184
|
+
user_email = parsed_json["user_email"]
|
185
|
+
role = parsed_json["role"]
|
186
|
+
ip_address = parsed_json["ip_address"]
|
187
|
+
event_type = parsed_json["event_type"]
|
188
|
+
event_description = parsed_json["event_description"]
|
187
189
|
created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?)
|
188
190
|
new(
|
189
191
|
id: id,
|
@@ -60,10 +60,10 @@ module Merge
|
|
60
60
|
integration = parsed_json["integration"].to_json
|
61
61
|
integration = Merge::Hris::AccountIntegration.from_json(json_object: integration)
|
62
62
|
end
|
63
|
-
passthrough_available =
|
64
|
-
available_model_operations = parsed_json["available_model_operations"]&.map do |
|
65
|
-
|
66
|
-
Merge::Hris::ModelOperation.from_json(json_object:
|
63
|
+
passthrough_available = parsed_json["passthrough_available"]
|
64
|
+
available_model_operations = parsed_json["available_model_operations"]&.map do |item|
|
65
|
+
item = item.to_json
|
66
|
+
Merge::Hris::ModelOperation.from_json(json_object: item)
|
67
67
|
end
|
68
68
|
new(
|
69
69
|
integration: integration,
|
@@ -114,8 +114,8 @@ module Merge
|
|
114
114
|
def self.from_json(json_object:)
|
115
115
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
116
116
|
parsed_json = JSON.parse(json_object)
|
117
|
-
id =
|
118
|
-
remote_id =
|
117
|
+
id = parsed_json["id"]
|
118
|
+
remote_id = parsed_json["remote_id"]
|
119
119
|
created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?)
|
120
120
|
modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?)
|
121
121
|
if parsed_json["employee"].nil?
|
@@ -124,18 +124,18 @@ module Merge
|
|
124
124
|
employee = parsed_json["employee"].to_json
|
125
125
|
employee = Merge::Hris::BankInfoEmployee.from_json(json_object: employee)
|
126
126
|
end
|
127
|
-
account_number =
|
128
|
-
routing_number =
|
129
|
-
bank_name =
|
130
|
-
account_type =
|
127
|
+
account_number = parsed_json["account_number"]
|
128
|
+
routing_number = parsed_json["routing_number"]
|
129
|
+
bank_name = parsed_json["bank_name"]
|
130
|
+
account_type = parsed_json["account_type"]
|
131
131
|
remote_created_at = unless parsed_json["remote_created_at"].nil?
|
132
132
|
DateTime.parse(parsed_json["remote_created_at"])
|
133
133
|
end
|
134
|
-
remote_was_deleted =
|
135
|
-
field_mappings =
|
136
|
-
remote_data = parsed_json["remote_data"]&.map do |
|
137
|
-
|
138
|
-
Merge::Hris::RemoteData.from_json(json_object:
|
134
|
+
remote_was_deleted = parsed_json["remote_was_deleted"]
|
135
|
+
field_mappings = parsed_json["field_mappings"]
|
136
|
+
remote_data = parsed_json["remote_data"]&.map do |item|
|
137
|
+
item = item.to_json
|
138
|
+
Merge::Hris::RemoteData.from_json(json_object: item)
|
139
139
|
end
|
140
140
|
new(
|
141
141
|
id: id,
|
@@ -15,7 +15,7 @@ module Merge
|
|
15
15
|
struct = JSON.parse(json_object, object_class: OpenStruct)
|
16
16
|
begin
|
17
17
|
struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.")
|
18
|
-
return
|
18
|
+
return struct unless struct.nil?
|
19
19
|
|
20
20
|
return nil
|
21
21
|
rescue StandardError
|
@@ -23,7 +23,7 @@ module Merge
|
|
23
23
|
end
|
24
24
|
begin
|
25
25
|
Merge::Hris::Employee.validate_raw(obj: struct)
|
26
|
-
return Merge::Hris::Employee.from_json(json_object:
|
26
|
+
return Merge::Hris::Employee.from_json(json_object: struct) unless struct.nil?
|
27
27
|
|
28
28
|
return nil
|
29
29
|
rescue StandardError
|