merge_ats_client 2.0.0 → 2.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +8 -6
- data/docs/AccountDetails.md +3 -1
- data/docs/AccountDetailsAndActions.md +2 -0
- data/docs/ActivitiesApi.md +7 -3
- data/docs/Activity.md +1 -1
- data/docs/ApplicationsApi.md +84 -2
- data/docs/AttachmentsApi.md +7 -3
- data/docs/CandidatesApi.md +2 -2
- data/docs/DataPassthroughRequest.md +3 -1
- data/docs/Department.md +1 -1
- data/docs/DepartmentsApi.md +2 -2
- data/docs/EEOC.md +1 -1
- data/docs/EeocsApi.md +7 -3
- data/docs/EndUserDetailsRequest.md +9 -7
- data/docs/InterviewsApi.md +7 -3
- data/docs/Job.md +4 -2
- data/docs/JobInterviewStage.md +2 -2
- data/docs/JobInterviewStagesApi.md +2 -2
- data/docs/JobsApi.md +7 -3
- data/docs/LinkToken.md +3 -1
- data/docs/LinkedAccountsApi.md +2 -0
- data/docs/Offer.md +1 -1
- data/docs/OffersApi.md +7 -3
- data/docs/Office.md +1 -1
- data/docs/OfficesApi.md +2 -2
- data/docs/RejectReason.md +1 -1
- data/docs/RejectReasonsApi.md +2 -2
- data/docs/RemoteResponse.md +5 -1
- data/docs/RemoteUser.md +1 -1
- data/docs/ResponseTypeEnum.md +15 -0
- data/docs/ScheduledInterview.md +1 -1
- data/docs/Scorecard.md +1 -1
- data/docs/ScorecardsApi.md +7 -3
- data/docs/SyncStatus.md +2 -2
- data/docs/SyncStatusApi.md +1 -1
- data/docs/Tag.md +1 -1
- data/docs/TagsApi.md +2 -2
- data/docs/UpdateApplicationStageRequest.md +20 -0
- data/docs/UsersApi.md +7 -3
- data/lib/merge_ats_client/api/activities_api.rb +16 -2
- data/lib/merge_ats_client/api/applications_api.rb +80 -2
- data/lib/merge_ats_client/api/attachments_api.rb +16 -2
- data/lib/merge_ats_client/api/candidates_api.rb +2 -2
- data/lib/merge_ats_client/api/departments_api.rb +2 -2
- data/lib/merge_ats_client/api/eeocs_api.rb +16 -2
- data/lib/merge_ats_client/api/interviews_api.rb +16 -2
- data/lib/merge_ats_client/api/job_interview_stages_api.rb +2 -2
- data/lib/merge_ats_client/api/jobs_api.rb +16 -2
- data/lib/merge_ats_client/api/linked_accounts_api.rb +3 -0
- data/lib/merge_ats_client/api/offers_api.rb +16 -2
- data/lib/merge_ats_client/api/offices_api.rb +2 -2
- data/lib/merge_ats_client/api/reject_reasons_api.rb +2 -2
- data/lib/merge_ats_client/api/scorecards_api.rb +16 -2
- data/lib/merge_ats_client/api/sync_status_api.rb +2 -2
- data/lib/merge_ats_client/api/tags_api.rb +2 -2
- data/lib/merge_ats_client/api/users_api.rb +16 -2
- data/lib/merge_ats_client/models/access_role_enum.rb +17 -7
- data/lib/merge_ats_client/models/account_details.rb +15 -4
- data/lib/merge_ats_client/models/account_details_and_actions.rb +12 -1
- data/lib/merge_ats_client/models/account_details_and_actions_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/activity.rb +1 -1
- data/lib/merge_ats_client/models/activity_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/application.rb +1 -1
- data/lib/merge_ats_client/models/application_request.rb +3 -3
- data/lib/merge_ats_client/models/attachment_request.rb +2 -2
- data/lib/merge_ats_client/models/attachment_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/candidate.rb +1 -1
- data/lib/merge_ats_client/models/candidate_request.rb +3 -3
- data/lib/merge_ats_client/models/categories_enum.rb +17 -7
- data/lib/merge_ats_client/models/category_enum.rb +17 -7
- data/lib/merge_ats_client/models/data_passthrough_request.rb +15 -6
- data/lib/merge_ats_client/models/department.rb +1 -1
- data/lib/merge_ats_client/models/disability_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/eeoc.rb +1 -1
- data/lib/merge_ats_client/models/email_address_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/encoding_enum.rb +18 -7
- data/lib/merge_ats_client/models/end_user_details_request.rb +28 -11
- data/lib/merge_ats_client/models/gender_enum.rb +17 -7
- data/lib/merge_ats_client/models/issue.rb +1 -1
- data/lib/merge_ats_client/models/issue_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/job.rb +14 -3
- data/lib/merge_ats_client/models/job_interview_stage.rb +3 -2
- data/lib/merge_ats_client/models/job_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/link_token.rb +13 -4
- data/lib/merge_ats_client/models/meta_response.rb +1 -1
- data/lib/merge_ats_client/models/method_enum.rb +17 -7
- data/lib/merge_ats_client/models/offer.rb +1 -1
- data/lib/merge_ats_client/models/offer_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/office.rb +1 -1
- data/lib/merge_ats_client/models/overall_recommendation_enum.rb +17 -7
- data/lib/merge_ats_client/models/phone_number_type_enum.rb +17 -7
- data/lib/merge_ats_client/models/race_enum.rb +17 -7
- data/lib/merge_ats_client/models/reason_enum.rb +17 -7
- data/lib/merge_ats_client/models/reject_reason.rb +1 -1
- data/lib/merge_ats_client/models/remote_response.rb +23 -9
- data/lib/merge_ats_client/models/remote_user.rb +1 -1
- data/lib/merge_ats_client/models/request_format_enum.rb +17 -7
- data/lib/merge_ats_client/models/response_type_enum.rb +45 -0
- data/lib/merge_ats_client/models/scheduled_interview.rb +2 -2
- data/lib/merge_ats_client/models/scheduled_interview_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/scorecard.rb +2 -2
- data/lib/merge_ats_client/models/sync_status.rb +0 -10
- data/lib/merge_ats_client/models/sync_status_status_enum.rb +18 -7
- data/lib/merge_ats_client/models/tag.rb +2 -2
- data/lib/merge_ats_client/models/{remote_data_request.rb → update_application_stage_request.rb} +26 -35
- data/lib/merge_ats_client/models/url_type_enum.rb +18 -7
- data/lib/merge_ats_client/models/veteran_status_enum.rb +17 -7
- data/lib/merge_ats_client/models/visibility_enum.rb +17 -7
- data/lib/merge_ats_client/version.rb +1 -1
- data/lib/merge_ats_client.rb +2 -1
- data/spec/api/activities_api_spec.rb +3 -1
- data/spec/api/applications_api_spec.rb +16 -1
- data/spec/api/attachments_api_spec.rb +3 -1
- data/spec/api/candidates_api_spec.rb +1 -1
- data/spec/api/departments_api_spec.rb +1 -1
- data/spec/api/eeocs_api_spec.rb +3 -1
- data/spec/api/interviews_api_spec.rb +3 -1
- data/spec/api/job_interview_stages_api_spec.rb +1 -1
- data/spec/api/jobs_api_spec.rb +3 -1
- data/spec/api/linked_accounts_api_spec.rb +1 -0
- data/spec/api/offers_api_spec.rb +3 -1
- data/spec/api/offices_api_spec.rb +1 -1
- data/spec/api/reject_reasons_api_spec.rb +1 -1
- data/spec/api/scorecards_api_spec.rb +3 -1
- data/spec/api/sync_status_api_spec.rb +1 -1
- data/spec/api/tags_api_spec.rb +1 -1
- data/spec/api/users_api_spec.rb +3 -1
- data/spec/models/account_details_and_actions_spec.rb +6 -0
- data/spec/models/account_details_spec.rb +6 -0
- data/spec/models/data_passthrough_request_spec.rb +6 -0
- data/spec/models/end_user_details_request_spec.rb +6 -0
- data/spec/models/job_spec.rb +6 -0
- data/spec/models/link_token_spec.rb +6 -0
- data/spec/models/remote_response_spec.rb +12 -0
- data/spec/models/response_type_enum_spec.rb +28 -0
- data/spec/models/update_application_stage_request_spec.rb +40 -0
- metadata +115 -108
@@ -19,6 +19,84 @@ module MergeATSClient
|
|
19
19
|
def initialize(api_client = ApiClient.default)
|
20
20
|
@api_client = api_client
|
21
21
|
end
|
22
|
+
# Updates the `current_stage` field of an `Application` object
|
23
|
+
# @param x_account_token [String] Token identifying the end user.
|
24
|
+
# @param id [String]
|
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
|
+
# @option opts [UpdateApplicationStageRequest] :update_application_stage_request
|
29
|
+
# @return [ApplicationResponse]
|
30
|
+
def applications_change_stage_create(x_account_token, id, opts = {})
|
31
|
+
data, _status_code, _headers = applications_change_stage_create_with_http_info(x_account_token, id, opts)
|
32
|
+
data
|
33
|
+
end
|
34
|
+
|
35
|
+
# Updates the `current_stage` field of an `Application` object
|
36
|
+
# @param x_account_token [String] Token identifying the end user.
|
37
|
+
# @param id [String]
|
38
|
+
# @param [Hash] opts the optional parameters
|
39
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
40
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
41
|
+
# @option opts [UpdateApplicationStageRequest] :update_application_stage_request
|
42
|
+
# @return [Array<(ApplicationResponse, Integer, Hash)>] ApplicationResponse data, response status code and response headers
|
43
|
+
def applications_change_stage_create_with_http_info(x_account_token, id, opts = {})
|
44
|
+
if @api_client.config.debugging
|
45
|
+
@api_client.config.logger.debug 'Calling API: ApplicationsApi.applications_change_stage_create ...'
|
46
|
+
end
|
47
|
+
# verify the required parameter 'x_account_token' is set
|
48
|
+
if @api_client.config.client_side_validation && x_account_token.nil?
|
49
|
+
fail ArgumentError, "Missing the required parameter 'x_account_token' when calling ApplicationsApi.applications_change_stage_create"
|
50
|
+
end
|
51
|
+
# verify the required parameter 'id' is set
|
52
|
+
if @api_client.config.client_side_validation && id.nil?
|
53
|
+
fail ArgumentError, "Missing the required parameter 'id' when calling ApplicationsApi.applications_change_stage_create"
|
54
|
+
end
|
55
|
+
# resource path
|
56
|
+
local_var_path = '/applications/{id}/change-stage'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
57
|
+
|
58
|
+
# query parameters
|
59
|
+
query_params = opts[:query_params] || {}
|
60
|
+
query_params[:'is_debug_mode'] = opts[:'is_debug_mode'] if !opts[:'is_debug_mode'].nil?
|
61
|
+
query_params[:'run_async'] = opts[:'run_async'] if !opts[:'run_async'].nil?
|
62
|
+
|
63
|
+
# header parameters
|
64
|
+
header_params = opts[:header_params] || {}
|
65
|
+
# HTTP header 'Accept' (if needed)
|
66
|
+
header_params['Accept'] = @api_client.select_header_accept(['application/json'])
|
67
|
+
# HTTP header 'Content-Type'
|
68
|
+
header_params['Content-Type'] = @api_client.select_header_content_type(['application/json', 'application/x-www-form-urlencoded', 'multipart/form-data'])
|
69
|
+
header_params[:'X-Account-Token'] = x_account_token
|
70
|
+
|
71
|
+
# form parameters
|
72
|
+
form_params = opts[:form_params] || {}
|
73
|
+
|
74
|
+
# http body (model)
|
75
|
+
post_body = opts[:debug_body] || @api_client.object_to_http_body(opts[:'update_application_stage_request'])
|
76
|
+
|
77
|
+
# return_type
|
78
|
+
return_type = opts[:debug_return_type] || 'ApplicationResponse'
|
79
|
+
|
80
|
+
# auth_names
|
81
|
+
auth_names = opts[:debug_auth_names] || ['tokenAuth']
|
82
|
+
|
83
|
+
new_options = opts.merge(
|
84
|
+
:operation => :"ApplicationsApi.applications_change_stage_create",
|
85
|
+
:header_params => header_params,
|
86
|
+
:query_params => query_params,
|
87
|
+
:form_params => form_params,
|
88
|
+
:body => post_body,
|
89
|
+
:auth_names => auth_names,
|
90
|
+
:return_type => return_type
|
91
|
+
)
|
92
|
+
|
93
|
+
data, status_code, headers = @api_client.call_api(:POST, local_var_path, new_options)
|
94
|
+
if @api_client.config.debugging
|
95
|
+
@api_client.config.logger.debug "API called: ApplicationsApi#applications_change_stage_create\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}"
|
96
|
+
end
|
97
|
+
return data, status_code, headers
|
98
|
+
end
|
99
|
+
|
22
100
|
# Creates an `Application` object with the given values.
|
23
101
|
# @param x_account_token [String] Token identifying the end user.
|
24
102
|
# @param application_endpoint_request [ApplicationEndpointRequest]
|
@@ -105,7 +183,7 @@ module MergeATSClient
|
|
105
183
|
# @option opts [String] :current_stage_id If provided, will only return applications at this interview stage.
|
106
184
|
# @option opts [String] :cursor The pagination cursor value.
|
107
185
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
108
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
186
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
109
187
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
110
188
|
# @option opts [String] :job_id If provided, will only return applications for this job.
|
111
189
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -130,7 +208,7 @@ module MergeATSClient
|
|
130
208
|
# @option opts [String] :current_stage_id If provided, will only return applications at this interview stage.
|
131
209
|
# @option opts [String] :cursor The pagination cursor value.
|
132
210
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
133
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
211
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
134
212
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
135
213
|
# @option opts [String] :job_id If provided, will only return applications for this job.
|
136
214
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -103,11 +103,12 @@ module MergeATSClient
|
|
103
103
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
104
104
|
# @option opts [String] :cursor The pagination cursor value.
|
105
105
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
106
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
106
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
107
107
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
108
108
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
109
109
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
110
110
|
# @option opts [Integer] :page_size Number of results to return per page.
|
111
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
111
112
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
112
113
|
# @return [PaginatedAttachmentList]
|
113
114
|
def attachments_list(x_account_token, opts = {})
|
@@ -123,11 +124,12 @@ module MergeATSClient
|
|
123
124
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
124
125
|
# @option opts [String] :cursor The pagination cursor value.
|
125
126
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
126
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
127
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
127
128
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
128
129
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
129
130
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
130
131
|
# @option opts [Integer] :page_size Number of results to return per page.
|
132
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
131
133
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
132
134
|
# @return [Array<(PaginatedAttachmentList, Integer, Hash)>] PaginatedAttachmentList data, response status code and response headers
|
133
135
|
def attachments_list_with_http_info(x_account_token, opts = {})
|
@@ -142,6 +144,10 @@ module MergeATSClient
|
|
142
144
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
143
145
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
144
146
|
end
|
147
|
+
allowable_values = ["attachment_type"]
|
148
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
149
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
150
|
+
end
|
145
151
|
# resource path
|
146
152
|
local_var_path = '/attachments'
|
147
153
|
|
@@ -157,6 +163,7 @@ module MergeATSClient
|
|
157
163
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
158
164
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
159
165
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
166
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
160
167
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
161
168
|
|
162
169
|
# header parameters
|
@@ -262,6 +269,7 @@ module MergeATSClient
|
|
262
269
|
# @param [Hash] opts the optional parameters
|
263
270
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
264
271
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
272
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
265
273
|
# @return [Attachment]
|
266
274
|
def attachments_retrieve(x_account_token, id, opts = {})
|
267
275
|
data, _status_code, _headers = attachments_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -274,6 +282,7 @@ module MergeATSClient
|
|
274
282
|
# @param [Hash] opts the optional parameters
|
275
283
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
276
284
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
285
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
277
286
|
# @return [Array<(Attachment, Integer, Hash)>] Attachment data, response status code and response headers
|
278
287
|
def attachments_retrieve_with_http_info(x_account_token, id, opts = {})
|
279
288
|
if @api_client.config.debugging
|
@@ -291,6 +300,10 @@ module MergeATSClient
|
|
291
300
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
292
301
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
293
302
|
end
|
303
|
+
allowable_values = ["attachment_type"]
|
304
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
305
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
306
|
+
end
|
294
307
|
# resource path
|
295
308
|
local_var_path = '/attachments/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
296
309
|
|
@@ -298,6 +311,7 @@ module MergeATSClient
|
|
298
311
|
query_params = opts[:query_params] || {}
|
299
312
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
300
313
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
314
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
301
315
|
|
302
316
|
# header parameters
|
303
317
|
header_params = opts[:header_params] || {}
|
@@ -179,7 +179,7 @@ module MergeATSClient
|
|
179
179
|
# @option opts [String] :cursor The pagination cursor value.
|
180
180
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
181
181
|
# @option opts [String] :first_name If provided, will only return candidates with this first name.
|
182
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
182
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
183
183
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
184
184
|
# @option opts [String] :last_name If provided, will only return candidates with this last name.
|
185
185
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -200,7 +200,7 @@ module MergeATSClient
|
|
200
200
|
# @option opts [String] :cursor The pagination cursor value.
|
201
201
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
202
202
|
# @option opts [String] :first_name If provided, will only return candidates with this first name.
|
203
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
203
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
204
204
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
205
205
|
# @option opts [String] :last_name If provided, will only return candidates with this last name.
|
206
206
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -25,7 +25,7 @@ module MergeATSClient
|
|
25
25
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
26
26
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
27
27
|
# @option opts [String] :cursor The pagination cursor value.
|
28
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
28
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
29
29
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
30
30
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
31
31
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -43,7 +43,7 @@ module MergeATSClient
|
|
43
43
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
44
44
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
45
45
|
# @option opts [String] :cursor The pagination cursor value.
|
46
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
46
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
47
47
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
48
48
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
49
49
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -27,11 +27,12 @@ module MergeATSClient
|
|
27
27
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
28
28
|
# @option opts [String] :cursor The pagination cursor value.
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
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
32
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
33
33
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
35
36
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
36
37
|
# @return [PaginatedEEOCList]
|
37
38
|
def eeocs_list(x_account_token, opts = {})
|
@@ -47,11 +48,12 @@ module MergeATSClient
|
|
47
48
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
48
49
|
# @option opts [String] :cursor The pagination cursor value.
|
49
50
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
50
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
51
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
51
52
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
52
53
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
53
54
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
54
55
|
# @option opts [Integer] :page_size Number of results to return per page.
|
56
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
55
57
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
56
58
|
# @return [Array<(PaginatedEEOCList, Integer, Hash)>] PaginatedEEOCList data, response status code and response headers
|
57
59
|
def eeocs_list_with_http_info(x_account_token, opts = {})
|
@@ -66,6 +68,10 @@ module MergeATSClient
|
|
66
68
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
67
69
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
68
70
|
end
|
71
|
+
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"]
|
72
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
73
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
74
|
+
end
|
69
75
|
# resource path
|
70
76
|
local_var_path = '/eeocs'
|
71
77
|
|
@@ -81,6 +87,7 @@ module MergeATSClient
|
|
81
87
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
82
88
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
83
89
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
90
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
84
91
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
85
92
|
|
86
93
|
# header parameters
|
@@ -124,6 +131,7 @@ module MergeATSClient
|
|
124
131
|
# @param [Hash] opts the optional parameters
|
125
132
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
126
133
|
# @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 Which fields should be returned in non-normalized form.
|
127
135
|
# @return [EEOC]
|
128
136
|
def eeocs_retrieve(x_account_token, id, opts = {})
|
129
137
|
data, _status_code, _headers = eeocs_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -136,6 +144,7 @@ module MergeATSClient
|
|
136
144
|
# @param [Hash] opts the optional parameters
|
137
145
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
138
146
|
# @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 Which fields should be returned in non-normalized form.
|
139
148
|
# @return [Array<(EEOC, Integer, Hash)>] EEOC data, response status code and response headers
|
140
149
|
def eeocs_retrieve_with_http_info(x_account_token, id, opts = {})
|
141
150
|
if @api_client.config.debugging
|
@@ -153,6 +162,10 @@ module MergeATSClient
|
|
153
162
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
154
163
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
155
164
|
end
|
165
|
+
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"]
|
166
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
167
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
168
|
+
end
|
156
169
|
# resource path
|
157
170
|
local_var_path = '/eeocs/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
158
171
|
|
@@ -160,6 +173,7 @@ module MergeATSClient
|
|
160
173
|
query_params = opts[:query_params] || {}
|
161
174
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
162
175
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
176
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
163
177
|
|
164
178
|
# header parameters
|
165
179
|
header_params = opts[:header_params] || {}
|
@@ -27,13 +27,14 @@ module MergeATSClient
|
|
27
27
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
28
28
|
# @option opts [String] :cursor The pagination cursor value.
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
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
32
|
# @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
|
33
33
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
34
34
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
35
35
|
# @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
|
36
36
|
# @option opts [Integer] :page_size Number of results to return per page.
|
37
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
37
38
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
38
39
|
# @return [PaginatedScheduledInterviewList]
|
39
40
|
def interviews_list(x_account_token, opts = {})
|
@@ -49,13 +50,14 @@ module MergeATSClient
|
|
49
50
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
50
51
|
# @option opts [String] :cursor The pagination cursor value.
|
51
52
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
52
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
53
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
53
54
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
54
55
|
# @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
|
55
56
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
56
57
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
57
58
|
# @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
|
58
59
|
# @option opts [Integer] :page_size Number of results to return per page.
|
60
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
59
61
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
60
62
|
# @return [Array<(PaginatedScheduledInterviewList, Integer, Hash)>] PaginatedScheduledInterviewList data, response status code and response headers
|
61
63
|
def interviews_list_with_http_info(x_account_token, opts = {})
|
@@ -70,6 +72,10 @@ module MergeATSClient
|
|
70
72
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
71
73
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
72
74
|
end
|
75
|
+
allowable_values = ["status"]
|
76
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
77
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
78
|
+
end
|
73
79
|
# resource path
|
74
80
|
local_var_path = '/interviews'
|
75
81
|
|
@@ -87,6 +93,7 @@ module MergeATSClient
|
|
87
93
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
88
94
|
query_params[:'organizer_id'] = opts[:'organizer_id'] if !opts[:'organizer_id'].nil?
|
89
95
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
96
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
90
97
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
91
98
|
|
92
99
|
# header parameters
|
@@ -130,6 +137,7 @@ module MergeATSClient
|
|
130
137
|
# @param [Hash] opts the optional parameters
|
131
138
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
132
139
|
# @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 Which fields should be returned in non-normalized form.
|
133
141
|
# @return [ScheduledInterview]
|
134
142
|
def interviews_retrieve(x_account_token, id, opts = {})
|
135
143
|
data, _status_code, _headers = interviews_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -142,6 +150,7 @@ module MergeATSClient
|
|
142
150
|
# @param [Hash] opts the optional parameters
|
143
151
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
144
152
|
# @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 Which fields should be returned in non-normalized form.
|
145
154
|
# @return [Array<(ScheduledInterview, Integer, Hash)>] ScheduledInterview data, response status code and response headers
|
146
155
|
def interviews_retrieve_with_http_info(x_account_token, id, opts = {})
|
147
156
|
if @api_client.config.debugging
|
@@ -159,6 +168,10 @@ module MergeATSClient
|
|
159
168
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
160
169
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
161
170
|
end
|
171
|
+
allowable_values = ["status"]
|
172
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
173
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
174
|
+
end
|
162
175
|
# resource path
|
163
176
|
local_var_path = '/interviews/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
164
177
|
|
@@ -166,6 +179,7 @@ module MergeATSClient
|
|
166
179
|
query_params = opts[:query_params] || {}
|
167
180
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
168
181
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
182
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
169
183
|
|
170
184
|
# header parameters
|
171
185
|
header_params = opts[:header_params] || {}
|
@@ -26,7 +26,7 @@ module MergeATSClient
|
|
26
26
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
27
27
|
# @option opts [String] :cursor The pagination cursor value.
|
28
28
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
29
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
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
32
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -46,7 +46,7 @@ module MergeATSClient
|
|
46
46
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
47
47
|
# @option opts [String] :cursor The pagination cursor value.
|
48
48
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
49
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
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
52
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -27,11 +27,12 @@ module MergeATSClient
|
|
27
27
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
28
28
|
# @option opts [String] :cursor The pagination cursor value.
|
29
29
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
30
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
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
32
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
33
33
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
34
34
|
# @option opts [Integer] :page_size Number of results to return per page.
|
35
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
35
36
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
36
37
|
# @option opts [String] :status If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING')
|
37
38
|
# @return [PaginatedJobList]
|
@@ -48,11 +49,12 @@ module MergeATSClient
|
|
48
49
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
49
50
|
# @option opts [String] :cursor The pagination cursor value.
|
50
51
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
51
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
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
54
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
54
55
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
55
56
|
# @option opts [Integer] :page_size Number of results to return per page.
|
57
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
56
58
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
57
59
|
# @option opts [String] :status If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING')
|
58
60
|
# @return [Array<(PaginatedJobList, Integer, Hash)>] PaginatedJobList data, response status code and response headers
|
@@ -68,6 +70,10 @@ module MergeATSClient
|
|
68
70
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
69
71
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
70
72
|
end
|
73
|
+
allowable_values = ["status"]
|
74
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
75
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
76
|
+
end
|
71
77
|
allowable_values = ["ARCHIVED", "CLOSED", "DRAFT", "OPEN", "PENDING"]
|
72
78
|
if @api_client.config.client_side_validation && opts[:'status'] && !allowable_values.include?(opts[:'status'])
|
73
79
|
fail ArgumentError, "invalid value for \"status\", must be one of #{allowable_values}"
|
@@ -87,6 +93,7 @@ module MergeATSClient
|
|
87
93
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
88
94
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
89
95
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
96
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
90
97
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
91
98
|
query_params[:'status'] = opts[:'status'] if !opts[:'status'].nil?
|
92
99
|
|
@@ -131,6 +138,7 @@ 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.
|
141
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
134
142
|
# @return [Job]
|
135
143
|
def jobs_retrieve(x_account_token, id, opts = {})
|
136
144
|
data, _status_code, _headers = jobs_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -143,6 +151,7 @@ module MergeATSClient
|
|
143
151
|
# @param [Hash] opts the optional parameters
|
144
152
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
145
153
|
# @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 Which fields should be returned in non-normalized form.
|
146
155
|
# @return [Array<(Job, Integer, Hash)>] Job data, response status code and response headers
|
147
156
|
def jobs_retrieve_with_http_info(x_account_token, id, opts = {})
|
148
157
|
if @api_client.config.debugging
|
@@ -160,6 +169,10 @@ module MergeATSClient
|
|
160
169
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
161
170
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
162
171
|
end
|
172
|
+
allowable_values = ["status"]
|
173
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
174
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
175
|
+
end
|
163
176
|
# resource path
|
164
177
|
local_var_path = '/jobs/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
165
178
|
|
@@ -167,6 +180,7 @@ module MergeATSClient
|
|
167
180
|
query_params = opts[:query_params] || {}
|
168
181
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
169
182
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
183
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
170
184
|
|
171
185
|
# header parameters
|
172
186
|
header_params = opts[:header_params] || {}
|
@@ -29,6 +29,7 @@ module MergeATSClient
|
|
29
29
|
# @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
|
30
30
|
# @option opts [String] :id
|
31
31
|
# @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
|
32
|
+
# @option opts [Boolean] :include_duplicates If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
|
32
33
|
# @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
|
33
34
|
# @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
|
34
35
|
# @option opts [Integer] :page_size Number of results to return per page.
|
@@ -49,6 +50,7 @@ module MergeATSClient
|
|
49
50
|
# @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
|
50
51
|
# @option opts [String] :id
|
51
52
|
# @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
|
53
|
+
# @option opts [Boolean] :include_duplicates If `true`, will include complete production duplicates of the account specified by the `id` query parameter in the response. `id` must be for a complete production linked account.
|
52
54
|
# @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
|
53
55
|
# @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
|
54
56
|
# @option opts [Integer] :page_size Number of results to return per page.
|
@@ -75,6 +77,7 @@ module MergeATSClient
|
|
75
77
|
query_params[:'end_user_origin_ids'] = opts[:'end_user_origin_ids'] if !opts[:'end_user_origin_ids'].nil?
|
76
78
|
query_params[:'id'] = opts[:'id'] if !opts[:'id'].nil?
|
77
79
|
query_params[:'ids'] = opts[:'ids'] if !opts[:'ids'].nil?
|
80
|
+
query_params[:'include_duplicates'] = opts[:'include_duplicates'] if !opts[:'include_duplicates'].nil?
|
78
81
|
query_params[:'integration_name'] = opts[:'integration_name'] if !opts[:'integration_name'].nil?
|
79
82
|
query_params[:'is_test_account'] = opts[:'is_test_account'] if !opts[:'is_test_account'].nil?
|
80
83
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
@@ -28,11 +28,12 @@ module MergeATSClient
|
|
28
28
|
# @option opts [String] :creator_id If provided, will only return offers created by this user.
|
29
29
|
# @option opts [String] :cursor The pagination cursor value.
|
30
30
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
31
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
31
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
32
32
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
33
33
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
34
34
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
35
35
|
# @option opts [Integer] :page_size Number of results to return per page.
|
36
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
36
37
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
37
38
|
# @return [PaginatedOfferList]
|
38
39
|
def offers_list(x_account_token, opts = {})
|
@@ -49,11 +50,12 @@ module MergeATSClient
|
|
49
50
|
# @option opts [String] :creator_id If provided, will only return offers created by this user.
|
50
51
|
# @option opts [String] :cursor The pagination cursor value.
|
51
52
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
52
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
53
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
53
54
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
54
55
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
55
56
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
56
57
|
# @option opts [Integer] :page_size Number of results to return per page.
|
58
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
57
59
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
58
60
|
# @return [Array<(PaginatedOfferList, Integer, Hash)>] PaginatedOfferList data, response status code and response headers
|
59
61
|
def offers_list_with_http_info(x_account_token, opts = {})
|
@@ -68,6 +70,10 @@ module MergeATSClient
|
|
68
70
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
69
71
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
70
72
|
end
|
73
|
+
allowable_values = ["status"]
|
74
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
75
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
76
|
+
end
|
71
77
|
# resource path
|
72
78
|
local_var_path = '/offers'
|
73
79
|
|
@@ -84,6 +90,7 @@ module MergeATSClient
|
|
84
90
|
query_params[:'modified_after'] = opts[:'modified_after'] if !opts[:'modified_after'].nil?
|
85
91
|
query_params[:'modified_before'] = opts[:'modified_before'] if !opts[:'modified_before'].nil?
|
86
92
|
query_params[:'page_size'] = opts[:'page_size'] if !opts[:'page_size'].nil?
|
93
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
87
94
|
query_params[:'remote_id'] = opts[:'remote_id'] if !opts[:'remote_id'].nil?
|
88
95
|
|
89
96
|
# header parameters
|
@@ -127,6 +134,7 @@ module MergeATSClient
|
|
127
134
|
# @param [Hash] opts the optional parameters
|
128
135
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
129
136
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
137
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
130
138
|
# @return [Offer]
|
131
139
|
def offers_retrieve(x_account_token, id, opts = {})
|
132
140
|
data, _status_code, _headers = offers_retrieve_with_http_info(x_account_token, id, opts)
|
@@ -139,6 +147,7 @@ module MergeATSClient
|
|
139
147
|
# @param [Hash] opts the optional parameters
|
140
148
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
141
149
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
150
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
142
151
|
# @return [Array<(Offer, Integer, Hash)>] Offer data, response status code and response headers
|
143
152
|
def offers_retrieve_with_http_info(x_account_token, id, opts = {})
|
144
153
|
if @api_client.config.debugging
|
@@ -156,6 +165,10 @@ module MergeATSClient
|
|
156
165
|
if @api_client.config.client_side_validation && opts[:'expand'] && !allowable_values.include?(opts[:'expand'])
|
157
166
|
fail ArgumentError, "invalid value for \"expand\", must be one of #{allowable_values}"
|
158
167
|
end
|
168
|
+
allowable_values = ["status"]
|
169
|
+
if @api_client.config.client_side_validation && opts[:'remote_fields'] && !allowable_values.include?(opts[:'remote_fields'])
|
170
|
+
fail ArgumentError, "invalid value for \"remote_fields\", must be one of #{allowable_values}"
|
171
|
+
end
|
159
172
|
# resource path
|
160
173
|
local_var_path = '/offers/{id}'.sub('{' + 'id' + '}', CGI.escape(id.to_s))
|
161
174
|
|
@@ -163,6 +176,7 @@ module MergeATSClient
|
|
163
176
|
query_params = opts[:query_params] || {}
|
164
177
|
query_params[:'expand'] = opts[:'expand'] if !opts[:'expand'].nil?
|
165
178
|
query_params[:'include_remote_data'] = opts[:'include_remote_data'] if !opts[:'include_remote_data'].nil?
|
179
|
+
query_params[:'remote_fields'] = opts[:'remote_fields'] if !opts[:'remote_fields'].nil?
|
166
180
|
|
167
181
|
# header parameters
|
168
182
|
header_params = opts[:header_params] || {}
|
@@ -25,7 +25,7 @@ module MergeATSClient
|
|
25
25
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
26
26
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
27
27
|
# @option opts [String] :cursor The pagination cursor value.
|
28
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
28
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
29
29
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
30
30
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
31
31
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -43,7 +43,7 @@ module MergeATSClient
|
|
43
43
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
44
44
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
45
45
|
# @option opts [String] :cursor The pagination cursor value.
|
46
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
46
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
47
47
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
48
48
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
49
49
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|