From 7bac7e30057ba8edd30705d0104d5ddf198b90ef Mon Sep 17 00:00:00 2001 From: fern-api <115122769+fern-api[bot]@users.noreply.github.com> Date: Fri, 26 Jul 2024 18:04:57 +0000 Subject: [PATCH] SDK regeneration --- lib/merge_ruby_client.rb | 14 +- .../accounting/types/credit_note_line_item.rb | 8 +- .../types/purchase_order_line_item.rb | 8 +- .../types/purchase_order_line_item_request.rb | 8 +- .../accounting/types/transaction_line_item.rb | 8 +- .../accounting/types/vendor_credit_line.rb | 8 +- .../ats/applications/client.rb | 2 + .../types/applications_list_request_expand.rb | 192 +++++++++++++++ .../applications_retrieve_request_expand.rb | 192 +++++++++++++++ .../ats/audit_trail/client.rb | 6 +- lib/merge_ruby_client/ats/issues/client.rb | 14 +- .../ats/link_token/client.rb | 12 +- .../ats/types/account_integration.rb | 18 +- lib/merge_ruby_client/ats/types/activity.rb | 4 +- .../ats/types/activity_request.rb | 4 +- .../ats/types/application.rb | 14 +- .../ats/types/application_request.rb | 14 +- ...request_screening_question_answers_item.rb | 56 +++++ ...ication_screening_question_answers_item.rb | 56 +++++ .../ats/types/audit_log_event.rb | 2 + .../ats/types/email_address.rb | 14 +- .../ats/types/event_type_enum.rb | 2 + .../ats/types/phone_number.rb | 14 +- .../ats/types/remote_field_api.rb | 6 +- .../ats/types/screening_question.rb | 14 +- .../ats/types/screening_question_answer.rb | 132 +++++++++++ .../screening_question_answer_question.rb | 58 +++++ .../screening_question_answer_request.rb | 113 +++++++++ ...eening_question_answer_request_question.rb | 59 +++++ .../ats/types/screening_question_option.rb | 14 +- lib/merge_ruby_client/ats/types/url.rb | 15 +- lib/merge_ruby_client/crm/accounts/client.rb | 10 +- .../crm/audit_trail/client.rb | 6 +- lib/merge_ruby_client/crm/contacts/client.rb | 10 +- .../crm/custom_objects/client.rb | 99 ++++++++ .../crm/engagement_types/client.rb | 10 +- .../crm/engagements/client.rb | 10 +- lib/merge_ruby_client/crm/issues/client.rb | 14 +- lib/merge_ruby_client/crm/leads/client.rb | 10 +- .../crm/link_token/client.rb | 12 +- lib/merge_ruby_client/crm/notes/client.rb | 10 +- .../crm/opportunities/client.rb | 20 +- lib/merge_ruby_client/crm/stages/client.rb | 10 +- lib/merge_ruby_client/crm/tasks/client.rb | 10 +- .../crm/types/account_integration.rb | 18 +- .../crm/types/association.rb | 12 +- .../crm/types/audit_log_event.rb | 2 + .../crm/types/event_type_enum.rb | 2 + .../crm/types/remote_field.rb | 6 +- .../crm/types/remote_field_api.rb | 6 +- .../crm/types/remote_field_request.rb | 6 +- lib/merge_ruby_client/crm/users/client.rb | 10 +- .../filestorage/audit_trail/client.rb | 6 +- .../filestorage/files/client.rb | 4 +- .../filestorage/issues/client.rb | 14 +- .../filestorage/link_token/client.rb | 12 +- .../filestorage/linked_accounts/client.rb | 6 +- .../filestorage/types/account_integration.rb | 18 +- .../filestorage/types/audit_log_event.rb | 2 + .../filestorage/types/event_type_enum.rb | 2 + .../filestorage/types/group.rb | 2 +- .../filestorage/types/remote_field_api.rb | 6 +- .../hris/audit_trail/client.rb | 6 +- .../hris/bank_info/client.rb | 6 +- .../hris/employments/client.rb | 6 +- lib/merge_ruby_client/hris/issues/client.rb | 14 +- .../hris/link_token/client.rb | 12 +- .../hris/linked_accounts/client.rb | 6 +- .../hris/timesheet_entries/client.rb | 22 +- .../hris/types/account_integration.rb | 18 +- .../hris/types/audit_log_event.rb | 2 + .../hris/types/event_type_enum.rb | 2 + .../hris/types/remote_field_api.rb | 6 +- .../ticketing/attachments/client.rb | 4 +- .../ticketing/audit_trail/client.rb | 6 +- .../ticketing/issues/client.rb | 14 +- .../ticketing/link_token/client.rb | 12 +- .../ticketing/linked_accounts/client.rb | 6 +- .../ticketing/tickets/client.rb | 28 ++- .../ticketing/types/account_integration.rb | 18 +- .../ticketing/types/audit_log_event.rb | 2 + .../ticketing/types/event_type_enum.rb | 2 + .../ticketing/types/remote_field_api.rb | 6 +- lib/merge_ruby_client/ticketing/types/tag.rb | 12 +- lib/requests.rb | 4 +- lib/types_export.rb | 218 +++++++++--------- merge_ruby_client.gemspec | 2 +- 87 files changed, 1586 insertions(+), 294 deletions(-) create mode 100644 lib/merge_ruby_client/ats/types/application_request_screening_question_answers_item.rb create mode 100644 lib/merge_ruby_client/ats/types/application_screening_question_answers_item.rb create mode 100644 lib/merge_ruby_client/ats/types/screening_question_answer.rb create mode 100644 lib/merge_ruby_client/ats/types/screening_question_answer_question.rb create mode 100644 lib/merge_ruby_client/ats/types/screening_question_answer_request.rb create mode 100644 lib/merge_ruby_client/ats/types/screening_question_answer_request_question.rb diff --git a/lib/merge_ruby_client.rb b/lib/merge_ruby_client.rb index 5b1aaaa..983c5da 100644 --- a/lib/merge_ruby_client.rb +++ b/lib/merge_ruby_client.rb @@ -3,21 +3,21 @@ require_relative "environment" require_relative "types_export" require_relative "requests" -require_relative "merge_ruby_client/filestorage/client" require_relative "merge_ruby_client/ats/client" require_relative "merge_ruby_client/crm/client" +require_relative "merge_ruby_client/filestorage/client" require_relative "merge_ruby_client/hris/client" require_relative "merge_ruby_client/ticketing/client" require_relative "merge_ruby_client/accounting/client" module Merge class Client - # @return [Merge::Filestorage::Client] - attr_reader :filestorage # @return [Merge::Ats::Client] attr_reader :ats # @return [Merge::Crm::Client] attr_reader :crm + # @return [Merge::Filestorage::Client] + attr_reader :filestorage # @return [Merge::Hris::Client] attr_reader :hris # @return [Merge::Ticketing::Client] @@ -42,9 +42,9 @@ def initialize(api_key:, base_url: nil, environment: Merge::Environment::PRODUCT api_key: api_key, account_token: account_token ) - @filestorage = Merge::Filestorage::Client.new(request_client: @request_client) @ats = Merge::Ats::Client.new(request_client: @request_client) @crm = Merge::Crm::Client.new(request_client: @request_client) + @filestorage = Merge::Filestorage::Client.new(request_client: @request_client) @hris = Merge::Hris::Client.new(request_client: @request_client) @ticketing = Merge::Ticketing::Client.new(request_client: @request_client) @accounting = Merge::Accounting::Client.new(request_client: @request_client) @@ -52,12 +52,12 @@ def initialize(api_key:, base_url: nil, environment: Merge::Environment::PRODUCT end class AsyncClient - # @return [Merge::Filestorage::AsyncClient] - attr_reader :filestorage # @return [Merge::Ats::AsyncClient] attr_reader :ats # @return [Merge::Crm::AsyncClient] attr_reader :crm + # @return [Merge::Filestorage::AsyncClient] + attr_reader :filestorage # @return [Merge::Hris::AsyncClient] attr_reader :hris # @return [Merge::Ticketing::AsyncClient] @@ -82,9 +82,9 @@ def initialize(api_key:, base_url: nil, environment: Merge::Environment::PRODUCT api_key: api_key, account_token: account_token ) - @filestorage = Merge::Filestorage::AsyncClient.new(request_client: @async_request_client) @ats = Merge::Ats::AsyncClient.new(request_client: @async_request_client) @crm = Merge::Crm::AsyncClient.new(request_client: @async_request_client) + @filestorage = Merge::Filestorage::AsyncClient.new(request_client: @async_request_client) @hris = Merge::Hris::AsyncClient.new(request_client: @async_request_client) @ticketing = Merge::Ticketing::AsyncClient.new(request_client: @async_request_client) @accounting = Merge::Accounting::AsyncClient.new(request_client: @async_request_client) diff --git a/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb b/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb index 82fc442..2f5e789 100644 --- a/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb +++ b/lib/merge_ruby_client/accounting/types/credit_note_line_item.rb @@ -69,8 +69,8 @@ class CreditNoteLineItem # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Accounting::CreditNoteLineItem] - def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, item: OMIT, name: OMIT, - description: OMIT, quantity: OMIT, memo: OMIT, unit_price: OMIT, total_line_amount: OMIT, tracking_category: OMIT, tracking_categories: OMIT, account: OMIT, company: OMIT, remote_was_deleted: OMIT, additional_properties: nil) + def initialize(tracking_categories:, id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, item: OMIT, name: OMIT, + description: OMIT, quantity: OMIT, memo: OMIT, unit_price: OMIT, total_line_amount: OMIT, tracking_category: OMIT, account: OMIT, company: OMIT, remote_was_deleted: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @@ -83,7 +83,7 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, i @unit_price = unit_price if unit_price != OMIT @total_line_amount = total_line_amount if total_line_amount != OMIT @tracking_category = tracking_category if tracking_category != OMIT - @tracking_categories = tracking_categories if tracking_categories != OMIT + @tracking_categories = tracking_categories @account = account if account != OMIT @company = company if company != OMIT @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @@ -190,7 +190,7 @@ def self.validate_raw(obj:) obj.unit_price&.is_a?(String) != false || raise("Passed value for field obj.unit_price is not the expected type, validation failed.") obj.total_line_amount&.is_a?(String) != false || raise("Passed value for field obj.total_line_amount is not the expected type, validation failed.") obj.tracking_category&.is_a?(String) != false || raise("Passed value for field obj.tracking_category is not the expected type, validation failed.") - obj.tracking_categories&.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") + obj.tracking_categories.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") obj.account&.is_a?(String) != false || raise("Passed value for field obj.account is not the expected type, validation failed.") obj.company.nil? || Merge::Accounting::CreditNoteLineItemCompany.validate_raw(obj: obj.company) obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/accounting/types/purchase_order_line_item.rb b/lib/merge_ruby_client/accounting/types/purchase_order_line_item.rb index 0856fb5..1dde117 100644 --- a/lib/merge_ruby_client/accounting/types/purchase_order_line_item.rb +++ b/lib/merge_ruby_client/accounting/types/purchase_order_line_item.rb @@ -691,8 +691,8 @@ class PurchaseOrderLineItem # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Accounting::PurchaseOrderLineItem] - def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, description: OMIT, - unit_price: OMIT, quantity: OMIT, item: OMIT, account: OMIT, tracking_category: OMIT, tracking_categories: OMIT, tax_amount: OMIT, total_line_amount: OMIT, currency: OMIT, exchange_rate: OMIT, company: OMIT, remote_was_deleted: OMIT, additional_properties: nil) + def initialize(tracking_categories:, id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, description: OMIT, + unit_price: OMIT, quantity: OMIT, item: OMIT, account: OMIT, tracking_category: OMIT, tax_amount: OMIT, total_line_amount: OMIT, currency: OMIT, exchange_rate: OMIT, company: OMIT, remote_was_deleted: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @@ -703,7 +703,7 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, d @item = item if item != OMIT @account = account if account != OMIT @tracking_category = tracking_category if tracking_category != OMIT - @tracking_categories = tracking_categories if tracking_categories != OMIT + @tracking_categories = tracking_categories @tax_amount = tax_amount if tax_amount != OMIT @total_line_amount = total_line_amount if total_line_amount != OMIT @currency = currency if currency != OMIT @@ -809,7 +809,7 @@ def self.validate_raw(obj:) obj.item.nil? || Merge::Accounting::PurchaseOrderLineItemItem.validate_raw(obj: obj.item) obj.account&.is_a?(String) != false || raise("Passed value for field obj.account is not the expected type, validation failed.") obj.tracking_category&.is_a?(String) != false || raise("Passed value for field obj.tracking_category is not the expected type, validation failed.") - obj.tracking_categories&.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") + obj.tracking_categories.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") obj.tax_amount&.is_a?(String) != false || raise("Passed value for field obj.tax_amount is not the expected type, validation failed.") obj.total_line_amount&.is_a?(String) != false || raise("Passed value for field obj.total_line_amount is not the expected type, validation failed.") obj.currency&.is_a?(Merge::Accounting::CurrencyEnum) != false || raise("Passed value for field obj.currency is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request.rb b/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request.rb index 267a4c1..27f7ad8 100644 --- a/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request.rb +++ b/lib/merge_ruby_client/accounting/types/purchase_order_line_item_request.rb @@ -682,8 +682,8 @@ class PurchaseOrderLineItemRequest # @param linked_account_params [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Accounting::PurchaseOrderLineItemRequest] - def initialize(remote_id: OMIT, description: OMIT, unit_price: OMIT, quantity: OMIT, item: OMIT, account: OMIT, - tracking_category: OMIT, tracking_categories: OMIT, tax_amount: OMIT, total_line_amount: OMIT, currency: OMIT, exchange_rate: OMIT, company: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil) + def initialize(tracking_categories:, remote_id: OMIT, description: OMIT, unit_price: OMIT, quantity: OMIT, item: OMIT, account: OMIT, + tracking_category: OMIT, tax_amount: OMIT, total_line_amount: OMIT, currency: OMIT, exchange_rate: OMIT, company: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil) @remote_id = remote_id if remote_id != OMIT @description = description if description != OMIT @unit_price = unit_price if unit_price != OMIT @@ -691,7 +691,7 @@ def initialize(remote_id: OMIT, description: OMIT, unit_price: OMIT, quantity: O @item = item if item != OMIT @account = account if account != OMIT @tracking_category = tracking_category if tracking_category != OMIT - @tracking_categories = tracking_categories if tracking_categories != OMIT + @tracking_categories = tracking_categories @tax_amount = tax_amount if tax_amount != OMIT @total_line_amount = total_line_amount if total_line_amount != OMIT @currency = currency if currency != OMIT @@ -789,7 +789,7 @@ def self.validate_raw(obj:) obj.item.nil? || Merge::Accounting::PurchaseOrderLineItemRequestItem.validate_raw(obj: obj.item) obj.account&.is_a?(String) != false || raise("Passed value for field obj.account is not the expected type, validation failed.") obj.tracking_category&.is_a?(String) != false || raise("Passed value for field obj.tracking_category is not the expected type, validation failed.") - obj.tracking_categories&.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") + obj.tracking_categories.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") obj.tax_amount&.is_a?(String) != false || raise("Passed value for field obj.tax_amount is not the expected type, validation failed.") obj.total_line_amount&.is_a?(String) != false || raise("Passed value for field obj.total_line_amount is not the expected type, validation failed.") obj.currency&.is_a?(Merge::Accounting::CurrencyEnum) != false || raise("Passed value for field obj.currency is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/accounting/types/transaction_line_item.rb b/lib/merge_ruby_client/accounting/types/transaction_line_item.rb index 4deef31..69be48b 100644 --- a/lib/merge_ruby_client/accounting/types/transaction_line_item.rb +++ b/lib/merge_ruby_client/accounting/types/transaction_line_item.rb @@ -691,8 +691,8 @@ class TransactionLineItem # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Accounting::TransactionLineItem] - def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, memo: OMIT, unit_price: OMIT, - quantity: OMIT, item: OMIT, account: OMIT, tracking_category: OMIT, tracking_categories: OMIT, total_line_amount: OMIT, tax_rate: OMIT, currency: OMIT, exchange_rate: OMIT, company: OMIT, remote_was_deleted: OMIT, additional_properties: nil) + def initialize(tracking_categories:, id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, memo: OMIT, unit_price: OMIT, + quantity: OMIT, item: OMIT, account: OMIT, tracking_category: OMIT, total_line_amount: OMIT, tax_rate: OMIT, currency: OMIT, exchange_rate: OMIT, company: OMIT, remote_was_deleted: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @@ -703,7 +703,7 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, m @item = item if item != OMIT @account = account if account != OMIT @tracking_category = tracking_category if tracking_category != OMIT - @tracking_categories = tracking_categories if tracking_categories != OMIT + @tracking_categories = tracking_categories @total_line_amount = total_line_amount if total_line_amount != OMIT @tax_rate = tax_rate if tax_rate != OMIT @currency = currency if currency != OMIT @@ -809,7 +809,7 @@ def self.validate_raw(obj:) obj.item.nil? || Merge::Accounting::TransactionLineItemItem.validate_raw(obj: obj.item) obj.account&.is_a?(String) != false || raise("Passed value for field obj.account is not the expected type, validation failed.") obj.tracking_category&.is_a?(String) != false || raise("Passed value for field obj.tracking_category is not the expected type, validation failed.") - obj.tracking_categories&.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") + obj.tracking_categories.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") obj.total_line_amount&.is_a?(String) != false || raise("Passed value for field obj.total_line_amount is not the expected type, validation failed.") obj.tax_rate&.is_a?(String) != false || raise("Passed value for field obj.tax_rate is not the expected type, validation failed.") obj.currency&.is_a?(Merge::Accounting::CurrencyEnum) != false || raise("Passed value for field obj.currency is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb b/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb index fe654fa..f1fc116 100644 --- a/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb +++ b/lib/merge_ruby_client/accounting/types/vendor_credit_line.rb @@ -62,15 +62,15 @@ class VendorCreditLine # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Accounting::VendorCreditLine] - def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, net_amount: OMIT, - tracking_category: OMIT, tracking_categories: OMIT, description: OMIT, account: OMIT, company: OMIT, exchange_rate: OMIT, remote_was_deleted: OMIT, additional_properties: nil) + def initialize(tracking_categories:, id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, net_amount: OMIT, + tracking_category: OMIT, description: OMIT, account: OMIT, company: OMIT, exchange_rate: OMIT, remote_was_deleted: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @modified_at = modified_at if modified_at != OMIT @net_amount = net_amount if net_amount != OMIT @tracking_category = tracking_category if tracking_category != OMIT - @tracking_categories = tracking_categories if tracking_categories != OMIT + @tracking_categories = tracking_categories @description = description if description != OMIT @account = account if account != OMIT @company = company if company != OMIT @@ -156,7 +156,7 @@ def self.validate_raw(obj:) obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") obj.net_amount&.is_a?(Float) != false || raise("Passed value for field obj.net_amount is not the expected type, validation failed.") obj.tracking_category&.is_a?(String) != false || raise("Passed value for field obj.tracking_category is not the expected type, validation failed.") - obj.tracking_categories&.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") + obj.tracking_categories.is_a?(Array) != false || raise("Passed value for field obj.tracking_categories is not the expected type, validation failed.") obj.description&.is_a?(String) != false || raise("Passed value for field obj.description is not the expected type, validation failed.") obj.account.nil? || Merge::Accounting::VendorCreditLineAccount.validate_raw(obj: obj.account) obj.company&.is_a?(String) != false || raise("Passed value for field obj.company is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/ats/applications/client.rb b/lib/merge_ruby_client/ats/applications/client.rb index b7220db..28bfba3 100644 --- a/lib/merge_ruby_client/ats/applications/client.rb +++ b/lib/merge_ruby_client/ats/applications/client.rb @@ -103,6 +103,7 @@ def list(candidate_id: nil, created_after: nil, created_before: nil, credited_to # * :offers (Array) # * :source (String) # * :credited_to (Hash) + # * :screening_question_answers (Array) # * :current_stage (Hash) # * :reject_reason (Hash) # * :remote_template_id (String) @@ -351,6 +352,7 @@ def list(candidate_id: nil, created_after: nil, created_before: nil, credited_to # * :offers (Array) # * :source (String) # * :credited_to (Hash) + # * :screening_question_answers (Array) # * :current_stage (Hash) # * :reject_reason (Hash) # * :remote_template_id (String) diff --git a/lib/merge_ruby_client/ats/applications/types/applications_list_request_expand.rb b/lib/merge_ruby_client/ats/applications/types/applications_list_request_expand.rb index 1082722..b55179b 100644 --- a/lib/merge_ruby_client/ats/applications/types/applications_list_request_expand.rb +++ b/lib/merge_ruby_client/ats/applications/types/applications_list_request_expand.rb @@ -66,7 +66,199 @@ class ApplicationsListRequestExpand OFFERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,job,current_stage,reject_reason" OFFERS_JOB_REJECT_REASON = "offers,job,reject_reason" OFFERS_REJECT_REASON = "offers,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS = "offers,screening_question_answers" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE = "offers,screening_question_answers,candidate" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,candidate,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,candidate,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,candidate,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "offers,screening_question_answers,candidate,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "offers,screening_question_answers,candidate,job" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "offers,screening_question_answers,candidate,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,candidate,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,candidate,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "offers,screening_question_answers,candidate,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "offers,screening_question_answers,candidate,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "offers,screening_question_answers,candidate,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO = "offers,screening_question_answers,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "offers,screening_question_answers,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB = "offers,screening_question_answers,job" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "offers,screening_question_answers,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "offers,screening_question_answers,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "offers,screening_question_answers,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON = "offers,screening_question_answers,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers,screening_question_answers.question" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers,screening_question_answers.question,candidate" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "offers,screening_question_answers,screening_question_answers.question,candidate,job" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers,screening_question_answers.question,job" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers.question" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers.question,candidate" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "offers,screening_question_answers.question,candidate,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,candidate,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "offers,screening_question_answers.question,candidate,job" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "offers,screening_question_answers.question,candidate,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "offers,screening_question_answers.question,candidate,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers.question,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "offers,screening_question_answers.question,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers.question,job" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "offers,screening_question_answers.question,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "offers,screening_question_answers.question,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "offers,screening_question_answers.question,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "offers,screening_question_answers.question,reject_reason" REJECT_REASON = "reject_reason" + SCREENING_QUESTION_ANSWERS = "screening_question_answers" + SCREENING_QUESTION_ANSWERS_CANDIDATE = "screening_question_answers,candidate" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "screening_question_answers,candidate,credited_to" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,candidate,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "screening_question_answers,candidate,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "screening_question_answers,candidate,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "screening_question_answers,candidate,job" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,candidate,job,credited_to" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,candidate,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,candidate,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,candidate,job,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,candidate,job,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "screening_question_answers,candidate,reject_reason" + SCREENING_QUESTION_ANSWERS_CREDITED_TO = "screening_question_answers,credited_to" + SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "screening_question_answers,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "screening_question_answers,current_stage" + SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB = "screening_question_answers,job" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "screening_question_answers,job,credited_to" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "screening_question_answers,job,current_stage" + SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "screening_question_answers,job,reject_reason" + SCREENING_QUESTION_ANSWERS_REJECT_REASON = "screening_question_answers,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers,screening_question_answers.question" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers,screening_question_answers.question,candidate" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "screening_question_answers,screening_question_answers.question,candidate,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers,screening_question_answers.question,candidate,job" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers,screening_question_answers.question,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers,screening_question_answers.question,job" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers,screening_question_answers.question,job,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,job,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers,screening_question_answers.question,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers.question,candidate" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "screening_question_answers.question,candidate,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,candidate,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,candidate,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "screening_question_answers.question,candidate,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers.question,candidate,job" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers.question,candidate,job,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,candidate,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,candidate,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers.question,candidate,job,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers.question,candidate,job,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "screening_question_answers.question,candidate,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers.question,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers.question,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers.question,job" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers.question,job,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers.question,job,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers.question,job,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers.question,reject_reason" end end end diff --git a/lib/merge_ruby_client/ats/applications/types/applications_retrieve_request_expand.rb b/lib/merge_ruby_client/ats/applications/types/applications_retrieve_request_expand.rb index 77f1487..03e9427 100644 --- a/lib/merge_ruby_client/ats/applications/types/applications_retrieve_request_expand.rb +++ b/lib/merge_ruby_client/ats/applications/types/applications_retrieve_request_expand.rb @@ -66,7 +66,199 @@ class ApplicationsRetrieveRequestExpand OFFERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,job,current_stage,reject_reason" OFFERS_JOB_REJECT_REASON = "offers,job,reject_reason" OFFERS_REJECT_REASON = "offers,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS = "offers,screening_question_answers" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE = "offers,screening_question_answers,candidate" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,candidate,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,candidate,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,candidate,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "offers,screening_question_answers,candidate,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "offers,screening_question_answers,candidate,job" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "offers,screening_question_answers,candidate,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,candidate,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,candidate,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "offers,screening_question_answers,candidate,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,candidate,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "offers,screening_question_answers,candidate,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "offers,screening_question_answers,candidate,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO = "offers,screening_question_answers,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "offers,screening_question_answers,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB = "offers,screening_question_answers,job" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "offers,screening_question_answers,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "offers,screening_question_answers,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "offers,screening_question_answers,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_REJECT_REASON = "offers,screening_question_answers,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers,screening_question_answers.question" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers,screening_question_answers.question,candidate" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "offers,screening_question_answers,screening_question_answers.question,candidate,job" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,candidate,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers,screening_question_answers.question,job" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "offers,screening_question_answers,screening_question_answers.question,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "offers,screening_question_answers,screening_question_answers.question,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "offers,screening_question_answers,screening_question_answers.question,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION = "offers,screening_question_answers.question" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "offers,screening_question_answers.question,candidate" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "offers,screening_question_answers.question,candidate,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,candidate,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "offers,screening_question_answers.question,candidate,job" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "offers,screening_question_answers.question,candidate,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "offers,screening_question_answers.question,candidate,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "offers,screening_question_answers.question,candidate,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "offers,screening_question_answers.question,candidate,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "offers,screening_question_answers.question,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "offers,screening_question_answers.question,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "offers,screening_question_answers.question,job" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "offers,screening_question_answers.question,job,credited_to" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "offers,screening_question_answers.question,job,credited_to,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "offers,screening_question_answers.question,job,credited_to,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "offers,screening_question_answers.question,job,current_stage" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "offers,screening_question_answers.question,job,current_stage,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "offers,screening_question_answers.question,job,reject_reason" + OFFERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "offers,screening_question_answers.question,reject_reason" REJECT_REASON = "reject_reason" + SCREENING_QUESTION_ANSWERS = "screening_question_answers" + SCREENING_QUESTION_ANSWERS_CANDIDATE = "screening_question_answers,candidate" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO = "screening_question_answers,candidate,credited_to" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,candidate,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CREDITED_TO_REJECT_REASON = "screening_question_answers,candidate,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE = "screening_question_answers,candidate,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB = "screening_question_answers,candidate,job" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,candidate,job,credited_to" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,candidate,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,candidate,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,candidate,job,current_stage" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,candidate,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,candidate,job,reject_reason" + SCREENING_QUESTION_ANSWERS_CANDIDATE_REJECT_REASON = "screening_question_answers,candidate,reject_reason" + SCREENING_QUESTION_ANSWERS_CREDITED_TO = "screening_question_answers,credited_to" + SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_CREDITED_TO_REJECT_REASON = "screening_question_answers,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_CURRENT_STAGE = "screening_question_answers,current_stage" + SCREENING_QUESTION_ANSWERS_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB = "screening_question_answers,job" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO = "screening_question_answers,job,credited_to" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE = "screening_question_answers,job,current_stage" + SCREENING_QUESTION_ANSWERS_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_JOB_REJECT_REASON = "screening_question_answers,job,reject_reason" + SCREENING_QUESTION_ANSWERS_REJECT_REASON = "screening_question_answers,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers,screening_question_answers.question" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers,screening_question_answers.question,candidate" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "screening_question_answers,screening_question_answers.question,candidate,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers,screening_question_answers.question,candidate,job" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,candidate,job,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,job,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,candidate,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers,screening_question_answers.question,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers,screening_question_answers.question,job" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers,screening_question_answers.question,job,credited_to" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers,screening_question_answers.question,job,current_stage" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers,screening_question_answers.question,job,reject_reason" + SCREENING_QUESTION_ANSWERS_SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers,screening_question_answers.question,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION = "screening_question_answers.question" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE = "screening_question_answers.question,candidate" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO = "screening_question_answers.question,candidate,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,candidate,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,candidate,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE = "screening_question_answers.question,candidate,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB = "screening_question_answers.question,candidate,job" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO = "screening_question_answers.question,candidate,job,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,candidate,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,candidate,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE = "screening_question_answers.question,candidate,job,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,candidate,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_JOB_REJECT_REASON = "screening_question_answers.question,candidate,job,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CANDIDATE_REJECT_REASON = "screening_question_answers.question,candidate,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO = "screening_question_answers.question,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE = "screening_question_answers.question,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB = "screening_question_answers.question,job" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO = "screening_question_answers.question,job,credited_to" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE = "screening_question_answers.question,job,credited_to,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,job,credited_to,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CREDITED_TO_REJECT_REASON = "screening_question_answers.question,job,credited_to,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE = "screening_question_answers.question,job,current_stage" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_CURRENT_STAGE_REJECT_REASON = "screening_question_answers.question,job,current_stage,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_JOB_REJECT_REASON = "screening_question_answers.question,job,reject_reason" + SCREENING_QUESTION_ANSWERS_QUESTION_REJECT_REASON = "screening_question_answers.question,reject_reason" end end end diff --git a/lib/merge_ruby_client/ats/audit_trail/client.rb b/lib/merge_ruby_client/ats/audit_trail/client.rb index 067ef28..be3bbca 100644 --- a/lib/merge_ruby_client/ats/audit_trail/client.rb +++ b/lib/merge_ruby_client/ats/audit_trail/client.rb @@ -40,7 +40,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. @@ -118,7 +119,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. diff --git a/lib/merge_ruby_client/ats/issues/client.rb b/lib/merge_ruby_client/ats/issues/client.rb index 30e36b7..1d71f46 100644 --- a/lib/merge_ruby_client/ats/issues/client.rb +++ b/lib/merge_ruby_client/ats/issues/client.rb @@ -19,7 +19,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -36,6 +36,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -52,7 +54,7 @@ def initialize(request_client:) # ) # api.ats.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -74,6 +76,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status @@ -130,7 +133,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -147,6 +150,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -163,7 +168,7 @@ def initialize(request_client:) # ) # api.ats.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -186,6 +191,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status diff --git a/lib/merge_ruby_client/ats/link_token/client.rb b/lib/merge_ruby_client/ats/link_token/client.rb index c48549f..f51ca5a 100644 --- a/lib/merge_ruby_client/ats/link_token/client.rb +++ b/lib/merge_ruby_client/ats/link_token/client.rb @@ -35,6 +35,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -62,7 +65,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -84,6 +87,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, @@ -122,6 +126,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -149,7 +156,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) Async do response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -172,6 +179,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, diff --git a/lib/merge_ruby_client/ats/types/account_integration.rb b/lib/merge_ruby_client/ats/types/account_integration.rb index 55f6c27..7fde80d 100644 --- a/lib/merge_ruby_client/ats/types/account_integration.rb +++ b/lib/merge_ruby_client/ats/types/account_integration.rb @@ -9,6 +9,11 @@ module Ats class AccountIntegration # @return [String] Company name. attr_reader :name + # @return [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) + attr_reader :abbreviated_name # @return [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. attr_reader :categories @@ -41,6 +46,10 @@ class AccountIntegration OMIT = Object.new # @param name [String] Company name. + # @param abbreviated_name [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) # @param categories [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. # @param image [String] Company logo in rectangular shape. Upload an image with a clear @@ -58,9 +67,10 @@ class AccountIntegration # @param category_beta_status [Hash{String => Object}] Category or categories this integration is in beta status for. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::AccountIntegration] - def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, slug: OMIT, - api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) + def initialize(name:, abbreviated_name: OMIT, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, + slug: OMIT, api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) @name = name + @abbreviated_name = abbreviated_name if abbreviated_name != OMIT @categories = categories if categories != OMIT @image = image if image != OMIT @square_image = square_image if square_image != OMIT @@ -74,6 +84,7 @@ def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: @additional_properties = additional_properties @_field_set = { "name": name, + "abbreviated_name": abbreviated_name, "categories": categories, "image": image, "square_image": square_image, @@ -95,6 +106,7 @@ def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) name = parsed_json["name"] + abbreviated_name = parsed_json["abbreviated_name"] categories = parsed_json["categories"] image = parsed_json["image"] square_image = parsed_json["square_image"] @@ -105,6 +117,7 @@ def self.from_json(json_object:) category_beta_status = parsed_json["category_beta_status"] new( name: name, + abbreviated_name: abbreviated_name, categories: categories, image: image, square_image: square_image, @@ -132,6 +145,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") + obj.abbreviated_name&.is_a?(String) != false || raise("Passed value for field obj.abbreviated_name is not the expected type, validation failed.") obj.categories&.is_a?(Array) != false || raise("Passed value for field obj.categories is not the expected type, validation failed.") obj.image&.is_a?(String) != false || raise("Passed value for field obj.image is not the expected type, validation failed.") obj.square_image&.is_a?(String) != false || raise("Passed value for field obj.square_image is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/ats/types/activity.rb b/lib/merge_ruby_client/ats/types/activity.rb index 9bed958..0db193a 100644 --- a/lib/merge_ruby_client/ats/types/activity.rb +++ b/lib/merge_ruby_client/ats/types/activity.rb @@ -44,7 +44,7 @@ class Activity # - `PUBLIC` - PUBLIC # - `PRIVATE` - PRIVATE attr_reader :visibility - # @return [String] The activity’s candidate. + # @return [String] attr_reader :candidate # @return [Boolean] Indicates whether or not this object has been deleted in the third party # platform. @@ -77,7 +77,7 @@ class Activity # - `ADMIN_ONLY` - ADMIN_ONLY # - `PUBLIC` - PUBLIC # - `PRIVATE` - PRIVATE - # @param candidate [String] The activity’s candidate. + # @param candidate [String] # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party # platform. # @param field_mappings [Hash{String => Object}] diff --git a/lib/merge_ruby_client/ats/types/activity_request.rb b/lib/merge_ruby_client/ats/types/activity_request.rb index 6cb1d38..2106138 100644 --- a/lib/merge_ruby_client/ats/types/activity_request.rb +++ b/lib/merge_ruby_client/ats/types/activity_request.rb @@ -32,7 +32,7 @@ class ActivityRequest # - `PUBLIC` - PUBLIC # - `PRIVATE` - PRIVATE attr_reader :visibility - # @return [String] The activity’s candidate. + # @return [String] attr_reader :candidate # @return [Hash{String => Object}] attr_reader :integration_params @@ -57,7 +57,7 @@ class ActivityRequest # - `ADMIN_ONLY` - ADMIN_ONLY # - `PUBLIC` - PUBLIC # - `PRIVATE` - PRIVATE - # @param candidate [String] The activity’s candidate. + # @param candidate [String] # @param integration_params [Hash{String => Object}] # @param linked_account_params [Hash{String => Object}] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition diff --git a/lib/merge_ruby_client/ats/types/application.rb b/lib/merge_ruby_client/ats/types/application.rb index c8e8581..bb5755a 100644 --- a/lib/merge_ruby_client/ats/types/application.rb +++ b/lib/merge_ruby_client/ats/types/application.rb @@ -5,6 +5,7 @@ require_relative "application_job" require_relative "application_offers_item" require_relative "application_credited_to" +require_relative "application_screening_question_answers_item" require_relative "application_current_stage" require_relative "application_reject_reason" require_relative "remote_data" @@ -45,6 +46,8 @@ class Application attr_reader :source # @return [Merge::Ats::ApplicationCreditedTo] The user credited for this application. attr_reader :credited_to + # @return [Array] + attr_reader :screening_question_answers # @return [Merge::Ats::ApplicationCurrentStage] The application's current stage. attr_reader :current_stage # @return [Merge::Ats::ApplicationRejectReason] The application's reason for rejection. @@ -74,6 +77,7 @@ class Application # @param offers [Array] # @param source [String] The application's source. # @param credited_to [Merge::Ats::ApplicationCreditedTo] The user credited for this application. + # @param screening_question_answers [Array] # @param current_stage [Merge::Ats::ApplicationCurrentStage] The application's current stage. # @param reject_reason [Merge::Ats::ApplicationRejectReason] The application's reason for rejection. # @param remote_was_deleted [Boolean] @@ -82,7 +86,7 @@ class Application # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::Application] def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, candidate: OMIT, job: OMIT, - applied_at: OMIT, rejected_at: OMIT, offers: OMIT, source: OMIT, credited_to: OMIT, current_stage: OMIT, reject_reason: OMIT, remote_was_deleted: OMIT, field_mappings: OMIT, remote_data: OMIT, additional_properties: nil) + applied_at: OMIT, rejected_at: OMIT, offers: OMIT, source: OMIT, credited_to: OMIT, screening_question_answers: OMIT, current_stage: OMIT, reject_reason: OMIT, remote_was_deleted: OMIT, field_mappings: OMIT, remote_data: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @@ -94,6 +98,7 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, c @offers = offers if offers != OMIT @source = source if source != OMIT @credited_to = credited_to if credited_to != OMIT + @screening_question_answers = screening_question_answers if screening_question_answers != OMIT @current_stage = current_stage if current_stage != OMIT @reject_reason = reject_reason if reject_reason != OMIT @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @@ -112,6 +117,7 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, c "offers": offers, "source": source, "credited_to": credited_to, + "screening_question_answers": screening_question_answers, "current_stage": current_stage, "reject_reason": reject_reason, "remote_was_deleted": remote_was_deleted, @@ -158,6 +164,10 @@ def self.from_json(json_object:) credited_to = parsed_json["credited_to"].to_json credited_to = Merge::Ats::ApplicationCreditedTo.from_json(json_object: credited_to) end + screening_question_answers = parsed_json["screening_question_answers"]&.map do |item| + item = item.to_json + Merge::Ats::ApplicationScreeningQuestionAnswersItem.from_json(json_object: item) + end if parsed_json["current_stage"].nil? current_stage = nil else @@ -188,6 +198,7 @@ def self.from_json(json_object:) offers: offers, source: source, credited_to: credited_to, + screening_question_answers: screening_question_answers, current_stage: current_stage, reject_reason: reject_reason, remote_was_deleted: remote_was_deleted, @@ -222,6 +233,7 @@ def self.validate_raw(obj:) obj.offers&.is_a?(Array) != false || raise("Passed value for field obj.offers is not the expected type, validation failed.") obj.source&.is_a?(String) != false || raise("Passed value for field obj.source is not the expected type, validation failed.") obj.credited_to.nil? || Merge::Ats::ApplicationCreditedTo.validate_raw(obj: obj.credited_to) + obj.screening_question_answers&.is_a?(Array) != false || raise("Passed value for field obj.screening_question_answers is not the expected type, validation failed.") obj.current_stage.nil? || Merge::Ats::ApplicationCurrentStage.validate_raw(obj: obj.current_stage) obj.reject_reason.nil? || Merge::Ats::ApplicationRejectReason.validate_raw(obj: obj.reject_reason) obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/ats/types/application_request.rb b/lib/merge_ruby_client/ats/types/application_request.rb index b02bfa7..96b0f0e 100644 --- a/lib/merge_ruby_client/ats/types/application_request.rb +++ b/lib/merge_ruby_client/ats/types/application_request.rb @@ -5,6 +5,7 @@ require "date" require_relative "application_request_offers_item" require_relative "application_request_credited_to" +require_relative "application_request_screening_question_answers_item" require_relative "application_request_current_stage" require_relative "application_request_reject_reason" require "ostruct" @@ -36,6 +37,8 @@ class ApplicationRequest attr_reader :source # @return [Merge::Ats::ApplicationRequestCreditedTo] The user credited for this application. attr_reader :credited_to + # @return [Array] + attr_reader :screening_question_answers # @return [Merge::Ats::ApplicationRequestCurrentStage] The application's current stage. attr_reader :current_stage # @return [Merge::Ats::ApplicationRequestRejectReason] The application's reason for rejection. @@ -61,6 +64,7 @@ class ApplicationRequest # @param offers [Array] # @param source [String] The application's source. # @param credited_to [Merge::Ats::ApplicationRequestCreditedTo] The user credited for this application. + # @param screening_question_answers [Array] # @param current_stage [Merge::Ats::ApplicationRequestCurrentStage] The application's current stage. # @param reject_reason [Merge::Ats::ApplicationRequestRejectReason] The application's reason for rejection. # @param remote_template_id [String] @@ -69,7 +73,7 @@ class ApplicationRequest # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::ApplicationRequest] def initialize(candidate: OMIT, job: OMIT, applied_at: OMIT, rejected_at: OMIT, offers: OMIT, source: OMIT, - credited_to: OMIT, current_stage: OMIT, reject_reason: OMIT, remote_template_id: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil) + credited_to: OMIT, screening_question_answers: OMIT, current_stage: OMIT, reject_reason: OMIT, remote_template_id: OMIT, integration_params: OMIT, linked_account_params: OMIT, additional_properties: nil) @candidate = candidate if candidate != OMIT @job = job if job != OMIT @applied_at = applied_at if applied_at != OMIT @@ -77,6 +81,7 @@ def initialize(candidate: OMIT, job: OMIT, applied_at: OMIT, rejected_at: OMIT, @offers = offers if offers != OMIT @source = source if source != OMIT @credited_to = credited_to if credited_to != OMIT + @screening_question_answers = screening_question_answers if screening_question_answers != OMIT @current_stage = current_stage if current_stage != OMIT @reject_reason = reject_reason if reject_reason != OMIT @remote_template_id = remote_template_id if remote_template_id != OMIT @@ -91,6 +96,7 @@ def initialize(candidate: OMIT, job: OMIT, applied_at: OMIT, rejected_at: OMIT, "offers": offers, "source": source, "credited_to": credited_to, + "screening_question_answers": screening_question_answers, "current_stage": current_stage, "reject_reason": reject_reason, "remote_template_id": remote_template_id, @@ -133,6 +139,10 @@ def self.from_json(json_object:) credited_to = parsed_json["credited_to"].to_json credited_to = Merge::Ats::ApplicationRequestCreditedTo.from_json(json_object: credited_to) end + screening_question_answers = parsed_json["screening_question_answers"]&.map do |item| + item = item.to_json + Merge::Ats::ApplicationRequestScreeningQuestionAnswersItem.from_json(json_object: item) + end if parsed_json["current_stage"].nil? current_stage = nil else @@ -156,6 +166,7 @@ def self.from_json(json_object:) offers: offers, source: source, credited_to: credited_to, + screening_question_answers: screening_question_answers, current_stage: current_stage, reject_reason: reject_reason, remote_template_id: remote_template_id, @@ -186,6 +197,7 @@ def self.validate_raw(obj:) obj.offers&.is_a?(Array) != false || raise("Passed value for field obj.offers is not the expected type, validation failed.") obj.source&.is_a?(String) != false || raise("Passed value for field obj.source is not the expected type, validation failed.") obj.credited_to.nil? || Merge::Ats::ApplicationRequestCreditedTo.validate_raw(obj: obj.credited_to) + obj.screening_question_answers&.is_a?(Array) != false || raise("Passed value for field obj.screening_question_answers is not the expected type, validation failed.") obj.current_stage.nil? || Merge::Ats::ApplicationRequestCurrentStage.validate_raw(obj: obj.current_stage) obj.reject_reason.nil? || Merge::Ats::ApplicationRequestRejectReason.validate_raw(obj: obj.reject_reason) obj.remote_template_id&.is_a?(String) != false || raise("Passed value for field obj.remote_template_id is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/ats/types/application_request_screening_question_answers_item.rb b/lib/merge_ruby_client/ats/types/application_request_screening_question_answers_item.rb new file mode 100644 index 0000000..c133b09 --- /dev/null +++ b/lib/merge_ruby_client/ats/types/application_request_screening_question_answers_item.rb @@ -0,0 +1,56 @@ +# frozen_string_literal: true + +require "json" +require_relative "screening_question_answer_request" + +module Merge + module Ats + class ApplicationRequestScreeningQuestionAnswersItem + # Deserialize a JSON object to an instance of + # ApplicationRequestScreeningQuestionAnswersItem + # + # @param json_object [String] + # @return [Merge::Ats::ApplicationRequestScreeningQuestionAnswersItem] + def self.from_json(json_object:) + struct = JSON.parse(json_object, object_class: OpenStruct) + begin + struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.") + return struct unless struct.nil? + + return nil + rescue StandardError + # noop + end + begin + Merge::Ats::ScreeningQuestionAnswerRequest.validate_raw(obj: struct) + return Merge::Ats::ScreeningQuestionAnswerRequest.from_json(json_object: struct) unless struct.nil? + + return nil + rescue StandardError + # noop + end + struct + end + + # Leveraged for Union-type generation, validate_raw attempts to parse the given + # hash and check each fields type against the current object's property + # definitions. + # + # @param obj [Object] + # @return [Void] + def self.validate_raw(obj:) + begin + return obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.") + rescue StandardError + # noop + end + begin + return Merge::Ats::ScreeningQuestionAnswerRequest.validate_raw(obj: obj) + rescue StandardError + # noop + end + raise("Passed value matched no type within the union, validation failed.") + end + end + end +end diff --git a/lib/merge_ruby_client/ats/types/application_screening_question_answers_item.rb b/lib/merge_ruby_client/ats/types/application_screening_question_answers_item.rb new file mode 100644 index 0000000..77ec4f8 --- /dev/null +++ b/lib/merge_ruby_client/ats/types/application_screening_question_answers_item.rb @@ -0,0 +1,56 @@ +# frozen_string_literal: true + +require "json" +require_relative "screening_question_answer" + +module Merge + module Ats + class ApplicationScreeningQuestionAnswersItem + # Deserialize a JSON object to an instance of + # ApplicationScreeningQuestionAnswersItem + # + # @param json_object [String] + # @return [Merge::Ats::ApplicationScreeningQuestionAnswersItem] + def self.from_json(json_object:) + struct = JSON.parse(json_object, object_class: OpenStruct) + begin + struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.") + return struct unless struct.nil? + + return nil + rescue StandardError + # noop + end + begin + Merge::Ats::ScreeningQuestionAnswer.validate_raw(obj: struct) + return Merge::Ats::ScreeningQuestionAnswer.from_json(json_object: struct) unless struct.nil? + + return nil + rescue StandardError + # noop + end + struct + end + + # Leveraged for Union-type generation, validate_raw attempts to parse the given + # hash and check each fields type against the current object's property + # definitions. + # + # @param obj [Object] + # @return [Void] + def self.validate_raw(obj:) + begin + return obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.") + rescue StandardError + # noop + end + begin + return Merge::Ats::ScreeningQuestionAnswer.validate_raw(obj: obj) + rescue StandardError + # noop + end + raise("Passed value matched no type within the union, validation failed.") + end + end + end +end diff --git a/lib/merge_ruby_client/ats/types/audit_log_event.rb b/lib/merge_ruby_client/ats/types/audit_log_event.rb index 743edcd..2777ba6 100644 --- a/lib/merge_ruby_client/ats/types/audit_log_event.rb +++ b/lib/merge_ruby_client/ats/types/audit_log_event.rb @@ -71,6 +71,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED attr_reader :event_type # @return [String] attr_reader :event_description @@ -141,6 +142,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED # @param event_description [String] # @param created_at [DateTime] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition diff --git a/lib/merge_ruby_client/ats/types/email_address.rb b/lib/merge_ruby_client/ats/types/email_address.rb index 5c2a74e..47bf3c4 100644 --- a/lib/merge_ruby_client/ats/types/email_address.rb +++ b/lib/merge_ruby_client/ats/types/email_address.rb @@ -24,6 +24,9 @@ class EmailAddress # - `WORK` - WORK # - `OTHER` - OTHER attr_reader :email_address_type + # @return [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + attr_reader :remote_was_deleted # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties # @return [Object] @@ -39,20 +42,24 @@ class EmailAddress # - `PERSONAL` - PERSONAL # - `WORK` - WORK # - `OTHER` - OTHER + # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::EmailAddress] def initialize(created_at: OMIT, modified_at: OMIT, value: OMIT, email_address_type: OMIT, - additional_properties: nil) + remote_was_deleted: OMIT, additional_properties: nil) @created_at = created_at if created_at != OMIT @modified_at = modified_at if modified_at != OMIT @value = value if value != OMIT @email_address_type = email_address_type if email_address_type != OMIT + @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @additional_properties = additional_properties @_field_set = { "created_at": created_at, "modified_at": modified_at, "value": value, - "email_address_type": email_address_type + "email_address_type": email_address_type, + "remote_was_deleted": remote_was_deleted }.reject do |_k, v| v == OMIT end @@ -69,11 +76,13 @@ def self.from_json(json_object:) modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?) value = parsed_json["value"] email_address_type = parsed_json["email_address_type"] + remote_was_deleted = parsed_json["remote_was_deleted"] new( created_at: created_at, modified_at: modified_at, value: value, email_address_type: email_address_type, + remote_was_deleted: remote_was_deleted, additional_properties: struct ) end @@ -96,6 +105,7 @@ def self.validate_raw(obj:) obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") obj.value&.is_a?(String) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") obj.email_address_type&.is_a?(Merge::Ats::EmailAddressTypeEnum) != false || raise("Passed value for field obj.email_address_type is not the expected type, validation failed.") + obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/ats/types/event_type_enum.rb b/lib/merge_ruby_client/ats/types/event_type_enum.rb index e571cb0..ae80903 100644 --- a/lib/merge_ruby_client/ats/types/event_type_enum.rb +++ b/lib/merge_ruby_client/ats/types/event_type_enum.rb @@ -46,6 +46,7 @@ module Ats # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED class EventTypeEnum CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" @@ -84,6 +85,7 @@ class EventTypeEnum ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" + END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" end end end diff --git a/lib/merge_ruby_client/ats/types/phone_number.rb b/lib/merge_ruby_client/ats/types/phone_number.rb index 07e9325..a40f989 100644 --- a/lib/merge_ruby_client/ats/types/phone_number.rb +++ b/lib/merge_ruby_client/ats/types/phone_number.rb @@ -26,6 +26,9 @@ class PhoneNumber # - `SKYPE` - SKYPE # - `OTHER` - OTHER attr_reader :phone_number_type + # @return [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + attr_reader :remote_was_deleted # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties # @return [Object] @@ -43,20 +46,24 @@ class PhoneNumber # - `MOBILE` - MOBILE # - `SKYPE` - SKYPE # - `OTHER` - OTHER + # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::PhoneNumber] def initialize(created_at: OMIT, modified_at: OMIT, value: OMIT, phone_number_type: OMIT, - additional_properties: nil) + remote_was_deleted: OMIT, additional_properties: nil) @created_at = created_at if created_at != OMIT @modified_at = modified_at if modified_at != OMIT @value = value if value != OMIT @phone_number_type = phone_number_type if phone_number_type != OMIT + @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @additional_properties = additional_properties @_field_set = { "created_at": created_at, "modified_at": modified_at, "value": value, - "phone_number_type": phone_number_type + "phone_number_type": phone_number_type, + "remote_was_deleted": remote_was_deleted }.reject do |_k, v| v == OMIT end @@ -73,11 +80,13 @@ def self.from_json(json_object:) modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?) value = parsed_json["value"] phone_number_type = parsed_json["phone_number_type"] + remote_was_deleted = parsed_json["remote_was_deleted"] new( created_at: created_at, modified_at: modified_at, value: value, phone_number_type: phone_number_type, + remote_was_deleted: remote_was_deleted, additional_properties: struct ) end @@ -100,6 +109,7 @@ def self.validate_raw(obj:) obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") obj.value&.is_a?(String) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") obj.phone_number_type&.is_a?(Merge::Ats::PhoneNumberTypeEnum) != false || raise("Passed value for field obj.phone_number_type is not the expected type, validation failed.") + obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/ats/types/remote_field_api.rb b/lib/merge_ruby_client/ats/types/remote_field_api.rb index 440df25..0969ad7 100644 --- a/lib/merge_ruby_client/ats/types/remote_field_api.rb +++ b/lib/merge_ruby_client/ats/types/remote_field_api.rb @@ -37,12 +37,12 @@ class RemoteFieldApi # @param coverage [Merge::Ats::RemoteFieldApiCoverage] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::RemoteFieldApi] - def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values:, advanced_metadata: OMIT, + def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values: OMIT, advanced_metadata: OMIT, coverage: OMIT, additional_properties: nil) @schema = schema @remote_key_name = remote_key_name @remote_endpoint_info = remote_endpoint_info - @example_values = example_values + @example_values = example_values if example_values != OMIT @advanced_metadata = advanced_metadata if advanced_metadata != OMIT @coverage = coverage if coverage != OMIT @additional_properties = additional_properties @@ -114,7 +114,7 @@ def self.validate_raw(obj:) obj.schema.is_a?(Hash) != false || raise("Passed value for field obj.schema is not the expected type, validation failed.") obj.remote_key_name.is_a?(String) != false || raise("Passed value for field obj.remote_key_name is not the expected type, validation failed.") Merge::Ats::RemoteEndpointInfo.validate_raw(obj: obj.remote_endpoint_info) - obj.example_values.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") + obj.example_values&.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") obj.advanced_metadata.nil? || Merge::Ats::AdvancedMetadata.validate_raw(obj: obj.advanced_metadata) obj.coverage.nil? || Merge::Ats::RemoteFieldApiCoverage.validate_raw(obj: obj.coverage) end diff --git a/lib/merge_ruby_client/ats/types/screening_question.rb b/lib/merge_ruby_client/ats/types/screening_question.rb index 4041d6f..b04e76e 100644 --- a/lib/merge_ruby_client/ats/types/screening_question.rb +++ b/lib/merge_ruby_client/ats/types/screening_question.rb @@ -43,6 +43,9 @@ class ScreeningQuestion attr_reader :required # @return [Array] attr_reader :options + # @return [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + attr_reader :remote_was_deleted # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties # @return [Object] @@ -69,10 +72,12 @@ class ScreeningQuestion # - `BOOLEAN` - BOOLEAN # @param required [Boolean] Whether or not the screening question is required. # @param options [Array] + # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::ScreeningQuestion] def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, job: OMIT, description: OMIT, - title: OMIT, type: OMIT, required: OMIT, options: OMIT, additional_properties: nil) + title: OMIT, type: OMIT, required: OMIT, options: OMIT, remote_was_deleted: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @@ -83,6 +88,7 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, j @type = type if type != OMIT @required = required if required != OMIT @options = options if options != OMIT + @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @additional_properties = additional_properties @_field_set = { "id": id, @@ -94,7 +100,8 @@ def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, j "title": title, "type": type, "required": required, - "options": options + "options": options, + "remote_was_deleted": remote_was_deleted }.reject do |_k, v| v == OMIT end @@ -122,6 +129,7 @@ def self.from_json(json_object:) type = parsed_json["type"] required = parsed_json["required"] options = parsed_json["options"] + remote_was_deleted = parsed_json["remote_was_deleted"] new( id: id, remote_id: remote_id, @@ -133,6 +141,7 @@ def self.from_json(json_object:) type: type, required: required, options: options, + remote_was_deleted: remote_was_deleted, additional_properties: struct ) end @@ -161,6 +170,7 @@ def self.validate_raw(obj:) obj.type&.is_a?(Merge::Ats::ScreeningQuestionTypeEnum) != false || raise("Passed value for field obj.type is not the expected type, validation failed.") obj.required&.is_a?(Boolean) != false || raise("Passed value for field obj.required is not the expected type, validation failed.") obj.options&.is_a?(Array) != false || raise("Passed value for field obj.options is not the expected type, validation failed.") + obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/ats/types/screening_question_answer.rb b/lib/merge_ruby_client/ats/types/screening_question_answer.rb new file mode 100644 index 0000000..e5aa842 --- /dev/null +++ b/lib/merge_ruby_client/ats/types/screening_question_answer.rb @@ -0,0 +1,132 @@ +# frozen_string_literal: true + +require "date" +require_relative "screening_question_answer_question" +require "ostruct" +require "json" + +module Merge + module Ats + # # The ScreeningQuestionAnswer Object + # ### Description + # The `ScreeningQuestionAnswer` object is used to represent candidate responses to + # a screening question, for a specific application. + # ### Usage Example + # TODO + class ScreeningQuestionAnswer + # @return [String] + attr_reader :id + # @return [String] The third-party API ID of the matching object. + attr_reader :remote_id + # @return [DateTime] The datetime that this object was created by Merge. + attr_reader :created_at + # @return [DateTime] The datetime that this object was modified by Merge. + attr_reader :modified_at + # @return [Merge::Ats::ScreeningQuestionAnswerQuestion] The screening question associated with the candidate’s answer. To determine the + # data type of the answer, you can expand on the screening question by adding + # `screening_question_answers.question` to the `expand` query parameter. + attr_reader :question + # @return [String] The candidate’s response to the screening question. + attr_reader :answer + # @return [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + attr_reader :remote_was_deleted + # @return [OpenStruct] Additional properties unmapped to the current class definition + attr_reader :additional_properties + # @return [Object] + attr_reader :_field_set + protected :_field_set + + OMIT = Object.new + + # @param id [String] + # @param remote_id [String] The third-party API ID of the matching object. + # @param created_at [DateTime] The datetime that this object was created by Merge. + # @param modified_at [DateTime] The datetime that this object was modified by Merge. + # @param question [Merge::Ats::ScreeningQuestionAnswerQuestion] The screening question associated with the candidate’s answer. To determine the + # data type of the answer, you can expand on the screening question by adding + # `screening_question_answers.question` to the `expand` query parameter. + # @param answer [String] The candidate’s response to the screening question. + # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition + # @return [Merge::Ats::ScreeningQuestionAnswer] + def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, question: OMIT, answer: OMIT, + remote_was_deleted: OMIT, additional_properties: nil) + @id = id if id != OMIT + @remote_id = remote_id if remote_id != OMIT + @created_at = created_at if created_at != OMIT + @modified_at = modified_at if modified_at != OMIT + @question = question if question != OMIT + @answer = answer if answer != OMIT + @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT + @additional_properties = additional_properties + @_field_set = { + "id": id, + "remote_id": remote_id, + "created_at": created_at, + "modified_at": modified_at, + "question": question, + "answer": answer, + "remote_was_deleted": remote_was_deleted + }.reject do |_k, v| + v == OMIT + end + end + + # Deserialize a JSON object to an instance of ScreeningQuestionAnswer + # + # @param json_object [String] + # @return [Merge::Ats::ScreeningQuestionAnswer] + def self.from_json(json_object:) + struct = JSON.parse(json_object, object_class: OpenStruct) + parsed_json = JSON.parse(json_object) + id = parsed_json["id"] + remote_id = parsed_json["remote_id"] + created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?) + modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?) + if parsed_json["question"].nil? + question = nil + else + question = parsed_json["question"].to_json + question = Merge::Ats::ScreeningQuestionAnswerQuestion.from_json(json_object: question) + end + answer = parsed_json["answer"] + remote_was_deleted = parsed_json["remote_was_deleted"] + new( + id: id, + remote_id: remote_id, + created_at: created_at, + modified_at: modified_at, + question: question, + answer: answer, + remote_was_deleted: remote_was_deleted, + additional_properties: struct + ) + end + + # Serialize an instance of ScreeningQuestionAnswer to a JSON object + # + # @return [String] + def to_json(*_args) + @_field_set&.to_json + end + + # Leveraged for Union-type generation, validate_raw attempts to parse the given + # hash and check each fields type against the current object's property + # definitions. + # + # @param obj [Object] + # @return [Void] + def self.validate_raw(obj:) + obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.") + obj.remote_id&.is_a?(String) != false || raise("Passed value for field obj.remote_id is not the expected type, validation failed.") + obj.created_at&.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.") + obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") + obj.question.nil? || Merge::Ats::ScreeningQuestionAnswerQuestion.validate_raw(obj: obj.question) + obj.answer&.is_a?(String) != false || raise("Passed value for field obj.answer is not the expected type, validation failed.") + obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") + end + end + end +end diff --git a/lib/merge_ruby_client/ats/types/screening_question_answer_question.rb b/lib/merge_ruby_client/ats/types/screening_question_answer_question.rb new file mode 100644 index 0000000..ac6be32 --- /dev/null +++ b/lib/merge_ruby_client/ats/types/screening_question_answer_question.rb @@ -0,0 +1,58 @@ +# frozen_string_literal: true + +require "json" +require_relative "screening_question" + +module Merge + module Ats + # The screening question associated with the candidate’s answer. To determine the + # data type of the answer, you can expand on the screening question by adding + # `screening_question_answers.question` to the `expand` query parameter. + class ScreeningQuestionAnswerQuestion + # Deserialize a JSON object to an instance of ScreeningQuestionAnswerQuestion + # + # @param json_object [String] + # @return [Merge::Ats::ScreeningQuestionAnswerQuestion] + def self.from_json(json_object:) + struct = JSON.parse(json_object, object_class: OpenStruct) + begin + struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.") + return struct unless struct.nil? + + return nil + rescue StandardError + # noop + end + begin + Merge::Ats::ScreeningQuestion.validate_raw(obj: struct) + return Merge::Ats::ScreeningQuestion.from_json(json_object: struct) unless struct.nil? + + return nil + rescue StandardError + # noop + end + struct + end + + # Leveraged for Union-type generation, validate_raw attempts to parse the given + # hash and check each fields type against the current object's property + # definitions. + # + # @param obj [Object] + # @return [Void] + def self.validate_raw(obj:) + begin + return obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.") + rescue StandardError + # noop + end + begin + return Merge::Ats::ScreeningQuestion.validate_raw(obj: obj) + rescue StandardError + # noop + end + raise("Passed value matched no type within the union, validation failed.") + end + end + end +end diff --git a/lib/merge_ruby_client/ats/types/screening_question_answer_request.rb b/lib/merge_ruby_client/ats/types/screening_question_answer_request.rb new file mode 100644 index 0000000..9cc610c --- /dev/null +++ b/lib/merge_ruby_client/ats/types/screening_question_answer_request.rb @@ -0,0 +1,113 @@ +# frozen_string_literal: true + +require_relative "screening_question_answer_request_question" +require "ostruct" +require "json" + +module Merge + module Ats + # # The ScreeningQuestionAnswer Object + # ### Description + # The `ScreeningQuestionAnswer` object is used to represent candidate responses to + # a screening question, for a specific application. + # ### Usage Example + # TODO + class ScreeningQuestionAnswerRequest + # @return [String] The third-party API ID of the matching object. + attr_reader :remote_id + # @return [Merge::Ats::ScreeningQuestionAnswerRequestQuestion] The screening question associated with the candidate’s answer. To determine the + # data type of the answer, you can expand on the screening question by adding + # `screening_question_answers.question` to the `expand` query parameter. + attr_reader :question + # @return [String] The candidate’s response to the screening question. + attr_reader :answer + # @return [Hash{String => Object}] + attr_reader :integration_params + # @return [Hash{String => Object}] + attr_reader :linked_account_params + # @return [OpenStruct] Additional properties unmapped to the current class definition + attr_reader :additional_properties + # @return [Object] + attr_reader :_field_set + protected :_field_set + + OMIT = Object.new + + # @param remote_id [String] The third-party API ID of the matching object. + # @param question [Merge::Ats::ScreeningQuestionAnswerRequestQuestion] The screening question associated with the candidate’s answer. To determine the + # data type of the answer, you can expand on the screening question by adding + # `screening_question_answers.question` to the `expand` query parameter. + # @param answer [String] The candidate’s response to the screening question. + # @param integration_params [Hash{String => Object}] + # @param linked_account_params [Hash{String => Object}] + # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition + # @return [Merge::Ats::ScreeningQuestionAnswerRequest] + def initialize(remote_id: OMIT, question: OMIT, answer: OMIT, integration_params: OMIT, + linked_account_params: OMIT, additional_properties: nil) + @remote_id = remote_id if remote_id != OMIT + @question = question if question != OMIT + @answer = answer if answer != OMIT + @integration_params = integration_params if integration_params != OMIT + @linked_account_params = linked_account_params if linked_account_params != OMIT + @additional_properties = additional_properties + @_field_set = { + "remote_id": remote_id, + "question": question, + "answer": answer, + "integration_params": integration_params, + "linked_account_params": linked_account_params + }.reject do |_k, v| + v == OMIT + end + end + + # Deserialize a JSON object to an instance of ScreeningQuestionAnswerRequest + # + # @param json_object [String] + # @return [Merge::Ats::ScreeningQuestionAnswerRequest] + def self.from_json(json_object:) + struct = JSON.parse(json_object, object_class: OpenStruct) + parsed_json = JSON.parse(json_object) + remote_id = parsed_json["remote_id"] + if parsed_json["question"].nil? + question = nil + else + question = parsed_json["question"].to_json + question = Merge::Ats::ScreeningQuestionAnswerRequestQuestion.from_json(json_object: question) + end + answer = parsed_json["answer"] + integration_params = parsed_json["integration_params"] + linked_account_params = parsed_json["linked_account_params"] + new( + remote_id: remote_id, + question: question, + answer: answer, + integration_params: integration_params, + linked_account_params: linked_account_params, + additional_properties: struct + ) + end + + # Serialize an instance of ScreeningQuestionAnswerRequest to a JSON object + # + # @return [String] + def to_json(*_args) + @_field_set&.to_json + end + + # Leveraged for Union-type generation, validate_raw attempts to parse the given + # hash and check each fields type against the current object's property + # definitions. + # + # @param obj [Object] + # @return [Void] + def self.validate_raw(obj:) + obj.remote_id&.is_a?(String) != false || raise("Passed value for field obj.remote_id is not the expected type, validation failed.") + obj.question.nil? || Merge::Ats::ScreeningQuestionAnswerRequestQuestion.validate_raw(obj: obj.question) + obj.answer&.is_a?(String) != false || raise("Passed value for field obj.answer is not the expected type, validation failed.") + obj.integration_params&.is_a?(Hash) != false || raise("Passed value for field obj.integration_params is not the expected type, validation failed.") + obj.linked_account_params&.is_a?(Hash) != false || raise("Passed value for field obj.linked_account_params is not the expected type, validation failed.") + end + end + end +end diff --git a/lib/merge_ruby_client/ats/types/screening_question_answer_request_question.rb b/lib/merge_ruby_client/ats/types/screening_question_answer_request_question.rb new file mode 100644 index 0000000..4d7e559 --- /dev/null +++ b/lib/merge_ruby_client/ats/types/screening_question_answer_request_question.rb @@ -0,0 +1,59 @@ +# frozen_string_literal: true + +require "json" +require_relative "screening_question" + +module Merge + module Ats + # The screening question associated with the candidate’s answer. To determine the + # data type of the answer, you can expand on the screening question by adding + # `screening_question_answers.question` to the `expand` query parameter. + class ScreeningQuestionAnswerRequestQuestion + # Deserialize a JSON object to an instance of + # ScreeningQuestionAnswerRequestQuestion + # + # @param json_object [String] + # @return [Merge::Ats::ScreeningQuestionAnswerRequestQuestion] + def self.from_json(json_object:) + struct = JSON.parse(json_object, object_class: OpenStruct) + begin + struct.is_a?(String) != false || raise("Passed value for field struct is not the expected type, validation failed.") + return struct unless struct.nil? + + return nil + rescue StandardError + # noop + end + begin + Merge::Ats::ScreeningQuestion.validate_raw(obj: struct) + return Merge::Ats::ScreeningQuestion.from_json(json_object: struct) unless struct.nil? + + return nil + rescue StandardError + # noop + end + struct + end + + # Leveraged for Union-type generation, validate_raw attempts to parse the given + # hash and check each fields type against the current object's property + # definitions. + # + # @param obj [Object] + # @return [Void] + def self.validate_raw(obj:) + begin + return obj.is_a?(String) != false || raise("Passed value for field obj is not the expected type, validation failed.") + rescue StandardError + # noop + end + begin + return Merge::Ats::ScreeningQuestion.validate_raw(obj: obj) + rescue StandardError + # noop + end + raise("Passed value matched no type within the union, validation failed.") + end + end + end +end diff --git a/lib/merge_ruby_client/ats/types/screening_question_option.rb b/lib/merge_ruby_client/ats/types/screening_question_option.rb index 044732c..db8a1fd 100644 --- a/lib/merge_ruby_client/ats/types/screening_question_option.rb +++ b/lib/merge_ruby_client/ats/types/screening_question_option.rb @@ -23,6 +23,9 @@ class ScreeningQuestionOption attr_reader :modified_at # @return [String] Available response options attr_reader :label + # @return [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + attr_reader :remote_was_deleted # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties # @return [Object] @@ -36,22 +39,26 @@ class ScreeningQuestionOption # @param created_at [DateTime] The datetime that this object was created by Merge. # @param modified_at [DateTime] The datetime that this object was modified by Merge. # @param label [String] Available response options + # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::ScreeningQuestionOption] def initialize(id: OMIT, remote_id: OMIT, created_at: OMIT, modified_at: OMIT, label: OMIT, - additional_properties: nil) + remote_was_deleted: OMIT, additional_properties: nil) @id = id if id != OMIT @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @modified_at = modified_at if modified_at != OMIT @label = label if label != OMIT + @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @additional_properties = additional_properties @_field_set = { "id": id, "remote_id": remote_id, "created_at": created_at, "modified_at": modified_at, - "label": label + "label": label, + "remote_was_deleted": remote_was_deleted }.reject do |_k, v| v == OMIT end @@ -69,12 +76,14 @@ def self.from_json(json_object:) created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?) modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?) label = parsed_json["label"] + remote_was_deleted = parsed_json["remote_was_deleted"] new( id: id, remote_id: remote_id, created_at: created_at, modified_at: modified_at, label: label, + remote_was_deleted: remote_was_deleted, additional_properties: struct ) end @@ -98,6 +107,7 @@ def self.validate_raw(obj:) obj.created_at&.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.") obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") obj.label&.is_a?(String) != false || raise("Passed value for field obj.label is not the expected type, validation failed.") + obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/ats/types/url.rb b/lib/merge_ruby_client/ats/types/url.rb index 8a67256..8902751 100644 --- a/lib/merge_ruby_client/ats/types/url.rb +++ b/lib/merge_ruby_client/ats/types/url.rb @@ -29,6 +29,9 @@ class Url # - `OTHER` - OTHER # - `JOB_POSTING` - JOB_POSTING attr_reader :url_type + # @return [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. + attr_reader :remote_was_deleted # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties # @return [Object] @@ -48,19 +51,24 @@ class Url # - `SOCIAL_MEDIA` - SOCIAL_MEDIA # - `OTHER` - OTHER # - `JOB_POSTING` - JOB_POSTING + # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party + # platform. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ats::Url] - def initialize(created_at: OMIT, modified_at: OMIT, value: OMIT, url_type: OMIT, additional_properties: nil) + def initialize(created_at: OMIT, modified_at: OMIT, value: OMIT, url_type: OMIT, remote_was_deleted: OMIT, + additional_properties: nil) @created_at = created_at if created_at != OMIT @modified_at = modified_at if modified_at != OMIT @value = value if value != OMIT @url_type = url_type if url_type != OMIT + @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @additional_properties = additional_properties @_field_set = { "created_at": created_at, "modified_at": modified_at, "value": value, - "url_type": url_type + "url_type": url_type, + "remote_was_deleted": remote_was_deleted }.reject do |_k, v| v == OMIT end @@ -77,11 +85,13 @@ def self.from_json(json_object:) modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?) value = parsed_json["value"] url_type = parsed_json["url_type"] + remote_was_deleted = parsed_json["remote_was_deleted"] new( created_at: created_at, modified_at: modified_at, value: value, url_type: url_type, + remote_was_deleted: remote_was_deleted, additional_properties: struct ) end @@ -104,6 +114,7 @@ def self.validate_raw(obj:) obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") obj.value&.is_a?(String) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") obj.url_type&.is_a?(Merge::Ats::UrlTypeEnum) != false || raise("Passed value for field obj.url_type is not the expected type, validation failed.") + obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/crm/accounts/client.rb b/lib/merge_ruby_client/crm/accounts/client.rb index e72bd25..7a195a5 100644 --- a/lib/merge_ruby_client/crm/accounts/client.rb +++ b/lib/merge_ruby_client/crm/accounts/client.rb @@ -294,6 +294,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -305,7 +307,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.accounts.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -321,6 +323,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -625,6 +628,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -636,7 +641,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.accounts.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -653,6 +658,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/audit_trail/client.rb b/lib/merge_ruby_client/crm/audit_trail/client.rb index 2981744..bfc3edc 100644 --- a/lib/merge_ruby_client/crm/audit_trail/client.rb +++ b/lib/merge_ruby_client/crm/audit_trail/client.rb @@ -40,7 +40,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. @@ -118,7 +119,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. diff --git a/lib/merge_ruby_client/crm/contacts/client.rb b/lib/merge_ruby_client/crm/contacts/client.rb index 161af35..08c43e8 100644 --- a/lib/merge_ruby_client/crm/contacts/client.rb +++ b/lib/merge_ruby_client/crm/contacts/client.rb @@ -337,6 +337,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -348,7 +350,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.contacts.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -364,6 +366,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -710,6 +713,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -721,7 +726,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.contacts.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -738,6 +743,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/custom_objects/client.rb b/lib/merge_ruby_client/crm/custom_objects/client.rb index 3f9ee9a..760544d 100644 --- a/lib/merge_ruby_client/crm/custom_objects/client.rb +++ b/lib/merge_ruby_client/crm/custom_objects/client.rb @@ -7,6 +7,7 @@ require_relative "../types/crm_custom_object_response" require_relative "../types/custom_object" require_relative "../types/meta_response" +require_relative "../types/paginated_remote_field_class_list" require "async" module Merge @@ -189,6 +190,54 @@ def custom_object_classes_custom_objects_meta_post_retrieve(custom_object_class_ end Merge::Crm::MetaResponse.from_json(json_object: response.body) end + + # Returns a list of `RemoteFieldClass` objects. + # + # @param cursor [String] The pagination cursor value. + # @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks. + # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to + # produce these models. + # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to + # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value + # @param page_size [Integer] Number of results to return per page. + # @param request_options [Merge::RequestOptions] + # @return [Merge::Crm::PaginatedRemoteFieldClassList] + # @example + # api = Merge::Client.new( + # base_url: "https://api.example.com", + # environment: Merge::Environment::PRODUCTION, + # api_key: "YOUR_AUTH_TOKEN" + # ) + # api.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list + def custom_object_classes_custom_objects_remote_field_classes_list(cursor: nil, include_deleted_data: nil, + include_remote_data: nil, include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) + response = @request_client.conn.get do |req| + req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? + req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? + req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil? + req.headers = { + **(req.headers || {}), + **@request_client.get_headers, + **(request_options&.additional_headers || {}) + }.compact + req.params = { + **(request_options&.additional_query_parameters || {}), + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, + "page_size": page_size + }.compact + unless request_options.nil? || request_options&.additional_body_parameters.nil? + req.body = { **(request_options&.additional_body_parameters || {}) }.compact + end + req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/custom-object-classes/custom-objects/remote-field-classes" + end + Merge::Crm::PaginatedRemoteFieldClassList.from_json(json_object: response.body) + end end class AsyncCustomObjectsClient @@ -377,6 +426,56 @@ def custom_object_classes_custom_objects_meta_post_retrieve(custom_object_class_ Merge::Crm::MetaResponse.from_json(json_object: response.body) end end + + # Returns a list of `RemoteFieldClass` objects. + # + # @param cursor [String] The pagination cursor value. + # @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks. + # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to + # produce these models. + # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to + # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value + # @param page_size [Integer] Number of results to return per page. + # @param request_options [Merge::RequestOptions] + # @return [Merge::Crm::PaginatedRemoteFieldClassList] + # @example + # api = Merge::Client.new( + # base_url: "https://api.example.com", + # environment: Merge::Environment::PRODUCTION, + # api_key: "YOUR_AUTH_TOKEN" + # ) + # api.crm.custom_objects.custom_object_classes_custom_objects_remote_field_classes_list + def custom_object_classes_custom_objects_remote_field_classes_list(cursor: nil, include_deleted_data: nil, + include_remote_data: nil, include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) + Async do + response = @request_client.conn.get do |req| + req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? + req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? + req.headers["X-Account-Token"] = request_options.account_token unless request_options&.account_token.nil? + req.headers = { + **(req.headers || {}), + **@request_client.get_headers, + **(request_options&.additional_headers || {}) + }.compact + req.params = { + **(request_options&.additional_query_parameters || {}), + "cursor": cursor, + "include_deleted_data": include_deleted_data, + "include_remote_data": include_remote_data, + "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, + "page_size": page_size + }.compact + unless request_options.nil? || request_options&.additional_body_parameters.nil? + req.body = { **(request_options&.additional_body_parameters || {}) }.compact + end + req.url "#{@request_client.get_url(request_options: request_options)}/crm/v1/custom-object-classes/custom-objects/remote-field-classes" + end + Merge::Crm::PaginatedRemoteFieldClassList.from_json(json_object: response.body) + end + end end end end diff --git a/lib/merge_ruby_client/crm/engagement_types/client.rb b/lib/merge_ruby_client/crm/engagement_types/client.rb index 83c5ead..b267246 100644 --- a/lib/merge_ruby_client/crm/engagement_types/client.rb +++ b/lib/merge_ruby_client/crm/engagement_types/client.rb @@ -122,6 +122,8 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -133,7 +135,7 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # ) # api.crm.engagement_types.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -149,6 +151,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -277,6 +280,8 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -288,7 +293,7 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # ) # api.crm.engagement_types.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -305,6 +310,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/engagements/client.rb b/lib/merge_ruby_client/crm/engagements/client.rb index b5be22f..3f49acb 100644 --- a/lib/merge_ruby_client/crm/engagements/client.rb +++ b/lib/merge_ruby_client/crm/engagements/client.rb @@ -298,6 +298,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -309,7 +311,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.engagements.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -325,6 +327,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -631,6 +634,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -642,7 +647,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.engagements.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -659,6 +664,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/issues/client.rb b/lib/merge_ruby_client/crm/issues/client.rb index b905f61..686fbe3 100644 --- a/lib/merge_ruby_client/crm/issues/client.rb +++ b/lib/merge_ruby_client/crm/issues/client.rb @@ -19,7 +19,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -36,6 +36,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -52,7 +54,7 @@ def initialize(request_client:) # ) # api.crm.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -74,6 +76,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status @@ -130,7 +133,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -147,6 +150,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -163,7 +168,7 @@ def initialize(request_client:) # ) # api.crm.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -186,6 +191,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status diff --git a/lib/merge_ruby_client/crm/leads/client.rb b/lib/merge_ruby_client/crm/leads/client.rb index 137e785..61d24b2 100644 --- a/lib/merge_ruby_client/crm/leads/client.rb +++ b/lib/merge_ruby_client/crm/leads/client.rb @@ -227,6 +227,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -238,7 +240,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.leads.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -254,6 +256,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -486,6 +489,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -497,7 +502,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.leads.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -514,6 +519,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/link_token/client.rb b/lib/merge_ruby_client/crm/link_token/client.rb index f893c1b..f280a65 100644 --- a/lib/merge_ruby_client/crm/link_token/client.rb +++ b/lib/merge_ruby_client/crm/link_token/client.rb @@ -35,6 +35,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -62,7 +65,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -84,6 +87,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, @@ -122,6 +126,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -149,7 +156,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) Async do response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -172,6 +179,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, diff --git a/lib/merge_ruby_client/crm/notes/client.rb b/lib/merge_ruby_client/crm/notes/client.rb index f00f05e..ca017f8 100644 --- a/lib/merge_ruby_client/crm/notes/client.rb +++ b/lib/merge_ruby_client/crm/notes/client.rb @@ -216,6 +216,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -227,7 +229,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.notes.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -243,6 +245,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -464,6 +467,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -475,7 +480,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.notes.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -492,6 +497,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/opportunities/client.rb b/lib/merge_ruby_client/crm/opportunities/client.rb index fbb2951..b0767c6 100644 --- a/lib/merge_ruby_client/crm/opportunities/client.rb +++ b/lib/merge_ruby_client/crm/opportunities/client.rb @@ -44,6 +44,8 @@ def initialize(request_client:) # returned. # @param owner_id [String] If provided, will only return opportunities with this owner. # @param page_size [Integer] Number of results to return per page. + # @param remote_created_after [DateTime] If provided, will only return opportunities created in the third party platform + # after this datetime. # @param remote_fields [String] Deprecated. Use show_enum_origins. # @param remote_id [String] The API provider's ID for the given object. # @param show_enum_origins [String] A comma separated list of enum field names for which you'd like the original @@ -65,7 +67,7 @@ def initialize(request_client:) # ) # api.crm.opportunities.list def list(account_id: nil, created_after: nil, created_before: nil, cursor: nil, expand: nil, - include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, owner_id: nil, page_size: nil, remote_fields: nil, remote_id: nil, show_enum_origins: nil, stage_id: nil, status: nil, request_options: nil) + include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, owner_id: nil, page_size: nil, remote_created_after: nil, remote_fields: nil, remote_id: nil, show_enum_origins: nil, stage_id: nil, status: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -89,6 +91,7 @@ def list(account_id: nil, created_after: nil, created_before: nil, cursor: nil, "modified_before": modified_before, "owner_id": owner_id, "page_size": page_size, + "remote_created_after": remote_created_after, "remote_fields": remote_fields, "remote_id": remote_id, "show_enum_origins": show_enum_origins, @@ -320,6 +323,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -331,7 +336,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.opportunities.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -347,6 +352,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -386,6 +392,8 @@ def initialize(request_client:) # returned. # @param owner_id [String] If provided, will only return opportunities with this owner. # @param page_size [Integer] Number of results to return per page. + # @param remote_created_after [DateTime] If provided, will only return opportunities created in the third party platform + # after this datetime. # @param remote_fields [String] Deprecated. Use show_enum_origins. # @param remote_id [String] The API provider's ID for the given object. # @param show_enum_origins [String] A comma separated list of enum field names for which you'd like the original @@ -407,7 +415,7 @@ def initialize(request_client:) # ) # api.crm.opportunities.list def list(account_id: nil, created_after: nil, created_before: nil, cursor: nil, expand: nil, - include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, owner_id: nil, page_size: nil, remote_fields: nil, remote_id: nil, show_enum_origins: nil, stage_id: nil, status: nil, request_options: nil) + include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, owner_id: nil, page_size: nil, remote_created_after: nil, remote_fields: nil, remote_id: nil, show_enum_origins: nil, stage_id: nil, status: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -432,6 +440,7 @@ def list(account_id: nil, created_after: nil, created_before: nil, cursor: nil, "modified_before": modified_before, "owner_id": owner_id, "page_size": page_size, + "remote_created_after": remote_created_after, "remote_fields": remote_fields, "remote_id": remote_id, "show_enum_origins": show_enum_origins, @@ -674,6 +683,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -685,7 +696,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.opportunities.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -702,6 +713,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/stages/client.rb b/lib/merge_ruby_client/crm/stages/client.rb index aea4b0b..73a87bd 100644 --- a/lib/merge_ruby_client/crm/stages/client.rb +++ b/lib/merge_ruby_client/crm/stages/client.rb @@ -122,6 +122,8 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -133,7 +135,7 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # ) # api.crm.stages.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -149,6 +151,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -277,6 +280,8 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -288,7 +293,7 @@ def retrieve(id:, include_remote_data: nil, include_remote_fields: nil, request_ # ) # api.crm.stages.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -305,6 +310,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/tasks/client.rb b/lib/merge_ruby_client/crm/tasks/client.rb index 5e5947d..4ce1201 100644 --- a/lib/merge_ruby_client/crm/tasks/client.rb +++ b/lib/merge_ruby_client/crm/tasks/client.rb @@ -292,6 +292,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -303,7 +305,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.tasks.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -319,6 +321,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -619,6 +622,8 @@ def meta_post_retrieve(request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -630,7 +635,7 @@ def meta_post_retrieve(request_options: nil) # ) # api.crm.tasks.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -647,6 +652,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/crm/types/account_integration.rb b/lib/merge_ruby_client/crm/types/account_integration.rb index 1172006..97bfedc 100644 --- a/lib/merge_ruby_client/crm/types/account_integration.rb +++ b/lib/merge_ruby_client/crm/types/account_integration.rb @@ -9,6 +9,11 @@ module Crm class AccountIntegration # @return [String] Company name. attr_reader :name + # @return [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) + attr_reader :abbreviated_name # @return [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. attr_reader :categories @@ -41,6 +46,10 @@ class AccountIntegration OMIT = Object.new # @param name [String] Company name. + # @param abbreviated_name [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) # @param categories [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. # @param image [String] Company logo in rectangular shape. Upload an image with a clear @@ -58,9 +67,10 @@ class AccountIntegration # @param category_beta_status [Hash{String => Object}] Category or categories this integration is in beta status for. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Crm::AccountIntegration] - def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, slug: OMIT, - api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) + def initialize(name:, abbreviated_name: OMIT, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, + slug: OMIT, api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) @name = name + @abbreviated_name = abbreviated_name if abbreviated_name != OMIT @categories = categories if categories != OMIT @image = image if image != OMIT @square_image = square_image if square_image != OMIT @@ -74,6 +84,7 @@ def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: @additional_properties = additional_properties @_field_set = { "name": name, + "abbreviated_name": abbreviated_name, "categories": categories, "image": image, "square_image": square_image, @@ -95,6 +106,7 @@ def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) name = parsed_json["name"] + abbreviated_name = parsed_json["abbreviated_name"] categories = parsed_json["categories"] image = parsed_json["image"] square_image = parsed_json["square_image"] @@ -105,6 +117,7 @@ def self.from_json(json_object:) category_beta_status = parsed_json["category_beta_status"] new( name: name, + abbreviated_name: abbreviated_name, categories: categories, image: image, square_image: square_image, @@ -132,6 +145,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") + obj.abbreviated_name&.is_a?(String) != false || raise("Passed value for field obj.abbreviated_name is not the expected type, validation failed.") obj.categories&.is_a?(Array) != false || raise("Passed value for field obj.categories is not the expected type, validation failed.") obj.image&.is_a?(String) != false || raise("Passed value for field obj.image is not the expected type, validation failed.") obj.square_image&.is_a?(String) != false || raise("Passed value for field obj.square_image is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/crm/types/association.rb b/lib/merge_ruby_client/crm/types/association.rb index 57da08f..272d2ee 100644 --- a/lib/merge_ruby_client/crm/types/association.rb +++ b/lib/merge_ruby_client/crm/types/association.rb @@ -17,9 +17,9 @@ class Association attr_reader :created_at # @return [DateTime] The datetime that this object was modified by Merge. attr_reader :modified_at - # @return [Hash{String => Object}] + # @return [String] attr_reader :source_object - # @return [Hash{String => Object}] + # @return [String] attr_reader :target_object # @return [Merge::Crm::AssociationAssociationType] The association type the association belongs to. attr_reader :association_type @@ -33,8 +33,8 @@ class Association # @param created_at [DateTime] The datetime that this object was created by Merge. # @param modified_at [DateTime] The datetime that this object was modified by Merge. - # @param source_object [Hash{String => Object}] - # @param target_object [Hash{String => Object}] + # @param source_object [String] + # @param target_object [String] # @param association_type [Merge::Crm::AssociationAssociationType] The association type the association belongs to. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Crm::Association] @@ -100,8 +100,8 @@ def to_json(*_args) def self.validate_raw(obj:) obj.created_at&.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.") obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") - obj.source_object&.is_a?(Hash) != false || raise("Passed value for field obj.source_object is not the expected type, validation failed.") - obj.target_object&.is_a?(Hash) != false || raise("Passed value for field obj.target_object is not the expected type, validation failed.") + obj.source_object&.is_a?(String) != false || raise("Passed value for field obj.source_object is not the expected type, validation failed.") + obj.target_object&.is_a?(String) != false || raise("Passed value for field obj.target_object is not the expected type, validation failed.") obj.association_type.nil? || Merge::Crm::AssociationAssociationType.validate_raw(obj: obj.association_type) end end diff --git a/lib/merge_ruby_client/crm/types/audit_log_event.rb b/lib/merge_ruby_client/crm/types/audit_log_event.rb index 7a72af9..8b80947 100644 --- a/lib/merge_ruby_client/crm/types/audit_log_event.rb +++ b/lib/merge_ruby_client/crm/types/audit_log_event.rb @@ -71,6 +71,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED attr_reader :event_type # @return [String] attr_reader :event_description @@ -141,6 +142,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED # @param event_description [String] # @param created_at [DateTime] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition diff --git a/lib/merge_ruby_client/crm/types/event_type_enum.rb b/lib/merge_ruby_client/crm/types/event_type_enum.rb index 9866162..ac9e5ba 100644 --- a/lib/merge_ruby_client/crm/types/event_type_enum.rb +++ b/lib/merge_ruby_client/crm/types/event_type_enum.rb @@ -46,6 +46,7 @@ module Crm # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED class EventTypeEnum CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" @@ -84,6 +85,7 @@ class EventTypeEnum ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" + END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" end end end diff --git a/lib/merge_ruby_client/crm/types/remote_field.rb b/lib/merge_ruby_client/crm/types/remote_field.rb index 6c28a8d..d887bc6 100644 --- a/lib/merge_ruby_client/crm/types/remote_field.rb +++ b/lib/merge_ruby_client/crm/types/remote_field.rb @@ -9,7 +9,7 @@ module Crm class RemoteField # @return [Merge::Crm::RemoteFieldRemoteFieldClass] attr_reader :remote_field_class - # @return [Hash{String => Object}] + # @return [Object] attr_reader :value # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties @@ -20,7 +20,7 @@ class RemoteField OMIT = Object.new # @param remote_field_class [Merge::Crm::RemoteFieldRemoteFieldClass] - # @param value [Hash{String => Object}] + # @param value [Object] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Crm::RemoteField] def initialize(remote_field_class:, value: OMIT, additional_properties: nil) @@ -68,7 +68,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) Merge::Crm::RemoteFieldRemoteFieldClass.validate_raw(obj: obj.remote_field_class) - obj.value&.is_a?(Hash) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") + obj.value&.is_a?(Object) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/crm/types/remote_field_api.rb b/lib/merge_ruby_client/crm/types/remote_field_api.rb index 1a5d666..c2812f8 100644 --- a/lib/merge_ruby_client/crm/types/remote_field_api.rb +++ b/lib/merge_ruby_client/crm/types/remote_field_api.rb @@ -37,12 +37,12 @@ class RemoteFieldApi # @param coverage [Merge::Crm::RemoteFieldApiCoverage] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Crm::RemoteFieldApi] - def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values:, advanced_metadata: OMIT, + def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values: OMIT, advanced_metadata: OMIT, coverage: OMIT, additional_properties: nil) @schema = schema @remote_key_name = remote_key_name @remote_endpoint_info = remote_endpoint_info - @example_values = example_values + @example_values = example_values if example_values != OMIT @advanced_metadata = advanced_metadata if advanced_metadata != OMIT @coverage = coverage if coverage != OMIT @additional_properties = additional_properties @@ -114,7 +114,7 @@ def self.validate_raw(obj:) obj.schema.is_a?(Hash) != false || raise("Passed value for field obj.schema is not the expected type, validation failed.") obj.remote_key_name.is_a?(String) != false || raise("Passed value for field obj.remote_key_name is not the expected type, validation failed.") Merge::Crm::RemoteEndpointInfo.validate_raw(obj: obj.remote_endpoint_info) - obj.example_values.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") + obj.example_values&.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") obj.advanced_metadata.nil? || Merge::Crm::AdvancedMetadata.validate_raw(obj: obj.advanced_metadata) obj.coverage.nil? || Merge::Crm::RemoteFieldApiCoverage.validate_raw(obj: obj.coverage) end diff --git a/lib/merge_ruby_client/crm/types/remote_field_request.rb b/lib/merge_ruby_client/crm/types/remote_field_request.rb index e353957..36524d4 100644 --- a/lib/merge_ruby_client/crm/types/remote_field_request.rb +++ b/lib/merge_ruby_client/crm/types/remote_field_request.rb @@ -9,7 +9,7 @@ module Crm class RemoteFieldRequest # @return [Merge::Crm::RemoteFieldRequestRemoteFieldClass] attr_reader :remote_field_class - # @return [String] + # @return [Object] attr_reader :value # @return [OpenStruct] Additional properties unmapped to the current class definition attr_reader :additional_properties @@ -20,7 +20,7 @@ class RemoteFieldRequest OMIT = Object.new # @param remote_field_class [Merge::Crm::RemoteFieldRequestRemoteFieldClass] - # @param value [String] + # @param value [Object] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Crm::RemoteFieldRequest] def initialize(remote_field_class:, value: OMIT, additional_properties: nil) @@ -68,7 +68,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) Merge::Crm::RemoteFieldRequestRemoteFieldClass.validate_raw(obj: obj.remote_field_class) - obj.value&.is_a?(String) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") + obj.value&.is_a?(Object) != false || raise("Passed value for field obj.value is not the expected type, validation failed.") end end end diff --git a/lib/merge_ruby_client/crm/users/client.rb b/lib/merge_ruby_client/crm/users/client.rb index 4790f45..a68fc6d 100644 --- a/lib/merge_ruby_client/crm/users/client.rb +++ b/lib/merge_ruby_client/crm/users/client.rb @@ -159,6 +159,8 @@ def ignore_create(model_id:, request:, request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -170,7 +172,7 @@ def ignore_create(model_id:, request:, request_options: nil) # ) # api.crm.users.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -186,6 +188,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -352,6 +355,8 @@ def ignore_create(model_id:, request:, request_options: nil) # produce these models. # @param include_remote_fields [Boolean] Whether to include all remote fields, including fields that Merge did not map to # common models, in a normalized format. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Crm::PaginatedRemoteFieldClassList] @@ -363,7 +368,7 @@ def ignore_create(model_id:, request:, request_options: nil) # ) # api.crm.users.remote_field_classes_list def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, - include_remote_fields: nil, page_size: nil, request_options: nil) + include_remote_fields: nil, is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -380,6 +385,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, "include_remote_fields": include_remote_fields, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/filestorage/audit_trail/client.rb b/lib/merge_ruby_client/filestorage/audit_trail/client.rb index 4b71043..9f2a49f 100644 --- a/lib/merge_ruby_client/filestorage/audit_trail/client.rb +++ b/lib/merge_ruby_client/filestorage/audit_trail/client.rb @@ -40,7 +40,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. @@ -118,7 +119,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. diff --git a/lib/merge_ruby_client/filestorage/files/client.rb b/lib/merge_ruby_client/filestorage/files/client.rb index b8b8d64..9d27f86 100644 --- a/lib/merge_ruby_client/filestorage/files/client.rb +++ b/lib/merge_ruby_client/filestorage/files/client.rb @@ -176,7 +176,7 @@ def retrieve(id:, expand: nil, include_remote_data: nil, request_options: nil) Merge::Filestorage::File.from_json(json_object: response.body) end - # Returns a `File` object with the given `id`. + # Returns the `File` content with the given `id` as a stream of bytes. # # @param id [String] # @param mime_type [String] If provided, specifies the export format of the file to be downloaded. For @@ -417,7 +417,7 @@ def retrieve(id:, expand: nil, include_remote_data: nil, request_options: nil) end end - # Returns a `File` object with the given `id`. + # Returns the `File` content with the given `id` as a stream of bytes. # # @param id [String] # @param mime_type [String] If provided, specifies the export format of the file to be downloaded. For diff --git a/lib/merge_ruby_client/filestorage/issues/client.rb b/lib/merge_ruby_client/filestorage/issues/client.rb index b77cb10..df8dfa3 100644 --- a/lib/merge_ruby_client/filestorage/issues/client.rb +++ b/lib/merge_ruby_client/filestorage/issues/client.rb @@ -19,7 +19,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -36,6 +36,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -52,7 +54,7 @@ def initialize(request_client:) # ) # api.filestorage.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -74,6 +76,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status @@ -130,7 +133,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -147,6 +150,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -163,7 +168,7 @@ def initialize(request_client:) # ) # api.filestorage.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -186,6 +191,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status diff --git a/lib/merge_ruby_client/filestorage/link_token/client.rb b/lib/merge_ruby_client/filestorage/link_token/client.rb index 9c4cd9c..01ed393 100644 --- a/lib/merge_ruby_client/filestorage/link_token/client.rb +++ b/lib/merge_ruby_client/filestorage/link_token/client.rb @@ -35,6 +35,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -62,7 +65,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -84,6 +87,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, @@ -122,6 +126,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -149,7 +156,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) Async do response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -172,6 +179,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, diff --git a/lib/merge_ruby_client/filestorage/linked_accounts/client.rb b/lib/merge_ruby_client/filestorage/linked_accounts/client.rb index 585ff19..6f3c660 100644 --- a/lib/merge_ruby_client/filestorage/linked_accounts/client.rb +++ b/lib/merge_ruby_client/filestorage/linked_accounts/client.rb @@ -19,8 +19,7 @@ def initialize(request_client:) # List linked accounts for your organization. # - # @param category [Merge::Filestorage::LinkedAccounts::LinkedAccountsListRequestCategory] Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', - # 'filestorage') + # @param category [Merge::Filestorage::LinkedAccounts::LinkedAccountsListRequestCategory] Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` # - `hris` - hris # - `ats` - ats # - `accounting` - accounting @@ -106,8 +105,7 @@ def initialize(request_client:) # List linked accounts for your organization. # - # @param category [Merge::Filestorage::LinkedAccounts::LinkedAccountsListRequestCategory] Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', - # 'filestorage') + # @param category [Merge::Filestorage::LinkedAccounts::LinkedAccountsListRequestCategory] Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` # - `hris` - hris # - `ats` - ats # - `accounting` - accounting diff --git a/lib/merge_ruby_client/filestorage/types/account_integration.rb b/lib/merge_ruby_client/filestorage/types/account_integration.rb index d88452c..702e7da 100644 --- a/lib/merge_ruby_client/filestorage/types/account_integration.rb +++ b/lib/merge_ruby_client/filestorage/types/account_integration.rb @@ -9,6 +9,11 @@ module Filestorage class AccountIntegration # @return [String] Company name. attr_reader :name + # @return [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) + attr_reader :abbreviated_name # @return [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. attr_reader :categories @@ -41,6 +46,10 @@ class AccountIntegration OMIT = Object.new # @param name [String] Company name. + # @param abbreviated_name [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) # @param categories [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. # @param image [String] Company logo in rectangular shape. Upload an image with a clear @@ -58,9 +67,10 @@ class AccountIntegration # @param category_beta_status [Hash{String => Object}] Category or categories this integration is in beta status for. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Filestorage::AccountIntegration] - def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, slug: OMIT, - api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) + def initialize(name:, abbreviated_name: OMIT, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, + slug: OMIT, api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) @name = name + @abbreviated_name = abbreviated_name if abbreviated_name != OMIT @categories = categories if categories != OMIT @image = image if image != OMIT @square_image = square_image if square_image != OMIT @@ -74,6 +84,7 @@ def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: @additional_properties = additional_properties @_field_set = { "name": name, + "abbreviated_name": abbreviated_name, "categories": categories, "image": image, "square_image": square_image, @@ -95,6 +106,7 @@ def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) name = parsed_json["name"] + abbreviated_name = parsed_json["abbreviated_name"] categories = parsed_json["categories"] image = parsed_json["image"] square_image = parsed_json["square_image"] @@ -105,6 +117,7 @@ def self.from_json(json_object:) category_beta_status = parsed_json["category_beta_status"] new( name: name, + abbreviated_name: abbreviated_name, categories: categories, image: image, square_image: square_image, @@ -132,6 +145,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") + obj.abbreviated_name&.is_a?(String) != false || raise("Passed value for field obj.abbreviated_name is not the expected type, validation failed.") obj.categories&.is_a?(Array) != false || raise("Passed value for field obj.categories is not the expected type, validation failed.") obj.image&.is_a?(String) != false || raise("Passed value for field obj.image is not the expected type, validation failed.") obj.square_image&.is_a?(String) != false || raise("Passed value for field obj.square_image is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/filestorage/types/audit_log_event.rb b/lib/merge_ruby_client/filestorage/types/audit_log_event.rb index 8c3bc75..6770df0 100644 --- a/lib/merge_ruby_client/filestorage/types/audit_log_event.rb +++ b/lib/merge_ruby_client/filestorage/types/audit_log_event.rb @@ -71,6 +71,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED attr_reader :event_type # @return [String] attr_reader :event_description @@ -141,6 +142,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED # @param event_description [String] # @param created_at [DateTime] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition diff --git a/lib/merge_ruby_client/filestorage/types/event_type_enum.rb b/lib/merge_ruby_client/filestorage/types/event_type_enum.rb index 4dbd3f6..ed53287 100644 --- a/lib/merge_ruby_client/filestorage/types/event_type_enum.rb +++ b/lib/merge_ruby_client/filestorage/types/event_type_enum.rb @@ -46,6 +46,7 @@ module Filestorage # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED class EventTypeEnum CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" @@ -84,6 +85,7 @@ class EventTypeEnum ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" + END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" end end end diff --git a/lib/merge_ruby_client/filestorage/types/group.rb b/lib/merge_ruby_client/filestorage/types/group.rb index da17ed6..3901edf 100644 --- a/lib/merge_ruby_client/filestorage/types/group.rb +++ b/lib/merge_ruby_client/filestorage/types/group.rb @@ -8,7 +8,7 @@ module Merge module Filestorage # # The Group Object # ### Description - # The `Group` object is used to represent any subset of `User`s. This can extend + # The `Group` object is used to represent any subset of `Users`. This can extend # to company domains as well. # ### Usage Example # Fetch from the `GET /api/filestorage/v1/groups` endpoint and view their groups. diff --git a/lib/merge_ruby_client/filestorage/types/remote_field_api.rb b/lib/merge_ruby_client/filestorage/types/remote_field_api.rb index 35faa80..b3f8970 100644 --- a/lib/merge_ruby_client/filestorage/types/remote_field_api.rb +++ b/lib/merge_ruby_client/filestorage/types/remote_field_api.rb @@ -37,12 +37,12 @@ class RemoteFieldApi # @param coverage [Merge::Filestorage::RemoteFieldApiCoverage] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Filestorage::RemoteFieldApi] - def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values:, advanced_metadata: OMIT, + def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values: OMIT, advanced_metadata: OMIT, coverage: OMIT, additional_properties: nil) @schema = schema @remote_key_name = remote_key_name @remote_endpoint_info = remote_endpoint_info - @example_values = example_values + @example_values = example_values if example_values != OMIT @advanced_metadata = advanced_metadata if advanced_metadata != OMIT @coverage = coverage if coverage != OMIT @additional_properties = additional_properties @@ -114,7 +114,7 @@ def self.validate_raw(obj:) obj.schema.is_a?(Hash) != false || raise("Passed value for field obj.schema is not the expected type, validation failed.") obj.remote_key_name.is_a?(String) != false || raise("Passed value for field obj.remote_key_name is not the expected type, validation failed.") Merge::Filestorage::RemoteEndpointInfo.validate_raw(obj: obj.remote_endpoint_info) - obj.example_values.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") + obj.example_values&.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") obj.advanced_metadata.nil? || Merge::Filestorage::AdvancedMetadata.validate_raw(obj: obj.advanced_metadata) obj.coverage.nil? || Merge::Filestorage::RemoteFieldApiCoverage.validate_raw(obj: obj.coverage) end diff --git a/lib/merge_ruby_client/hris/audit_trail/client.rb b/lib/merge_ruby_client/hris/audit_trail/client.rb index c4bd3ed..226417c 100644 --- a/lib/merge_ruby_client/hris/audit_trail/client.rb +++ b/lib/merge_ruby_client/hris/audit_trail/client.rb @@ -40,7 +40,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. @@ -118,7 +119,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. diff --git a/lib/merge_ruby_client/hris/bank_info/client.rb b/lib/merge_ruby_client/hris/bank_info/client.rb index d983de0..2c7a1d2 100644 --- a/lib/merge_ruby_client/hris/bank_info/client.rb +++ b/lib/merge_ruby_client/hris/bank_info/client.rb @@ -39,7 +39,8 @@ def initialize(request_client:) # @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned. # @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be # returned. - # @param order_by [Merge::Hris::BankInfo::BankInfoListRequestOrderBy] Overrides the default ordering for this endpoint. + # @param order_by [Merge::Hris::BankInfo::BankInfoListRequestOrderBy] Overrides the default ordering for this endpoint. Possible values include: + # remote_created_at, -remote_created_at. # @param page_size [Integer] Number of results to return per page. # @param remote_fields [String] Deprecated. Use show_enum_origins. # @param remote_id [String] The API provider's ID for the given object. @@ -169,7 +170,8 @@ def initialize(request_client:) # @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned. # @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be # returned. - # @param order_by [Merge::Hris::BankInfo::BankInfoListRequestOrderBy] Overrides the default ordering for this endpoint. + # @param order_by [Merge::Hris::BankInfo::BankInfoListRequestOrderBy] Overrides the default ordering for this endpoint. Possible values include: + # remote_created_at, -remote_created_at. # @param page_size [Integer] Number of results to return per page. # @param remote_fields [String] Deprecated. Use show_enum_origins. # @param remote_id [String] The API provider's ID for the given object. diff --git a/lib/merge_ruby_client/hris/employments/client.rb b/lib/merge_ruby_client/hris/employments/client.rb index b13b224..7f2c538 100644 --- a/lib/merge_ruby_client/hris/employments/client.rb +++ b/lib/merge_ruby_client/hris/employments/client.rb @@ -39,7 +39,8 @@ def initialize(request_client:) # @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned. # @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be # returned. - # @param order_by [Merge::Hris::Employments::EmploymentsListRequestOrderBy] Overrides the default ordering for this endpoint. + # @param order_by [Merge::Hris::Employments::EmploymentsListRequestOrderBy] Overrides the default ordering for this endpoint. Possible values include: + # effective_date, -effective_date. # @param page_size [Integer] Number of results to return per page. # @param remote_fields [Merge::Hris::Employments::EmploymentsListRequestRemoteFields] Deprecated. Use show_enum_origins. # @param remote_id [String] The API provider's ID for the given object. @@ -162,7 +163,8 @@ def initialize(request_client:) # @param modified_after [DateTime] If provided, only objects synced by Merge after this date time will be returned. # @param modified_before [DateTime] If provided, only objects synced by Merge before this date time will be # returned. - # @param order_by [Merge::Hris::Employments::EmploymentsListRequestOrderBy] Overrides the default ordering for this endpoint. + # @param order_by [Merge::Hris::Employments::EmploymentsListRequestOrderBy] Overrides the default ordering for this endpoint. Possible values include: + # effective_date, -effective_date. # @param page_size [Integer] Number of results to return per page. # @param remote_fields [Merge::Hris::Employments::EmploymentsListRequestRemoteFields] Deprecated. Use show_enum_origins. # @param remote_id [String] The API provider's ID for the given object. diff --git a/lib/merge_ruby_client/hris/issues/client.rb b/lib/merge_ruby_client/hris/issues/client.rb index 216f59a..3fa0638 100644 --- a/lib/merge_ruby_client/hris/issues/client.rb +++ b/lib/merge_ruby_client/hris/issues/client.rb @@ -19,7 +19,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -36,6 +36,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -52,7 +54,7 @@ def initialize(request_client:) # ) # api.hris.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -74,6 +76,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status @@ -130,7 +133,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -147,6 +150,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -163,7 +168,7 @@ def initialize(request_client:) # ) # api.hris.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -186,6 +191,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status diff --git a/lib/merge_ruby_client/hris/link_token/client.rb b/lib/merge_ruby_client/hris/link_token/client.rb index e959179..687ed4c 100644 --- a/lib/merge_ruby_client/hris/link_token/client.rb +++ b/lib/merge_ruby_client/hris/link_token/client.rb @@ -35,6 +35,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -62,7 +65,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -84,6 +87,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, @@ -122,6 +126,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -149,7 +156,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) Async do response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -172,6 +179,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, diff --git a/lib/merge_ruby_client/hris/linked_accounts/client.rb b/lib/merge_ruby_client/hris/linked_accounts/client.rb index 6051b05..e29868d 100644 --- a/lib/merge_ruby_client/hris/linked_accounts/client.rb +++ b/lib/merge_ruby_client/hris/linked_accounts/client.rb @@ -19,8 +19,7 @@ def initialize(request_client:) # List linked accounts for your organization. # - # @param category [Merge::Hris::LinkedAccounts::LinkedAccountsListRequestCategory] Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', - # 'filestorage') + # @param category [Merge::Hris::LinkedAccounts::LinkedAccountsListRequestCategory] Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` # - `hris` - hris # - `ats` - ats # - `accounting` - accounting @@ -106,8 +105,7 @@ def initialize(request_client:) # List linked accounts for your organization. # - # @param category [Merge::Hris::LinkedAccounts::LinkedAccountsListRequestCategory] Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', - # 'filestorage') + # @param category [Merge::Hris::LinkedAccounts::LinkedAccountsListRequestCategory] Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` # - `hris` - hris # - `ats` - ats # - `accounting` - accounting diff --git a/lib/merge_ruby_client/hris/timesheet_entries/client.rb b/lib/merge_ruby_client/hris/timesheet_entries/client.rb index 98235e0..ac8b461 100644 --- a/lib/merge_ruby_client/hris/timesheet_entries/client.rb +++ b/lib/merge_ruby_client/hris/timesheet_entries/client.rb @@ -27,9 +27,9 @@ def initialize(request_client:) # @param created_after [DateTime] If provided, will only return objects created after this datetime. # @param created_before [DateTime] If provided, will only return objects created before this datetime. # @param cursor [String] The pagination cursor value. - # @param employee_id [String] If provided, will only return employee payroll runs for this employee. - # @param ended_after [String] If provided, will only return employee payroll runs ended after this datetime. - # @param ended_before [String] If provided, will only return employee payroll runs ended before this datetime. + # @param employee_id [String] If provided, will only return timesheet entries for this employee. + # @param ended_after [String] If provided, will only return timesheet entries ended after this datetime. + # @param ended_before [String] If provided, will only return timesheet entries ended before this datetime. # @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks. # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to # produce these models. @@ -40,9 +40,8 @@ def initialize(request_client:) # start_time, -start_time. # @param page_size [Integer] Number of results to return per page. # @param remote_id [String] The API provider's ID for the given object. - # @param started_after [String] If provided, will only return employee payroll runs started after this datetime. - # @param started_before [String] If provided, will only return employee payroll runs started before this - # datetime. + # @param started_after [String] If provided, will only return timesheet entries started after this datetime. + # @param started_before [String] If provided, will only return timesheet entries started before this datetime. # @param request_options [Merge::RequestOptions] # @return [Merge::Hris::PaginatedTimesheetEntryList] # @example @@ -214,9 +213,9 @@ def initialize(request_client:) # @param created_after [DateTime] If provided, will only return objects created after this datetime. # @param created_before [DateTime] If provided, will only return objects created before this datetime. # @param cursor [String] The pagination cursor value. - # @param employee_id [String] If provided, will only return employee payroll runs for this employee. - # @param ended_after [String] If provided, will only return employee payroll runs ended after this datetime. - # @param ended_before [String] If provided, will only return employee payroll runs ended before this datetime. + # @param employee_id [String] If provided, will only return timesheet entries for this employee. + # @param ended_after [String] If provided, will only return timesheet entries ended after this datetime. + # @param ended_before [String] If provided, will only return timesheet entries ended before this datetime. # @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks. # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to # produce these models. @@ -227,9 +226,8 @@ def initialize(request_client:) # start_time, -start_time. # @param page_size [Integer] Number of results to return per page. # @param remote_id [String] The API provider's ID for the given object. - # @param started_after [String] If provided, will only return employee payroll runs started after this datetime. - # @param started_before [String] If provided, will only return employee payroll runs started before this - # datetime. + # @param started_after [String] If provided, will only return timesheet entries started after this datetime. + # @param started_before [String] If provided, will only return timesheet entries started before this datetime. # @param request_options [Merge::RequestOptions] # @return [Merge::Hris::PaginatedTimesheetEntryList] # @example diff --git a/lib/merge_ruby_client/hris/types/account_integration.rb b/lib/merge_ruby_client/hris/types/account_integration.rb index 7e21ae9..4aa6701 100644 --- a/lib/merge_ruby_client/hris/types/account_integration.rb +++ b/lib/merge_ruby_client/hris/types/account_integration.rb @@ -9,6 +9,11 @@ module Hris class AccountIntegration # @return [String] Company name. attr_reader :name + # @return [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) + attr_reader :abbreviated_name # @return [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. attr_reader :categories @@ -41,6 +46,10 @@ class AccountIntegration OMIT = Object.new # @param name [String] Company name. + # @param abbreviated_name [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) # @param categories [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. # @param image [String] Company logo in rectangular shape. Upload an image with a clear @@ -58,9 +67,10 @@ class AccountIntegration # @param category_beta_status [Hash{String => Object}] Category or categories this integration is in beta status for. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Hris::AccountIntegration] - def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, slug: OMIT, - api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) + def initialize(name:, abbreviated_name: OMIT, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, + slug: OMIT, api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) @name = name + @abbreviated_name = abbreviated_name if abbreviated_name != OMIT @categories = categories if categories != OMIT @image = image if image != OMIT @square_image = square_image if square_image != OMIT @@ -74,6 +84,7 @@ def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: @additional_properties = additional_properties @_field_set = { "name": name, + "abbreviated_name": abbreviated_name, "categories": categories, "image": image, "square_image": square_image, @@ -95,6 +106,7 @@ def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) name = parsed_json["name"] + abbreviated_name = parsed_json["abbreviated_name"] categories = parsed_json["categories"] image = parsed_json["image"] square_image = parsed_json["square_image"] @@ -105,6 +117,7 @@ def self.from_json(json_object:) category_beta_status = parsed_json["category_beta_status"] new( name: name, + abbreviated_name: abbreviated_name, categories: categories, image: image, square_image: square_image, @@ -132,6 +145,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") + obj.abbreviated_name&.is_a?(String) != false || raise("Passed value for field obj.abbreviated_name is not the expected type, validation failed.") obj.categories&.is_a?(Array) != false || raise("Passed value for field obj.categories is not the expected type, validation failed.") obj.image&.is_a?(String) != false || raise("Passed value for field obj.image is not the expected type, validation failed.") obj.square_image&.is_a?(String) != false || raise("Passed value for field obj.square_image is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/hris/types/audit_log_event.rb b/lib/merge_ruby_client/hris/types/audit_log_event.rb index 7074150..de559bf 100644 --- a/lib/merge_ruby_client/hris/types/audit_log_event.rb +++ b/lib/merge_ruby_client/hris/types/audit_log_event.rb @@ -71,6 +71,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED attr_reader :event_type # @return [String] attr_reader :event_description @@ -141,6 +142,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED # @param event_description [String] # @param created_at [DateTime] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition diff --git a/lib/merge_ruby_client/hris/types/event_type_enum.rb b/lib/merge_ruby_client/hris/types/event_type_enum.rb index a871c2a..806bfc6 100644 --- a/lib/merge_ruby_client/hris/types/event_type_enum.rb +++ b/lib/merge_ruby_client/hris/types/event_type_enum.rb @@ -46,6 +46,7 @@ module Hris # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED class EventTypeEnum CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" @@ -84,6 +85,7 @@ class EventTypeEnum ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" + END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" end end end diff --git a/lib/merge_ruby_client/hris/types/remote_field_api.rb b/lib/merge_ruby_client/hris/types/remote_field_api.rb index 85a5099..39260bb 100644 --- a/lib/merge_ruby_client/hris/types/remote_field_api.rb +++ b/lib/merge_ruby_client/hris/types/remote_field_api.rb @@ -37,12 +37,12 @@ class RemoteFieldApi # @param coverage [Merge::Hris::RemoteFieldApiCoverage] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Hris::RemoteFieldApi] - def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values:, advanced_metadata: OMIT, + def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values: OMIT, advanced_metadata: OMIT, coverage: OMIT, additional_properties: nil) @schema = schema @remote_key_name = remote_key_name @remote_endpoint_info = remote_endpoint_info - @example_values = example_values + @example_values = example_values if example_values != OMIT @advanced_metadata = advanced_metadata if advanced_metadata != OMIT @coverage = coverage if coverage != OMIT @additional_properties = additional_properties @@ -114,7 +114,7 @@ def self.validate_raw(obj:) obj.schema.is_a?(Hash) != false || raise("Passed value for field obj.schema is not the expected type, validation failed.") obj.remote_key_name.is_a?(String) != false || raise("Passed value for field obj.remote_key_name is not the expected type, validation failed.") Merge::Hris::RemoteEndpointInfo.validate_raw(obj: obj.remote_endpoint_info) - obj.example_values.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") + obj.example_values&.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") obj.advanced_metadata.nil? || Merge::Hris::AdvancedMetadata.validate_raw(obj: obj.advanced_metadata) obj.coverage.nil? || Merge::Hris::RemoteFieldApiCoverage.validate_raw(obj: obj.coverage) end diff --git a/lib/merge_ruby_client/ticketing/attachments/client.rb b/lib/merge_ruby_client/ticketing/attachments/client.rb index 2b27046..ef3b0d8 100644 --- a/lib/merge_ruby_client/ticketing/attachments/client.rb +++ b/lib/merge_ruby_client/ticketing/attachments/client.rb @@ -163,7 +163,7 @@ def retrieve(id:, expand: nil, include_remote_data: nil, request_options: nil) Merge::Ticketing::Attachment.from_json(json_object: response.body) end - # Returns an `Attachment` object with the given `id`. + # Returns the `File` content with the given `id` as a stream of bytes. # # @param id [String] # @param mime_type [String] If provided, specifies the export format of the file to be downloaded. For @@ -393,7 +393,7 @@ def retrieve(id:, expand: nil, include_remote_data: nil, request_options: nil) end end - # Returns an `Attachment` object with the given `id`. + # Returns the `File` content with the given `id` as a stream of bytes. # # @param id [String] # @param mime_type [String] If provided, specifies the export format of the file to be downloaded. For diff --git a/lib/merge_ruby_client/ticketing/audit_trail/client.rb b/lib/merge_ruby_client/ticketing/audit_trail/client.rb index 4604e51..6ecff1d 100644 --- a/lib/merge_ruby_client/ticketing/audit_trail/client.rb +++ b/lib/merge_ruby_client/ticketing/audit_trail/client.rb @@ -40,7 +40,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. @@ -118,7 +119,8 @@ def initialize(request_client:) # `DELETED_INTEGRATION_WIDE_FIELD_MAPPING`, # `DELETED_LINKED_ACCOUNT_FIELD_MAPPING`, `FORCED_LINKED_ACCOUNT_RESYNC`, # `MUTED_ISSUE`, `GENERATED_MAGIC_LINK`, `ENABLED_MERGE_WEBHOOK`, - # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED` + # `DISABLED_MERGE_WEBHOOK`, `MERGE_WEBHOOK_TARGET_CHANGED`, + # `END_USER_CREDENTIALS_ACCESSED` # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include audit trail events that occurred after this time # @param user_email [String] If provided, this will return events associated with the specified user email. diff --git a/lib/merge_ruby_client/ticketing/issues/client.rb b/lib/merge_ruby_client/ticketing/issues/client.rb index a1a766b..25bde64 100644 --- a/lib/merge_ruby_client/ticketing/issues/client.rb +++ b/lib/merge_ruby_client/ticketing/issues/client.rb @@ -19,7 +19,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -36,6 +36,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -52,7 +54,7 @@ def initialize(request_client:) # ) # api.ticketing.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -74,6 +76,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status @@ -130,7 +133,7 @@ def initialize(request_client:) @request_client = request_client end - # Gets issues. + # Gets all issues for Organization. # # @param account_token [String] # @param cursor [String] The pagination cursor value. @@ -147,6 +150,8 @@ def initialize(request_client:) # datetime. # @param last_incident_time_before [DateTime] If provided, will only return issues whose last incident time was before this # datetime. + # @param linked_account_id [String] If provided, will only include issues pertaining to the linked account passed + # in. # @param page_size [Integer] Number of results to return per page. # @param start_date [String] If included, will only include issues whose most recent action occurred after # this time @@ -163,7 +168,7 @@ def initialize(request_client:) # ) # api.ticketing.issues.list def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_name: nil, - first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) + first_incident_time_after: nil, first_incident_time_before: nil, include_muted: nil, integration_name: nil, last_incident_time_after: nil, last_incident_time_before: nil, linked_account_id: nil, page_size: nil, start_date: nil, status: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -186,6 +191,7 @@ def list(account_token: nil, cursor: nil, end_date: nil, end_user_organization_n "integration_name": integration_name, "last_incident_time_after": last_incident_time_after, "last_incident_time_before": last_incident_time_before, + "linked_account_id": linked_account_id, "page_size": page_size, "start_date": start_date, "status": status diff --git a/lib/merge_ruby_client/ticketing/link_token/client.rb b/lib/merge_ruby_client/ticketing/link_token/client.rb index e02ef24..fd496b8 100644 --- a/lib/merge_ruby_client/ticketing/link_token/client.rb +++ b/lib/merge_ruby_client/ticketing/link_token/client.rb @@ -35,6 +35,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -62,7 +65,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -84,6 +87,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, @@ -122,6 +126,9 @@ def initialize(request_client:) # @param should_create_magic_link_url [Boolean] Whether to generate a Magic Link URL. Defaults to false. For more information on # Magic Link, see # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. + # @param hide_admin_magic_link [Boolean] Whether to generate a Magic Link URL on the Admin Needed screen during the + # linking flow. Defaults to false. For more information on Magic Link, see + # https://merge.dev/blog/integrations-fast-say-hello-to-magic-link. # @param common_models [Array] An array of objects to specify the models and fields that will be disabled for a # given Linked Account. Each object uses model_id, enabled_actions, and # disabled_fields to specify the model, method, and fields that are scoped for a @@ -149,7 +156,7 @@ def initialize(request_client:) # categories: [HRIS, ATS] # ) def create(end_user_email_address:, end_user_organization_name:, end_user_origin_id:, categories:, - integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) + integration: nil, link_expiry_mins: nil, should_create_magic_link_url: nil, hide_admin_magic_link: nil, common_models: nil, category_common_model_scopes: nil, language: nil, integration_specific_config: nil, request_options: nil) Async do response = @request_client.conn.post do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -172,6 +179,7 @@ def create(end_user_email_address:, end_user_organization_name:, end_user_origin integration: integration, link_expiry_mins: link_expiry_mins, should_create_magic_link_url: should_create_magic_link_url, + hide_admin_magic_link: hide_admin_magic_link, common_models: common_models, category_common_model_scopes: category_common_model_scopes, language: language, diff --git a/lib/merge_ruby_client/ticketing/linked_accounts/client.rb b/lib/merge_ruby_client/ticketing/linked_accounts/client.rb index afba520..acf3828 100644 --- a/lib/merge_ruby_client/ticketing/linked_accounts/client.rb +++ b/lib/merge_ruby_client/ticketing/linked_accounts/client.rb @@ -19,8 +19,7 @@ def initialize(request_client:) # List linked accounts for your organization. # - # @param category [Merge::Ticketing::LinkedAccounts::LinkedAccountsListRequestCategory] Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', - # 'filestorage') + # @param category [Merge::Ticketing::LinkedAccounts::LinkedAccountsListRequestCategory] Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` # - `hris` - hris # - `ats` - ats # - `accounting` - accounting @@ -106,8 +105,7 @@ def initialize(request_client:) # List linked accounts for your organization. # - # @param category [Merge::Ticketing::LinkedAccounts::LinkedAccountsListRequestCategory] Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', - # 'filestorage') + # @param category [Merge::Ticketing::LinkedAccounts::LinkedAccountsListRequestCategory] Options: `accounting`, `ats`, `crm`, `filestorage`, `hris`, `mktg`, `ticketing` # - `hris` - hris # - `ats` - ats # - `accounting` - accounting diff --git a/lib/merge_ruby_client/ticketing/tickets/client.rb b/lib/merge_ruby_client/ticketing/tickets/client.rb index 3a40bf4..6a968a2 100644 --- a/lib/merge_ruby_client/ticketing/tickets/client.rb +++ b/lib/merge_ruby_client/ticketing/tickets/client.rb @@ -86,6 +86,8 @@ def initialize(request_client:) # @param tags [String] If provided, will only return tickets matching the tags; multiple tags can be # separated by commas. # @param ticket_type [String] If provided, will only return tickets of this type. + # @param ticket_url [String] If provided, will only return tickets where the URL matches or contains the + # substring # @param request_options [Merge::RequestOptions] # @return [Merge::Ticketing::PaginatedTicketList] # @example @@ -96,7 +98,7 @@ def initialize(request_client:) # ) # api.ticketing.tickets.list def list(account_id: nil, assignee_ids: nil, collection_ids: nil, completed_after: nil, completed_before: nil, - contact_id: nil, created_after: nil, created_before: nil, cursor: nil, due_after: nil, due_before: nil, expand: nil, include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, page_size: nil, parent_ticket_id: nil, priority: nil, remote_created_after: nil, remote_created_before: nil, remote_fields: nil, remote_id: nil, remote_updated_after: nil, remote_updated_before: nil, show_enum_origins: nil, status: nil, tags: nil, ticket_type: nil, request_options: nil) + contact_id: nil, created_after: nil, created_before: nil, cursor: nil, due_after: nil, due_before: nil, expand: nil, include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, page_size: nil, parent_ticket_id: nil, priority: nil, remote_created_after: nil, remote_created_before: nil, remote_fields: nil, remote_id: nil, remote_updated_after: nil, remote_updated_before: nil, show_enum_origins: nil, status: nil, tags: nil, ticket_type: nil, ticket_url: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -137,7 +139,8 @@ def list(account_id: nil, assignee_ids: nil, collection_ids: nil, completed_afte "show_enum_origins": show_enum_origins, "status": status, "tags": tags, - "ticket_type": ticket_type + "ticket_type": ticket_type, + "ticket_url": ticket_url }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? req.body = { **(request_options&.additional_body_parameters || {}) }.compact @@ -421,6 +424,8 @@ def meta_post_retrieve(request_options: nil) # @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks. # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to # produce these models. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Ticketing::PaginatedRemoteFieldClassList] @@ -431,8 +436,8 @@ def meta_post_retrieve(request_options: nil) # api_key: "YOUR_AUTH_TOKEN" # ) # api.ticketing.tickets.remote_field_classes_list - def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, page_size: nil, - request_options: nil) + def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, + is_common_model_field: nil, page_size: nil, request_options: nil) response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? req.headers["Authorization"] = request_options.api_key unless request_options&.api_key.nil? @@ -447,6 +452,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "cursor": cursor, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? @@ -521,6 +527,8 @@ def initialize(request_client:) # @param tags [String] If provided, will only return tickets matching the tags; multiple tags can be # separated by commas. # @param ticket_type [String] If provided, will only return tickets of this type. + # @param ticket_url [String] If provided, will only return tickets where the URL matches or contains the + # substring # @param request_options [Merge::RequestOptions] # @return [Merge::Ticketing::PaginatedTicketList] # @example @@ -531,7 +539,7 @@ def initialize(request_client:) # ) # api.ticketing.tickets.list def list(account_id: nil, assignee_ids: nil, collection_ids: nil, completed_after: nil, completed_before: nil, - contact_id: nil, created_after: nil, created_before: nil, cursor: nil, due_after: nil, due_before: nil, expand: nil, include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, page_size: nil, parent_ticket_id: nil, priority: nil, remote_created_after: nil, remote_created_before: nil, remote_fields: nil, remote_id: nil, remote_updated_after: nil, remote_updated_before: nil, show_enum_origins: nil, status: nil, tags: nil, ticket_type: nil, request_options: nil) + contact_id: nil, created_after: nil, created_before: nil, cursor: nil, due_after: nil, due_before: nil, expand: nil, include_deleted_data: nil, include_remote_data: nil, include_remote_fields: nil, modified_after: nil, modified_before: nil, page_size: nil, parent_ticket_id: nil, priority: nil, remote_created_after: nil, remote_created_before: nil, remote_fields: nil, remote_id: nil, remote_updated_after: nil, remote_updated_before: nil, show_enum_origins: nil, status: nil, tags: nil, ticket_type: nil, ticket_url: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -573,7 +581,8 @@ def list(account_id: nil, assignee_ids: nil, collection_ids: nil, completed_afte "show_enum_origins": show_enum_origins, "status": status, "tags": tags, - "ticket_type": ticket_type + "ticket_type": ticket_type, + "ticket_url": ticket_url }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? req.body = { **(request_options&.additional_body_parameters || {}) }.compact @@ -870,6 +879,8 @@ def meta_post_retrieve(request_options: nil) # @param include_deleted_data [Boolean] Whether to include data that was marked as deleted by third party webhooks. # @param include_remote_data [Boolean] Whether to include the original data Merge fetched from the third-party to # produce these models. + # @param is_common_model_field [Boolean] If provided, will only return remote field classes with this + # is_common_model_field value # @param page_size [Integer] Number of results to return per page. # @param request_options [Merge::RequestOptions] # @return [Merge::Ticketing::PaginatedRemoteFieldClassList] @@ -880,8 +891,8 @@ def meta_post_retrieve(request_options: nil) # api_key: "YOUR_AUTH_TOKEN" # ) # api.ticketing.tickets.remote_field_classes_list - def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, page_size: nil, - request_options: nil) + def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_remote_data: nil, + is_common_model_field: nil, page_size: nil, request_options: nil) Async do response = @request_client.conn.get do |req| req.options.timeout = request_options.timeout_in_seconds unless request_options&.timeout_in_seconds.nil? @@ -897,6 +908,7 @@ def remote_field_classes_list(cursor: nil, include_deleted_data: nil, include_re "cursor": cursor, "include_deleted_data": include_deleted_data, "include_remote_data": include_remote_data, + "is_common_model_field": is_common_model_field, "page_size": page_size }.compact unless request_options.nil? || request_options&.additional_body_parameters.nil? diff --git a/lib/merge_ruby_client/ticketing/types/account_integration.rb b/lib/merge_ruby_client/ticketing/types/account_integration.rb index 4fab91c..fc466d7 100644 --- a/lib/merge_ruby_client/ticketing/types/account_integration.rb +++ b/lib/merge_ruby_client/ticketing/types/account_integration.rb @@ -9,6 +9,11 @@ module Ticketing class AccountIntegration # @return [String] Company name. attr_reader :name + # @return [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) + attr_reader :abbreviated_name # @return [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. attr_reader :categories @@ -41,6 +46,10 @@ class AccountIntegration OMIT = Object.new # @param name [String] Company name. + # @param abbreviated_name [String] Optional. This shortened name appears in places with limited space, usually in + # conjunction with the platform's logo (e.g., Merge Link menu).

