stackone_client 0.2.22 → 0.2.24
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.rb +3 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +3 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb +30 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +3 -3
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb +30 -0
- data/lib/stack_one/models/shared/employee.rb +5 -2
- data/lib/stack_one/models/shared/employee_schemas_groups_value.rb +22 -0
- data/lib/stack_one/models/shared/employee_type.rb +27 -0
- data/lib/stack_one/models/shared/groups.rb +39 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +8 -2
- data/lib/stack_one/models/shared/source.rb +30 -0
- data/lib/stack_one/models/shared/timeoff.rb +11 -2
- data/lib/stack_one/models/shared.rb +6 -0
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +8 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f747f0fe6db6b7dc14fe9b19ec0102f372c77c3d1851113bd2c90de144df78d
|
4
|
+
data.tar.gz: 1143a69c2f846a0742b1f212547ba979326f728f64527624000c286097cb4b05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9965addc2d4c11a9c2e569c6efb95a637ec8d661595f86c0fa4428db073197321ed3200e0eb5a40ecce151739b6bf7a8e14a0321921dec7ecc879d4890cc47
|
7
|
+
data.tar.gz: 0d31cd2df143f7a7ca1e754875833108c0b5adaf6b5e71214fc77a4f10e6f278ee1415af40935c869300b2921f93c098277a95e15a986b091bdf7aa0e8b6764f
|
@@ -49,13 +49,13 @@ module StackOne
|
|
49
49
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
50
50
|
|
51
51
|
field :result_links, T.nilable(T::Array[::StackOne::Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
|
52
|
-
|
53
|
-
field :source, T.nilable(::
|
52
|
+
|
53
|
+
field :source, T.nilable(::StackOne::Shared::Source), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
54
54
|
# Date of last update
|
55
55
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
56
56
|
|
57
57
|
|
58
|
-
sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_id: T.nilable(::String), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::
|
58
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_id: T.nilable(::String), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::StackOne::Shared::Source), updated_at: T.nilable(::DateTime)).void }
|
59
59
|
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_id: nil, result_links: nil, source: nil, updated_at: nil)
|
60
60
|
@application_status = application_status
|
61
61
|
@attachments = attachments
|
@@ -25,11 +25,11 @@ module StackOne
|
|
25
25
|
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
26
26
|
# Questionnaires associated with the application
|
27
27
|
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
28
|
-
# Source of the application
|
29
|
-
field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
30
28
|
|
29
|
+
field :source, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoSource), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
31
30
|
|
32
|
-
|
31
|
+
|
32
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), candidate: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), source: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoSource)).void }
|
33
33
|
def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, passthrough: nil, questionnaires: nil, source: nil)
|
34
34
|
@application_status = application_status
|
35
35
|
@candidate = candidate
|
@@ -0,0 +1,30 @@
|
|
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 AtsCreateApplicationRequestDtoSource < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The source of the application
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -21,11 +21,11 @@ module StackOne
|
|
21
21
|
#
|
22
22
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
23
23
|
field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
|
24
|
-
# Source of the application
|
25
|
-
field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
26
24
|
|
25
|
+
field :source, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
27
26
|
|
28
|
-
|
27
|
+
|
28
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), interview_stage_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), rejected_reason_id: T.nilable(::String), source: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource)).void }
|
29
29
|
def initialize(application_status: nil, interview_stage_id: nil, passthrough: nil, rejected_reason_id: nil, source: nil)
|
30
30
|
@application_status = application_status
|
31
31
|
@interview_stage_id = interview_stage_id
|
@@ -0,0 +1,30 @@
|
|
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 AtsUpdateApplicationRequestDtoSource < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The source of the application
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -53,6 +53,8 @@ module StackOne
|
|
53
53
|
field :first_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('first_name') } }
|
54
54
|
# The employee gender
|
55
55
|
field :gender, T.nilable(::StackOne::Shared::Gender), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('gender') } }
|
56
|
+
# The employee groups
|
57
|
+
field :groups, T.nilable(::StackOne::Shared::Groups), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('groups') } }
|
56
58
|
# The employee hire date
|
57
59
|
field :hire_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hire_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
58
60
|
# The employee home location
|
@@ -97,8 +99,8 @@ module StackOne
|
|
97
99
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
98
100
|
|
99
101
|
|
100
|
-
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
101
|
-
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
102
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), groups: T.nilable(::StackOne::Shared::Groups), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
103
|
+
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employee_number: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, groups: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
102
104
|
@avatar = avatar
|
103
105
|
@avatar_url = avatar_url
|
104
106
|
@benefits = benefits
|
@@ -120,6 +122,7 @@ module StackOne
|
|
120
122
|
@ethnicity = ethnicity
|
121
123
|
@first_name = first_name
|
122
124
|
@gender = gender
|
125
|
+
@groups = groups
|
123
126
|
@hire_date = hire_date
|
124
127
|
@home_location = home_location
|
125
128
|
@id = id
|
@@ -0,0 +1,22 @@
|
|
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 EmployeeSchemasGroupsValue < T::Enum
|
12
|
+
enums do
|
13
|
+
WORKSPACE = new('workspace')
|
14
|
+
TEAM = new('team')
|
15
|
+
DEPARTMENT = new('department')
|
16
|
+
GROUP = new('group')
|
17
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,27 @@
|
|
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
|
+
# The type of the group
|
11
|
+
class EmployeeType < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmployeeSchemasGroupsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmployeeSchemasGroupsValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmployeeSchemasGroupsValue)).void }
|
21
|
+
def initialize(source_value: nil, value: nil)
|
22
|
+
@source_value = source_value
|
23
|
+
@value = value
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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
|
+
# The employee groups
|
11
|
+
class Groups < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The name of the group
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# The list of group owner ids of the given group
|
19
|
+
field :owner_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('owner_ids') } }
|
20
|
+
# The list of parent group ids of the given group
|
21
|
+
field :parent_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('parent_ids') } }
|
22
|
+
# Provider's unique identifier
|
23
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
24
|
+
# The type of the group
|
25
|
+
field :type, T.nilable(::StackOne::Shared::EmployeeType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), owner_ids: T.nilable(T::Array[::String]), parent_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::EmployeeType)).void }
|
29
|
+
def initialize(id: nil, name: nil, owner_ids: nil, parent_ids: nil, remote_id: nil, type: nil)
|
30
|
+
@id = id
|
31
|
+
@name = name
|
32
|
+
@owner_ids = owner_ids
|
33
|
+
@parent_ids = parent_ids
|
34
|
+
@remote_id = remote_id
|
35
|
+
@type = type
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -17,23 +17,29 @@ module StackOne
|
|
17
17
|
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
18
18
|
# The end date of the time off request
|
19
19
|
field :end_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
|
+
# True if the end of the time off request ends half way through the day
|
21
|
+
field :end_half_day, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_half_day') } }
|
20
22
|
# Value to pass through to the provider
|
21
23
|
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
22
24
|
# The start date of the time off request
|
23
25
|
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
# True if the start of the time off request begins half way through the day
|
27
|
+
field :start_half_day, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_half_day') } }
|
24
28
|
# The status of the time off request
|
25
29
|
field :status, T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
26
30
|
# The type of the time off request
|
27
31
|
field :type, T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
28
32
|
|
29
33
|
|
30
|
-
sig { params(approver_id: T.nilable(::String), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), passthrough: T.nilable(T::Hash[Symbol, ::Object]), start_date: T.nilable(::DateTime), status: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoStatus), type: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType)).void }
|
31
|
-
def initialize(approver_id: nil, employee_id: nil, end_date: nil, passthrough: nil, start_date: nil, status: nil, type: nil)
|
34
|
+
sig { params(approver_id: T.nilable(::String), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), passthrough: T.nilable(T::Hash[Symbol, ::Object]), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoStatus), type: T.nilable(::StackOne::Shared::HrisCreateTimeOffRequestDtoType)).void }
|
35
|
+
def initialize(approver_id: nil, employee_id: nil, end_date: nil, end_half_day: nil, passthrough: nil, start_date: nil, start_half_day: nil, status: nil, type: nil)
|
32
36
|
@approver_id = approver_id
|
33
37
|
@employee_id = employee_id
|
34
38
|
@end_date = end_date
|
39
|
+
@end_half_day = end_half_day
|
35
40
|
@passthrough = passthrough
|
36
41
|
@start_date = start_date
|
42
|
+
@start_half_day = start_half_day
|
37
43
|
@status = status
|
38
44
|
@type = type
|
39
45
|
end
|
@@ -0,0 +1,30 @@
|
|
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 Source < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The source of the application
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -15,16 +15,22 @@ module StackOne
|
|
15
15
|
field :approver_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approver_id') } }
|
16
16
|
# The created date of the time off request
|
17
17
|
field :created_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
|
+
# The duration of the time off request (in days)
|
19
|
+
field :duration, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
18
20
|
# The employee ID
|
19
21
|
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
20
22
|
# The end date of the time off request
|
21
23
|
field :end_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
|
+
# True if the end of the time off request ends half way through the day
|
25
|
+
field :end_half_day, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_half_day') } }
|
22
26
|
# Unique identifier
|
23
27
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
28
|
# Provider's unique identifier
|
25
29
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
26
30
|
# The start date of the time off request
|
27
31
|
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
32
|
+
# True if the start of the time off request begins half way through the day
|
33
|
+
field :start_half_day, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_half_day') } }
|
28
34
|
# The status of the time off request
|
29
35
|
field :status, T.nilable(::StackOne::Shared::TimeOffStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
30
36
|
# The type of the time off request
|
@@ -33,15 +39,18 @@ module StackOne
|
|
33
39
|
field :updated_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
34
40
|
|
35
41
|
|
36
|
-
sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
|
37
|
-
def initialize(approver_id: nil, created_date: nil, employee_id: nil, end_date: nil, id: nil, remote_id: nil, start_date: nil, status: nil, type: nil, updated_date: nil)
|
42
|
+
sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), duration: T.nilable(::Float), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
|
43
|
+
def initialize(approver_id: nil, created_date: nil, duration: nil, employee_id: nil, end_date: nil, end_half_day: nil, id: nil, remote_id: nil, start_date: nil, start_half_day: nil, status: nil, type: nil, updated_date: nil)
|
38
44
|
@approver_id = approver_id
|
39
45
|
@created_date = created_date
|
46
|
+
@duration = duration
|
40
47
|
@employee_id = employee_id
|
41
48
|
@end_date = end_date
|
49
|
+
@end_half_day = end_half_day
|
42
50
|
@id = id
|
43
51
|
@remote_id = remote_id
|
44
52
|
@start_date = start_date
|
53
|
+
@start_half_day = start_half_day
|
45
54
|
@status = status
|
46
55
|
@type = type
|
47
56
|
@updated_date = updated_date
|
@@ -29,6 +29,7 @@ module StackOne
|
|
29
29
|
autoload :AtsCreateApplicationRequestDtoValue, 'stack_one/models/shared/atscreateapplicationrequestdto_value.rb'
|
30
30
|
autoload :AtsCreateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb'
|
31
31
|
autoload :AtsCreateApplicationRequestDtoCandidate, 'stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb'
|
32
|
+
autoload :AtsCreateApplicationRequestDtoSource, 'stack_one/models/shared/atscreateapplicationrequestdto_source.rb'
|
32
33
|
autoload :AtsCreateApplicationRequestDto, 'stack_one/models/shared/atscreateapplicationrequestdto.rb'
|
33
34
|
autoload :Questionnaire, 'stack_one/models/shared/questionnaire.rb'
|
34
35
|
autoload :AnswerValue, 'stack_one/models/shared/answer_value.rb'
|
@@ -50,6 +51,7 @@ module StackOne
|
|
50
51
|
autoload :ApplicationStatus, 'stack_one/models/shared/application_status.rb'
|
51
52
|
autoload :ApplicationCandidate, 'stack_one/models/shared/application_candidate.rb'
|
52
53
|
autoload :ApplicationInterviewStage, 'stack_one/models/shared/application_interview_stage.rb'
|
54
|
+
autoload :Source, 'stack_one/models/shared/source.rb'
|
53
55
|
autoload :Application, 'stack_one/models/shared/application.rb'
|
54
56
|
autoload :ResultLink, 'stack_one/models/shared/resultlink.rb'
|
55
57
|
autoload :RejectedReasonValue, 'stack_one/models/shared/rejectedreason_value.rb'
|
@@ -149,6 +151,7 @@ module StackOne
|
|
149
151
|
autoload :UpdateResult, 'stack_one/models/shared/updateresult.rb'
|
150
152
|
autoload :AtsUpdateApplicationRequestDtoValue, 'stack_one/models/shared/atsupdateapplicationrequestdto_value.rb'
|
151
153
|
autoload :AtsUpdateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb'
|
154
|
+
autoload :AtsUpdateApplicationRequestDtoSource, 'stack_one/models/shared/atsupdateapplicationrequestdto_source.rb'
|
152
155
|
autoload :AtsUpdateApplicationRequestDto, 'stack_one/models/shared/atsupdateapplicationrequestdto.rb'
|
153
156
|
autoload :AtsUpdateCandidateRequestDto, 'stack_one/models/shared/atsupdatecandidaterequestdto.rb'
|
154
157
|
autoload :WriteResultApiModel, 'stack_one/models/shared/writeresultapimodel.rb'
|
@@ -252,6 +255,9 @@ module StackOne
|
|
252
255
|
autoload :Ethnicity, 'stack_one/models/shared/ethnicity.rb'
|
253
256
|
autoload :EmployeeSchemasGenderValue, 'stack_one/models/shared/employee_schemas_gender_value.rb'
|
254
257
|
autoload :Gender, 'stack_one/models/shared/gender.rb'
|
258
|
+
autoload :EmployeeSchemasGroupsValue, 'stack_one/models/shared/employee_schemas_groups_value.rb'
|
259
|
+
autoload :EmployeeType, 'stack_one/models/shared/employee_type.rb'
|
260
|
+
autoload :Groups, 'stack_one/models/shared/groups.rb'
|
255
261
|
autoload :EmployeeSchemasHomeLocationValue, 'stack_one/models/shared/employee_schemas_home_location_value.rb'
|
256
262
|
autoload :EmployeeCountry, 'stack_one/models/shared/employee_country.rb'
|
257
263
|
autoload :EmployeeSchemasHomeLocationLocationTypeValue, 'stack_one/models/shared/employee_schemas_home_location_location_type_value.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.24'
|
42
|
+
@gen_version = '2.333.3'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.24 2.333.3 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.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -399,6 +399,7 @@ files:
|
|
399
399
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto.rb
|
400
400
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb
|
401
401
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb
|
402
|
+
- lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb
|
402
403
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb
|
403
404
|
- lib/stack_one/models/shared/atscreatecandidaterequestdto.rb
|
404
405
|
- lib/stack_one/models/shared/atscreatenotesrequestdto.rb
|
@@ -415,6 +416,7 @@ files:
|
|
415
416
|
- lib/stack_one/models/shared/atslocationspaginated.rb
|
416
417
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb
|
417
418
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb
|
419
|
+
- lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb
|
418
420
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb
|
419
421
|
- lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb
|
420
422
|
- lib/stack_one/models/shared/avatar.rb
|
@@ -474,6 +476,7 @@ files:
|
|
474
476
|
- lib/stack_one/models/shared/employee_schemas_employment_type_value.rb
|
475
477
|
- lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb
|
476
478
|
- lib/stack_one/models/shared/employee_schemas_gender_value.rb
|
479
|
+
- lib/stack_one/models/shared/employee_schemas_groups_value.rb
|
477
480
|
- lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb
|
478
481
|
- lib/stack_one/models/shared/employee_schemas_home_location_value.rb
|
479
482
|
- lib/stack_one/models/shared/employee_schemas_location_type.rb
|
@@ -482,6 +485,7 @@ files:
|
|
482
485
|
- lib/stack_one/models/shared/employee_schemas_value.rb
|
483
486
|
- lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb
|
484
487
|
- lib/stack_one/models/shared/employee_schemas_work_location_value.rb
|
488
|
+
- lib/stack_one/models/shared/employee_type.rb
|
485
489
|
- lib/stack_one/models/shared/employee_value.rb
|
486
490
|
- lib/stack_one/models/shared/employeecustomfields.rb
|
487
491
|
- lib/stack_one/models/shared/employeecustomfields_type.rb
|
@@ -505,6 +509,7 @@ files:
|
|
505
509
|
- lib/stack_one/models/shared/field_type.rb
|
506
510
|
- lib/stack_one/models/shared/file_format.rb
|
507
511
|
- lib/stack_one/models/shared/gender.rb
|
512
|
+
- lib/stack_one/models/shared/groups.rb
|
508
513
|
- lib/stack_one/models/shared/headers.rb
|
509
514
|
- lib/stack_one/models/shared/home_location.rb
|
510
515
|
- lib/stack_one/models/shared/hrisbenefit.rb
|
@@ -683,6 +688,7 @@ files:
|
|
683
688
|
- lib/stack_one/models/shared/security.rb
|
684
689
|
- lib/stack_one/models/shared/setup_information.rb
|
685
690
|
- lib/stack_one/models/shared/sociallink.rb
|
691
|
+
- lib/stack_one/models/shared/source.rb
|
686
692
|
- lib/stack_one/models/shared/state.rb
|
687
693
|
- lib/stack_one/models/shared/status.rb
|
688
694
|
- lib/stack_one/models/shared/template.rb
|