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
data/lib/merge_ats_client/models/{remote_data_request.rb → update_application_stage_request.rb}
RENAMED
@@ -14,16 +14,17 @@ require 'date'
|
|
14
14
|
require 'time'
|
15
15
|
|
16
16
|
module MergeATSClient
|
17
|
-
class
|
18
|
-
|
17
|
+
class UpdateApplicationStageRequest
|
18
|
+
# The interview stage to move the application to.
|
19
|
+
attr_accessor :job_interview_stage
|
19
20
|
|
20
|
-
attr_accessor :
|
21
|
+
attr_accessor :remote_user_id
|
21
22
|
|
22
23
|
# Attribute mapping from ruby-style variable name to JSON key.
|
23
24
|
def self.attribute_map
|
24
25
|
{
|
25
|
-
:'
|
26
|
-
:'
|
26
|
+
:'job_interview_stage' => :'job_interview_stage',
|
27
|
+
:'remote_user_id' => :'remote_user_id'
|
27
28
|
}
|
28
29
|
end
|
29
30
|
|
@@ -35,14 +36,15 @@ module MergeATSClient
|
|
35
36
|
# Attribute type mapping.
|
36
37
|
def self.openapi_types
|
37
38
|
{
|
38
|
-
:'
|
39
|
-
:'
|
39
|
+
:'job_interview_stage' => :'String',
|
40
|
+
:'remote_user_id' => :'String'
|
40
41
|
}
|
41
42
|
end
|
42
43
|
|
43
44
|
# List of attributes with nullable: true
|
44
45
|
def self.openapi_nullable
|
45
46
|
Set.new([
|
47
|
+
:'job_interview_stage',
|
46
48
|
])
|
47
49
|
end
|
48
50
|
|
@@ -50,25 +52,23 @@ module MergeATSClient
|
|
50
52
|
# @param [Hash] attributes Model attributes in the form of hash
|
51
53
|
def initialize(attributes = {})
|
52
54
|
if (!attributes.is_a?(Hash))
|
53
|
-
fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::
|
55
|
+
fail ArgumentError, "The input argument (attributes) must be a hash in `MergeATSClient::UpdateApplicationStageRequest` initialize method"
|
54
56
|
end
|
55
57
|
|
56
58
|
# check to see if the attribute exists and convert string to symbol for hash key
|
57
59
|
attributes = attributes.each_with_object({}) { |(k, v), h|
|
58
60
|
if (!self.class.attribute_map.key?(k.to_sym))
|
59
|
-
fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::
|
61
|
+
fail ArgumentError, "`#{k}` is not a valid attribute in `MergeATSClient::UpdateApplicationStageRequest`. Please check the name to make sure it's valid. List of attributes: " + self.class.attribute_map.keys.inspect
|
60
62
|
end
|
61
63
|
h[k.to_sym] = v
|
62
64
|
}
|
63
65
|
|
64
|
-
if attributes.key?(:'
|
65
|
-
self.
|
66
|
+
if attributes.key?(:'job_interview_stage')
|
67
|
+
self.job_interview_stage = attributes[:'job_interview_stage']
|
66
68
|
end
|
67
69
|
|
68
|
-
if attributes.key?(:'
|
69
|
-
|
70
|
-
self.data = value
|
71
|
-
end
|
70
|
+
if attributes.key?(:'remote_user_id')
|
71
|
+
self.remote_user_id = attributes[:'remote_user_id']
|
72
72
|
end
|
73
73
|
end
|
74
74
|
|
@@ -76,12 +76,8 @@ module MergeATSClient
|
|
76
76
|
# @return Array for valid properties with the reasons
|
77
77
|
def list_invalid_properties
|
78
78
|
invalid_properties = Array.new
|
79
|
-
if
|
80
|
-
invalid_properties.push('invalid value for "
|
81
|
-
end
|
82
|
-
|
83
|
-
if @path.to_s.length < 1
|
84
|
-
invalid_properties.push('invalid value for "path", the character length must be great than or equal to 1.')
|
79
|
+
if !@remote_user_id.nil? && @remote_user_id.to_s.length < 1
|
80
|
+
invalid_properties.push('invalid value for "remote_user_id", the character length must be great than or equal to 1.')
|
85
81
|
end
|
86
82
|
|
87
83
|
invalid_properties
|
@@ -90,23 +86,18 @@ module MergeATSClient
|
|
90
86
|
# Check to see if the all the properties in the model are valid
|
91
87
|
# @return true if the model is valid
|
92
88
|
def valid?
|
93
|
-
return false if
|
94
|
-
return false if @path.to_s.length < 1
|
89
|
+
return false if !@remote_user_id.nil? && @remote_user_id.to_s.length < 1
|
95
90
|
true
|
96
91
|
end
|
97
92
|
|
98
93
|
# Custom attribute writer method with validation
|
99
|
-
# @param [Object]
|
100
|
-
def
|
101
|
-
if
|
102
|
-
fail ArgumentError, '
|
103
|
-
end
|
104
|
-
|
105
|
-
if path.to_s.length < 1
|
106
|
-
fail ArgumentError, 'invalid value for "path", the character length must be great than or equal to 1.'
|
94
|
+
# @param [Object] remote_user_id Value to be assigned
|
95
|
+
def remote_user_id=(remote_user_id)
|
96
|
+
if !remote_user_id.nil? && remote_user_id.to_s.length < 1
|
97
|
+
fail ArgumentError, 'invalid value for "remote_user_id", the character length must be great than or equal to 1.'
|
107
98
|
end
|
108
99
|
|
109
|
-
@
|
100
|
+
@remote_user_id = remote_user_id
|
110
101
|
end
|
111
102
|
|
112
103
|
# Checks equality by comparing each attribute.
|
@@ -114,8 +105,8 @@ module MergeATSClient
|
|
114
105
|
def ==(o)
|
115
106
|
return true if self.equal?(o)
|
116
107
|
self.class == o.class &&
|
117
|
-
|
118
|
-
|
108
|
+
job_interview_stage == o.job_interview_stage &&
|
109
|
+
remote_user_id == o.remote_user_id
|
119
110
|
end
|
120
111
|
|
121
112
|
# @see the `==` method
|
@@ -127,7 +118,7 @@ module MergeATSClient
|
|
127
118
|
# Calculates hash code according to all attributes.
|
128
119
|
# @return [Integer] Hash code
|
129
120
|
def hash
|
130
|
-
[
|
121
|
+
[job_interview_stage, remote_user_id].hash
|
131
122
|
end
|
132
123
|
|
133
124
|
# Builds the object from hash
|
@@ -21,19 +21,30 @@ module MergeATSClient
|
|
21
21
|
BLOG = "BLOG".freeze
|
22
22
|
SOCIAL_MEDIA = "SOCIAL_MEDIA".freeze
|
23
23
|
OTHER = "OTHER".freeze
|
24
|
+
JOB_POSTING = "JOB_POSTING".freeze
|
24
25
|
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
new.build_from_hash(value)
|
30
|
-
end
|
26
|
+
MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
|
27
|
+
|
28
|
+
attr_accessor :value
|
29
|
+
attr_accessor :raw_value
|
31
30
|
|
32
31
|
# Builds the enum from string
|
33
32
|
# @param [String] The enum value in the form of the string
|
34
33
|
# @return [String] The enum value
|
35
34
|
def build_from_hash(value)
|
36
|
-
value
|
35
|
+
@raw_value = value
|
36
|
+
if ["PERSONAL", "COMPANY", "PORTFOLIO", "BLOG", "SOCIAL_MEDIA", "OTHER", "JOB_POSTING", ].include? value
|
37
|
+
@value = value
|
38
|
+
else
|
39
|
+
@value = MERGE_NONSTANDARD_VALUE
|
40
|
+
end
|
41
|
+
|
42
|
+
self
|
43
|
+
end
|
44
|
+
|
45
|
+
def self.build_from_hash(value)
|
46
|
+
IssueStatusEnum.new.build_from_hash(value)
|
37
47
|
end
|
38
48
|
end
|
49
|
+
|
39
50
|
end
|
@@ -19,18 +19,28 @@ module MergeATSClient
|
|
19
19
|
IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN = "I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN".freeze
|
20
20
|
DONT_WISH_TO_ANSWER = "I_DONT_WISH_TO_ANSWER".freeze
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
new.build_from_hash(value)
|
27
|
-
end
|
22
|
+
MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
|
23
|
+
|
24
|
+
attr_accessor :value
|
25
|
+
attr_accessor :raw_value
|
28
26
|
|
29
27
|
# Builds the enum from string
|
30
28
|
# @param [String] The enum value in the form of the string
|
31
29
|
# @return [String] The enum value
|
32
30
|
def build_from_hash(value)
|
33
|
-
value
|
31
|
+
@raw_value = value
|
32
|
+
if ["I_AM_NOT_A_PROTECTED_VETERAN", "I_IDENTIFY_AS_ONE_OR_MORE_OF_THE_CLASSIFICATIONS_OF_A_PROTECTED_VETERAN", "I_DONT_WISH_TO_ANSWER", ].include? value
|
33
|
+
@value = value
|
34
|
+
else
|
35
|
+
@value = MERGE_NONSTANDARD_VALUE
|
36
|
+
end
|
37
|
+
|
38
|
+
self
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.build_from_hash(value)
|
42
|
+
IssueStatusEnum.new.build_from_hash(value)
|
34
43
|
end
|
35
44
|
end
|
45
|
+
|
36
46
|
end
|
@@ -19,18 +19,28 @@ module MergeATSClient
|
|
19
19
|
PUBLIC = "PUBLIC".freeze
|
20
20
|
PRIVATE = "PRIVATE".freeze
|
21
21
|
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
new.build_from_hash(value)
|
27
|
-
end
|
22
|
+
MERGE_NONSTANDARD_VALUE = "MERGE_NONSTANDARD_VALUE".freeze
|
23
|
+
|
24
|
+
attr_accessor :value
|
25
|
+
attr_accessor :raw_value
|
28
26
|
|
29
27
|
# Builds the enum from string
|
30
28
|
# @param [String] The enum value in the form of the string
|
31
29
|
# @return [String] The enum value
|
32
30
|
def build_from_hash(value)
|
33
|
-
value
|
31
|
+
@raw_value = value
|
32
|
+
if ["ADMIN_ONLY", "PUBLIC", "PRIVATE", ].include? value
|
33
|
+
@value = value
|
34
|
+
else
|
35
|
+
@value = MERGE_NONSTANDARD_VALUE
|
36
|
+
end
|
37
|
+
|
38
|
+
self
|
39
|
+
end
|
40
|
+
|
41
|
+
def self.build_from_hash(value)
|
42
|
+
IssueStatusEnum.new.build_from_hash(value)
|
34
43
|
end
|
35
44
|
end
|
45
|
+
|
36
46
|
end
|
data/lib/merge_ats_client.rb
CHANGED
@@ -98,18 +98,19 @@ require 'merge_ats_client/models/race_enum'
|
|
98
98
|
require 'merge_ats_client/models/reason_enum'
|
99
99
|
require 'merge_ats_client/models/reject_reason'
|
100
100
|
require 'merge_ats_client/models/remote_data'
|
101
|
-
require 'merge_ats_client/models/remote_data_request'
|
102
101
|
require 'merge_ats_client/models/remote_key'
|
103
102
|
require 'merge_ats_client/models/remote_key_for_regeneration_request'
|
104
103
|
require 'merge_ats_client/models/remote_response'
|
105
104
|
require 'merge_ats_client/models/remote_user'
|
106
105
|
require 'merge_ats_client/models/request_format_enum'
|
106
|
+
require 'merge_ats_client/models/response_type_enum'
|
107
107
|
require 'merge_ats_client/models/scheduled_interview'
|
108
108
|
require 'merge_ats_client/models/scheduled_interview_status_enum'
|
109
109
|
require 'merge_ats_client/models/scorecard'
|
110
110
|
require 'merge_ats_client/models/sync_status'
|
111
111
|
require 'merge_ats_client/models/sync_status_status_enum'
|
112
112
|
require 'merge_ats_client/models/tag'
|
113
|
+
require 'merge_ats_client/models/update_application_stage_request'
|
113
114
|
require 'merge_ats_client/models/url'
|
114
115
|
require 'merge_ats_client/models/url_request'
|
115
116
|
require 'merge_ats_client/models/url_type_enum'
|
@@ -40,11 +40,12 @@ describe 'ActivitiesApi' do
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
43
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
47
47
|
# @option opts [Integer] :page_size Number of results to return per page.
|
48
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
48
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
49
50
|
# @option opts [String] :user_id If provided, will only return activities done by this user.
|
50
51
|
# @return [PaginatedActivityList]
|
@@ -61,6 +62,7 @@ describe 'ActivitiesApi' do
|
|
61
62
|
# @param [Hash] opts the optional parameters
|
62
63
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
63
64
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
65
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
64
66
|
# @return [Activity]
|
65
67
|
describe 'activities_retrieve test' do
|
66
68
|
it 'should work' do
|
@@ -32,6 +32,21 @@ describe 'ApplicationsApi' do
|
|
32
32
|
end
|
33
33
|
end
|
34
34
|
|
35
|
+
# unit tests for applications_change_stage_create
|
36
|
+
# Updates the `current_stage` field of an `Application` object
|
37
|
+
# @param x_account_token Token identifying the end user.
|
38
|
+
# @param id
|
39
|
+
# @param [Hash] opts the optional parameters
|
40
|
+
# @option opts [Boolean] :is_debug_mode Whether to include debug fields (such as log file links) in the response.
|
41
|
+
# @option opts [Boolean] :run_async Whether or not third-party updates should be run asynchronously.
|
42
|
+
# @option opts [UpdateApplicationStageRequest] :update_application_stage_request
|
43
|
+
# @return [ApplicationResponse]
|
44
|
+
describe 'applications_change_stage_create test' do
|
45
|
+
it 'should work' do
|
46
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
35
50
|
# unit tests for applications_create
|
36
51
|
# Creates an `Application` object with the given values.
|
37
52
|
# @param x_account_token Token identifying the end user.
|
@@ -57,7 +72,7 @@ describe 'ApplicationsApi' do
|
|
57
72
|
# @option opts [String] :current_stage_id If provided, will only return applications at this interview stage.
|
58
73
|
# @option opts [String] :cursor The pagination cursor value.
|
59
74
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
60
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
75
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
61
76
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
62
77
|
# @option opts [String] :job_id If provided, will only return applications for this job.
|
63
78
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -55,11 +55,12 @@ describe 'AttachmentsApi' do
|
|
55
55
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
56
56
|
# @option opts [String] :cursor The pagination cursor value.
|
57
57
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
58
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
58
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
59
59
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
60
60
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
61
61
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
62
62
|
# @option opts [Integer] :page_size Number of results to return per page.
|
63
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
63
64
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
64
65
|
# @return [PaginatedAttachmentList]
|
65
66
|
describe 'attachments_list test' do
|
@@ -86,6 +87,7 @@ describe 'AttachmentsApi' do
|
|
86
87
|
# @param [Hash] opts the optional parameters
|
87
88
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
88
89
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
90
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
89
91
|
# @return [Attachment]
|
90
92
|
describe 'attachments_retrieve test' do
|
91
93
|
it 'should work' do
|
@@ -68,7 +68,7 @@ describe 'CandidatesApi' do
|
|
68
68
|
# @option opts [String] :cursor The pagination cursor value.
|
69
69
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
70
70
|
# @option opts [String] :first_name If provided, will only return candidates with this first name.
|
71
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
71
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
72
72
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
73
73
|
# @option opts [String] :last_name If provided, will only return candidates with this last name.
|
74
74
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
@@ -39,7 +39,7 @@ describe 'DepartmentsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
data/spec/api/eeocs_api_spec.rb
CHANGED
@@ -41,11 +41,12 @@ describe 'EeocsApi' do
|
|
41
41
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
42
42
|
# @option opts [String] :cursor The pagination cursor value.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
49
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
51
|
# @return [PaginatedEEOCList]
|
51
52
|
describe 'eeocs_list test' do
|
@@ -61,6 +62,7 @@ describe 'EeocsApi' do
|
|
61
62
|
# @param [Hash] opts the optional parameters
|
62
63
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
63
64
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
65
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
64
66
|
# @return [EEOC]
|
65
67
|
describe 'eeocs_retrieve test' do
|
66
68
|
it 'should work' do
|
@@ -41,13 +41,14 @@ describe 'InterviewsApi' do
|
|
41
41
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
42
42
|
# @option opts [String] :cursor The pagination cursor value.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [String] :job_interview_stage_id If provided, will only return interviews at this stage.
|
47
47
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
48
48
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
49
49
|
# @option opts [String] :organizer_id If provided, will only return interviews organized by this user.
|
50
50
|
# @option opts [Integer] :page_size Number of results to return per page.
|
51
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
51
52
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
52
53
|
# @return [PaginatedScheduledInterviewList]
|
53
54
|
describe 'interviews_list test' do
|
@@ -63,6 +64,7 @@ describe 'InterviewsApi' do
|
|
63
64
|
# @param [Hash] opts the optional parameters
|
64
65
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
65
66
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
67
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
66
68
|
# @return [ScheduledInterview]
|
67
69
|
describe 'interviews_retrieve test' do
|
68
70
|
it 'should work' do
|
@@ -40,7 +40,7 @@ describe 'JobInterviewStagesApi' do
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
43
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
45
|
# @option opts [String] :job_id If provided, will only return interview stages for this job.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
data/spec/api/jobs_api_spec.rb
CHANGED
@@ -41,11 +41,12 @@ describe 'JobsApi' do
|
|
41
41
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
42
42
|
# @option opts [String] :cursor The pagination cursor value.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
47
47
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
48
48
|
# @option opts [Integer] :page_size Number of results to return per page.
|
49
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
49
50
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
50
51
|
# @option opts [String] :status If provided, will only return jobs with this status. Options: ('OPEN', 'CLOSED', 'DRAFT', 'ARCHIVED', 'PENDING')
|
51
52
|
# @return [PaginatedJobList]
|
@@ -62,6 +63,7 @@ describe 'JobsApi' do
|
|
62
63
|
# @param [Hash] opts the optional parameters
|
63
64
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
64
65
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
66
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
65
67
|
# @return [Job]
|
66
68
|
describe 'jobs_retrieve test' do
|
67
69
|
it 'should work' do
|
@@ -43,6 +43,7 @@ describe 'LinkedAccountsApi' do
|
|
43
43
|
# @option opts [String] :end_user_origin_ids Comma-separated list of EndUser origin IDs, making it possible to specify multiple EndUsers at once.
|
44
44
|
# @option opts [String] :id
|
45
45
|
# @option opts [String] :ids Comma-separated list of LinkedAccount IDs, making it possible to specify multiple LinkedAccounts at once.
|
46
|
+
# @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.
|
46
47
|
# @option opts [String] :integration_name If provided, will only return linked accounts associated with the given integration name.
|
47
48
|
# @option opts [String] :is_test_account If included, will only include test linked accounts. If not included, will only include non-test linked accounts.
|
48
49
|
# @option opts [Integer] :page_size Number of results to return per page.
|
data/spec/api/offers_api_spec.rb
CHANGED
@@ -42,11 +42,12 @@ describe 'OffersApi' do
|
|
42
42
|
# @option opts [String] :creator_id If provided, will only return offers created by this user.
|
43
43
|
# @option opts [String] :cursor The pagination cursor value.
|
44
44
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
45
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
45
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
46
46
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
47
47
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
48
48
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
49
49
|
# @option opts [Integer] :page_size Number of results to return per page.
|
50
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
50
51
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
51
52
|
# @return [PaginatedOfferList]
|
52
53
|
describe 'offers_list test' do
|
@@ -62,6 +63,7 @@ describe 'OffersApi' do
|
|
62
63
|
# @param [Hash] opts the optional parameters
|
63
64
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
64
65
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
66
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
65
67
|
# @return [Offer]
|
66
68
|
describe 'offers_retrieve test' do
|
67
69
|
it 'should work' do
|
@@ -39,7 +39,7 @@ describe 'OfficesApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -39,7 +39,7 @@ describe 'RejectReasonsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
@@ -41,13 +41,14 @@ describe 'ScorecardsApi' do
|
|
41
41
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
42
42
|
# @option opts [String] :cursor The pagination cursor value.
|
43
43
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
44
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
44
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
45
45
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
46
46
|
# @option opts [String] :interview_id If provided, will only return scorecards for this interview.
|
47
47
|
# @option opts [String] :interviewer_id If provided, will only return scorecards for this interviewer.
|
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.
|
50
50
|
# @option opts [Integer] :page_size Number of results to return per page.
|
51
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
51
52
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
52
53
|
# @return [PaginatedScorecardList]
|
53
54
|
describe 'scorecards_list test' do
|
@@ -63,6 +64,7 @@ describe 'ScorecardsApi' do
|
|
63
64
|
# @param [Hash] opts the optional parameters
|
64
65
|
# @option opts [String] :expand Which relations should be returned in expanded form. Multiple relation names should be comma separated without spaces.
|
65
66
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
67
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
66
68
|
# @return [Scorecard]
|
67
69
|
describe 'scorecards_retrieve test' do
|
68
70
|
it 'should work' do
|
@@ -33,7 +33,7 @@ describe 'SyncStatusApi' do
|
|
33
33
|
end
|
34
34
|
|
35
35
|
# unit tests for sync_status_list
|
36
|
-
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `SYNCING`
|
36
|
+
# Get syncing status. Possible values: `DISABLED`, `DONE`, `FAILED`, `PAUSED`, `SYNCING`
|
37
37
|
# @param x_account_token Token identifying the end user.
|
38
38
|
# @param [Hash] opts the optional parameters
|
39
39
|
# @option opts [String] :cursor The pagination cursor value.
|
data/spec/api/tags_api_spec.rb
CHANGED
@@ -39,7 +39,7 @@ describe 'TagsApi' do
|
|
39
39
|
# @option opts [Time] :created_after If provided, will only return objects created after this datetime.
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
42
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
43
43
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
44
44
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
45
45
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
data/spec/api/users_api_spec.rb
CHANGED
@@ -40,11 +40,12 @@ describe 'UsersApi' do
|
|
40
40
|
# @option opts [Time] :created_before If provided, will only return objects created before this datetime.
|
41
41
|
# @option opts [String] :cursor The pagination cursor value.
|
42
42
|
# @option opts [String] :email If provided, will only return remote users with the given email address
|
43
|
-
# @option opts [Boolean] :include_deleted_data Whether to include data that was deleted
|
43
|
+
# @option opts [Boolean] :include_deleted_data Whether to include data that was marked as deleted by third party webhooks.
|
44
44
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
45
45
|
# @option opts [Time] :modified_after If provided, will only return objects modified after this datetime.
|
46
46
|
# @option opts [Time] :modified_before If provided, will only return objects modified before this datetime.
|
47
47
|
# @option opts [Integer] :page_size Number of results to return per page.
|
48
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
48
49
|
# @option opts [String] :remote_id The API provider's ID for the given object.
|
49
50
|
# @return [PaginatedRemoteUserList]
|
50
51
|
describe 'users_list test' do
|
@@ -59,6 +60,7 @@ describe 'UsersApi' do
|
|
59
60
|
# @param id
|
60
61
|
# @param [Hash] opts the optional parameters
|
61
62
|
# @option opts [Boolean] :include_remote_data Whether to include the original data Merge fetched from the third-party to produce these models.
|
63
|
+
# @option opts [String] :remote_fields Which fields should be returned in non-normalized form.
|
62
64
|
# @return [RemoteUser]
|
63
65
|
describe 'users_retrieve test' do
|
64
66
|
it 'should work' do
|
@@ -73,6 +73,12 @@ describe MergeATSClient::AccountDetailsAndActions do
|
|
73
73
|
end
|
74
74
|
end
|
75
75
|
|
76
|
+
describe 'test attribute "is_duplicate"' do
|
77
|
+
it 'should work' do
|
78
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
79
|
+
end
|
80
|
+
end
|
81
|
+
|
76
82
|
describe 'test attribute "integration"' do
|
77
83
|
it 'should work' do
|
78
84
|
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
@@ -67,4 +67,10 @@ describe MergeATSClient::DataPassthroughRequest do
|
|
67
67
|
end
|
68
68
|
end
|
69
69
|
|
70
|
+
describe 'test attribute "normalize_response"' do
|
71
|
+
it 'should work' do
|
72
|
+
# assertion here. ref: https://www.relishapp.com/rspec/rspec-expectations/docs/built-in-matchers
|
73
|
+
end
|
74
|
+
end
|
75
|
+
|
70
76
|
end
|