stackone_client 0.2.39 → 0.2.40
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/ats.rb +98 -0
- data/lib/stack_one/models/operations/ats_create_job_request.rb +27 -0
- data/lib/stack_one/models/operations/ats_create_job_response.rb +33 -0
- data/lib/stack_one/models/operations/ats_update_job_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_update_job_response.rb +33 -0
- data/lib/stack_one/models/operations/lms_list_completions_request.rb +2 -8
- data/lib/stack_one/models/operations/lms_list_user_completions_request.rb +2 -8
- data/lib/stack_one/models/operations.rb +4 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb +2 -5
- data/lib/stack_one/models/shared/atscreatejobrequestdto.rb +59 -0
- data/lib/stack_one/models/shared/atscreatejobrequestdto_value.rb +25 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb +2 -5
- data/lib/stack_one/models/shared/atsupdatejobrequestdto.rb +59 -0
- data/lib/stack_one/models/shared/atsupdatejobrequestdto_confidential.rb +18 -0
- data/lib/stack_one/models/shared/atsupdatejobrequestdto_job_status.rb +27 -0
- data/lib/stack_one/models/shared/atsupdatejobrequestdto_value.rb +25 -0
- data/lib/stack_one/models/shared/benefit_type.rb +2 -2
- data/lib/stack_one/models/shared/completion.rb +14 -2
- data/lib/stack_one/models/shared/confidential.rb +5 -14
- data/lib/stack_one/models/shared/createanswer.rb +30 -0
- data/lib/stack_one/models/shared/createanswer_type.rb +27 -0
- data/lib/stack_one/models/shared/createanswer_value.rb +25 -0
- data/lib/stack_one/models/shared/createemploymentapimodel.rb +60 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_pay_frequency_value.rb +31 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_pay_period_value.rb +29 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_schemas_value.rb +33 -0
- data/lib/stack_one/models/shared/createemploymentapimodel_value.rb +20 -0
- data/lib/stack_one/models/shared/createhrisbenefit.rb +42 -0
- data/lib/stack_one/models/shared/createhrisbenefit_value.rb +21 -0
- data/lib/stack_one/models/shared/createmessage.rb +33 -0
- data/lib/stack_one/models/shared/createmessage_value.rb +20 -0
- data/lib/stack_one/models/shared/createquestionnaire.rb +27 -0
- data/lib/stack_one/models/shared/emailmessages.rb +2 -2
- data/lib/stack_one/models/shared/emailmessages_message_type.rb +27 -0
- data/lib/stack_one/models/shared/employee.rb +3 -3
- data/lib/stack_one/models/shared/employee_employment_contract_type.rb +27 -0
- data/lib/stack_one/models/shared/employee_employment_type.rb +27 -0
- data/lib/stack_one/models/shared/employment.rb +3 -3
- data/lib/stack_one/models/shared/employment_contract_type.rb +2 -2
- data/lib/stack_one/models/shared/employment_pay_frequency.rb +27 -0
- data/lib/stack_one/models/shared/employment_pay_period.rb +27 -0
- data/lib/stack_one/models/shared/employment_type.rb +3 -3
- data/lib/stack_one/models/shared/hrisbenefit.rb +2 -2
- data/lib/stack_one/models/shared/hrisbenefit_benefit_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +3 -3
- data/lib/stack_one/models/shared/hrisdepartment_value.rb +4 -0
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_confidential.rb +27 -0
- data/lib/stack_one/models/shared/iammfatypeenum_value.rb +5 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/job_job_status.rb +27 -0
- data/lib/stack_one/models/shared/job_status.rb +2 -2
- data/lib/stack_one/models/shared/level.rb +27 -0
- data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +2 -2
- data/lib/stack_one/models/shared/message_type.rb +3 -3
- data/lib/stack_one/models/shared/pay_frequency.rb +2 -2
- data/lib/stack_one/models/shared/pay_period.rb +2 -2
- data/lib/stack_one/models/shared/skills.rb +5 -2
- data/lib/stack_one/models/shared/skills_value.rb +18 -0
- data/lib/stack_one/models/shared.rb +53 -24
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +35 -2
@@ -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::CreateEmploymentApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateEmploymentApiModelValue, 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::CreateEmploymentApiModelValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The pay frequency
|
11
|
+
class EmploymentPayFrequency < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the pay frequency.
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The pay frequency of the job postings.
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmploymentSchemasPayFrequencyValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmploymentSchemasPayFrequencyValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmploymentSchemasPayFrequencyValue)).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,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The pay period
|
11
|
+
class EmploymentPayPeriod < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the pay period.
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The pay period of the job postings.
|
17
|
+
field :value, T.nilable(::StackOne::Shared::EmploymentSchemasPayPeriodValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::EmploymentSchemasPayPeriodValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::EmploymentSchemasPayPeriodValue)).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
|
@@ -7,17 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
# The
|
10
|
+
# The type of employment (e.g., contractor, permanent)
|
11
11
|
class EmploymentType < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The source value of the employment type.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The type of the employment.
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::CreateEmploymentApiModelSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateEmploymentApiModelSchemasValue, 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::CreateEmploymentApiModelSchemasValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -12,7 +12,7 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The type of the benefit
|
15
|
-
field :benefit_type, T.nilable(::StackOne::Shared::
|
15
|
+
field :benefit_type, T.nilable(::StackOne::Shared::HRISBenefitBenefitType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('benefit_type') } }
|
16
16
|
# The date and time the benefit was created
|
17
17
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
18
|
# The description of the benefit
|
@@ -29,7 +29,7 @@ module StackOne
|
|
29
29
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
30
|
|
31
31
|
|
32
|
-
sig { params(benefit_type: T.nilable(::StackOne::Shared::
|
32
|
+
sig { params(benefit_type: T.nilable(::StackOne::Shared::HRISBenefitBenefitType), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), name: T.nilable(::String), provider: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
33
33
|
def initialize(benefit_type: nil, created_at: nil, description: nil, id: nil, name: nil, provider: nil, remote_id: nil, updated_at: nil)
|
34
34
|
@benefit_type = benefit_type
|
35
35
|
@created_at = created_at
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). 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 benefit
|
11
|
+
class HRISBenefitBenefitType < ::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
|
+
# The type of the benefit
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HRISBenefitValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HRISBenefitValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HRISBenefitValue)).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
|
@@ -16,7 +16,7 @@ module StackOne
|
|
16
16
|
# The employee avatar Url
|
17
17
|
field :avatar_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('avatar_url') } }
|
18
18
|
# Current benefits of the employee
|
19
|
-
field :benefits, T.nilable(T::Array[::StackOne::Shared::
|
19
|
+
field :benefits, T.nilable(T::Array[::StackOne::Shared::CreateHRISBenefit]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('benefits') } }
|
20
20
|
# The employee birthday
|
21
21
|
field :birthday, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('birthday'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
22
|
# The citizenships of the Employee
|
@@ -40,7 +40,7 @@ module StackOne
|
|
40
40
|
# The employee employment type
|
41
41
|
field :employment_type, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employment_type') } }
|
42
42
|
# The employee employments
|
43
|
-
field :employments, T.nilable(T::Array[::StackOne::Shared::
|
43
|
+
field :employments, T.nilable(T::Array[::StackOne::Shared::CreateEmploymentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employments') } }
|
44
44
|
# The employee ethnicity
|
45
45
|
field :ethnicity, T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('ethnicity') } }
|
46
46
|
# The employee first name
|
@@ -89,7 +89,7 @@ module StackOne
|
|
89
89
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
90
90
|
|
91
91
|
|
92
|
-
sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::
|
92
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoAvatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::CreateHRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company_name: T.nilable(::String), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentStatus), employment_type: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::CreateEmploymentApiModel]), ethnicity: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoEthnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoGender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoHomeLocation), job_id: T.nilable(::String), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoMaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoNationalIdentityNumber), passthrough: T.nilable(T::Hash[Symbol, ::Object]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoPreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::HrisCreateEmployeeRequestDtoWorkLocation), work_phone_number: T.nilable(::String)).void }
|
93
93
|
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company_name: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: nil, display_name: 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, job_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, passthrough: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
94
94
|
@avatar = avatar
|
95
95
|
@avatar_url = avatar_url
|
@@ -16,7 +16,7 @@ module StackOne
|
|
16
16
|
# The categoryId of the documents
|
17
17
|
field :category_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category_id') } }
|
18
18
|
# The confidentiality level of the file to be uploaded
|
19
|
-
field :confidential, T.nilable(::StackOne::Shared::
|
19
|
+
field :confidential, T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoConfidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential') } }
|
20
20
|
# The base64 encoded content of the file to upload
|
21
21
|
field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
22
22
|
# The file format of the file
|
@@ -27,7 +27,7 @@ module StackOne
|
|
27
27
|
field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
|
28
28
|
|
29
29
|
|
30
|
-
sig { params(category: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory), category_id: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::
|
30
|
+
sig { params(category: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory), category_id: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoConfidential), content: T.nilable(::String), file_format: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoFileFormat), name: T.nilable(::String), path: T.nilable(::String)).void }
|
31
31
|
def initialize(category: nil, category_id: nil, confidential: nil, content: nil, file_format: nil, name: nil, path: nil)
|
32
32
|
@category = category
|
33
33
|
@category_id = category_id
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The confidentiality level of the file to be uploaded
|
11
|
+
class HrisDocumentsUploadRequestDtoConfidential < ::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
|
+
# Whether the file is confidential or not
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoSchemasValue)).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
|
@@ -14,6 +14,11 @@ module StackOne
|
|
14
14
|
EMAIL = new('email')
|
15
15
|
PUSH = new('push')
|
16
16
|
TOTP = new('totp')
|
17
|
+
PHONE_CALL = new('phone_call')
|
18
|
+
QUESTION = new('question')
|
19
|
+
SOFTWARE_TOKEN = new('software_token')
|
20
|
+
HARDWARE_TOKEN = new('hardware_token')
|
21
|
+
WEB = new('web')
|
17
22
|
UNKNOWN = new('unknown')
|
18
23
|
UNMAPPED_VALUE = new('unmapped_value')
|
19
24
|
end
|
@@ -28,7 +28,7 @@ module StackOne
|
|
28
28
|
# Interview stages for the job.
|
29
29
|
field :interview_stages, T.nilable(T::Array[::StackOne::Shared::InterviewStage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stages') } }
|
30
30
|
# Status of the job
|
31
|
-
field :job_status, T.nilable(::StackOne::Shared::
|
31
|
+
field :job_status, T.nilable(::StackOne::Shared::JobJobStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_status') } }
|
32
32
|
# Location ids of the job
|
33
33
|
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
34
34
|
# Provider's department ids of the job
|
@@ -49,7 +49,7 @@ module StackOne
|
|
49
49
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
50
50
|
|
51
51
|
|
52
|
-
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::JobConfidential), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::JobCustomFields]), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::
|
52
|
+
sig { params(code: T.nilable(::String), confidential: T.nilable(::StackOne::Shared::JobConfidential), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::JobCustomFields]), department_ids: T.nilable(T::Array[::String]), hiring_team: T.nilable(T::Array[::StackOne::Shared::JobHiringTeam]), id: T.nilable(::String), interview_stages: T.nilable(T::Array[::StackOne::Shared::InterviewStage]), job_status: T.nilable(::StackOne::Shared::JobJobStatus), location_ids: T.nilable(T::Array[::String]), remote_department_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), remote_location_ids: T.nilable(T::Array[::String]), status: T.nilable(::String), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::DateTime)).void }
|
53
53
|
def initialize(code: nil, confidential: nil, created_at: nil, custom_fields: nil, department_ids: nil, hiring_team: nil, id: nil, interview_stages: nil, job_status: nil, location_ids: nil, remote_department_ids: nil, remote_id: nil, remote_location_ids: nil, status: nil, title: nil, unified_custom_fields: nil, updated_at: nil)
|
54
54
|
@code = code
|
55
55
|
@confidential = confidential
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# Status of the job
|
11
|
+
class JobJobStatus < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The source value of the job status.
|
15
|
+
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
+
# The status of the job.
|
17
|
+
field :value, T.nilable(::StackOne::Shared::JobValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::JobValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::JobValue)).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
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
# The source value of the job status.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The status of the job.
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::AtsCreateJobRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsCreateJobRequestDtoValue, 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::AtsCreateJobRequestDtoValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -0,0 +1,27 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
# The hierarchal level of the skill
|
11
|
+
class Level < ::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::SkillsValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::SkillsValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::SkillsValue)).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
|
@@ -12,7 +12,7 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :messages, T.nilable(T::Array[::StackOne::Shared::
|
15
|
+
field :messages, T.nilable(T::Array[::StackOne::Shared::CreateMessage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('messages') } }
|
16
16
|
|
17
17
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
18
|
# Value to pass through to the provider
|
@@ -21,7 +21,7 @@ module StackOne
|
|
21
21
|
field :tags, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(messages: T.nilable(T::Array[::StackOne::Shared::
|
24
|
+
sig { params(messages: T.nilable(T::Array[::StackOne::Shared::CreateMessage]), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), tags: T.nilable(T::Array[::String])).void }
|
25
25
|
def initialize(messages: nil, name: nil, passthrough: nil, tags: nil)
|
26
26
|
@messages = messages
|
27
27
|
@name = name
|
@@ -7,17 +7,17 @@
|
|
7
7
|
module StackOne
|
8
8
|
module Shared
|
9
9
|
|
10
|
-
|
10
|
+
# Stackone enum identifying the type of message associated with the content.
|
11
11
|
class MessageType < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The original value from the provider used to derive the unified message type.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The unified message type.
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::CreateMessageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }
|
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::CreateMessageValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
# The source value of the pay frequency.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The pay frequency of the job postings.
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::CreateEmploymentApiModelSchemasPayFrequencyValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateEmploymentApiModelSchemasPayFrequencyValue, 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::CreateEmploymentApiModelSchemasPayFrequencyValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -14,10 +14,10 @@ module StackOne
|
|
14
14
|
# The source value of the pay period.
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The pay period of the job postings.
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::CreateEmploymentApiModelSchemasPayPeriodValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateEmploymentApiModelSchemasPayPeriodValue, 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::CreateEmploymentApiModelSchemasPayPeriodValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -15,16 +15,19 @@ module StackOne
|
|
15
15
|
field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
16
|
# The ID associated with this skill
|
17
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# The hierarchal level of the skill
|
19
|
+
field :level, T.nilable(::StackOne::Shared::Level), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
|
18
20
|
# The name associated with this skill
|
19
21
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
22
|
# Provider's unique identifier
|
21
23
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
25
|
-
def initialize(active: nil, id: nil, name: nil, remote_id: nil)
|
26
|
+
sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), level: T.nilable(::StackOne::Shared::Level), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
27
|
+
def initialize(active: nil, id: nil, level: nil, name: nil, remote_id: nil)
|
26
28
|
@active = active
|
27
29
|
@id = id
|
30
|
+
@level = level
|
28
31
|
@name = name
|
29
32
|
@remote_id = remote_id
|
30
33
|
end
|
@@ -0,0 +1,18 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class SkillsValue < T::Enum
|
12
|
+
enums do
|
13
|
+
PRIMARY = new('primary')
|
14
|
+
SECONDARY = new('secondary')
|
15
|
+
end
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|