merge_ats_client 2.0.1 → 3.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.md +16 -0
- data/README.md +186 -167
- data/docs/AccountIntegration.md +6 -2
- data/docs/ActivitiesApi.md +164 -8
- data/docs/Activity.md +12 -6
- data/docs/ActivityEndpointRequest.md +20 -0
- data/docs/ActivityRequest.md +32 -0
- data/docs/ActivityResponse.md +24 -0
- data/docs/Application.md +12 -10
- data/docs/ApplicationRequest.md +5 -9
- data/docs/ApplicationsApi.md +4 -4
- data/docs/Attachment.md +8 -4
- data/docs/AttachmentRequest.md +1 -3
- data/docs/AttachmentsApi.md +13 -9
- data/docs/Candidate.md +8 -6
- data/docs/CandidateRequest.md +1 -9
- data/docs/CandidatesApi.md +16 -13
- data/docs/CommonModelScopesBodyRequest.md +22 -0
- data/docs/ConditionSchema.md +30 -0
- data/docs/ConditionTypeEnum.md +15 -0
- data/docs/DataPassthroughRequest.md +1 -1
- data/docs/Department.md +7 -3
- data/docs/DepartmentsApi.md +4 -4
- data/docs/EEOC.md +12 -8
- data/docs/EeocsApi.md +13 -9
- data/docs/EmailAddress.md +4 -2
- data/docs/EmailAddressRequest.md +6 -2
- data/docs/EnabledActionsEnum.md +15 -0
- data/docs/EndUserDetailsRequest.md +5 -3
- data/docs/ForceResyncApi.md +1 -1
- data/docs/InterviewsApi.md +165 -9
- data/docs/Issue.md +10 -8
- data/docs/IssuesApi.md +6 -6
- data/docs/Job.md +8 -4
- data/docs/JobInterviewStage.md +10 -4
- data/docs/JobInterviewStagesApi.md +4 -4
- data/docs/JobsApi.md +16 -10
- data/docs/LinkToken.md +1 -1
- data/docs/LinkedAccountCondition.md +28 -0
- data/docs/LinkedAccountConditionRequest.md +22 -0
- data/docs/LinkedAccountSelectiveSyncConfiguration.md +18 -0
- data/docs/LinkedAccountSelectiveSyncConfigurationListRequest.md +18 -0
- data/docs/LinkedAccountSelectiveSyncConfigurationRequest.md +18 -0
- data/docs/LinkedAccountsApi.md +2 -2
- data/docs/MetaResponse.md +2 -0
- data/docs/MultipartFormFieldRequest.md +1 -1
- data/docs/Offer.md +10 -6
- data/docs/OffersApi.md +13 -9
- data/docs/Office.md +7 -3
- data/docs/OfficesApi.md +4 -4
- data/docs/OperatorSchema.md +20 -0
- data/docs/PaginatedConditionSchemaList.md +22 -0
- data/docs/PhoneNumber.md +4 -2
- data/docs/PhoneNumberRequest.md +6 -2
- data/docs/RejectReason.md +7 -3
- data/docs/RejectReasonsApi.md +4 -4
- data/docs/RemoteUser.md +8 -4
- data/docs/ScheduledInterview.md +11 -7
- data/docs/ScheduledInterviewEndpointRequest.md +20 -0
- data/docs/ScheduledInterviewRequest.md +36 -0
- data/docs/ScheduledInterviewResponse.md +24 -0
- data/docs/Scorecard.md +11 -7
- data/docs/ScorecardsApi.md +13 -9
- data/docs/SelectiveSyncApi.md +233 -0
- data/docs/SelectiveSyncConfigurationsUsageEnum.md +15 -0
- data/docs/SyncStatus.md +3 -1
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tag.md +7 -3
- data/docs/TagsApi.md +4 -4
- data/docs/Url.md +4 -2
- data/docs/UrlRequest.md +6 -2
- data/docs/UsersApi.md +13 -9
- data/lib/merge_ats_client/api/activities_api.rb +160 -8
- data/lib/merge_ats_client/api/applications_api.rb +4 -4
- data/lib/merge_ats_client/api/attachments_api.rb +22 -8
- data/lib/merge_ats_client/api/candidates_api.rb +15 -11
- data/lib/merge_ats_client/api/departments_api.rb +4 -4
- data/lib/merge_ats_client/api/eeocs_api.rb +22 -8
- data/lib/merge_ats_client/api/force_resync_api.rb +2 -2
- data/lib/merge_ats_client/api/interviews_api.rb +160 -8
- data/lib/merge_ats_client/api/issues_api.rb +6 -6
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +4 -4
- data/lib/merge_ats_client/api/jobs_api.rb +27 -10
- data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -3
- data/lib/merge_ats_client/api/offers_api.rb +22 -8
- data/lib/merge_ats_client/api/offices_api.rb +4 -4
- data/lib/merge_ats_client/api/reject_reasons_api.rb +4 -4
- data/lib/merge_ats_client/api/scorecards_api.rb +22 -8
- data/lib/merge_ats_client/api/selective_sync_api.rb +225 -0
- data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ats_client/api/tags_api.rb +4 -4
- data/lib/merge_ats_client/api/users_api.rb +22 -8
- data/lib/merge_ats_client/models/access_role_enum.rb +1 -1
- data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +1 -1
- data/lib/merge_ats_client/models/account_integration.rb +30 -8
- data/lib/merge_ats_client/models/activity.rb +50 -16
- data/lib/merge_ats_client/models/activity_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/activity_request.rb +300 -0
- data/lib/merge_ats_client/models/activity_response.rb +266 -0
- data/lib/merge_ats_client/models/activity_type_enum.rb +1 -1
- data/lib/merge_ats_client/models/application.rb +40 -26
- data/lib/merge_ats_client/models/application_request.rb +7 -26
- data/lib/merge_ats_client/models/attachment.rb +38 -16
- data/lib/merge_ats_client/models/attachment_request.rb +3 -14
- data/lib/merge_ats_client/models/attachment_type_enum.rb +1 -1
- data/lib/merge_ats_client/models/candidate.rb +36 -27
- data/lib/merge_ats_client/models/candidate_request.rb +3 -49
- data/lib/merge_ats_client/models/categories_enum.rb +4 -2
- data/lib/merge_ats_client/models/category_enum.rb +4 -2
- data/lib/merge_ats_client/models/common_model_scopes_body_request.rb +274 -0
- data/lib/merge_ats_client/models/condition_schema.rb +298 -0
- data/lib/merge_ats_client/models/condition_type_enum.rb +50 -0
- data/lib/merge_ats_client/models/data_passthrough_request.rb +1 -0
- data/lib/merge_ats_client/models/department.rb +36 -14
- data/lib/merge_ats_client/models/disability_status_enum.rb +1 -1
- data/lib/merge_ats_client/models/eeoc.rb +42 -19
- data/lib/merge_ats_client/models/email_address.rb +16 -6
- data/lib/merge_ats_client/models/email_address_request.rb +30 -6
- data/lib/merge_ats_client/models/email_address_type_enum.rb +1 -1
- data/lib/merge_ats_client/models/enabled_actions_enum.rb +45 -0
- data/lib/merge_ats_client/models/encoding_enum.rb +1 -1
- data/lib/merge_ats_client/models/end_user_details_request.rb +20 -7
- data/lib/merge_ats_client/models/gender_enum.rb +1 -1
- data/lib/merge_ats_client/models/issue.rb +16 -4
- data/lib/merge_ats_client/models/job.rb +38 -16
- data/lib/merge_ats_client/models/job_interview_stage.rb +72 -15
- data/lib/merge_ats_client/models/job_status_enum.rb +1 -1
- data/lib/merge_ats_client/models/link_token.rb +0 -5
- data/lib/merge_ats_client/models/linked_account_condition.rb +282 -0
- data/lib/merge_ats_client/models/linked_account_condition_request.rb +269 -0
- data/lib/merge_ats_client/models/linked_account_selective_sync_configuration.rb +221 -0
- data/lib/merge_ats_client/models/linked_account_selective_sync_configuration_list_request.rb +226 -0
- data/lib/merge_ats_client/models/linked_account_selective_sync_configuration_request.rb +226 -0
- data/lib/merge_ats_client/models/meta_response.rb +12 -1
- data/lib/merge_ats_client/models/method_enum.rb +1 -1
- data/lib/merge_ats_client/models/multipart_form_field_request.rb +1 -1
- data/lib/merge_ats_client/models/offer.rb +40 -16
- data/lib/merge_ats_client/models/offer_status_enum.rb +1 -1
- data/lib/merge_ats_client/models/office.rb +37 -15
- data/lib/merge_ats_client/models/operator_schema.rb +229 -0
- data/lib/merge_ats_client/models/overall_recommendation_enum.rb +1 -1
- data/lib/merge_ats_client/models/paginated_condition_schema_list.rb +240 -0
- data/lib/merge_ats_client/models/phone_number.rb +16 -6
- data/lib/merge_ats_client/models/phone_number_request.rb +30 -6
- data/lib/merge_ats_client/models/phone_number_type_enum.rb +1 -1
- data/lib/merge_ats_client/models/race_enum.rb +1 -1
- data/lib/merge_ats_client/models/reason_enum.rb +1 -1
- data/lib/merge_ats_client/models/reject_reason.rb +37 -15
- data/lib/merge_ats_client/models/remote_user.rb +38 -16
- data/lib/merge_ats_client/models/request_format_enum.rb +1 -1
- data/lib/merge_ats_client/models/response_type_enum.rb +1 -1
- data/lib/merge_ats_client/models/scheduled_interview.rb +41 -16
- data/lib/merge_ats_client/models/scheduled_interview_endpoint_request.rb +237 -0
- data/lib/merge_ats_client/models/scheduled_interview_request.rb +323 -0
- data/lib/merge_ats_client/models/scheduled_interview_response.rb +266 -0
- data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +1 -1
- data/lib/merge_ats_client/models/scorecard.rb +41 -16
- data/lib/merge_ats_client/models/selective_sync_configurations_usage_enum.rb +45 -0
- data/lib/merge_ats_client/models/sync_status.rb +13 -4
- data/lib/merge_ats_client/models/sync_status_status_enum.rb +3 -2
- data/lib/merge_ats_client/models/tag.rb +36 -14
- data/lib/merge_ats_client/models/url.rb +17 -7
- data/lib/merge_ats_client/models/url_request.rb +31 -7
- data/lib/merge_ats_client/models/url_type_enum.rb +1 -1
- data/lib/merge_ats_client/models/veteran_status_enum.rb +1 -1
- data/lib/merge_ats_client/models/visibility_enum.rb +1 -1
- data/lib/merge_ats_client/version.rb +1 -1
- data/lib/merge_ats_client.rb +19 -1
- data/spec/api/activities_api_spec.rb +31 -4
- data/spec/api/applications_api_spec.rb +2 -2
- data/spec/api/attachments_api_spec.rb +6 -4
- data/spec/api/candidates_api_spec.rb +5 -3
- data/spec/api/departments_api_spec.rb +2 -2
- data/spec/api/eeocs_api_spec.rb +6 -4
- data/spec/api/force_resync_api_spec.rb +1 -1
- data/spec/api/interviews_api_spec.rb +31 -4
- data/spec/api/issues_api_spec.rb +3 -3
- data/spec/api/job_interview_stages_api_spec.rb +2 -2
- data/spec/api/jobs_api_spec.rb +8 -5
- data/spec/api/linked_accounts_api_spec.rb +1 -1
- data/spec/api/offers_api_spec.rb +6 -4
- data/spec/api/offices_api_spec.rb +2 -2
- data/spec/api/reject_reasons_api_spec.rb +2 -2
- data/spec/api/scorecards_api_spec.rb +6 -4
- data/spec/api/selective_sync_api_spec.rb +72 -0
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +2 -2
- data/spec/api/users_api_spec.rb +6 -4
- data/spec/models/account_integration_spec.rb +12 -0
- data/spec/models/{ignore_common_model_spec.rb → activity_endpoint_request_spec.rb} +8 -8
- data/spec/models/activity_request_spec.rb +76 -0
- data/spec/models/activity_response_spec.rb +52 -0
- data/spec/models/activity_spec.rb +19 -1
- data/spec/models/application_request_spec.rb +0 -12
- data/spec/models/application_spec.rb +9 -3
- data/spec/models/attachment_request_spec.rb +0 -6
- data/spec/models/attachment_spec.rb +14 -2
- data/spec/models/candidate_request_spec.rb +0 -24
- data/spec/models/candidate_spec.rb +9 -3
- data/spec/models/common_model_scopes_body_request_spec.rb +46 -0
- data/spec/models/condition_schema_spec.rb +70 -0
- data/spec/models/condition_type_enum_spec.rb +28 -0
- data/spec/models/department_spec.rb +14 -2
- data/spec/models/eeoc_spec.rb +14 -2
- data/spec/models/email_address_request_spec.rb +12 -0
- data/spec/models/email_address_spec.rb +6 -0
- data/spec/models/enabled_actions_enum_spec.rb +28 -0
- data/spec/models/end_user_details_request_spec.rb +6 -0
- data/spec/models/issue_spec.rb +6 -0
- data/spec/models/job_interview_stage_spec.rb +19 -1
- data/spec/models/job_spec.rb +14 -2
- data/spec/models/linked_account_condition_request_spec.rb +46 -0
- data/spec/models/linked_account_condition_spec.rb +64 -0
- data/spec/models/linked_account_selective_sync_configuration_list_request_spec.rb +34 -0
- data/spec/models/linked_account_selective_sync_configuration_request_spec.rb +34 -0
- data/spec/models/linked_account_selective_sync_configuration_spec.rb +34 -0
- data/spec/models/meta_response_spec.rb +6 -0
- data/spec/models/offer_spec.rb +14 -2
- data/spec/models/office_spec.rb +14 -2
- data/spec/models/{remote_data_request_spec.rb → operator_schema_spec.rb} +8 -8
- data/spec/models/paginated_condition_schema_list_spec.rb +46 -0
- data/spec/models/phone_number_request_spec.rb +12 -0
- data/spec/models/phone_number_spec.rb +6 -0
- data/spec/models/reject_reason_spec.rb +14 -2
- data/spec/models/remote_user_spec.rb +14 -2
- data/spec/models/scheduled_interview_endpoint_request_spec.rb +40 -0
- data/spec/models/scheduled_interview_request_spec.rb +88 -0
- data/spec/models/scheduled_interview_response_spec.rb +52 -0
- data/spec/models/scheduled_interview_spec.rb +14 -2
- data/spec/models/scorecard_spec.rb +14 -2
- data/spec/models/selective_sync_configurations_usage_enum_spec.rb +28 -0
- data/spec/models/sync_status_spec.rb +6 -0
- data/spec/models/tag_spec.rb +14 -2
- data/spec/models/url_request_spec.rb +12 -0
- data/spec/models/url_spec.rb +6 -0
- metadata +182 -109
@@ -29,11 +29,12 @@ module MergeATSClient
|
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
30
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
31
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
|
-
# @option opts [String] :remote_fields
|
35
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
36
36
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
37
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
37
38
|
# @return [PaginatedEEOCList]
|
38
39
|
def eeocs_list(x_account_token, opts = {})
|
39
40
|
data, _status_code, _headers = eeocs_list_with_http_info(x_account_token, opts)
|
@@ -50,11 +51,12 @@ module MergeATSClient
|
|
50
51
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
51
52
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
52
53
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
53
|
-
# @option opts [Time] :modified_after If provided,
|
54
|
-
# @option opts [Time] :modified_before If provided,
|
54
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
55
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
55
56
|
# @option opts [Integer] :page_size Number of results to return per page.
|
56
|
-
# @option opts [String] :remote_fields
|
57
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
57
58
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
59
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
58
60
|
# @return [Array<(PaginatedEEOCList, Integer, Hash)>] PaginatedEEOCList data, response status code and response headers
|
59
61
|
def eeocs_list_with_http_info(x_account_token, opts = {})
|
60
62
|
if @api_client.config.debugging
|
@@ -72,6 +74,10 @@ module MergeATSClient
|
|
72
74
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
73
75
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
74
76
|
end
|
77
|
+
allowable_values = ["disability_status", "disability_status,gender", "disability_status,gender,race", "disability_status,gender,race,veteran_status", "disability_status,gender,veteran_status", "disability_status,race", "disability_status,race,veteran_status", "disability_status,veteran_status", "gender", "gender,race", "gender,race,veteran_status", "gender,veteran_status", "race", "race,veteran_status", "veteran_status"]
|
78
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
79
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
80
|
+
end
|
75
81
|
# resource path
|
76
82
|
local_var_path = '/eeocs'
|
77
83
|
|
@@ -89,6 +95,7 @@ module MergeATSClient
|
|
89
95
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
90
96
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
91
97
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
98
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
92
99
|
|
93
100
|
# header parameters
|
94
101
|
header_params = opts[:header_params] || {}
|
@@ -131,7 +138,8 @@ module MergeATSClient
|
|
131
138
|
# @param [Hash] opts the optional parameters
|
132
139
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
133
140
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
134
|
-
# @option opts [String] :remote_fields
|
141
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
142
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
135
143
|
# @return [EEOC]
|
136
144
|
def eeocs_retrieve(x_account_token, id, opts = {})
|
137
145
|
data, _status_code, _headers = eeocs_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -144,7 +152,8 @@ module MergeATSClient
|
|
144
152
|
# @param [Hash] opts the optional parameters
|
145
153
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
146
154
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
147
|
-
# @option opts [String] :remote_fields
|
155
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
156
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
148
157
|
# @return [Array<(EEOC, Integer, Hash)>] EEOC data, response status code and response headers
|
149
158
|
def eeocs_retrieve_with_http_info(x_account_token, id, opts = {})
|
150
159
|
if @api_client.config.debugging
|
@@ -166,6 +175,10 @@ module MergeATSClient
|
|
166
175
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
167
176
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
168
177
|
end
|
178
|
+
allowable_values = ["disability_status", "disability_status,gender", "disability_status,gender,race", "disability_status,gender,race,veteran_status", "disability_status,gender,veteran_status", "disability_status,race", "disability_status,race,veteran_status", "disability_status,veteran_status", "gender", "gender,race", "gender,race,veteran_status", "gender,veteran_status", "race", "race,veteran_status", "veteran_status"]
|
179
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
180
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
181
|
+
end
|
169
182
|
# resource path
|
170
183
|
local_var_path = '/eeocs/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
171
184
|
|
@@ -174,6 +187,7 @@ module MergeATSClient
|
|
174
187
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
175
188
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
176
189
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
190
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
177
191
|
|
178
192
|
# header parameters
|
179
193
|
header_params = opts[:header_params] || {}
|
@@ -19,7 +19,7 @@ module MergeATSClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
-
# Force re-sync of all models. This is
|
22
|
+
# Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
|
23
23
|
# @param x_account_token [String] Token identifying the end user.
|
24
24
|
# @param [Hash] opts the optional parameters
|
25
25
|
# @return [Array<SyncStatus>]
|
@@ -28,7 +28,7 @@ module MergeATSClient
|
|
28
28
|
data
|
29
29
|
end
|
30
30
|
|
31
|
-
# Force re-sync of all models. This is
|
31
|
+
# Force re-sync of all models. This is available for all organizations via the dashboard. Force re-sync is also available programmatically via API for monthly, quarterly, and highest sync frequency customers on the Core, Professional, or Enterprise plans. Doing so will consume a sync credit for the relevant linked account.
|
32
32
|
# @param x_account_token [String] Token identifying the end user.
|
33
33
|
# @param [Hash] opts the optional parameters
|
34
34
|
# @return [Array<(Array<SyncStatus>, Integer, Hash)>] Array<SyncStatus> data, response status code and response headers
|
@@ -19,6 +19,82 @@ module MergeATSClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Creates a `ScheduledInterview` object with the given values.
|
23
|
+
# @param x_account_token [String] Token identifying the end user.
|
24
|
+
# @param scheduled_interview_endpoint_request [ScheduledInterviewEndpointRequest]
|
25
|
+
# @param [Hash] opts the optional parameters
|
26
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
27
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
28
|
+
# @return [ScheduledInterviewResponse]
|
29
|
+
def interviews_create(x_account_token, scheduled_interview_endpoint_request, opts = {})
|
30
|
+
data, _status_code, _headers = interviews_create_with_http_info(x_account_token, scheduled_interview_endpoint_request, opts)
|
31
|
+
data
|
32
|
+
end
|
33
|
+
|
34
|
+
# Creates a `ScheduledInterview` object with the given values.
|
35
|
+
# @param x_account_token [String] Token identifying the end user.
|
36
|
+
# @param scheduled_interview_endpoint_request [ScheduledInterviewEndpointRequest]
|
37
|
+
# @param [Hash] opts the optional parameters
|
38
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
39
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
40
|
+
# @return [Array<(ScheduledInterviewResponse, Integer, Hash)>] ScheduledInterviewResponse data, response status code and response headers
|
41
|
+
def interviews_create_with_http_info(x_account_token, scheduled_interview_endpoint_request, opts = {})
|
42
|
+
if @api_client.config.debugging
|
43
|
+
@api_client.config.logger.debug 'Calling API: InterviewsApi.interviews_create ...'
|
44
|
+
end
|
45
|
+
# verify the required parameter 'x_account_token' is set
|
46
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
47
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling InterviewsApi.interviews_create"
|
48
|
+
end
|
49
|
+
# verify the required parameter 'scheduled_interview_endpoint_request' is set
|
50
|
+
if @api_client.config.client_side_validation && scheduled_interview_endpoint_request.nil?
|
51
|
+
fail ArgumentError, "Missing the required parameter 'scheduled_interview_endpoint_request' when calling InterviewsApi.interviews_create"
|
52
|
+
end
|
53
|
+
# resource path
|
54
|
+
local_var_path = '/interviews'
|
55
|
+
|
56
|
+
# query parameters
|
57
|
+
query_params = opts[:query_params] || {}
|
58
|
+
query_params[:'is_debug_mode'] = opts[:'is_debug_mode'] if !opts[:'is_debug_mode'].nil?
|
59
|
+
query_params[:'run_async'] = opts[:'run_async'] if !opts[:'run_async'].nil?
|
60
|
+
|
61
|
+
# header parameters
|
62
|
+
header_params = opts[:header_params] || {}
|
63
|
+
# HTTP header 'Accept' (if needed)
|
64
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
65
|
+
# HTTP header 'Content-Type'
|
66
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
67
|
+
header_params[:'X-Account-Token'] = x_account_token
|
68
|
+
|
69
|
+
# form parameters
|
70
|
+
form_params = opts[:form_params] || {}
|
71
|
+
|
72
|
+
# http body (model)
|
73
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(scheduled_interview_endpoint_request)
|
74
|
+
|
75
|
+
# return_type
|
76
|
+
return_type = opts[:debug_return_type] || 'ScheduledInterviewResponse'
|
77
|
+
|
78
|
+
# auth_names
|
79
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
80
|
+
|
81
|
+
new_options = opts.merge(
|
82
|
+
:operation => :"InterviewsApi.interviews_create",
|
83
|
+
:header_params => header_params,
|
84
|
+
:query_params => query_params,
|
85
|
+
:form_params => form_params,
|
86
|
+
:body => post_body,
|
87
|
+
:auth_names => auth_names,
|
88
|
+
:return_type => return_type
|
89
|
+
)
|
90
|
+
|
91
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
92
|
+
if @api_client.config.debugging
|
93
|
+
@api_client.config.logger.debug "API called: InterviewsApi#interviews_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
94
|
+
end
|
95
|
+
return data, status_code, headers
|
96
|
+
end
|
97
|
+
|
22
98
|
# Returns a list of `ScheduledInterview` objects.
|
23
99
|
# @param x_account_token [String] Token identifying the end user.
|
24
100
|
# @param [Hash] opts the optional parameters
|
@@ -30,12 +106,13 @@ module MergeATSClient
|
|
30
106
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
107
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
108
|
# @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
|
33
|
-
# @option opts [Time] :modified_after If provided,
|
34
|
-
# @option opts [Time] :modified_before If provided,
|
109
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
110
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
35
111
|
# @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
|
36
112
|
# @option opts [Integer] :page_size Number of results to return per page.
|
37
|
-
# @option opts [String] :remote_fields
|
113
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
38
114
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
115
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
39
116
|
# @return [PaginatedScheduledInterviewList]
|
40
117
|
def interviews_list(x_account_token, opts = {})
|
41
118
|
data, _status_code, _headers = interviews_list_with_http_info(x_account_token, opts)
|
@@ -53,12 +130,13 @@ module MergeATSClient
|
|
53
130
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
54
131
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
55
132
|
# @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
|
56
|
-
# @option opts [Time] :modified_after If provided,
|
57
|
-
# @option opts [Time] :modified_before If provided,
|
133
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
134
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
58
135
|
# @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
|
59
136
|
# @option opts [Integer] :page_size Number of results to return per page.
|
60
|
-
# @option opts [String] :remote_fields
|
137
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
61
138
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
139
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
62
140
|
# @return [Array<(PaginatedScheduledInterviewList, Integer, Hash)>] PaginatedScheduledInterviewList data, response status code and response headers
|
63
141
|
def interviews_list_with_http_info(x_account_token, opts = {})
|
64
142
|
if @api_client.config.debugging
|
@@ -76,6 +154,10 @@ module MergeATSClient
|
|
76
154
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
77
155
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
78
156
|
end
|
157
|
+
allowable_values = ["status"]
|
158
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
159
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
160
|
+
end
|
79
161
|
# resource path
|
80
162
|
local_var_path = '/interviews'
|
81
163
|
|
@@ -95,6 +177,7 @@ module MergeATSClient
|
|
95
177
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
96
178
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
97
179
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
180
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
98
181
|
|
99
182
|
# header parameters
|
100
183
|
header_params = opts[:header_params] || {}
|
@@ -131,13 +214,76 @@ module MergeATSClient
|
|
131
214
|
return data, status_code, headers
|
132
215
|
end
|
133
216
|
|
217
|
+
# Returns metadata for `ScheduledInterview` POSTs.
|
218
|
+
# @param x_account_token [String] Token identifying the end user.
|
219
|
+
# @param [Hash] opts the optional parameters
|
220
|
+
# @return [MetaResponse]
|
221
|
+
def interviews_meta_post_retrieve(x_account_token, opts = {})
|
222
|
+
data, _status_code, _headers = interviews_meta_post_retrieve_with_http_info(x_account_token, opts)
|
223
|
+
data
|
224
|
+
end
|
225
|
+
|
226
|
+
# Returns metadata for `ScheduledInterview` POSTs.
|
227
|
+
# @param x_account_token [String] Token identifying the end user.
|
228
|
+
# @param [Hash] opts the optional parameters
|
229
|
+
# @return [Array<(MetaResponse, Integer, Hash)>] MetaResponse data, response status code and response headers
|
230
|
+
def interviews_meta_post_retrieve_with_http_info(x_account_token, opts = {})
|
231
|
+
if @api_client.config.debugging
|
232
|
+
@api_client.config.logger.debug 'Calling API: InterviewsApi.interviews_meta_post_retrieve ...'
|
233
|
+
end
|
234
|
+
# verify the required parameter 'x_account_token' is set
|
235
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
236
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling InterviewsApi.interviews_meta_post_retrieve"
|
237
|
+
end
|
238
|
+
# resource path
|
239
|
+
local_var_path = '/interviews/meta/post'
|
240
|
+
|
241
|
+
# query parameters
|
242
|
+
query_params = opts[:query_params] || {}
|
243
|
+
|
244
|
+
# header parameters
|
245
|
+
header_params = opts[:header_params] || {}
|
246
|
+
# HTTP header 'Accept' (if needed)
|
247
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
248
|
+
header_params[:'X-Account-Token'] = x_account_token
|
249
|
+
|
250
|
+
# form parameters
|
251
|
+
form_params = opts[:form_params] || {}
|
252
|
+
|
253
|
+
# http body (model)
|
254
|
+
post_body = opts[:debug_body]
|
255
|
+
|
256
|
+
# return_type
|
257
|
+
return_type = opts[:debug_return_type] || 'MetaResponse'
|
258
|
+
|
259
|
+
# auth_names
|
260
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
261
|
+
|
262
|
+
new_options = opts.merge(
|
263
|
+
:operation => :"InterviewsApi.interviews_meta_post_retrieve",
|
264
|
+
:header_params => header_params,
|
265
|
+
:query_params => query_params,
|
266
|
+
:form_params => form_params,
|
267
|
+
:body => post_body,
|
268
|
+
:auth_names => auth_names,
|
269
|
+
:return_type => return_type
|
270
|
+
)
|
271
|
+
|
272
|
+
data, status_code, headers = @api_client.call_api(:GET, local_var_path, new_options)
|
273
|
+
if @api_client.config.debugging
|
274
|
+
@api_client.config.logger.debug "API called: InterviewsApi#interviews_meta_post_retrieve\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
275
|
+
end
|
276
|
+
return data, status_code, headers
|
277
|
+
end
|
278
|
+
|
134
279
|
# Returns a `ScheduledInterview` object with the given `id`.
|
135
280
|
# @param x_account_token [String] Token identifying the end user.
|
136
281
|
# @param id [String]
|
137
282
|
# @param [Hash] opts the optional parameters
|
138
283
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
139
284
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
140
|
-
# @option opts [String] :remote_fields
|
285
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
286
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
141
287
|
# @return [ScheduledInterview]
|
142
288
|
def interviews_retrieve(x_account_token, id, opts = {})
|
143
289
|
data, _status_code, _headers = interviews_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -150,7 +296,8 @@ module MergeATSClient
|
|
150
296
|
# @param [Hash] opts the optional parameters
|
151
297
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
152
298
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
153
|
-
# @option opts [String] :remote_fields
|
299
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
300
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
154
301
|
# @return [Array<(ScheduledInterview, Integer, Hash)>] ScheduledInterview data, response status code and response headers
|
155
302
|
def interviews_retrieve_with_http_info(x_account_token, id, opts = {})
|
156
303
|
if @api_client.config.debugging
|
@@ -172,6 +319,10 @@ module MergeATSClient
|
|
172
319
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
173
320
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
174
321
|
end
|
322
|
+
allowable_values = ["status"]
|
323
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
324
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
325
|
+
end
|
175
326
|
# resource path
|
176
327
|
local_var_path = '/interviews/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
177
328
|
|
@@ -180,6 +331,7 @@ module MergeATSClient
|
|
180
331
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
181
332
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
182
333
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
334
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
183
335
|
|
184
336
|
# header parameters
|
185
337
|
header_params = opts[:header_params] || {}
|
@@ -29,11 +29,11 @@ module MergeATSClient
|
|
29
29
|
# @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
|
30
30
|
# @option opts [String] :include_muted If True, will include muted issues
|
31
31
|
# @option opts [String] :integration_name
|
32
|
-
# @option opts [Time] :last_incident_time_after If provided, will only return issues whose
|
33
|
-
# @option opts [Time] :last_incident_time_before If provided, will only return issues whose
|
32
|
+
# @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
|
33
|
+
# @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
35
|
# @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
|
36
|
-
# @option opts [String] :status
|
36
|
+
# @option opts [String] :status Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED
|
37
37
|
# @return [PaginatedIssueList]
|
38
38
|
def issues_list(opts = {})
|
39
39
|
data, _status_code, _headers = issues_list_with_http_info(opts)
|
@@ -50,11 +50,11 @@ module MergeATSClient
|
|
50
50
|
# @option opts [Time] :first_incident_time_before If provided, will only return issues whose first incident time was before this datetime.
|
51
51
|
# @option opts [String] :include_muted If True, will include muted issues
|
52
52
|
# @option opts [String] :integration_name
|
53
|
-
# @option opts [Time] :last_incident_time_after If provided, will only return issues whose
|
54
|
-
# @option opts [Time] :last_incident_time_before If provided, will only return issues whose
|
53
|
+
# @option opts [Time] :last_incident_time_after If provided, will only return issues whose last incident time was after this datetime.
|
54
|
+
# @option opts [Time] :last_incident_time_before If provided, will only return issues whose last incident time was before this datetime.
|
55
55
|
# @option opts [Integer] :page_size Number of results to return per page.
|
56
56
|
# @option opts [String] :start_date If included, will only include issues whose most recent action occurred after this time
|
57
|
-
# @option opts [String] :status
|
57
|
+
# @option opts [String] :status Status of the issue. Options: ('ONGOING', 'RESOLVED') * `ONGOING` - ONGOING * `RESOLVED` - RESOLVED
|
58
58
|
# @return [Array<(PaginatedIssueList, Integer, Hash)>] PaginatedIssueList data, response status code and response headers
|
59
59
|
def issues_list_with_http_info(opts = {})
|
60
60
|
if @api_client.config.debugging
|
@@ -29,8 +29,8 @@ module MergeATSClient
|
|
29
29
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
30
30
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
31
31
|
# @option opts [String] :job_id If provided, will only return interview stages for this job.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
35
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
36
36
|
# @return [PaginatedJobInterviewStageList]
|
@@ -49,8 +49,8 @@ module MergeATSClient
|
|
49
49
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
50
50
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
51
51
|
# @option opts [String] :job_id If provided, will only return interview stages for this job.
|
52
|
-
# @option opts [Time] :modified_after If provided,
|
53
|
-
# @option opts [Time] :modified_before If provided,
|
52
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
53
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
54
54
|
# @option opts [Integer] :page_size Number of results to return per page.
|
55
55
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
56
56
|
# @return [Array<(PaginatedJobInterviewStageList, Integer, Hash)>] PaginatedJobInterviewStageList data, response status code and response headers
|
@@ -29,12 +29,14 @@ module MergeATSClient
|
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
30
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
31
31
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
32
|
-
# @option opts [Time] :modified_after If provided,
|
33
|
-
# @option opts [Time] :modified_before If provided,
|
32
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
33
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
34
|
+
# @option opts [String] :offices If provided, will only return jobs for this office; multiple offices can be separated by commas.
|
34
35
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
|
-
# @option opts [String] :remote_fields
|
36
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
36
37
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
37
|
-
# @option opts [String] :
|
38
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
39
|
+
# @option opts [String] :status If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') * `OPEN` - OPEN * `CLOSED` - CLOSED * `DRAFT` - DRAFT * `ARCHIVED` - ARCHIVED * `PENDING` - PENDING
|
38
40
|
# @return [PaginatedJobList]
|
39
41
|
def jobs_list(x_account_token, opts = {})
|
40
42
|
data, _status_code, _headers = jobs_list_with_http_info(x_account_token, opts)
|
@@ -51,12 +53,14 @@ module MergeATSClient
|
|
51
53
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
52
54
|
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
53
55
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
54
|
-
# @option opts [Time] :modified_after If provided,
|
55
|
-
# @option opts [Time] :modified_before If provided,
|
56
|
+
# @option opts [Time] :modified_after If provided, only objects synced by Merge after this date time will be returned.
|
57
|
+
# @option opts [Time] :modified_before If provided, only objects synced by Merge before this date time will be returned.
|
58
|
+
# @option opts [String] :offices If provided, will only return jobs for this office; multiple offices can be separated by commas.
|
56
59
|
# @option opts [Integer] :page_size Number of results to return per page.
|
57
|
-
# @option opts [String] :remote_fields
|
60
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
58
61
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
59
|
-
# @option opts [String] :
|
62
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
63
|
+
# @option opts [String] :status If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING') * `OPEN` - OPEN * `CLOSED` - CLOSED * `DRAFT` - DRAFT * `ARCHIVED` - ARCHIVED * `PENDING` - PENDING
|
60
64
|
# @return [Array<(PaginatedJobList, Integer, Hash)>] PaginatedJobList data, response status code and response headers
|
61
65
|
def jobs_list_with_http_info(x_account_token, opts = {})
|
62
66
|
if @api_client.config.debugging
|
@@ -74,6 +78,10 @@ module MergeATSClient
|
|
74
78
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
75
79
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
76
80
|
end
|
81
|
+
allowable_values = ["status"]
|
82
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
83
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
84
|
+
end
|
77
85
|
allowable_values = ["ARCHIVED", "CLOSED", "DRAFT", "OPEN", "PENDING"]
|
78
86
|
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
79
87
|
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
@@ -92,9 +100,11 @@ module MergeATSClient
|
|
92
100
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
93
101
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
94
102
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
103
|
+
query_params[:'offices'] = opts[:'offices'] if !opts[:'offices'].nil?
|
95
104
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
96
105
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
97
106
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
107
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
98
108
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
99
109
|
|
100
110
|
# header parameters
|
@@ -138,7 +148,8 @@ module MergeATSClient
|
|
138
148
|
# @param [Hash] opts the optional parameters
|
139
149
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
140
150
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
141
|
-
# @option opts [String] :remote_fields
|
151
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
152
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
142
153
|
# @return [Job]
|
143
154
|
def jobs_retrieve(x_account_token, id, opts = {})
|
144
155
|
data, _status_code, _headers = jobs_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -151,7 +162,8 @@ module MergeATSClient
|
|
151
162
|
# @param [Hash] opts the optional parameters
|
152
163
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
153
164
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
154
|
-
# @option opts [String] :remote_fields
|
165
|
+
# @option opts [String] :remote_fields Deprecated. Use show_enum_origins.
|
166
|
+
# @option opts [String] :show_enum_origins Which fields should be returned in non-normalized form.
|
155
167
|
# @return [Array<(Job, Integer, Hash)>] Job data, response status code and response headers
|
156
168
|
def jobs_retrieve_with_http_info(x_account_token, id, opts = {})
|
157
169
|
if @api_client.config.debugging
|
@@ -173,6 +185,10 @@ module MergeATSClient
|
|
173
185
|
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
174
186
|
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
175
187
|
end
|
188
|
+
allowable_values = ["status"]
|
189
|
+
if @api_client.config.client_side_validation && opts[:'show_enum_origins'] && !allowable_values.include?(opts[:'show_enum_origins'])
|
190
|
+
fail ArgumentError, "invalid value for \"show_enum_origins\", must be one of #{allowable_values}"
|
191
|
+
end
|
176
192
|
# resource path
|
177
193
|
local_var_path = '/jobs/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
178
194
|
|
@@ -181,6 +197,7 @@ module MergeATSClient
|
|
181
197
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
182
198
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
183
199
|
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
200
|
+
query_params[:'show_enum_origins'] = opts[:'show_enum_origins'] if !opts[:'show_enum_origins'].nil?
|
184
201
|
|
185
202
|
# header parameters
|
186
203
|
header_params = opts[:header_params] || {}
|
@@ -21,7 +21,7 @@ module MergeATSClient
|
|
21
21
|
end
|
22
22
|
# List linked accounts for your organization.
|
23
23
|
# @param [Hash] opts the optional parameters
|
24
|
-
# @option opts [String] :category
|
24
|
+
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage
|
25
25
|
# @option opts [String] :cursor The pagination cursor value.
|
26
26
|
# @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
|
27
27
|
# @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
|
@@ -42,7 +42,7 @@ module MergeATSClient
|
|
42
42
|
|
43
43
|
# List linked accounts for your organization.
|
44
44
|
# @param [Hash] opts the optional parameters
|
45
|
-
# @option opts [String] :category
|
45
|
+
# @option opts [String] :category Options: ('hris', 'ats', 'accounting', 'ticketing', 'crm', 'mktg', 'filestorage') * `hris` - hris * `ats` - ats * `accounting` - accounting * `ticketing` - ticketing * `crm` - crm * `mktg` - mktg * `filestorage` - filestorage
|
46
46
|
# @option opts [String] :cursor The pagination cursor value.
|
47
47
|
# @option opts [String] :end_user_email_address If provided, will only return linked accounts associated with the given email address.
|
48
48
|
# @option opts [String] :end_user_organization_name If provided, will only return linked accounts associated with the given organization name.
|
@@ -60,7 +60,7 @@ module MergeATSClient
|
|
60
60
|
if @api_client.config.debugging
|
61
61
|
@api_client.config.logger.debug 'Calling API: LinkedAccountsApi.linked_accounts_list ...'
|
62
62
|
end
|
63
|
-
allowable_values = ["accounting", "ats", "crm", "hris", "ticketing"]
|
63
|
+
allowable_values = ["accounting", "ats", "crm", "filestorage", "hris", "mktg", "ticketing"]
|
64
64
|
if @api_client.config.client_side_validation && opts[:'category'] && !allowable_values.include?(opts[:'category'])
|
65
65
|
fail ArgumentError, "invalid value for \"category\", must be one of #{allowable_values}"
|
66
66
|
end
|