stackone_client 0.2.14 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +2 -5
- data/lib/stack_one/ats.rb +10 -10
- data/lib/stack_one/models/operations/ats_create_candidate_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_update_candidate_request.rb +4 -4
- data/lib/stack_one/models/operations/ats_update_candidate_response.rb +4 -4
- data/lib/stack_one/models/operations/stackone_get_account_request.rb +2 -5
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +2 -14
- data/lib/stack_one/models/shared/atsdocumentapimodel_value.rb +2 -0
- data/lib/stack_one/models/shared/{atsupdatecandidatesrequestdto.rb → atsupdatecandidaterequestdto.rb} +4 -10
- data/lib/stack_one/models/shared/content_value.rb +1 -0
- data/lib/stack_one/models/shared/employeecustomfields.rb +3 -3
- data/lib/stack_one/models/shared/employeecustomfields_type.rb +2 -2
- data/lib/stack_one/models/shared/employeecustomfields_value.rb +10 -7
- data/lib/stack_one/models/shared/hrisdocumentapimodel_value.rb +16 -7
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared.rb +6 -7
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +3 -4
- data/lib/stack_one/models/shared/employeecustomfields_schemas_value.rb +0 -23
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 73f7442a5ecb70568a000ac613978a2d5aded3fc4fee56131d8f35ddef359405
|
4
|
+
data.tar.gz: ca1d5db3755c3a1fe4c496e697b42387ed5877247d4b4f2383604f55591f6ec2
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5bc0d3047651fe66660b5eb14385b2e02f5d00f775681f128491938e2740b9866147ea6add8797b1fabecb7a04c62a9234bafb97f8001f3af666a7d8c539addc
|
7
|
+
data.tar.gz: 6dab45ca011d26163354808df6e7907c0ccd9812d6804a4104a927b390d51698a9032c45228bc74fe5ed45148d13d600119c9a1012270861cea8429f5ca5819b
|
data/lib/stack_one/accounts.rb
CHANGED
@@ -59,12 +59,11 @@ module StackOne
|
|
59
59
|
end
|
60
60
|
|
61
61
|
|
62
|
-
sig { params(
|
63
|
-
def get_account(
|
62
|
+
sig { params(id: ::String).returns(::StackOne::Operations::StackoneGetAccountResponse) }
|
63
|
+
def get_account(id)
|
64
64
|
# get_account - Get Account
|
65
65
|
request = ::StackOne::Operations::StackoneGetAccountRequest.new(
|
66
66
|
|
67
|
-
expand_info: expand_info,
|
68
67
|
id: id
|
69
68
|
)
|
70
69
|
url, params = @sdk_configuration.get_server_details
|
@@ -76,13 +75,11 @@ module StackOne
|
|
76
75
|
request
|
77
76
|
)
|
78
77
|
headers = {}
|
79
|
-
query_params = Utils.get_query_params(::StackOne::Operations::StackoneGetAccountRequest, request)
|
80
78
|
headers['Accept'] = 'application/json'
|
81
79
|
headers['user-agent'] = @sdk_configuration.user_agent
|
82
80
|
|
83
81
|
r = @sdk_configuration.client.get(url) do |req|
|
84
82
|
req.headers = headers
|
85
|
-
req.params = query_params
|
86
83
|
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
87
84
|
end
|
88
85
|
|
data/lib/stack_one/ats.rb
CHANGED
@@ -67,7 +67,7 @@ module StackOne
|
|
67
67
|
|
68
68
|
sig { params(ats_create_candidate_request_dto: ::StackOne::Shared::AtsCreateCandidateRequestDto, x_account_id: ::String).returns(::StackOne::Operations::AtsCreateCandidateResponse) }
|
69
69
|
def create_candidate(ats_create_candidate_request_dto, x_account_id)
|
70
|
-
# create_candidate - Create Candidate
|
70
|
+
# create_candidate - Create Candidate
|
71
71
|
request = ::StackOne::Operations::AtsCreateCandidateRequest.new(
|
72
72
|
|
73
73
|
ats_create_candidate_request_dto: ats_create_candidate_request_dto,
|
@@ -102,8 +102,8 @@ module StackOne
|
|
102
102
|
)
|
103
103
|
if r.status == 200
|
104
104
|
if Utils.match_content_type(content_type, 'application/json')
|
105
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
106
|
-
res.
|
105
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
106
|
+
res.create_result = out
|
107
107
|
end
|
108
108
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
109
109
|
end
|
@@ -1389,12 +1389,12 @@ module StackOne
|
|
1389
1389
|
end
|
1390
1390
|
|
1391
1391
|
|
1392
|
-
sig { params(
|
1393
|
-
def update_candidate(
|
1394
|
-
# update_candidate - Update Candidate
|
1392
|
+
sig { params(ats_update_candidate_request_dto: ::StackOne::Shared::AtsUpdateCandidateRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::AtsUpdateCandidateResponse) }
|
1393
|
+
def update_candidate(ats_update_candidate_request_dto, id, x_account_id)
|
1394
|
+
# update_candidate - Update Candidate
|
1395
1395
|
request = ::StackOne::Operations::AtsUpdateCandidateRequest.new(
|
1396
1396
|
|
1397
|
-
|
1397
|
+
ats_update_candidate_request_dto: ats_update_candidate_request_dto,
|
1398
1398
|
id: id,
|
1399
1399
|
x_account_id: x_account_id
|
1400
1400
|
)
|
@@ -1407,7 +1407,7 @@ module StackOne
|
|
1407
1407
|
request
|
1408
1408
|
)
|
1409
1409
|
headers = Utils.get_headers(request)
|
1410
|
-
req_content_type, data, form = Utils.serialize_request_body(request, :
|
1410
|
+
req_content_type, data, form = Utils.serialize_request_body(request, :ats_update_candidate_request_dto, :json)
|
1411
1411
|
headers['content-type'] = req_content_type
|
1412
1412
|
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
1413
1413
|
headers['Accept'] = 'application/json'
|
@@ -1432,8 +1432,8 @@ module StackOne
|
|
1432
1432
|
)
|
1433
1433
|
if r.status == 200
|
1434
1434
|
if Utils.match_content_type(content_type, 'application/json')
|
1435
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
1436
|
-
res.
|
1435
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateResult)
|
1436
|
+
res.create_result = out
|
1437
1437
|
end
|
1438
1438
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1439
1439
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The candidate was successfully created.
|
21
|
-
field :
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@create_result = create_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -12,16 +12,16 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :
|
15
|
+
field :ats_update_candidate_request_dto, ::StackOne::Shared::AtsUpdateCandidateRequestDto, { 'request': { 'media_type': 'application/json' } }
|
16
16
|
|
17
17
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
18
|
# The account identifier
|
19
19
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
20
|
|
21
21
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@
|
22
|
+
sig { params(ats_update_candidate_request_dto: ::StackOne::Shared::AtsUpdateCandidateRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
+
def initialize(ats_update_candidate_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
+
@ats_update_candidate_request_dto = ats_update_candidate_request_dto
|
25
25
|
@id = id
|
26
26
|
@x_account_id = x_account_id
|
27
27
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The candidate was successfully updated.
|
21
|
-
field :
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@create_result = create_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -12,14 +12,11 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :expand_info, ::String, { 'query_param': { 'field_name': 'expand_info', 'style': 'form', 'explode': true } }
|
16
|
-
|
17
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
16
|
|
19
17
|
|
20
|
-
sig { params(
|
21
|
-
def initialize(
|
22
|
-
@expand_info = expand_info
|
18
|
+
sig { params(id: ::String).void }
|
19
|
+
def initialize(id: nil)
|
23
20
|
@id = id
|
24
21
|
end
|
25
22
|
end
|
@@ -11,12 +11,8 @@ module StackOne
|
|
11
11
|
class AtsCreateCandidateRequestDto < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# List of candidate application IDs
|
15
|
-
field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
|
16
14
|
# Candidate company
|
17
15
|
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
18
|
-
# Candidate created date
|
19
|
-
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
16
|
# Candidate email
|
21
17
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
22
18
|
# List of candidate emails
|
@@ -25,8 +21,6 @@ module StackOne
|
|
25
21
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
26
22
|
# Candidate hired date
|
27
23
|
field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
|
-
# Unique identifier
|
29
|
-
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
30
24
|
# Candidate last name
|
31
25
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
32
26
|
# Candidate name
|
@@ -43,20 +37,15 @@ module StackOne
|
|
43
37
|
field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
|
44
38
|
# Candidate title
|
45
39
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
46
|
-
# Candidate updated date
|
47
|
-
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
48
40
|
|
49
41
|
|
50
|
-
sig { params(
|
51
|
-
def initialize(
|
52
|
-
@application_ids = application_ids
|
42
|
+
sig { params(company: T.nilable(::String), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
|
43
|
+
def initialize(company: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_id: nil, social_links: nil, title: nil)
|
53
44
|
@company = company
|
54
|
-
@created_at = created_at
|
55
45
|
@email = email
|
56
46
|
@emails = emails
|
57
47
|
@first_name = first_name
|
58
48
|
@hired_at = hired_at
|
59
|
-
@id = id
|
60
49
|
@last_name = last_name
|
61
50
|
@name = name
|
62
51
|
@phone = phone
|
@@ -64,7 +53,6 @@ module StackOne
|
|
64
53
|
@remote_id = remote_id
|
65
54
|
@social_links = social_links
|
66
55
|
@title = title
|
67
|
-
@updated_at = updated_at
|
68
56
|
end
|
69
57
|
end
|
70
58
|
end
|
@@ -14,10 +14,12 @@ module StackOne
|
|
14
14
|
AVATAR = new('avatar')
|
15
15
|
COVER_LETTER = new('cover_letter')
|
16
16
|
PROFILE_PICTURE = new('profile_picture')
|
17
|
+
POLICY = new('policy')
|
17
18
|
PASSPORT = new('passport')
|
18
19
|
TAKE_HOME_TEST = new('take_home_test')
|
19
20
|
OFFER_LETTER = new('offer_letter')
|
20
21
|
SIGNED_OFFER_LETTER = new('signed_offer_letter')
|
22
|
+
NATIONAL_ID = new('national_id')
|
21
23
|
OFFER_PACKET = new('offer_packet')
|
22
24
|
OTHER = new('other')
|
23
25
|
UNMAPPED_VALUE = new('unmapped_value')
|
@@ -8,15 +8,13 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class AtsUpdateCandidateRequestDto < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# List of candidate application IDs
|
15
15
|
field :application_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_ids') } }
|
16
16
|
# Candidate company
|
17
17
|
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
18
|
-
# Candidate created date
|
19
|
-
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
18
|
# Candidate email
|
21
19
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
22
20
|
# List of candidate emails
|
@@ -25,7 +23,7 @@ module StackOne
|
|
25
23
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
26
24
|
# Candidate hired date
|
27
25
|
field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
|
-
#
|
26
|
+
# Unique identifier
|
29
27
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
30
28
|
# Candidate last name
|
31
29
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
@@ -43,15 +41,12 @@ module StackOne
|
|
43
41
|
field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
|
44
42
|
# Candidate title
|
45
43
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
46
|
-
# Candidate updated date
|
47
|
-
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
48
44
|
|
49
45
|
|
50
|
-
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String),
|
51
|
-
def initialize(application_ids: nil, company: nil,
|
46
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), id: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), remote_id: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
|
47
|
+
def initialize(application_ids: nil, company: nil, email: nil, emails: nil, first_name: nil, hired_at: nil, id: nil, last_name: nil, name: nil, phone: nil, phone_numbers: nil, remote_id: nil, social_links: nil, title: nil)
|
52
48
|
@application_ids = application_ids
|
53
49
|
@company = company
|
54
|
-
@created_at = created_at
|
55
50
|
@email = email
|
56
51
|
@emails = emails
|
57
52
|
@first_name = first_name
|
@@ -64,7 +59,6 @@ module StackOne
|
|
64
59
|
@remote_id = remote_id
|
65
60
|
@social_links = social_links
|
66
61
|
@title = title
|
67
|
-
@updated_at = updated_at
|
68
62
|
end
|
69
63
|
end
|
70
64
|
end
|
@@ -18,18 +18,18 @@ module StackOne
|
|
18
18
|
# The name of the custom field.
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
20
|
# An array of possible options for the custom field.
|
21
|
-
field :options, T.nilable(T::Array[::
|
21
|
+
field :options, T.nilable(T::Array[::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('options') } }
|
22
22
|
# Provider's unique identifier
|
23
23
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
24
24
|
# The type of the custom field.
|
25
25
|
field :type, T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
26
|
# The value associated with the custom field.
|
27
|
-
field :value, T.nilable(::
|
27
|
+
field :value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
28
28
|
# The unique identifier for the value of the custom field.
|
29
29
|
field :value_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value_id') } }
|
30
30
|
|
31
31
|
|
32
|
-
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::
|
32
|
+
sig { params(description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), options: T.nilable(T::Array[::Object]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeCustomFieldsType), value: T.nilable(::Object), value_id: T.nilable(::String)).void }
|
33
33
|
def initialize(description: nil, id: nil, name: nil, options: nil, remote_id: nil, type: nil, value: nil, value_id: nil)
|
34
34
|
@description = description
|
35
35
|
@id = id
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeCustomFieldsValue, true) } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeCustomFieldsValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -7,14 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
# The value associated with the custom field.
|
11
|
-
class EmployeeCustomFieldsValue < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
10
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
11
|
+
class EmployeeCustomFieldsValue < T::Enum
|
12
|
+
enums do
|
13
|
+
DATE = new('date')
|
14
|
+
FLOAT = new('float')
|
15
|
+
INTEGER = new('integer')
|
16
|
+
LIST = new('list')
|
17
|
+
TEXT = new('text')
|
18
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
19
|
+
end
|
18
20
|
end
|
21
|
+
|
19
22
|
end
|
20
23
|
end
|
@@ -10,16 +10,25 @@ module StackOne
|
|
10
10
|
|
11
11
|
class HrisDocumentApiModelValue < T::Enum
|
12
12
|
enums do
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
13
|
+
APPLICATION = new('application')
|
14
|
+
ACADEMIC = new('academic')
|
15
|
+
CONTRACT = new('contract')
|
16
|
+
CERTIFICATES = new('certificates')
|
17
|
+
VISA = new('visa')
|
17
18
|
PASSPORT = new('passport')
|
18
|
-
|
19
|
+
DRIVER_LICENSE = new('driver_license')
|
20
|
+
PAYSLIP = new('payslip')
|
21
|
+
PAYROLL = new('payroll')
|
22
|
+
APPRAISAL = new('appraisal')
|
23
|
+
RESUME = new('resume')
|
24
|
+
POLICY = new('policy')
|
19
25
|
OFFER_LETTER = new('offer_letter')
|
20
|
-
|
21
|
-
|
26
|
+
POLICY_AGREEMENT = new('policy_agreement')
|
27
|
+
HOME_ADDRESS = new('home_address')
|
28
|
+
NATIONAL_ID = new('national_id')
|
22
29
|
OTHER = new('other')
|
30
|
+
BENEFIT = new('benefit')
|
31
|
+
ID_VERIFICATION = new('id_verification')
|
23
32
|
UNMAPPED_VALUE = new('unmapped_value')
|
24
33
|
end
|
25
34
|
end
|
@@ -34,14 +34,11 @@ module StackOne
|
|
34
34
|
autoload :AnswerValue, 'stack_one/models/shared/answer_value.rb'
|
35
35
|
autoload :Type, 'stack_one/models/shared/type.rb'
|
36
36
|
autoload :Answer, 'stack_one/models/shared/answer.rb'
|
37
|
-
autoload :
|
38
|
-
autoload :RawResponse, 'stack_one/models/shared/rawresponse.rb'
|
39
|
-
autoload :Candidate, 'stack_one/models/shared/candidate.rb'
|
37
|
+
autoload :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
|
40
38
|
autoload :SocialLink, 'stack_one/models/shared/sociallink.rb'
|
41
39
|
autoload :PhoneNumberType, 'stack_one/models/shared/phonenumber_type.rb'
|
42
40
|
autoload :PhoneNumber, 'stack_one/models/shared/phonenumber.rb'
|
43
41
|
autoload :CandidateEmail, 'stack_one/models/shared/candidateemail.rb'
|
44
|
-
autoload :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
|
45
42
|
autoload :AtsCreateNotesRequestDtoValue, 'stack_one/models/shared/atscreatenotesrequestdto_value.rb'
|
46
43
|
autoload :Visibility, 'stack_one/models/shared/visibility.rb'
|
47
44
|
autoload :AtsCreateNotesRequestDto, 'stack_one/models/shared/atscreatenotesrequestdto.rb'
|
@@ -51,6 +48,7 @@ module StackOne
|
|
51
48
|
autoload :AtsCreateOfferRequestDto, 'stack_one/models/shared/atscreateofferrequestdto.rb'
|
52
49
|
autoload :OfferHistory, 'stack_one/models/shared/offerhistory.rb'
|
53
50
|
autoload :ApplicationResult, 'stack_one/models/shared/applicationresult.rb'
|
51
|
+
autoload :RawResponse, 'stack_one/models/shared/rawresponse.rb'
|
54
52
|
autoload :ApplicationValue, 'stack_one/models/shared/application_value.rb'
|
55
53
|
autoload :ApplicationStatus, 'stack_one/models/shared/application_status.rb'
|
56
54
|
autoload :ApplicationCandidate, 'stack_one/models/shared/application_candidate.rb'
|
@@ -80,6 +78,8 @@ module StackOne
|
|
80
78
|
autoload :ScorecardSection, 'stack_one/models/shared/scorecardsection.rb'
|
81
79
|
autoload :FieldType, 'stack_one/models/shared/field_type.rb'
|
82
80
|
autoload :Field, 'stack_one/models/shared/field.rb'
|
81
|
+
autoload :CandidateResult, 'stack_one/models/shared/candidateresult.rb'
|
82
|
+
autoload :Candidate, 'stack_one/models/shared/candidate.rb'
|
83
83
|
autoload :NoteResult, 'stack_one/models/shared/noteresult.rb'
|
84
84
|
autoload :NoteValue, 'stack_one/models/shared/note_value.rb'
|
85
85
|
autoload :NoteVisibility, 'stack_one/models/shared/note_visibility.rb'
|
@@ -145,7 +145,7 @@ module StackOne
|
|
145
145
|
autoload :UsersPaginated, 'stack_one/models/shared/userspaginated.rb'
|
146
146
|
autoload :UpdateResult, 'stack_one/models/shared/updateresult.rb'
|
147
147
|
autoload :AtsUpdateApplicationRequestDto, 'stack_one/models/shared/atsupdateapplicationrequestdto.rb'
|
148
|
-
autoload :
|
148
|
+
autoload :AtsUpdateCandidateRequestDto, 'stack_one/models/shared/atsupdatecandidaterequestdto.rb'
|
149
149
|
autoload :ContactResult, 'stack_one/models/shared/contactresult.rb'
|
150
150
|
autoload :Contact, 'stack_one/models/shared/contact.rb'
|
151
151
|
autoload :CrmCreateContactRequestDto, 'stack_one/models/shared/crmcreatecontactrequestdto.rb'
|
@@ -198,9 +198,8 @@ module StackOne
|
|
198
198
|
autoload :EmploymentSchemasPayPeriodValue, 'stack_one/models/shared/employment_schemas_pay_period_value.rb'
|
199
199
|
autoload :PayPeriod, 'stack_one/models/shared/pay_period.rb'
|
200
200
|
autoload :Employment, 'stack_one/models/shared/employment.rb'
|
201
|
-
autoload :EmployeeCustomFieldsSchemasValue, 'stack_one/models/shared/employeecustomfields_schemas_value.rb'
|
202
|
-
autoload :EmployeeCustomFieldsType, 'stack_one/models/shared/employeecustomfields_type.rb'
|
203
201
|
autoload :EmployeeCustomFieldsValue, 'stack_one/models/shared/employeecustomfields_value.rb'
|
202
|
+
autoload :EmployeeCustomFieldsType, 'stack_one/models/shared/employeecustomfields_type.rb'
|
204
203
|
autoload :EmployeeCustomFields, 'stack_one/models/shared/employeecustomfields.rb'
|
205
204
|
autoload :CountryCodeEnumValue, 'stack_one/models/shared/countrycodeenum_value.rb'
|
206
205
|
autoload :CountryCodeEnum, 'stack_one/models/shared/countrycodeenum.rb'
|
@@ -38,9 +38,9 @@ module StackOne
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '1.0.0'
|
41
|
-
@sdk_version = '0.2.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
41
|
+
@sdk_version = '0.2.16'
|
42
|
+
@gen_version = '2.314.0'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.16 2.314.0 1.0.0 stackone_client'
|
44
44
|
end
|
45
45
|
|
46
46
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.16
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -380,7 +380,7 @@ files:
|
|
380
380
|
- lib/stack_one/models/shared/atslocationresult.rb
|
381
381
|
- lib/stack_one/models/shared/atslocationspaginated.rb
|
382
382
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb
|
383
|
-
- lib/stack_one/models/shared/
|
383
|
+
- lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb
|
384
384
|
- lib/stack_one/models/shared/avatar.rb
|
385
385
|
- lib/stack_one/models/shared/benefit_type.rb
|
386
386
|
- lib/stack_one/models/shared/campaign.rb
|
@@ -444,7 +444,6 @@ files:
|
|
444
444
|
- lib/stack_one/models/shared/employee_schemas_work_location_value.rb
|
445
445
|
- lib/stack_one/models/shared/employee_value.rb
|
446
446
|
- lib/stack_one/models/shared/employeecustomfields.rb
|
447
|
-
- lib/stack_one/models/shared/employeecustomfields_schemas_value.rb
|
448
447
|
- lib/stack_one/models/shared/employeecustomfields_type.rb
|
449
448
|
- lib/stack_one/models/shared/employeecustomfields_value.rb
|
450
449
|
- lib/stack_one/models/shared/employeeresult.rb
|
@@ -1,23 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
|
7
|
-
module StackOne
|
8
|
-
module Shared
|
9
|
-
|
10
|
-
|
11
|
-
class EmployeeCustomFieldsSchemasValue < T::Enum
|
12
|
-
enums do
|
13
|
-
DATE = new('date')
|
14
|
-
FLOAT = new('float')
|
15
|
-
INTEGER = new('integer')
|
16
|
-
LIST = new('list')
|
17
|
-
TEXT = new('text')
|
18
|
-
UNMAPPED_VALUE = new('unmapped_value')
|
19
|
-
end
|
20
|
-
end
|
21
|
-
|
22
|
-
end
|
23
|
-
end
|