Example: + # Workforce Now (in lieu of ADP Workforce Now), SuccessFactors (in lieu of SAP + # SuccessFactors) # @param categories [Array] Category or categories this integration belongs to. Multiple categories should # be comma separated, i.e. [ats, hris]. # @param image [String] Company logo in rectangular shape. Upload an image with a clear @@ -58,9 +67,10 @@ class AccountIntegration # @param category_beta_status [Hash{String => Object}] Category or categories this integration is in beta status for. # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ticketing::AccountIntegration] - def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, slug: OMIT, - api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) + def initialize(name:, abbreviated_name: OMIT, categories: OMIT, image: OMIT, square_image: OMIT, color: OMIT, + slug: OMIT, api_endpoints_to_documentation_urls: OMIT, webhook_setup_guide_url: OMIT, category_beta_status: OMIT, additional_properties: nil) @name = name + @abbreviated_name = abbreviated_name if abbreviated_name != OMIT @categories = categories if categories != OMIT @image = image if image != OMIT @square_image = square_image if square_image != OMIT @@ -74,6 +84,7 @@ def initialize(name:, categories: OMIT, image: OMIT, square_image: OMIT, color: @additional_properties = additional_properties @_field_set = { "name": name, + "abbreviated_name": abbreviated_name, "categories": categories, "image": image, "square_image": square_image, @@ -95,6 +106,7 @@ def self.from_json(json_object:) struct = JSON.parse(json_object, object_class: OpenStruct) parsed_json = JSON.parse(json_object) name = parsed_json["name"] + abbreviated_name = parsed_json["abbreviated_name"] categories = parsed_json["categories"] image = parsed_json["image"] square_image = parsed_json["square_image"] @@ -105,6 +117,7 @@ def self.from_json(json_object:) category_beta_status = parsed_json["category_beta_status"] new( name: name, + abbreviated_name: abbreviated_name, categories: categories, image: image, square_image: square_image, @@ -132,6 +145,7 @@ def to_json(*_args) # @return [Void] def self.validate_raw(obj:) obj.name.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") + obj.abbreviated_name&.is_a?(String) != false || raise("Passed value for field obj.abbreviated_name is not the expected type, validation failed.") obj.categories&.is_a?(Array) != false || raise("Passed value for field obj.categories is not the expected type, validation failed.") obj.image&.is_a?(String) != false || raise("Passed value for field obj.image is not the expected type, validation failed.") obj.square_image&.is_a?(String) != false || raise("Passed value for field obj.square_image is not the expected type, validation failed.") diff --git a/lib/merge_ruby_client/ticketing/types/audit_log_event.rb b/lib/merge_ruby_client/ticketing/types/audit_log_event.rb index a122917..ea51b17 100644 --- a/lib/merge_ruby_client/ticketing/types/audit_log_event.rb +++ b/lib/merge_ruby_client/ticketing/types/audit_log_event.rb @@ -71,6 +71,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED attr_reader :event_type # @return [String] attr_reader :event_description @@ -141,6 +142,7 @@ class AuditLogEvent # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED # @param event_description [String] # @param created_at [DateTime] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition diff --git a/lib/merge_ruby_client/ticketing/types/event_type_enum.rb b/lib/merge_ruby_client/ticketing/types/event_type_enum.rb index 4cb9bf5..c81c538 100644 --- a/lib/merge_ruby_client/ticketing/types/event_type_enum.rb +++ b/lib/merge_ruby_client/ticketing/types/event_type_enum.rb @@ -46,6 +46,7 @@ module Ticketing # - `ENABLED_MERGE_WEBHOOK` - ENABLED_MERGE_WEBHOOK # - `DISABLED_MERGE_WEBHOOK` - DISABLED_MERGE_WEBHOOK # - `MERGE_WEBHOOK_TARGET_CHANGED` - MERGE_WEBHOOK_TARGET_CHANGED + # - `END_USER_CREDENTIALS_ACCESSED` - END_USER_CREDENTIALS_ACCESSED class EventTypeEnum CREATED_REMOTE_PRODUCTION_API_KEY = "CREATED_REMOTE_PRODUCTION_API_KEY" DELETED_REMOTE_PRODUCTION_API_KEY = "DELETED_REMOTE_PRODUCTION_API_KEY" @@ -84,6 +85,7 @@ class EventTypeEnum ENABLED_MERGE_WEBHOOK = "ENABLED_MERGE_WEBHOOK" DISABLED_MERGE_WEBHOOK = "DISABLED_MERGE_WEBHOOK" MERGE_WEBHOOK_TARGET_CHANGED = "MERGE_WEBHOOK_TARGET_CHANGED" + END_USER_CREDENTIALS_ACCESSED = "END_USER_CREDENTIALS_ACCESSED" end end end diff --git a/lib/merge_ruby_client/ticketing/types/remote_field_api.rb b/lib/merge_ruby_client/ticketing/types/remote_field_api.rb index f1b4047..8403a70 100644 --- a/lib/merge_ruby_client/ticketing/types/remote_field_api.rb +++ b/lib/merge_ruby_client/ticketing/types/remote_field_api.rb @@ -37,12 +37,12 @@ class RemoteFieldApi # @param coverage [Merge::Ticketing::RemoteFieldApiCoverage] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ticketing::RemoteFieldApi] - def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values:, advanced_metadata: OMIT, + def initialize(schema:, remote_key_name:, remote_endpoint_info:, example_values: OMIT, advanced_metadata: OMIT, coverage: OMIT, additional_properties: nil) @schema = schema @remote_key_name = remote_key_name @remote_endpoint_info = remote_endpoint_info - @example_values = example_values + @example_values = example_values if example_values != OMIT @advanced_metadata = advanced_metadata if advanced_metadata != OMIT @coverage = coverage if coverage != OMIT @additional_properties = additional_properties @@ -114,7 +114,7 @@ def self.validate_raw(obj:) obj.schema.is_a?(Hash) != false || raise("Passed value for field obj.schema is not the expected type, validation failed.") obj.remote_key_name.is_a?(String) != false || raise("Passed value for field obj.remote_key_name is not the expected type, validation failed.") Merge::Ticketing::RemoteEndpointInfo.validate_raw(obj: obj.remote_endpoint_info) - obj.example_values.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") + obj.example_values&.is_a?(Array) != false || raise("Passed value for field obj.example_values is not the expected type, validation failed.") obj.advanced_metadata.nil? || Merge::Ticketing::AdvancedMetadata.validate_raw(obj: obj.advanced_metadata) obj.coverage.nil? || Merge::Ticketing::RemoteFieldApiCoverage.validate_raw(obj: obj.coverage) end diff --git a/lib/merge_ruby_client/ticketing/types/tag.rb b/lib/merge_ruby_client/ticketing/types/tag.rb index 7fe7b70..d7e682f 100644 --- a/lib/merge_ruby_client/ticketing/types/tag.rb +++ b/lib/merge_ruby_client/ticketing/types/tag.rb @@ -19,6 +19,8 @@ class Tag attr_reader :created_at # @return [DateTime] The datetime that this object was modified by Merge. attr_reader :modified_at + # @return [String] + attr_reader :id # @return [String] The tag's name. attr_reader :name # @return [Boolean] Indicates whether or not this object has been deleted in the third party @@ -39,6 +41,7 @@ class Tag # @param remote_id [String] The third-party API ID of the matching object. # @param created_at [DateTime] The datetime that this object was created by Merge. # @param modified_at [DateTime] The datetime that this object was modified by Merge. + # @param id [String] # @param name [String] The tag's name. # @param remote_was_deleted [Boolean] Indicates whether or not this object has been deleted in the third party # platform. @@ -46,11 +49,12 @@ class Tag # @param remote_data [Array] # @param additional_properties [OpenStruct] Additional properties unmapped to the current class definition # @return [Merge::Ticketing::Tag] - def initialize(remote_id: OMIT, created_at: OMIT, modified_at: OMIT, name: OMIT, remote_was_deleted: OMIT, - field_mappings: OMIT, remote_data: OMIT, additional_properties: nil) + def initialize(remote_id: OMIT, created_at: OMIT, modified_at: OMIT, id: OMIT, name: OMIT, + remote_was_deleted: OMIT, field_mappings: OMIT, remote_data: OMIT, additional_properties: nil) @remote_id = remote_id if remote_id != OMIT @created_at = created_at if created_at != OMIT @modified_at = modified_at if modified_at != OMIT + @id = id if id != OMIT @name = name if name != OMIT @remote_was_deleted = remote_was_deleted if remote_was_deleted != OMIT @field_mappings = field_mappings if field_mappings != OMIT @@ -60,6 +64,7 @@ def initialize(remote_id: OMIT, created_at: OMIT, modified_at: OMIT, name: OMIT, "remote_id": remote_id, "created_at": created_at, "modified_at": modified_at, + "id": id, "name": name, "remote_was_deleted": remote_was_deleted, "field_mappings": field_mappings, @@ -79,6 +84,7 @@ def self.from_json(json_object:) remote_id = parsed_json["remote_id"] created_at = (DateTime.parse(parsed_json["created_at"]) unless parsed_json["created_at"].nil?) modified_at = (DateTime.parse(parsed_json["modified_at"]) unless parsed_json["modified_at"].nil?) + id = parsed_json["id"] name = parsed_json["name"] remote_was_deleted = parsed_json["remote_was_deleted"] field_mappings = parsed_json["field_mappings"] @@ -90,6 +96,7 @@ def self.from_json(json_object:) remote_id: remote_id, created_at: created_at, modified_at: modified_at, + id: id, name: name, remote_was_deleted: remote_was_deleted, field_mappings: field_mappings, @@ -115,6 +122,7 @@ def self.validate_raw(obj:) obj.remote_id&.is_a?(String) != false || raise("Passed value for field obj.remote_id is not the expected type, validation failed.") obj.created_at&.is_a?(DateTime) != false || raise("Passed value for field obj.created_at is not the expected type, validation failed.") obj.modified_at&.is_a?(DateTime) != false || raise("Passed value for field obj.modified_at is not the expected type, validation failed.") + obj.id&.is_a?(String) != false || raise("Passed value for field obj.id is not the expected type, validation failed.") obj.name&.is_a?(String) != false || raise("Passed value for field obj.name is not the expected type, validation failed.") obj.remote_was_deleted&.is_a?(Boolean) != false || raise("Passed value for field obj.remote_was_deleted is not the expected type, validation failed.") obj.field_mappings&.is_a?(Hash) != false || raise("Passed value for field obj.field_mappings is not the expected type, validation failed.") diff --git a/lib/requests.rb b/lib/requests.rb index c6c6025..423f212 100644 --- a/lib/requests.rb +++ b/lib/requests.rb @@ -48,7 +48,7 @@ def get_url(request_options: nil) # @return [Hash{String => String}] def get_headers - headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "merge_ruby_client", "X-Fern-SDK-Version": "0.1.3" } + headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "merge_ruby_client", "X-Fern-SDK-Version": "0.1.4" } headers["Authorization"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil? headers end @@ -96,7 +96,7 @@ def get_url(request_options: nil) # @return [Hash{String => String}] def get_headers - headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "merge_ruby_client", "X-Fern-SDK-Version": "0.1.3" } + headers = { "X-Fern-Language": "Ruby", "X-Fern-SDK-Name": "merge_ruby_client", "X-Fern-SDK-Version": "0.1.4" } headers["Authorization"] = ((@api_key.is_a? Method) ? @api_key.call : @api_key) unless @api_key.nil? headers end diff --git a/lib/types_export.rb b/lib/types_export.rb index acfbe57..c10ed7e 100644 --- a/lib/types_export.rb +++ b/lib/types_export.rb @@ -1,111 +1,5 @@ # frozen_string_literal: true -require_relative "merge_ruby_client/filestorage/files/types/files_list_request_expand" -require_relative "merge_ruby_client/filestorage/files/types/files_retrieve_request_expand" -require_relative "merge_ruby_client/filestorage/folders/types/folders_list_request_expand" -require_relative "merge_ruby_client/filestorage/folders/types/folders_retrieve_request_expand" -require_relative "merge_ruby_client/filestorage/issues/types/issues_list_request_status" -require_relative "merge_ruby_client/filestorage/linked_accounts/types/linked_accounts_list_request_category" -require_relative "merge_ruby_client/filestorage/types/account_details" -require_relative "merge_ruby_client/filestorage/types/account_details_and_actions" -require_relative "merge_ruby_client/filestorage/types/account_details_and_actions_integration" -require_relative "merge_ruby_client/filestorage/types/account_details_and_actions_status_enum" -require_relative "merge_ruby_client/filestorage/types/account_integration" -require_relative "merge_ruby_client/filestorage/types/account_token" -require_relative "merge_ruby_client/filestorage/types/advanced_metadata" -require_relative "merge_ruby_client/filestorage/types/async_passthrough_reciept" -require_relative "merge_ruby_client/filestorage/types/audit_log_event" -require_relative "merge_ruby_client/filestorage/types/available_actions" -require_relative "merge_ruby_client/filestorage/types/categories_enum" -require_relative "merge_ruby_client/filestorage/types/category_enum" -require_relative "merge_ruby_client/filestorage/types/common_model_scope_api" -require_relative "merge_ruby_client/filestorage/types/common_model_scopes_body_request" -require_relative "merge_ruby_client/filestorage/types/data_passthrough_request" -require_relative "merge_ruby_client/filestorage/types/debug_mode_log" -require_relative "merge_ruby_client/filestorage/types/debug_model_log_summary" -require_relative "merge_ruby_client/filestorage/types/drive" -require_relative "merge_ruby_client/filestorage/types/enabled_actions_enum" -require_relative "merge_ruby_client/filestorage/types/encoding_enum" -require_relative "merge_ruby_client/filestorage/types/error_validation_problem" -require_relative "merge_ruby_client/filestorage/types/event_type_enum" -require_relative "merge_ruby_client/filestorage/types/external_target_field_api" -require_relative "merge_ruby_client/filestorage/types/external_target_field_api_response" -require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_target_field" -require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field_remote_endpoint_info" -require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field" -require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance" -require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_response" -require_relative "merge_ruby_client/filestorage/types/field_mapping_instance_response" -require_relative "merge_ruby_client/filestorage/types/field_permission_deserializer" -require_relative "merge_ruby_client/filestorage/types/field_permission_deserializer_request" -require_relative "merge_ruby_client/filestorage/types/folder" -require_relative "merge_ruby_client/filestorage/types/file_folder" -require_relative "merge_ruby_client/filestorage/types/permission_request" -require_relative "merge_ruby_client/filestorage/types/file_permissions_item" -require_relative "merge_ruby_client/filestorage/types/file_permissions" -require_relative "merge_ruby_client/filestorage/types/file_drive" -require_relative "merge_ruby_client/filestorage/types/file" -require_relative "merge_ruby_client/filestorage/types/file_request_folder" -require_relative "merge_ruby_client/filestorage/types/file_request_permissions_item" -require_relative "merge_ruby_client/filestorage/types/file_request_permissions" -require_relative "merge_ruby_client/filestorage/types/file_request_drive" -require_relative "merge_ruby_client/filestorage/types/file_request" -require_relative "merge_ruby_client/filestorage/types/file_storage_file_response" -require_relative "merge_ruby_client/filestorage/types/file_storage_folder_response" -require_relative "merge_ruby_client/filestorage/types/folder_parent_folder" -require_relative "merge_ruby_client/filestorage/types/folder_drive" -require_relative "merge_ruby_client/filestorage/types/folder_permissions_item" -require_relative "merge_ruby_client/filestorage/types/folder_permissions" -require_relative "merge_ruby_client/filestorage/types/folder_request_parent_folder" -require_relative "merge_ruby_client/filestorage/types/folder_request_drive" -require_relative "merge_ruby_client/filestorage/types/folder_request_permissions_item" -require_relative "merge_ruby_client/filestorage/types/folder_request_permissions" -require_relative "merge_ruby_client/filestorage/types/folder_request" -require_relative "merge_ruby_client/filestorage/types/group" -require_relative "merge_ruby_client/filestorage/types/individual_common_model_scope_deserializer" -require_relative "merge_ruby_client/filestorage/types/individual_common_model_scope_deserializer_request" -require_relative "merge_ruby_client/filestorage/types/issue" -require_relative "merge_ruby_client/filestorage/types/issue_status_enum" -require_relative "merge_ruby_client/filestorage/types/link_token" -require_relative "merge_ruby_client/filestorage/types/linked_account_status" -require_relative "merge_ruby_client/filestorage/types/meta_response" -require_relative "merge_ruby_client/filestorage/types/method_enum" -require_relative "merge_ruby_client/filestorage/types/model_operation" -require_relative "merge_ruby_client/filestorage/types/model_permission_deserializer" -require_relative "merge_ruby_client/filestorage/types/model_permission_deserializer_request" -require_relative "merge_ruby_client/filestorage/types/multipart_form_field_request" -require_relative "merge_ruby_client/filestorage/types/paginated_account_details_and_actions_list" -require_relative "merge_ruby_client/filestorage/types/paginated_audit_log_event_list" -require_relative "merge_ruby_client/filestorage/types/paginated_drive_list" -require_relative "merge_ruby_client/filestorage/types/paginated_file_list" -require_relative "merge_ruby_client/filestorage/types/paginated_folder_list" -require_relative "merge_ruby_client/filestorage/types/paginated_group_list" -require_relative "merge_ruby_client/filestorage/types/paginated_issue_list" -require_relative "merge_ruby_client/filestorage/types/paginated_sync_status_list" -require_relative "merge_ruby_client/filestorage/types/paginated_user_list" -require_relative "merge_ruby_client/filestorage/types/user" -require_relative "merge_ruby_client/filestorage/types/permission_user" -require_relative "merge_ruby_client/filestorage/types/permission_group" -require_relative "merge_ruby_client/filestorage/types/permission" -require_relative "merge_ruby_client/filestorage/types/permission_request_user" -require_relative "merge_ruby_client/filestorage/types/permission_request_group" -require_relative "merge_ruby_client/filestorage/types/remote_endpoint_info" -require_relative "merge_ruby_client/filestorage/types/remote_field_api_coverage" -require_relative "merge_ruby_client/filestorage/types/remote_field_api" -require_relative "merge_ruby_client/filestorage/types/remote_field_api_response" -require_relative "merge_ruby_client/filestorage/types/remote_key" -require_relative "merge_ruby_client/filestorage/types/remote_response" -require_relative "merge_ruby_client/filestorage/types/request_format_enum" -require_relative "merge_ruby_client/filestorage/types/response_type_enum" -require_relative "merge_ruby_client/filestorage/types/role_enum" -require_relative "merge_ruby_client/filestorage/types/roles_enum" -require_relative "merge_ruby_client/filestorage/types/selective_sync_configurations_usage_enum" -require_relative "merge_ruby_client/filestorage/types/sync_status" -require_relative "merge_ruby_client/filestorage/types/sync_status_status_enum" -require_relative "merge_ruby_client/filestorage/types/type_enum" -require_relative "merge_ruby_client/filestorage/types/validation_problem_source" -require_relative "merge_ruby_client/filestorage/types/warning_validation_problem" -require_relative "merge_ruby_client/filestorage/types/webhook_receiver" require_relative "merge_ruby_client/ats/activities/types/activities_list_request_remote_fields" require_relative "merge_ruby_client/ats/activities/types/activities_list_request_show_enum_origins" require_relative "merge_ruby_client/ats/activities/types/activities_retrieve_request_remote_fields" @@ -153,6 +47,8 @@ require_relative "merge_ruby_client/ats/types/offer" require_relative "merge_ruby_client/ats/types/application_offers_item" require_relative "merge_ruby_client/ats/types/application_credited_to" +require_relative "merge_ruby_client/ats/types/screening_question_answer" +require_relative "merge_ruby_client/ats/types/application_screening_question_answers_item" require_relative "merge_ruby_client/ats/types/job_interview_stage" require_relative "merge_ruby_client/ats/types/application_current_stage" require_relative "merge_ruby_client/ats/types/reject_reason" @@ -162,6 +58,8 @@ require_relative "merge_ruby_client/ats/types/application_request_job" require_relative "merge_ruby_client/ats/types/application_request_offers_item" require_relative "merge_ruby_client/ats/types/application_request_credited_to" +require_relative "merge_ruby_client/ats/types/screening_question_answer_request" +require_relative "merge_ruby_client/ats/types/application_request_screening_question_answers_item" require_relative "merge_ruby_client/ats/types/application_request_current_stage" require_relative "merge_ruby_client/ats/types/application_request_reject_reason" require_relative "merge_ruby_client/ats/types/application_request" @@ -292,6 +190,8 @@ require_relative "merge_ruby_client/ats/types/scorecard" require_relative "merge_ruby_client/ats/types/screening_question_job" require_relative "merge_ruby_client/ats/types/screening_question" +require_relative "merge_ruby_client/ats/types/screening_question_answer_question" +require_relative "merge_ruby_client/ats/types/screening_question_answer_request_question" require_relative "merge_ruby_client/ats/types/screening_question_option" require_relative "merge_ruby_client/ats/types/screening_question_type_enum" require_relative "merge_ruby_client/ats/types/selective_sync_configurations_usage_enum" @@ -509,6 +409,112 @@ require_relative "merge_ruby_client/crm/types/validation_problem_source" require_relative "merge_ruby_client/crm/types/warning_validation_problem" require_relative "merge_ruby_client/crm/types/webhook_receiver" +require_relative "merge_ruby_client/filestorage/files/types/files_list_request_expand" +require_relative "merge_ruby_client/filestorage/files/types/files_retrieve_request_expand" +require_relative "merge_ruby_client/filestorage/folders/types/folders_list_request_expand" +require_relative "merge_ruby_client/filestorage/folders/types/folders_retrieve_request_expand" +require_relative "merge_ruby_client/filestorage/issues/types/issues_list_request_status" +require_relative "merge_ruby_client/filestorage/linked_accounts/types/linked_accounts_list_request_category" +require_relative "merge_ruby_client/filestorage/types/account_details" +require_relative "merge_ruby_client/filestorage/types/account_details_and_actions" +require_relative "merge_ruby_client/filestorage/types/account_details_and_actions_integration" +require_relative "merge_ruby_client/filestorage/types/account_details_and_actions_status_enum" +require_relative "merge_ruby_client/filestorage/types/account_integration" +require_relative "merge_ruby_client/filestorage/types/account_token" +require_relative "merge_ruby_client/filestorage/types/advanced_metadata" +require_relative "merge_ruby_client/filestorage/types/async_passthrough_reciept" +require_relative "merge_ruby_client/filestorage/types/audit_log_event" +require_relative "merge_ruby_client/filestorage/types/available_actions" +require_relative "merge_ruby_client/filestorage/types/categories_enum" +require_relative "merge_ruby_client/filestorage/types/category_enum" +require_relative "merge_ruby_client/filestorage/types/common_model_scope_api" +require_relative "merge_ruby_client/filestorage/types/common_model_scopes_body_request" +require_relative "merge_ruby_client/filestorage/types/data_passthrough_request" +require_relative "merge_ruby_client/filestorage/types/debug_mode_log" +require_relative "merge_ruby_client/filestorage/types/debug_model_log_summary" +require_relative "merge_ruby_client/filestorage/types/drive" +require_relative "merge_ruby_client/filestorage/types/enabled_actions_enum" +require_relative "merge_ruby_client/filestorage/types/encoding_enum" +require_relative "merge_ruby_client/filestorage/types/error_validation_problem" +require_relative "merge_ruby_client/filestorage/types/event_type_enum" +require_relative "merge_ruby_client/filestorage/types/external_target_field_api" +require_relative "merge_ruby_client/filestorage/types/external_target_field_api_response" +require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_target_field" +require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field_remote_endpoint_info" +require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_remote_field" +require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance" +require_relative "merge_ruby_client/filestorage/types/field_mapping_api_instance_response" +require_relative "merge_ruby_client/filestorage/types/field_mapping_instance_response" +require_relative "merge_ruby_client/filestorage/types/field_permission_deserializer" +require_relative "merge_ruby_client/filestorage/types/field_permission_deserializer_request" +require_relative "merge_ruby_client/filestorage/types/folder" +require_relative "merge_ruby_client/filestorage/types/file_folder" +require_relative "merge_ruby_client/filestorage/types/permission_request" +require_relative "merge_ruby_client/filestorage/types/file_permissions_item" +require_relative "merge_ruby_client/filestorage/types/file_permissions" +require_relative "merge_ruby_client/filestorage/types/file_drive" +require_relative "merge_ruby_client/filestorage/types/file" +require_relative "merge_ruby_client/filestorage/types/file_request_folder" +require_relative "merge_ruby_client/filestorage/types/file_request_permissions_item" +require_relative "merge_ruby_client/filestorage/types/file_request_permissions" +require_relative "merge_ruby_client/filestorage/types/file_request_drive" +require_relative "merge_ruby_client/filestorage/types/file_request" +require_relative "merge_ruby_client/filestorage/types/file_storage_file_response" +require_relative "merge_ruby_client/filestorage/types/file_storage_folder_response" +require_relative "merge_ruby_client/filestorage/types/folder_parent_folder" +require_relative "merge_ruby_client/filestorage/types/folder_drive" +require_relative "merge_ruby_client/filestorage/types/folder_permissions_item" +require_relative "merge_ruby_client/filestorage/types/folder_permissions" +require_relative "merge_ruby_client/filestorage/types/folder_request_parent_folder" +require_relative "merge_ruby_client/filestorage/types/folder_request_drive" +require_relative "merge_ruby_client/filestorage/types/folder_request_permissions_item" +require_relative "merge_ruby_client/filestorage/types/folder_request_permissions" +require_relative "merge_ruby_client/filestorage/types/folder_request" +require_relative "merge_ruby_client/filestorage/types/group" +require_relative "merge_ruby_client/filestorage/types/individual_common_model_scope_deserializer" +require_relative "merge_ruby_client/filestorage/types/individual_common_model_scope_deserializer_request" +require_relative "merge_ruby_client/filestorage/types/issue" +require_relative "merge_ruby_client/filestorage/types/issue_status_enum" +require_relative "merge_ruby_client/filestorage/types/link_token" +require_relative "merge_ruby_client/filestorage/types/linked_account_status" +require_relative "merge_ruby_client/filestorage/types/meta_response" +require_relative "merge_ruby_client/filestorage/types/method_enum" +require_relative "merge_ruby_client/filestorage/types/model_operation" +require_relative "merge_ruby_client/filestorage/types/model_permission_deserializer" +require_relative "merge_ruby_client/filestorage/types/model_permission_deserializer_request" +require_relative "merge_ruby_client/filestorage/types/multipart_form_field_request" +require_relative "merge_ruby_client/filestorage/types/paginated_account_details_and_actions_list" +require_relative "merge_ruby_client/filestorage/types/paginated_audit_log_event_list" +require_relative "merge_ruby_client/filestorage/types/paginated_drive_list" +require_relative "merge_ruby_client/filestorage/types/paginated_file_list" +require_relative "merge_ruby_client/filestorage/types/paginated_folder_list" +require_relative "merge_ruby_client/filestorage/types/paginated_group_list" +require_relative "merge_ruby_client/filestorage/types/paginated_issue_list" +require_relative "merge_ruby_client/filestorage/types/paginated_sync_status_list" +require_relative "merge_ruby_client/filestorage/types/paginated_user_list" +require_relative "merge_ruby_client/filestorage/types/user" +require_relative "merge_ruby_client/filestorage/types/permission_user" +require_relative "merge_ruby_client/filestorage/types/permission_group" +require_relative "merge_ruby_client/filestorage/types/permission" +require_relative "merge_ruby_client/filestorage/types/permission_request_user" +require_relative "merge_ruby_client/filestorage/types/permission_request_group" +require_relative "merge_ruby_client/filestorage/types/remote_endpoint_info" +require_relative "merge_ruby_client/filestorage/types/remote_field_api_coverage" +require_relative "merge_ruby_client/filestorage/types/remote_field_api" +require_relative "merge_ruby_client/filestorage/types/remote_field_api_response" +require_relative "merge_ruby_client/filestorage/types/remote_key" +require_relative "merge_ruby_client/filestorage/types/remote_response" +require_relative "merge_ruby_client/filestorage/types/request_format_enum" +require_relative "merge_ruby_client/filestorage/types/response_type_enum" +require_relative "merge_ruby_client/filestorage/types/role_enum" +require_relative "merge_ruby_client/filestorage/types/roles_enum" +require_relative "merge_ruby_client/filestorage/types/selective_sync_configurations_usage_enum" +require_relative "merge_ruby_client/filestorage/types/sync_status" +require_relative "merge_ruby_client/filestorage/types/sync_status_status_enum" +require_relative "merge_ruby_client/filestorage/types/type_enum" +require_relative "merge_ruby_client/filestorage/types/validation_problem_source" +require_relative "merge_ruby_client/filestorage/types/warning_validation_problem" +require_relative "merge_ruby_client/filestorage/types/webhook_receiver" require_relative "merge_ruby_client/hris/bank_info/types/bank_info_list_request_account_type" require_relative "merge_ruby_client/hris/bank_info/types/bank_info_list_request_order_by" require_relative "merge_ruby_client/hris/employee_payroll_runs/types/employee_payroll_runs_list_request_expand" diff --git a/merge_ruby_client.gemspec b/merge_ruby_client.gemspec index e972576..750ed5c 100644 --- a/merge_ruby_client.gemspec +++ b/merge_ruby_client.gemspec @@ -4,7 +4,7 @@ require_relative "lib/gemconfig" Gem::Specification.new do |spec| spec.name = "merge_ruby_client" - spec.version = "0.1.3" + spec.version = "0.1.4" spec.authors = Merge::Gemconfig::AUTHORS spec.email = Merge::Gemconfig::EMAIL spec.summary = Merge::Gemconfig::SUMMARY