stackone_client 0.5.8 → 0.5.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/accounts.rb +10 -5
- data/lib/stack_one/ats.rb +243 -70
- data/lib/stack_one/connect_sessions.rb +4 -2
- data/lib/stack_one/connectors.rb +4 -2
- data/lib/stack_one/crm.rb +20 -10
- data/lib/stack_one/hris.rb +198 -56
- data/lib/stack_one/iam.rb +16 -8
- data/lib/stack_one/lms.rb +54 -27
- data/lib/stack_one/marketing.rb +52 -26
- data/lib/stack_one/models/operations/ats_delete_background_check_package_request.rb +27 -0
- data/lib/stack_one/models/operations/ats_delete_background_check_package_response.rb +36 -0
- data/lib/stack_one/models/operations/ats_update_background_check_package_request.rb +30 -0
- data/lib/stack_one/models/operations/ats_update_background_check_package_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_get_employee_skill_request.rb +39 -0
- data/lib/stack_one/models/operations/hris_get_employee_skill_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_list_employee_skills_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_employee_skills_request.rb +55 -0
- data/lib/stack_one/models/operations/hris_list_employee_skills_response.rb +36 -0
- data/lib/stack_one/models/operations.rb +9 -0
- data/lib/stack_one/models/shared/atsupdatebackgroundcheckpackagesrequestdto.rb +33 -0
- data/lib/stack_one/models/shared/balance_unit.rb +1 -1
- data/lib/stack_one/models/shared/connectsession.rb +5 -2
- data/lib/stack_one/models/shared/connectsessioncreate.rb +2 -2
- data/lib/stack_one/models/shared/connectsessioncreate_metadata.rb +20 -0
- data/lib/stack_one/models/shared/connectsessiontokenauthlink.rb +5 -2
- data/lib/stack_one/models/shared/connectsessiontokenauthlink_metadata.rb +20 -0
- data/lib/stack_one/models/shared/duration_unit.rb +27 -0
- data/lib/stack_one/models/shared/employee.rb +5 -2
- data/lib/stack_one/models/shared/entityskillresult.rb +27 -0
- data/lib/stack_one/models/shared/entityskills.rb +42 -0
- data/lib/stack_one/models/shared/entityskills_language.rb +27 -0
- data/lib/stack_one/models/shared/entityskills_schemas_minimum_proficiency_value.rb +21 -0
- data/lib/stack_one/models/shared/entityskills_schemas_value.rb +21 -0
- data/lib/stack_one/models/shared/{localisationmodel_value.rb → entityskills_value.rb} +2 -2
- data/lib/stack_one/models/shared/entityskillscreaterequestdto.rb +3 -3
- data/lib/stack_one/models/shared/entityskillscreaterequestdto_maximum_proficiency.rb +36 -0
- data/lib/stack_one/models/shared/entityskillscreaterequestdto_minimum_proficiency.rb +36 -0
- data/lib/stack_one/models/shared/entityskillspaginated.rb +30 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +8 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_reason.rb +30 -0
- data/lib/stack_one/models/shared/hrisdepartment_value.rb +1 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -5
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +5 -2
- data/lib/stack_one/models/shared/{localisationmodel.rb → localizationmodel.rb} +4 -4
- data/lib/stack_one/models/shared/{localisationmodel_language.rb → localizationmodel_language.rb} +4 -4
- data/lib/stack_one/models/shared/localizationmodel_value.rb +426 -0
- data/lib/stack_one/models/shared/maximum_proficiency.rb +2 -2
- data/lib/stack_one/models/shared/metadata.rb +1 -1
- data/lib/stack_one/models/shared/minimum_proficiency.rb +2 -2
- data/lib/stack_one/models/shared/patchaccountexternaldto.rb +5 -2
- data/lib/stack_one/models/shared/patchaccountexternaldto_metadata.rb +20 -0
- data/lib/stack_one/models/shared/policy.rb +8 -2
- data/lib/stack_one/models/shared/reason.rb +30 -0
- data/lib/stack_one/models/shared/timeoff.rb +11 -2
- data/lib/stack_one/models/shared/timeoff_reason.rb +30 -0
- data/lib/stack_one/models/shared/timeoffbalances_duration_unit.rb +27 -0
- data/lib/stack_one/models/shared/timeoffbalances_schemas_policy_value.rb +26 -0
- data/lib/stack_one/models/shared/timeoffbalances_schemas_value.rb +8 -11
- data/lib/stack_one/models/shared/timeoffbalances_type.rb +2 -2
- data/lib/stack_one/models/shared/timeoffbalances_value.rb +1 -1
- data/lib/stack_one/models/shared/timeoffpolicies.rb +8 -2
- data/lib/stack_one/models/shared/timeoffpolicies_schemas_value.rb +26 -0
- data/lib/stack_one/models/shared/timeoffpolicies_type.rb +2 -2
- data/lib/stack_one/models/shared/timeoffpolicies_value.rb +8 -11
- data/lib/stack_one/models/shared/updatepackage.rb +27 -0
- data/lib/stack_one/models/shared.rb +28 -7
- data/lib/stack_one/proxy.rb +2 -1
- data/lib/stack_one/sdkconfiguration.rb +12 -7
- data/lib/stack_one/stackone.rb +23 -36
- metadata +35 -5
@@ -0,0 +1,36 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsDeleteBackgroundCheckPackageResponse < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
|
17
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
18
|
+
# Raw HTTP response; suitable for custom response parsing
|
19
|
+
field :raw_response, ::Faraday::Response
|
20
|
+
# HTTP response status code for this operation
|
21
|
+
field :status_code, ::Integer
|
22
|
+
# Record deleted successfully.
|
23
|
+
field :delete_result, T.nilable(::StackOne::Shared::DeleteResult)
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, delete_result: T.nilable(::StackOne::Shared::DeleteResult)).void }
|
27
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, delete_result: nil)
|
28
|
+
@content_type = content_type
|
29
|
+
@headers = headers
|
30
|
+
@raw_response = raw_response
|
31
|
+
@status_code = status_code
|
32
|
+
@delete_result = delete_result
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,30 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsUpdateBackgroundCheckPackageRequest < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :ats_update_background_check_packages_request_dto, ::StackOne::Shared::AtsUpdateBackgroundCheckPackagesRequestDto, { 'request': { 'media_type': 'application/json' } }
|
16
|
+
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(ats_update_background_check_packages_request_dto: ::StackOne::Shared::AtsUpdateBackgroundCheckPackagesRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
+
def initialize(ats_update_background_check_packages_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
+
@ats_update_background_check_packages_request_dto = ats_update_background_check_packages_request_dto
|
25
|
+
@id = id
|
26
|
+
@x_account_id = x_account_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class AtsUpdateBackgroundCheckPackageResponse < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
|
17
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
18
|
+
# Raw HTTP response; suitable for custom response parsing
|
19
|
+
field :raw_response, ::Faraday::Response
|
20
|
+
# HTTP response status code for this operation
|
21
|
+
field :status_code, ::Integer
|
22
|
+
# Record updated successfully.
|
23
|
+
field :update_result, T.nilable(::StackOne::Shared::UpdateResult)
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, update_result: T.nilable(::StackOne::Shared::UpdateResult)).void }
|
27
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, update_result: nil)
|
28
|
+
@content_type = content_type
|
29
|
+
@headers = headers
|
30
|
+
@raw_response = raw_response
|
31
|
+
@status_code = status_code
|
32
|
+
@update_result = update_result
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,39 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisGetEmployeeSkillRequest < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
18
|
+
# The account identifier
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# Indicates that the raw request result is returned
|
25
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
29
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
|
+
@id = id
|
31
|
+
@sub_resource_id = sub_resource_id
|
32
|
+
@x_account_id = x_account_id
|
33
|
+
@fields_ = fields_
|
34
|
+
@proxy = proxy
|
35
|
+
@raw = raw
|
36
|
+
end
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisGetEmployeeSkillResponse < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
|
17
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
18
|
+
# Raw HTTP response; suitable for custom response parsing
|
19
|
+
field :raw_response, ::Faraday::Response
|
20
|
+
# HTTP response status code for this operation
|
21
|
+
field :status_code, ::Integer
|
22
|
+
# The skill related to the employee with the given identifiers was retrieved.
|
23
|
+
field :entity_skill_result, T.nilable(::StackOne::Shared::EntitySkillResult)
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, entity_skill_result: T.nilable(::StackOne::Shared::EntitySkillResult)).void }
|
27
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, entity_skill_result: nil)
|
28
|
+
@content_type = content_type
|
29
|
+
@headers = headers
|
30
|
+
@raw_response = raw_response
|
31
|
+
@status_code = status_code
|
32
|
+
@entity_skill_result = entity_skill_result
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -0,0 +1,24 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
# Filter parameters that allow greater customisation of the list response
|
11
|
+
class HrisListEmployeeSkillsQueryParamFilter < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Use a string with a date to only select results updated after that given date
|
15
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
16
|
+
|
17
|
+
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
+
def initialize(updated_after: nil)
|
20
|
+
@updated_after = updated_after
|
21
|
+
end
|
22
|
+
end
|
23
|
+
end
|
24
|
+
end
|
@@ -0,0 +1,55 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisListEmployeeSkillsRequest < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The account identifier
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Filter parameters that allow greater customisation of the list response
|
21
|
+
field :filter, T.nilable(::StackOne::Operations::HrisListEmployeeSkillsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
22
|
+
# The unified cursor
|
23
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
+
# The page number of the results to fetch
|
25
|
+
#
|
26
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
+
# The number of results per page
|
29
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
32
|
+
# Indicates that the raw request result is returned
|
33
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
+
# Use a string with a date to only select results updated after that given date
|
35
|
+
#
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
|
+
|
39
|
+
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeeSkillsQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
42
|
+
@id = id
|
43
|
+
@x_account_id = x_account_id
|
44
|
+
@fields_ = fields_
|
45
|
+
@filter = filter
|
46
|
+
@next_ = next_
|
47
|
+
@page = page
|
48
|
+
@page_size = page_size
|
49
|
+
@proxy = proxy
|
50
|
+
@raw = raw
|
51
|
+
@updated_after = updated_after
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,36 @@
|
|
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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisListEmployeeSkillsResponse < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# HTTP response content type for this operation
|
15
|
+
field :content_type, ::String
|
16
|
+
|
17
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
18
|
+
# Raw HTTP response; suitable for custom response parsing
|
19
|
+
field :raw_response, ::Faraday::Response
|
20
|
+
# HTTP response status code for this operation
|
21
|
+
field :status_code, ::Integer
|
22
|
+
# The skills related to the employee with the given identifier were retrieved.
|
23
|
+
field :entity_skills_paginated, T.nilable(::StackOne::Shared::EntitySkillsPaginated)
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, entity_skills_paginated: T.nilable(::StackOne::Shared::EntitySkillsPaginated)).void }
|
27
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, entity_skills_paginated: nil)
|
28
|
+
@content_type = content_type
|
29
|
+
@headers = headers
|
30
|
+
@raw_response = raw_response
|
31
|
+
@status_code = status_code
|
32
|
+
@entity_skills_paginated = entity_skills_paginated
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -35,6 +35,8 @@ module StackOne
|
|
35
35
|
autoload :AtsCreateJobResponse, 'stack_one/models/operations/ats_create_job_response.rb'
|
36
36
|
autoload :AtsCreateOfferRequest, 'stack_one/models/operations/ats_create_offer_request.rb'
|
37
37
|
autoload :AtsCreateOfferResponse, 'stack_one/models/operations/ats_create_offer_response.rb'
|
38
|
+
autoload :AtsDeleteBackgroundCheckPackageRequest, 'stack_one/models/operations/ats_delete_background_check_package_request.rb'
|
39
|
+
autoload :AtsDeleteBackgroundCheckPackageResponse, 'stack_one/models/operations/ats_delete_background_check_package_response.rb'
|
38
40
|
autoload :AtsDownloadApplicationDocumentRequest, 'stack_one/models/operations/ats_download_application_document_request.rb'
|
39
41
|
autoload :AtsDownloadApplicationDocumentResponse, 'stack_one/models/operations/ats_download_application_document_response.rb'
|
40
42
|
autoload :AtsGetApplicationRequest, 'stack_one/models/operations/ats_get_application_request.rb'
|
@@ -182,6 +184,8 @@ module StackOne
|
|
182
184
|
autoload :AtsUpdateApplicationNoteResponse, 'stack_one/models/operations/ats_update_application_note_response.rb'
|
183
185
|
autoload :AtsUpdateAssessmentsResultRequest, 'stack_one/models/operations/ats_update_assessments_result_request.rb'
|
184
186
|
autoload :AtsUpdateAssessmentsResultResponse, 'stack_one/models/operations/ats_update_assessments_result_response.rb'
|
187
|
+
autoload :AtsUpdateBackgroundCheckPackageRequest, 'stack_one/models/operations/ats_update_background_check_package_request.rb'
|
188
|
+
autoload :AtsUpdateBackgroundCheckPackageResponse, 'stack_one/models/operations/ats_update_background_check_package_response.rb'
|
185
189
|
autoload :AtsUpdateBackgroundCheckResultRequest, 'stack_one/models/operations/ats_update_background_check_result_request.rb'
|
186
190
|
autoload :AtsUpdateBackgroundCheckResultResponse, 'stack_one/models/operations/ats_update_background_check_result_response.rb'
|
187
191
|
autoload :AtsUpdateCandidateRequest, 'stack_one/models/operations/ats_update_candidate_request.rb'
|
@@ -250,6 +254,8 @@ module StackOne
|
|
250
254
|
autoload :HrisGetEmployeeDocumentCategoryResponse, 'stack_one/models/operations/hris_get_employee_document_category_response.rb'
|
251
255
|
autoload :HrisGetEmployeeEmploymentRequest, 'stack_one/models/operations/hris_get_employee_employment_request.rb'
|
252
256
|
autoload :HrisGetEmployeeEmploymentResponse, 'stack_one/models/operations/hris_get_employee_employment_response.rb'
|
257
|
+
autoload :HrisGetEmployeeSkillRequest, 'stack_one/models/operations/hris_get_employee_skill_request.rb'
|
258
|
+
autoload :HrisGetEmployeeSkillResponse, 'stack_one/models/operations/hris_get_employee_skill_response.rb'
|
253
259
|
autoload :HrisGetEmployeeTimeOffBalanceRequest, 'stack_one/models/operations/hris_get_employee_time_off_balance_request.rb'
|
254
260
|
autoload :HrisGetEmployeeTimeOffBalanceResponse, 'stack_one/models/operations/hris_get_employee_time_off_balance_response.rb'
|
255
261
|
autoload :HrisGetEmployeesTimeOffRequestRequest, 'stack_one/models/operations/hris_get_employees_time_off_request_request.rb'
|
@@ -300,6 +306,9 @@ module StackOne
|
|
300
306
|
autoload :HrisListEmployeeEmploymentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb'
|
301
307
|
autoload :HrisListEmployeeEmploymentsRequest, 'stack_one/models/operations/hris_list_employee_employments_request.rb'
|
302
308
|
autoload :HrisListEmployeeEmploymentsResponse, 'stack_one/models/operations/hris_list_employee_employments_response.rb'
|
309
|
+
autoload :HrisListEmployeeSkillsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_skills_queryparam_filter.rb'
|
310
|
+
autoload :HrisListEmployeeSkillsRequest, 'stack_one/models/operations/hris_list_employee_skills_request.rb'
|
311
|
+
autoload :HrisListEmployeeSkillsResponse, 'stack_one/models/operations/hris_list_employee_skills_response.rb'
|
303
312
|
autoload :HrisListEmployeeTimeOffBalancesQueryParamFilter, 'stack_one/models/operations/hris_list_employee_time_off_balances_queryparam_filter.rb'
|
304
313
|
autoload :HrisListEmployeeTimeOffBalancesRequest, 'stack_one/models/operations/hris_list_employee_time_off_balances_request.rb'
|
305
314
|
autoload :HrisListEmployeeTimeOffBalancesResponse, 'stack_one/models/operations/hris_list_employee_time_off_balances_response.rb'
|
@@ -0,0 +1,33 @@
|
|
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 AtsUpdateBackgroundCheckPackagesRequestDto < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Package description
|
15
|
+
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
16
|
+
# Package name
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Value to pass through to the provider
|
19
|
+
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
20
|
+
# Package tests
|
21
|
+
field :tests, T.nilable(T::Array[::StackOne::Shared::UpdatePackage]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tests') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(description: T.nilable(::String), name: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), tests: T.nilable(T::Array[::StackOne::Shared::UpdatePackage])).void }
|
25
|
+
def initialize(description: nil, name: nil, passthrough: nil, tests: nil)
|
26
|
+
@description = description
|
27
|
+
@name = name
|
28
|
+
@passthrough = passthrough
|
29
|
+
@tests = tests
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
|
-
# The unified value for the duration unit
|
16
|
+
# The unified value for the duration unit. If the provider does not specify this unit, the value will be set to unknown
|
17
17
|
field :value, T.nilable(::StackOne::Shared::TimeOffBalancesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::TimeOffBalancesValue, true) } }
|
18
18
|
|
19
19
|
|
@@ -29,14 +29,16 @@ module StackOne
|
|
29
29
|
field :categories, T.nilable(T::Array[::StackOne::Shared::Categories]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
30
30
|
|
31
31
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
32
|
+
# Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
|
33
|
+
field :metadata, T.nilable(::StackOne::Shared::Metadata), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('metadata') } }
|
32
34
|
|
33
35
|
field :origin_username, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_username') } }
|
34
36
|
|
35
37
|
field :provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
|
36
38
|
|
37
39
|
|
38
|
-
sig { params(created_at: ::DateTime, id: ::Float, organization_id: ::Float, origin_owner_id: ::String, origin_owner_name: ::String, project_id: ::String, account_id: T.nilable(::String), categories: T.nilable(T::Array[::StackOne::Shared::Categories]), label: T.nilable(::String), origin_username: T.nilable(::String), provider: T.nilable(::String)).void }
|
39
|
-
def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, account_id: nil, categories: nil, label: nil, origin_username: nil, provider: nil)
|
40
|
+
sig { params(created_at: ::DateTime, id: ::Float, organization_id: ::Float, origin_owner_id: ::String, origin_owner_name: ::String, project_id: ::String, account_id: T.nilable(::String), categories: T.nilable(T::Array[::StackOne::Shared::Categories]), label: T.nilable(::String), metadata: T.nilable(::StackOne::Shared::Metadata), origin_username: T.nilable(::String), provider: T.nilable(::String)).void }
|
41
|
+
def initialize(created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, account_id: nil, categories: nil, label: nil, metadata: nil, origin_username: nil, provider: nil)
|
40
42
|
@created_at = created_at
|
41
43
|
@id = id
|
42
44
|
@organization_id = organization_id
|
@@ -46,6 +48,7 @@ module StackOne
|
|
46
48
|
@account_id = account_id
|
47
49
|
@categories = categories
|
48
50
|
@label = label
|
51
|
+
@metadata = metadata
|
49
52
|
@origin_username = origin_username
|
50
53
|
@provider = provider
|
51
54
|
end
|
@@ -24,7 +24,7 @@ module StackOne
|
|
24
24
|
# The label to be applied to the account associated with this connect session.
|
25
25
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
26
26
|
# The metadata for the connection
|
27
|
-
field :metadata, T.nilable(::StackOne::Shared::
|
27
|
+
field :metadata, T.nilable(::StackOne::Shared::ConnectSessionCreateMetadata), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('metadata') } }
|
28
28
|
# If set, this connect session will allow creation of multiple accounts with the same origin owner id and provider. Has no effect if account_id is set.
|
29
29
|
field :multiple, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('multiple') } }
|
30
30
|
# The origin username
|
@@ -33,7 +33,7 @@ module StackOne
|
|
33
33
|
field :provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
|
34
34
|
|
35
35
|
|
36
|
-
sig { params(origin_owner_id: ::String, origin_owner_name: ::String, account_id: T.nilable(::String), categories: T.nilable(T::Array[::StackOne::Shared::ConnectSessionCreateCategories]), expires_in: T.nilable(::Float), label: T.nilable(::String), metadata: T.nilable(::StackOne::Shared::
|
36
|
+
sig { params(origin_owner_id: ::String, origin_owner_name: ::String, account_id: T.nilable(::String), categories: T.nilable(T::Array[::StackOne::Shared::ConnectSessionCreateCategories]), expires_in: T.nilable(::Float), label: T.nilable(::String), metadata: T.nilable(::StackOne::Shared::ConnectSessionCreateMetadata), multiple: T.nilable(T::Boolean), origin_username: T.nilable(::String), provider: T.nilable(::String)).void }
|
37
37
|
def initialize(origin_owner_id: nil, origin_owner_name: nil, account_id: nil, categories: nil, expires_in: nil, label: nil, metadata: nil, multiple: nil, origin_username: nil, provider: nil)
|
38
38
|
@origin_owner_id = origin_owner_id
|
39
39
|
@origin_owner_name = origin_owner_name
|
@@ -0,0 +1,20 @@
|
|
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 metadata for the connection
|
11
|
+
class ConnectSessionCreateMetadata < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -33,14 +33,16 @@ module StackOne
|
|
33
33
|
field :categories, T.nilable(T::Array[::StackOne::Shared::ConnectSessionTokenAuthLinkCategories]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
34
34
|
|
35
35
|
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
36
|
+
# Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
|
37
|
+
field :metadata, T.nilable(::StackOne::Shared::ConnectSessionTokenAuthLinkMetadata), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('metadata') } }
|
36
38
|
|
37
39
|
field :origin_username, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('origin_username') } }
|
38
40
|
|
39
41
|
field :provider, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider') } }
|
40
42
|
|
41
43
|
|
42
|
-
sig { params(auth_link_url: ::String, created_at: ::DateTime, id: ::Float, organization_id: ::Float, origin_owner_id: ::String, origin_owner_name: ::String, project_id: ::String, token: ::String, account_id: T.nilable(::String), categories: T.nilable(T::Array[::StackOne::Shared::ConnectSessionTokenAuthLinkCategories]), label: T.nilable(::String), origin_username: T.nilable(::String), provider: T.nilable(::String)).void }
|
43
|
-
def initialize(auth_link_url: nil, created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, token: nil, account_id: nil, categories: nil, label: nil, origin_username: nil, provider: nil)
|
44
|
+
sig { params(auth_link_url: ::String, created_at: ::DateTime, id: ::Float, organization_id: ::Float, origin_owner_id: ::String, origin_owner_name: ::String, project_id: ::String, token: ::String, account_id: T.nilable(::String), categories: T.nilable(T::Array[::StackOne::Shared::ConnectSessionTokenAuthLinkCategories]), label: T.nilable(::String), metadata: T.nilable(::StackOne::Shared::ConnectSessionTokenAuthLinkMetadata), origin_username: T.nilable(::String), provider: T.nilable(::String)).void }
|
45
|
+
def initialize(auth_link_url: nil, created_at: nil, id: nil, organization_id: nil, origin_owner_id: nil, origin_owner_name: nil, project_id: nil, token: nil, account_id: nil, categories: nil, label: nil, metadata: nil, origin_username: nil, provider: nil)
|
44
46
|
@auth_link_url = auth_link_url
|
45
47
|
@created_at = created_at
|
46
48
|
@id = id
|
@@ -52,6 +54,7 @@ module StackOne
|
|
52
54
|
@account_id = account_id
|
53
55
|
@categories = categories
|
54
56
|
@label = label
|
57
|
+
@metadata = metadata
|
55
58
|
@origin_username = origin_username
|
56
59
|
@provider = provider
|
57
60
|
end
|
@@ -0,0 +1,20 @@
|
|
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
|
+
# Arbitrary set of key and values defined during the session token creation. This can be used to tag an account (eg. based on their pricing plan)
|
11
|
+
class ConnectSessionTokenAuthLinkMetadata < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
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 duration unit of the current policy
|
11
|
+
class DurationUnit < ::Crystalline::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 unified value for the duration unit. If the provider does not specify this unit, the value will be set to unknown
|
17
|
+
field :value, T.nilable(::StackOne::Shared::TimeOffPoliciesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::TimeOffPoliciesValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::TimeOffPoliciesValue)).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
|
@@ -115,6 +115,8 @@ module StackOne
|
|
115
115
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
116
116
|
# Provider's unique identifier of the manager
|
117
117
|
field :remote_manager_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_manager_id') } }
|
118
|
+
# The employee skills
|
119
|
+
field :skills, T.nilable(T::Array[::StackOne::Shared::EntitySkills]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
118
120
|
# The employee start date
|
119
121
|
#
|
120
122
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
@@ -137,8 +139,8 @@ module StackOne
|
|
137
139
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
138
140
|
|
139
141
|
|
140
|
-
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_id: T.nilable(::String), 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::CustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmployeeEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmployeeEmploymentType), 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(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), 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::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), national_identity_numbers: T.nilable(T::Array[::StackOne::Shared::NationalIdentityNumberApiModel]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), 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 }
|
141
|
-
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_id: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: 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_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, national_identity_numbers: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, start_date: nil, tenure: nil, termination_date: nil, unified_custom_fields: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
142
|
+
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_id: T.nilable(::String), 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::CustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), department_id: T.nilable(::String), display_name: T.nilable(::String), employee_number: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmployeeEmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmployeeEmploymentType), 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(T::Array[::StackOne::Shared::HRISGroup]), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), 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::MaritalStatus), name: T.nilable(::String), national_identity_number: T.nilable(::StackOne::Shared::NationalIdentityNumber), national_identity_numbers: T.nilable(T::Array[::StackOne::Shared::NationalIdentityNumberApiModel]), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), remote_id: T.nilable(::String), remote_manager_id: T.nilable(::String), skills: T.nilable(T::Array[::StackOne::Shared::EntitySkills]), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), 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 }
|
143
|
+
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_id: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, department_id: 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_id: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, national_identity_number: nil, national_identity_numbers: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, remote_id: nil, remote_manager_id: nil, skills: nil, start_date: nil, tenure: nil, termination_date: nil, unified_custom_fields: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
142
144
|
@avatar = avatar
|
143
145
|
@avatar_url = avatar_url
|
144
146
|
@benefits = benefits
|
@@ -180,6 +182,7 @@ module StackOne
|
|
180
182
|
@preferred_language = preferred_language
|
181
183
|
@remote_id = remote_id
|
182
184
|
@remote_manager_id = remote_manager_id
|
185
|
+
@skills = skills
|
183
186
|
@start_date = start_date
|
184
187
|
@tenure = tenure
|
185
188
|
@termination_date = termination_date
|
@@ -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
|
+
|
11
|
+
class EntitySkillResult < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :data, ::StackOne::Shared::EntitySkills, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
|
+
|
17
|
+
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(data: ::StackOne::Shared::EntitySkills, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
21
|
+
def initialize(data: nil, raw: nil)
|
22
|
+
@data = data
|
23
|
+
@raw = raw
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
@@ -0,0 +1,42 @@
|
|
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 EntitySkills < ::Crystalline::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Whether the skill is active and therefore available for use
|
15
|
+
field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
16
|
+
# The ID associated with this skill
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# The language associated with this skill
|
19
|
+
field :language, T.nilable(::StackOne::Shared::EntitySkillsLanguage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('language') } }
|
20
|
+
# The proficiency level of the skill
|
21
|
+
field :maximum_proficiency, T.nilable(::StackOne::Shared::MaximumProficiency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('maximum_proficiency') } }
|
22
|
+
# The proficiency level of the skill
|
23
|
+
field :minimum_proficiency, T.nilable(::StackOne::Shared::MinimumProficiency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('minimum_proficiency') } }
|
24
|
+
# The name associated with this skill
|
25
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
26
|
+
# Provider's unique identifier
|
27
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), language: T.nilable(::StackOne::Shared::EntitySkillsLanguage), maximum_proficiency: T.nilable(::StackOne::Shared::MaximumProficiency), minimum_proficiency: T.nilable(::StackOne::Shared::MinimumProficiency), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
31
|
+
def initialize(active: nil, id: nil, language: nil, maximum_proficiency: nil, minimum_proficiency: nil, name: nil, remote_id: nil)
|
32
|
+
@active = active
|
33
|
+
@id = id
|
34
|
+
@language = language
|
35
|
+
@maximum_proficiency = maximum_proficiency
|
36
|
+
@minimum_proficiency = minimum_proficiency
|
37
|
+
@name = name
|
38
|
+
@remote_id = remote_id
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
42
|
+
end
|