stackone_client 0.2.16 → 0.2.17
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/models/shared/application_candidate.rb +20 -2
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb +32 -6
- data/lib/stack_one/models/shared/atscreatecandidaterequestdto.rb +8 -11
- data/lib/stack_one/models/shared/atsdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb +5 -2
- data/lib/stack_one/models/shared/candidate.rb +5 -2
- data/lib/stack_one/models/shared/document.rb +5 -2
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/job_value.rb +1 -0
- data/lib/stack_one/models/shared/workeligibility_document.rb +5 -2
- data/lib/stack_one/models/shared.rb +4 -4
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8c8ed9a97076711eb4779e56414b6399f42de6c43b3dc262b2a428c92b76f8a1
|
4
|
+
data.tar.gz: b34c02b757deb523f9e1fd7d1be61e379305f3b6448f683d59267a03a8a52862
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4b2969c59e144cb0bd9de39a1230bc9fce508eec3196827c85c44182a1aca2eed4f271984943f087717041b45505c980d3491d2739c952292a48d460e16ed9fd
|
7
|
+
data.tar.gz: 15c52a1f842433691888a21476229a00956cab6d200b2c295d5d07b1e8d3bbeddae1ce603113a7a2f97319d370d571850f4b6941c12849476816100a9f0471aa
|
@@ -11,19 +11,37 @@ module StackOne
|
|
11
11
|
class ApplicationCandidate < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# Candidate company
|
15
|
+
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
14
16
|
# Email of the candidate
|
15
17
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
18
|
+
# List of candidate emails
|
19
|
+
field :emails, T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
|
16
20
|
# First name of the candidate
|
17
21
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
18
22
|
# Last name of the candidate
|
19
23
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
24
|
+
# Candidate name
|
25
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
26
|
+
# List of candidate phone numbers including the type of the number when available
|
27
|
+
field :phone_numbers, T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
28
|
+
# List of candidate social links
|
29
|
+
field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
|
30
|
+
# Candidate title
|
31
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
20
32
|
|
21
33
|
|
22
|
-
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String)).void }
|
23
|
-
def initialize(email: nil, first_name: nil, last_name: nil)
|
34
|
+
sig { params(company: T.nilable(::String), email: T.nilable(::String), emails: T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), first_name: T.nilable(::String), last_name: T.nilable(::String), name: T.nilable(::String), phone_numbers: T.nilable(T::Array[::StackOne::Shared::PhoneNumber]), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
|
35
|
+
def initialize(company: nil, email: nil, emails: nil, first_name: nil, last_name: nil, name: nil, phone_numbers: nil, social_links: nil, title: nil)
|
36
|
+
@company = company
|
24
37
|
@email = email
|
38
|
+
@emails = emails
|
25
39
|
@first_name = first_name
|
26
40
|
@last_name = last_name
|
41
|
+
@name = name
|
42
|
+
@phone_numbers = phone_numbers
|
43
|
+
@social_links = social_links
|
44
|
+
@title = title
|
27
45
|
end
|
28
46
|
end
|
29
47
|
end
|
@@ -13,9 +13,9 @@ module StackOne
|
|
13
13
|
|
14
14
|
|
15
15
|
field :application_status, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
16
|
-
|
16
|
+
# Candidate Properties. Provide this OR candidate_id, but not both. Providing this attempts to create a new candidate with the application.
|
17
17
|
field :candidate, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
18
|
-
# Unique identifier of the candidate
|
18
|
+
# Unique identifier of the candidate. Provide this OR candidate, but not both.
|
19
19
|
field :candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
20
20
|
# Unique identifier of the job
|
21
21
|
field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
@@ -7,23 +7,49 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
|
10
|
+
# Candidate Properties. Provide this OR candidate_id, but not both. Providing this attempts to create a new candidate with the application.
|
11
11
|
class AtsCreateApplicationRequestDtoCandidate < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
#
|
14
|
+
# Candidate company
|
15
|
+
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
16
|
+
# Candidate country
|
17
|
+
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
18
|
+
# Candidate email
|
15
19
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
16
|
-
#
|
20
|
+
# Candidate first name
|
17
21
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
18
|
-
#
|
22
|
+
# Candidate hired date
|
23
|
+
field :hired_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hired_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
|
+
# Candidate last name
|
19
25
|
field :last_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('last_name') } }
|
26
|
+
# Candidate name
|
27
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
28
|
+
# Candidate phone number
|
29
|
+
#
|
30
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
31
|
+
field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
32
|
+
# The candidate personal phone number
|
33
|
+
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
34
|
+
# List of candidate social links
|
35
|
+
field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
|
36
|
+
# Candidate title
|
37
|
+
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
20
38
|
|
21
39
|
|
22
|
-
sig { params(email: T.nilable(::String), first_name: T.nilable(::String), last_name: T.nilable(::String)).void }
|
23
|
-
def initialize(email: nil, first_name: nil, last_name: nil)
|
40
|
+
sig { params(company: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
|
41
|
+
def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone: nil, phone_number: nil, social_links: nil, title: nil)
|
42
|
+
@company = company
|
43
|
+
@country = country
|
24
44
|
@email = email
|
25
45
|
@first_name = first_name
|
46
|
+
@hired_at = hired_at
|
26
47
|
@last_name = last_name
|
48
|
+
@name = name
|
49
|
+
@phone = phone
|
50
|
+
@phone_number = phone_number
|
51
|
+
@social_links = social_links
|
52
|
+
@title = title
|
27
53
|
end
|
28
54
|
end
|
29
55
|
end
|
@@ -13,10 +13,10 @@ module StackOne
|
|
13
13
|
|
14
14
|
# Candidate company
|
15
15
|
field :company, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company') } }
|
16
|
+
# Candidate country
|
17
|
+
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
16
18
|
# Candidate email
|
17
19
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
18
|
-
# List of candidate emails
|
19
|
-
field :emails, T.nilable(T::Array[::StackOne::Shared::CandidateEmail]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('emails') } }
|
20
20
|
# Candidate first name
|
21
21
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
22
22
|
# Candidate hired date
|
@@ -29,28 +29,25 @@ module StackOne
|
|
29
29
|
#
|
30
30
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
31
31
|
field :phone, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone') } }
|
32
|
-
#
|
33
|
-
field :
|
34
|
-
# Provider's unique identifier
|
35
|
-
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
32
|
+
# The candidate personal phone number
|
33
|
+
field :phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_number') } }
|
36
34
|
# List of candidate social links
|
37
35
|
field :social_links, T.nilable(T::Array[::StackOne::Shared::SocialLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('social_links') } }
|
38
36
|
# Candidate title
|
39
37
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
40
38
|
|
41
39
|
|
42
|
-
sig { params(company: T.nilable(::String),
|
43
|
-
def initialize(company: nil,
|
40
|
+
sig { params(company: T.nilable(::String), country: T.nilable(::String), email: T.nilable(::String), first_name: T.nilable(::String), hired_at: T.nilable(::DateTime), last_name: T.nilable(::String), name: T.nilable(::String), phone: T.nilable(::String), phone_number: T.nilable(::String), social_links: T.nilable(T::Array[::StackOne::Shared::SocialLink]), title: T.nilable(::String)).void }
|
41
|
+
def initialize(company: nil, country: nil, email: nil, first_name: nil, hired_at: nil, last_name: nil, name: nil, phone: nil, phone_number: nil, social_links: nil, title: nil)
|
44
42
|
@company = company
|
43
|
+
@country = country
|
45
44
|
@email = email
|
46
|
-
@emails = emails
|
47
45
|
@first_name = first_name
|
48
46
|
@hired_at = hired_at
|
49
47
|
@last_name = last_name
|
50
48
|
@name = name
|
51
49
|
@phone = phone
|
52
|
-
@
|
53
|
-
@remote_id = remote_id
|
50
|
+
@phone_number = phone_number
|
54
51
|
@social_links = social_links
|
55
52
|
@title = title
|
56
53
|
end
|
@@ -11,6 +11,8 @@ module StackOne
|
|
11
11
|
class AtsDocumentApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The category of the file
|
15
|
+
field :category, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } }
|
14
16
|
# The content of the file
|
15
17
|
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
18
|
# The creation date of the file
|
@@ -29,8 +31,9 @@ module StackOne
|
|
29
31
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
32
|
|
31
33
|
|
32
|
-
sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
|
33
|
-
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
34
|
+
sig { params(category: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
|
35
|
+
def initialize(category: nil, contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
36
|
+
@category = category
|
34
37
|
@contents = contents
|
35
38
|
@created_at = created_at
|
36
39
|
@id = id
|
@@ -15,6 +15,8 @@ module StackOne
|
|
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 country
|
19
|
+
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
18
20
|
# Candidate email
|
19
21
|
field :email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('email') } }
|
20
22
|
# List of candidate emails
|
@@ -43,10 +45,11 @@ module StackOne
|
|
43
45
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
44
46
|
|
45
47
|
|
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)
|
48
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: 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 }
|
49
|
+
def initialize(application_ids: nil, company: nil, country: 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)
|
48
50
|
@application_ids = application_ids
|
49
51
|
@company = company
|
52
|
+
@country = country
|
50
53
|
@email = email
|
51
54
|
@emails = emails
|
52
55
|
@first_name = first_name
|
@@ -15,6 +15,8 @@ module StackOne
|
|
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 country
|
19
|
+
field :country, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('country') } }
|
18
20
|
# Candidate created date
|
19
21
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
22
|
# Candidate email
|
@@ -47,10 +49,11 @@ module StackOne
|
|
47
49
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
48
50
|
|
49
51
|
|
50
|
-
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), created_at: T.nilable(::DateTime), 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), updated_at: T.nilable(::DateTime)).void }
|
51
|
-
def initialize(application_ids: nil, company: nil, created_at: 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, updated_at: nil)
|
52
|
+
sig { params(application_ids: T.nilable(T::Array[::String]), company: T.nilable(::String), country: T.nilable(::String), created_at: T.nilable(::DateTime), 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), updated_at: T.nilable(::DateTime)).void }
|
53
|
+
def initialize(application_ids: nil, company: nil, country: nil, created_at: 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, updated_at: nil)
|
52
54
|
@application_ids = application_ids
|
53
55
|
@company = company
|
56
|
+
@country = country
|
54
57
|
@created_at = created_at
|
55
58
|
@email = email
|
56
59
|
@emails = emails
|
@@ -11,6 +11,8 @@ module StackOne
|
|
11
11
|
class Document < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The category of the file
|
15
|
+
field :category, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } }
|
14
16
|
# The content of the file
|
15
17
|
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
18
|
# The creation date of the file
|
@@ -27,8 +29,9 @@ module StackOne
|
|
27
29
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
31
|
-
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, updated_at: nil)
|
32
|
+
sig { params(category: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(category: nil, contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, updated_at: nil)
|
34
|
+
@category = category
|
32
35
|
@contents = contents
|
33
36
|
@created_at = created_at
|
34
37
|
@id = id
|
@@ -11,6 +11,8 @@ module StackOne
|
|
11
11
|
class HrisDocumentApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The category of the file
|
15
|
+
field :category, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } }
|
14
16
|
# The content of the file
|
15
17
|
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
18
|
# The creation date of the file
|
@@ -29,8 +31,9 @@ module StackOne
|
|
29
31
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
32
|
|
31
33
|
|
32
|
-
sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
|
33
|
-
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
34
|
+
sig { params(category: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
|
35
|
+
def initialize(category: nil, contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
36
|
+
@category = category
|
34
37
|
@contents = contents
|
35
38
|
@created_at = created_at
|
36
39
|
@id = id
|
@@ -11,6 +11,8 @@ module StackOne
|
|
11
11
|
class WorkEligibilityDocument < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# The category of the file
|
15
|
+
field :category, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } }
|
14
16
|
# The content of the file
|
15
17
|
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
18
|
# The creation date of the file
|
@@ -27,8 +29,9 @@ module StackOne
|
|
27
29
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
30
|
|
29
31
|
|
30
|
-
sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
31
|
-
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, updated_at: nil)
|
32
|
+
sig { params(category: T.nilable(::String), contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(category: nil, contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, updated_at: nil)
|
34
|
+
@category = category
|
32
35
|
@contents = contents
|
33
36
|
@created_at = created_at
|
34
37
|
@id = id
|
@@ -34,11 +34,8 @@ 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 :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
|
38
37
|
autoload :SocialLink, 'stack_one/models/shared/sociallink.rb'
|
39
|
-
autoload :
|
40
|
-
autoload :PhoneNumber, 'stack_one/models/shared/phonenumber.rb'
|
41
|
-
autoload :CandidateEmail, 'stack_one/models/shared/candidateemail.rb'
|
38
|
+
autoload :AtsCreateCandidateRequestDto, 'stack_one/models/shared/atscreatecandidaterequestdto.rb'
|
42
39
|
autoload :AtsCreateNotesRequestDtoValue, 'stack_one/models/shared/atscreatenotesrequestdto_value.rb'
|
43
40
|
autoload :Visibility, 'stack_one/models/shared/visibility.rb'
|
44
41
|
autoload :AtsCreateNotesRequestDto, 'stack_one/models/shared/atscreatenotesrequestdto.rb'
|
@@ -64,6 +61,9 @@ module StackOne
|
|
64
61
|
autoload :ContentValue, 'stack_one/models/shared/content_value.rb'
|
65
62
|
autoload :FileFormat, 'stack_one/models/shared/file_format.rb'
|
66
63
|
autoload :Content, 'stack_one/models/shared/content.rb'
|
64
|
+
autoload :PhoneNumberType, 'stack_one/models/shared/phonenumber_type.rb'
|
65
|
+
autoload :PhoneNumber, 'stack_one/models/shared/phonenumber.rb'
|
66
|
+
autoload :CandidateEmail, 'stack_one/models/shared/candidateemail.rb'
|
67
67
|
autoload :ApplicationAttachmentValue, 'stack_one/models/shared/applicationattachment_value.rb'
|
68
68
|
autoload :ContentType, 'stack_one/models/shared/content_type.rb'
|
69
69
|
autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.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.17'
|
42
|
+
@gen_version = '2.319.7'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.17 2.319.7 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.17
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|