stackone_client 0.5.5 → 0.5.7
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/hris.rb +275 -0
- data/lib/stack_one/lms.rb +2 -1
- data/lib/stack_one/models/operations/hris_create_employee_skill_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_skill_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_get_employee_time_off_balance_request.rb +42 -0
- data/lib/stack_one/models/operations/hris_get_employee_time_off_balance_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_get_time_off_policy_request.rb +36 -0
- data/lib/stack_one/models/operations/hris_get_time_off_policy_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_invite_employee_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_invite_employee_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_balances_queryparam_filter.rb +27 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_balances_request.rb +58 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_balances_response.rb +36 -0
- data/lib/stack_one/models/operations/hris_list_time_off_policies_queryparam_filter.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_time_off_policies_request.rb +52 -0
- data/lib/stack_one/models/operations/hris_list_time_off_policies_response.rb +36 -0
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +2 -5
- data/lib/stack_one/models/operations/lms_list_completions_queryparam_filter.rb +2 -5
- data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb +2 -5
- data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb +2 -5
- data/lib/stack_one/models/operations.rb +14 -4
- data/lib/stack_one/models/shared/additionaldata.rb +1 -1
- data/lib/stack_one/models/shared/application.rb +2 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +2 -10
- data/lib/stack_one/models/shared/balance_unit.rb +27 -0
- data/lib/stack_one/models/shared/createcontentapimodel.rb +5 -2
- data/lib/stack_one/models/shared/createskillsapimodel.rb +5 -5
- data/lib/stack_one/models/shared/createskillsapimodel_hierarchy.rb +2 -2
- data/lib/stack_one/models/shared/createskillsapimodel_language.rb +2 -2
- data/lib/stack_one/models/shared/createskillsapimodel_schemas_proficiency_value.rb +21 -0
- data/lib/stack_one/models/shared/createskillsapimodel_schemas_value.rb +411 -4
- data/lib/stack_one/models/shared/createskillsapimodel_value.rb +3 -5
- data/lib/stack_one/models/shared/employee.rb +7 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +7 -2
- data/lib/stack_one/models/shared/hrisinviteemployeerequestdto.rb +24 -0
- data/lib/stack_one/models/shared/hrisskillscreaterequestdto.rb +27 -0
- data/lib/stack_one/models/shared/hrisupdateemployeerequestdto.rb +7 -2
- data/lib/stack_one/models/shared/inviteemployeeresult.rb +33 -0
- data/lib/stack_one/models/shared/linkedaccount.rb +5 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/policy.rb +42 -0
- data/lib/stack_one/models/shared/{competency.rb → proficiency.rb} +4 -4
- data/lib/stack_one/models/shared/skills.rb +5 -5
- data/lib/stack_one/models/shared/skills_hierarchy.rb +2 -2
- data/lib/stack_one/models/shared/skills_language.rb +2 -2
- data/lib/stack_one/models/shared/skills_proficiency.rb +27 -0
- data/lib/stack_one/models/shared/skills_schemas_proficiency_value.rb +21 -0
- data/lib/stack_one/models/shared/skills_schemas_value.rb +411 -4
- data/lib/stack_one/models/shared/skills_value.rb +3 -5
- data/lib/stack_one/models/shared/timeoffbalanceresult.rb +27 -0
- data/lib/stack_one/models/shared/timeoffbalances.rb +54 -0
- data/lib/stack_one/models/shared/timeoffbalances_schemas_value.rb +26 -0
- data/lib/stack_one/models/shared/timeoffbalances_type.rb +27 -0
- data/lib/stack_one/models/shared/timeoffbalances_value.rb +22 -0
- data/lib/stack_one/models/shared/timeoffbalancespaginated.rb +30 -0
- data/lib/stack_one/models/shared/timeoffpolicies.rb +42 -0
- data/lib/stack_one/models/shared/{skills_competency.rb → timeoffpolicies_type.rb} +4 -4
- data/lib/stack_one/models/shared/timeoffpolicies_value.rb +26 -0
- data/lib/stack_one/models/shared/timeoffpoliciespaginated.rb +30 -0
- data/lib/stack_one/models/shared/timeoffpolicyresult.rb +27 -0
- data/lib/stack_one/models/shared/updateemployeeapimodel.rb +7 -2
- data/lib/stack_one/models/shared.rb +22 -6
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +36 -10
- data/lib/stack_one/models/operations/learning_object_type.rb +0 -19
- data/lib/stack_one/models/operations/lms_list_user_assignments_queryparam_learning_object_type.rb +0 -19
- data/lib/stack_one/models/operations/lms_list_user_completions_queryparam_learning_object_type.rb +0 -19
- data/lib/stack_one/models/operations/queryparam_learning_object_type.rb +0 -19
- data/lib/stack_one/models/shared/createskillsapimodel_schemas_language_value.rb +0 -426
- data/lib/stack_one/models/shared/skills_schemas_language_value.rb +0 -426
@@ -0,0 +1,58 @@
|
|
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 HrisListEmployeeTimeOffBalancesRequest < ::StackOne::Utils::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 expanded in the response
|
19
|
+
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
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
|
+
# HRIS Time Off Balance filters
|
23
|
+
field :filter, T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffBalancesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
24
|
+
# The unified cursor
|
25
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
26
|
+
# The page number of the results to fetch
|
27
|
+
#
|
28
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
30
|
+
# The number of results per page
|
31
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
32
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
33
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
34
|
+
# Indicates that the raw request result is returned
|
35
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
36
|
+
# Use a string with a date to only select results updated after that given date
|
37
|
+
#
|
38
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
40
|
+
|
41
|
+
|
42
|
+
sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffBalancesQueryParamFilter), 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 }
|
43
|
+
def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
44
|
+
@id = id
|
45
|
+
@x_account_id = x_account_id
|
46
|
+
@expand = expand
|
47
|
+
@fields_ = fields_
|
48
|
+
@filter = filter
|
49
|
+
@next_ = next_
|
50
|
+
@page = page
|
51
|
+
@page_size = page_size
|
52
|
+
@proxy = proxy
|
53
|
+
@raw = raw
|
54
|
+
@updated_after = updated_after
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
58
|
+
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 HrisListEmployeeTimeOffBalancesResponse < ::StackOne::Utils::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 list of time off balances of the employee with the given identifier was retrieved.
|
23
|
+
field :time_off_balances_paginated, T.nilable(::StackOne::Shared::TimeOffBalancesPaginated)
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, time_off_balances_paginated: T.nilable(::StackOne::Shared::TimeOffBalancesPaginated)).void }
|
27
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, time_off_balances_paginated: nil)
|
28
|
+
@content_type = content_type
|
29
|
+
@headers = headers
|
30
|
+
@raw_response = raw_response
|
31
|
+
@status_code = status_code
|
32
|
+
@time_off_balances_paginated = time_off_balances_paginated
|
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 HrisListTimeOffPoliciesQueryParamFilter < ::StackOne::Utils::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,52 @@
|
|
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 HrisListTimeOffPoliciesRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The account identifier
|
15
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
|
+
# Filter parameters that allow greater customisation of the list response
|
19
|
+
field :filter, T.nilable(::StackOne::Operations::HrisListTimeOffPoliciesQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'deepObject', 'explode': true } }
|
20
|
+
# The unified cursor
|
21
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
+
# The page number of the results to fetch
|
23
|
+
#
|
24
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
+
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
+
# The number of results per page
|
27
|
+
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
30
|
+
# Indicates that the raw request result is returned
|
31
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
+
# Use a string with a date to only select results updated after that given date
|
33
|
+
#
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
|
+
|
37
|
+
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(::StackOne::Operations::HrisListTimeOffPoliciesQueryParamFilter), 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 }
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
40
|
+
@x_account_id = x_account_id
|
41
|
+
@fields_ = fields_
|
42
|
+
@filter = filter
|
43
|
+
@next_ = next_
|
44
|
+
@page = page
|
45
|
+
@page_size = page_size
|
46
|
+
@proxy = proxy
|
47
|
+
@raw = raw
|
48
|
+
@updated_after = updated_after
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
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 HrisListTimeOffPoliciesResponse < ::StackOne::Utils::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 list of time off policies was retrieved.
|
23
|
+
field :time_off_policies_paginated, T.nilable(::StackOne::Shared::TimeOffPoliciesPaginated)
|
24
|
+
|
25
|
+
|
26
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, time_off_policies_paginated: T.nilable(::StackOne::Shared::TimeOffPoliciesPaginated)).void }
|
27
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, time_off_policies_paginated: nil)
|
28
|
+
@content_type = content_type
|
29
|
+
@headers = headers
|
30
|
+
@raw_response = raw_response
|
31
|
+
@status_code = status_code
|
32
|
+
@time_off_policies_paginated = time_off_policies_paginated
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
@@ -11,17 +11,14 @@ module StackOne
|
|
11
11
|
class LmsListAssignmentsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Filter to select assignment by learning object type.
|
15
|
-
field :learning_object_type, T.nilable(::StackOne::Operations::LearningObjectType), { 'query_param': { 'field_name': 'learning_object_type' } }
|
16
14
|
# Filter to select assignment by status
|
17
15
|
field :status, T.nilable(::StackOne::Operations::QueryParamStatus), { 'query_param': { 'field_name': 'status' } }
|
18
16
|
# Use a string with a date to only select results updated after that given date
|
19
17
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@learning_object_type = learning_object_type
|
20
|
+
sig { params(status: T.nilable(::StackOne::Operations::QueryParamStatus), updated_after: T.nilable(::String)).void }
|
21
|
+
def initialize(status: nil, updated_after: nil)
|
25
22
|
@status = status
|
26
23
|
@updated_after = updated_after
|
27
24
|
end
|
@@ -11,15 +11,12 @@ module StackOne
|
|
11
11
|
class LmsListCompletionsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Filter to select completions by learning object type.
|
15
|
-
field :learning_object_type, T.nilable(::StackOne::Operations::QueryParamLearningObjectType), { 'query_param': { 'field_name': 'learning_object_type' } }
|
16
14
|
# Use a string with a date to only select results updated after that given date
|
17
15
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
18
16
|
|
19
17
|
|
20
|
-
sig { params(
|
21
|
-
def initialize(
|
22
|
-
@learning_object_type = learning_object_type
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
+
def initialize(updated_after: nil)
|
23
20
|
@updated_after = updated_after
|
24
21
|
end
|
25
22
|
end
|
@@ -11,17 +11,14 @@ module StackOne
|
|
11
11
|
class LmsListUserAssignmentsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Filter to select assignment by learning object type.
|
15
|
-
field :learning_object_type, T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamLearningObjectType), { 'query_param': { 'field_name': 'learning_object_type' } }
|
16
14
|
# Filter to select assignment by status
|
17
15
|
field :status, T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamStatus), { 'query_param': { 'field_name': 'status' } }
|
18
16
|
# Use a string with a date to only select results updated after that given date
|
19
17
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
20
18
|
|
21
19
|
|
22
|
-
sig { params(
|
23
|
-
def initialize(
|
24
|
-
@learning_object_type = learning_object_type
|
20
|
+
sig { params(status: T.nilable(::StackOne::Operations::LmsListUserAssignmentsQueryParamStatus), updated_after: T.nilable(::String)).void }
|
21
|
+
def initialize(status: nil, updated_after: nil)
|
25
22
|
@status = status
|
26
23
|
@updated_after = updated_after
|
27
24
|
end
|
@@ -11,15 +11,12 @@ module StackOne
|
|
11
11
|
class LmsListUserCompletionsQueryParamFilter < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Filter to select completions by learning object type.
|
15
|
-
field :learning_object_type, T.nilable(::StackOne::Operations::LmsListUserCompletionsQueryParamLearningObjectType), { 'query_param': { 'field_name': 'learning_object_type' } }
|
16
14
|
# Use a string with a date to only select results updated after that given date
|
17
15
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
18
16
|
|
19
17
|
|
20
|
-
sig { params(
|
21
|
-
def initialize(
|
22
|
-
@learning_object_type = learning_object_type
|
18
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
19
|
+
def initialize(updated_after: nil)
|
23
20
|
@updated_after = updated_after
|
24
21
|
end
|
25
22
|
end
|
@@ -221,6 +221,8 @@ module StackOne
|
|
221
221
|
autoload :HrisCreateEmployeeResponse, 'stack_one/models/operations/hris_create_employee_response.rb'
|
222
222
|
autoload :HrisCreateEmployeeEmploymentRequest, 'stack_one/models/operations/hris_create_employee_employment_request.rb'
|
223
223
|
autoload :HrisCreateEmployeeEmploymentResponse, 'stack_one/models/operations/hris_create_employee_employment_response.rb'
|
224
|
+
autoload :HrisCreateEmployeeSkillRequest, 'stack_one/models/operations/hris_create_employee_skill_request.rb'
|
225
|
+
autoload :HrisCreateEmployeeSkillResponse, 'stack_one/models/operations/hris_create_employee_skill_response.rb'
|
224
226
|
autoload :HrisCreateEmployeeTimeOffRequestRequest, 'stack_one/models/operations/hris_create_employee_time_off_request_request.rb'
|
225
227
|
autoload :HrisCreateEmployeeTimeOffRequestResponse, 'stack_one/models/operations/hris_create_employee_time_off_request_response.rb'
|
226
228
|
autoload :HrisCreateEmployeeWorkEligibilityRequestRequest, 'stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb'
|
@@ -248,6 +250,8 @@ module StackOne
|
|
248
250
|
autoload :HrisGetEmployeeDocumentCategoryResponse, 'stack_one/models/operations/hris_get_employee_document_category_response.rb'
|
249
251
|
autoload :HrisGetEmployeeEmploymentRequest, 'stack_one/models/operations/hris_get_employee_employment_request.rb'
|
250
252
|
autoload :HrisGetEmployeeEmploymentResponse, 'stack_one/models/operations/hris_get_employee_employment_response.rb'
|
253
|
+
autoload :HrisGetEmployeeTimeOffBalanceRequest, 'stack_one/models/operations/hris_get_employee_time_off_balance_request.rb'
|
254
|
+
autoload :HrisGetEmployeeTimeOffBalanceResponse, 'stack_one/models/operations/hris_get_employee_time_off_balance_response.rb'
|
251
255
|
autoload :HrisGetEmployeesTimeOffRequestRequest, 'stack_one/models/operations/hris_get_employees_time_off_request_request.rb'
|
252
256
|
autoload :HrisGetEmployeesTimeOffRequestResponse, 'stack_one/models/operations/hris_get_employees_time_off_request_response.rb'
|
253
257
|
autoload :HrisGetEmployeesWorkEligibilityRequest, 'stack_one/models/operations/hris_get_employees_work_eligibility_request.rb'
|
@@ -264,10 +268,14 @@ module StackOne
|
|
264
268
|
autoload :HrisGetTeamGroupResponse, 'stack_one/models/operations/hris_get_team_group_response.rb'
|
265
269
|
autoload :HrisGetTimeEntriesRequest, 'stack_one/models/operations/hris_get_time_entries_request.rb'
|
266
270
|
autoload :HrisGetTimeEntriesResponse, 'stack_one/models/operations/hris_get_time_entries_response.rb'
|
271
|
+
autoload :HrisGetTimeOffPolicyRequest, 'stack_one/models/operations/hris_get_time_off_policy_request.rb'
|
272
|
+
autoload :HrisGetTimeOffPolicyResponse, 'stack_one/models/operations/hris_get_time_off_policy_response.rb'
|
267
273
|
autoload :HrisGetTimeOffRequestRequest, 'stack_one/models/operations/hris_get_time_off_request_request.rb'
|
268
274
|
autoload :HrisGetTimeOffRequestResponse, 'stack_one/models/operations/hris_get_time_off_request_response.rb'
|
269
275
|
autoload :HrisGetTimeOffTypeRequest, 'stack_one/models/operations/hris_get_time_off_type_request.rb'
|
270
276
|
autoload :HrisGetTimeOffTypeResponse, 'stack_one/models/operations/hris_get_time_off_type_response.rb'
|
277
|
+
autoload :HrisInviteEmployeeRequest, 'stack_one/models/operations/hris_invite_employee_request.rb'
|
278
|
+
autoload :HrisInviteEmployeeResponse, 'stack_one/models/operations/hris_invite_employee_response.rb'
|
271
279
|
autoload :HrisListBenefitsQueryParamFilter, 'stack_one/models/operations/hris_list_benefits_queryparam_filter.rb'
|
272
280
|
autoload :HrisListBenefitsRequest, 'stack_one/models/operations/hris_list_benefits_request.rb'
|
273
281
|
autoload :HrisListBenefitsResponse, 'stack_one/models/operations/hris_list_benefits_response.rb'
|
@@ -292,6 +300,9 @@ module StackOne
|
|
292
300
|
autoload :HrisListEmployeeEmploymentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb'
|
293
301
|
autoload :HrisListEmployeeEmploymentsRequest, 'stack_one/models/operations/hris_list_employee_employments_request.rb'
|
294
302
|
autoload :HrisListEmployeeEmploymentsResponse, 'stack_one/models/operations/hris_list_employee_employments_response.rb'
|
303
|
+
autoload :HrisListEmployeeTimeOffBalancesQueryParamFilter, 'stack_one/models/operations/hris_list_employee_time_off_balances_queryparam_filter.rb'
|
304
|
+
autoload :HrisListEmployeeTimeOffBalancesRequest, 'stack_one/models/operations/hris_list_employee_time_off_balances_request.rb'
|
305
|
+
autoload :HrisListEmployeeTimeOffBalancesResponse, 'stack_one/models/operations/hris_list_employee_time_off_balances_response.rb'
|
295
306
|
autoload :HrisListEmployeeTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb'
|
296
307
|
autoload :HrisListEmployeeTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_employee_time_off_requests_request.rb'
|
297
308
|
autoload :HrisListEmployeeTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_employee_time_off_requests_response.rb'
|
@@ -319,6 +330,9 @@ module StackOne
|
|
319
330
|
autoload :HrisListTimeEntriesQueryParamFilter, 'stack_one/models/operations/hris_list_time_entries_queryparam_filter.rb'
|
320
331
|
autoload :HrisListTimeEntriesRequest, 'stack_one/models/operations/hris_list_time_entries_request.rb'
|
321
332
|
autoload :HrisListTimeEntriesResponse, 'stack_one/models/operations/hris_list_time_entries_response.rb'
|
333
|
+
autoload :HrisListTimeOffPoliciesQueryParamFilter, 'stack_one/models/operations/hris_list_time_off_policies_queryparam_filter.rb'
|
334
|
+
autoload :HrisListTimeOffPoliciesRequest, 'stack_one/models/operations/hris_list_time_off_policies_request.rb'
|
335
|
+
autoload :HrisListTimeOffPoliciesResponse, 'stack_one/models/operations/hris_list_time_off_policies_response.rb'
|
322
336
|
autoload :HrisListTimeOffRequestsQueryParamFilter, 'stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb'
|
323
337
|
autoload :HrisListTimeOffRequestsRequest, 'stack_one/models/operations/hris_list_time_off_requests_request.rb'
|
324
338
|
autoload :HrisListTimeOffRequestsResponse, 'stack_one/models/operations/hris_list_time_off_requests_response.rb'
|
@@ -385,7 +399,6 @@ module StackOne
|
|
385
399
|
autoload :LmsGetUserAssignmentResponse, 'stack_one/models/operations/lms_get_user_assignment_response.rb'
|
386
400
|
autoload :LmsGetUserCompletionRequest, 'stack_one/models/operations/lms_get_user_completion_request.rb'
|
387
401
|
autoload :LmsGetUserCompletionResponse, 'stack_one/models/operations/lms_get_user_completion_response.rb'
|
388
|
-
autoload :LearningObjectType, 'stack_one/models/operations/learning_object_type.rb'
|
389
402
|
autoload :QueryParamStatus, 'stack_one/models/operations/queryparam_status.rb'
|
390
403
|
autoload :LmsListAssignmentsQueryParamFilter, 'stack_one/models/operations/lms_list_assignments_queryparam_filter.rb'
|
391
404
|
autoload :LmsListAssignmentsRequest, 'stack_one/models/operations/lms_list_assignments_request.rb'
|
@@ -393,7 +406,6 @@ module StackOne
|
|
393
406
|
autoload :LmsListCategoriesQueryParamFilter, 'stack_one/models/operations/lms_list_categories_queryparam_filter.rb'
|
394
407
|
autoload :LmsListCategoriesRequest, 'stack_one/models/operations/lms_list_categories_request.rb'
|
395
408
|
autoload :LmsListCategoriesResponse, 'stack_one/models/operations/lms_list_categories_response.rb'
|
396
|
-
autoload :QueryParamLearningObjectType, 'stack_one/models/operations/queryparam_learning_object_type.rb'
|
397
409
|
autoload :LmsListCompletionsQueryParamFilter, 'stack_one/models/operations/lms_list_completions_queryparam_filter.rb'
|
398
410
|
autoload :LmsListCompletionsRequest, 'stack_one/models/operations/lms_list_completions_request.rb'
|
399
411
|
autoload :LmsListCompletionsResponse, 'stack_one/models/operations/lms_list_completions_response.rb'
|
@@ -406,12 +418,10 @@ module StackOne
|
|
406
418
|
autoload :LmsListSkillsQueryParamFilter, 'stack_one/models/operations/lms_list_skills_queryparam_filter.rb'
|
407
419
|
autoload :LmsListSkillsRequest, 'stack_one/models/operations/lms_list_skills_request.rb'
|
408
420
|
autoload :LmsListSkillsResponse, 'stack_one/models/operations/lms_list_skills_response.rb'
|
409
|
-
autoload :LmsListUserAssignmentsQueryParamLearningObjectType, 'stack_one/models/operations/lms_list_user_assignments_queryparam_learning_object_type.rb'
|
410
421
|
autoload :LmsListUserAssignmentsQueryParamStatus, 'stack_one/models/operations/lms_list_user_assignments_queryparam_status.rb'
|
411
422
|
autoload :LmsListUserAssignmentsQueryParamFilter, 'stack_one/models/operations/lms_list_user_assignments_queryparam_filter.rb'
|
412
423
|
autoload :LmsListUserAssignmentsRequest, 'stack_one/models/operations/lms_list_user_assignments_request.rb'
|
413
424
|
autoload :LmsListUserAssignmentsResponse, 'stack_one/models/operations/lms_list_user_assignments_response.rb'
|
414
|
-
autoload :LmsListUserCompletionsQueryParamLearningObjectType, 'stack_one/models/operations/lms_list_user_completions_queryparam_learning_object_type.rb'
|
415
425
|
autoload :LmsListUserCompletionsQueryParamFilter, 'stack_one/models/operations/lms_list_user_completions_queryparam_filter.rb'
|
416
426
|
autoload :LmsListUserCompletionsRequest, 'stack_one/models/operations/lms_list_user_completions_request.rb'
|
417
427
|
autoload :LmsListUserCompletionsResponse, 'stack_one/models/operations/lms_list_user_completions_response.rb'
|
@@ -11,7 +11,7 @@ module StackOne
|
|
11
11
|
class AdditionalData < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The
|
14
|
+
# The name of the additional data field. Speak to your Solutions Engineer to understand the id for the specific use case
|
15
15
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
16
|
# Provider's unique identifier
|
17
17
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
@@ -36,6 +36,8 @@ module StackOne
|
|
36
36
|
# Unique identifier of the job
|
37
37
|
field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
38
38
|
# Unique identifier of the location
|
39
|
+
#
|
40
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
41
|
field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
40
42
|
# Unique identifiers of the locations
|
41
43
|
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
@@ -15,25 +15,17 @@ module StackOne
|
|
15
15
|
field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
16
16
|
# The application custom fields
|
17
17
|
field :custom_fields, T.nilable(T::Array[::StackOne::Shared::CustomFields]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('custom_fields') } }
|
18
|
-
# Unique identifier of the interview stage
|
19
|
-
field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
|
20
18
|
# Value to pass through to the provider
|
21
19
|
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
22
|
-
# Unique identifier of the rejection reason
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
|
26
20
|
|
27
21
|
field :source, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
28
22
|
|
29
23
|
|
30
|
-
sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]),
|
31
|
-
def initialize(application_status: nil, custom_fields: nil,
|
24
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), custom_fields: T.nilable(T::Array[::StackOne::Shared::CustomFields]), passthrough: T.nilable(T::Hash[Symbol, ::Object]), source: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource)).void }
|
25
|
+
def initialize(application_status: nil, custom_fields: nil, passthrough: nil, source: nil)
|
32
26
|
@application_status = application_status
|
33
27
|
@custom_fields = custom_fields
|
34
|
-
@interview_stage_id = interview_stage_id
|
35
28
|
@passthrough = passthrough
|
36
|
-
@rejected_reason_id = rejected_reason_id
|
37
29
|
@source = source
|
38
30
|
end
|
39
31
|
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 balance
|
11
|
+
class BalanceUnit < ::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::TimeOffBalancesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::TimeOffBalancesValue, true) } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::TimeOffBalancesValue)).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
|
@@ -15,16 +15,19 @@ module StackOne
|
|
15
15
|
field :content_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_url') } }
|
16
16
|
# The description of the content
|
17
17
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
18
|
+
# The external ID associated with this content
|
19
|
+
field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } }
|
18
20
|
# The order of the individual content within a content grouping. This is not applicable for pushing individual content.
|
19
21
|
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
20
22
|
# The title of the content
|
21
23
|
field :title, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('title') } }
|
22
24
|
|
23
25
|
|
24
|
-
sig { params(content_url: T.nilable(::String), description: T.nilable(::String), order: T.nilable(::Float), title: T.nilable(::String)).void }
|
25
|
-
def initialize(content_url: nil, description: nil, order: nil, title: nil)
|
26
|
+
sig { params(content_url: T.nilable(::String), description: T.nilable(::String), external_reference: T.nilable(::String), order: T.nilable(::Float), title: T.nilable(::String)).void }
|
27
|
+
def initialize(content_url: nil, description: nil, external_reference: nil, order: nil, title: nil)
|
26
28
|
@content_url = content_url
|
27
29
|
@description = description
|
30
|
+
@external_reference = external_reference
|
28
31
|
@order = order
|
29
32
|
@title = title
|
30
33
|
end
|
@@ -11,8 +11,6 @@ module StackOne
|
|
11
11
|
class CreateSkillsApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# The user competency level of the skill ranked out of 5
|
15
|
-
field :competency, T.nilable(::StackOne::Shared::Competency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('competency') } }
|
16
14
|
# The hierarchal level of the skill
|
17
15
|
field :hierarchy, T.nilable(::StackOne::Shared::CreateSkillsApiModelHierarchy), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('hierarchy') } }
|
18
16
|
# The ID associated with this skill
|
@@ -25,16 +23,18 @@ module StackOne
|
|
25
23
|
field :level, T.nilable(::StackOne::Shared::CreateSkillsApiModelLevel), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
|
26
24
|
# The name associated with this skill
|
27
25
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
26
|
+
# The user proficiency level of the skill ranked out of 5
|
27
|
+
field :proficiency, T.nilable(::StackOne::Shared::Proficiency), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('proficiency') } }
|
28
28
|
|
29
29
|
|
30
|
-
sig { params(
|
31
|
-
def initialize(
|
32
|
-
@competency = competency
|
30
|
+
sig { params(hierarchy: T.nilable(::StackOne::Shared::CreateSkillsApiModelHierarchy), id: T.nilable(::String), language: T.nilable(::StackOne::Shared::CreateSkillsApiModelLanguage), level: T.nilable(::StackOne::Shared::CreateSkillsApiModelLevel), name: T.nilable(::String), proficiency: T.nilable(::StackOne::Shared::Proficiency)).void }
|
31
|
+
def initialize(hierarchy: nil, id: nil, language: nil, level: nil, name: nil, proficiency: nil)
|
33
32
|
@hierarchy = hierarchy
|
34
33
|
@id = id
|
35
34
|
@language = language
|
36
35
|
@level = level
|
37
36
|
@name = name
|
37
|
+
@proficiency = proficiency
|
38
38
|
end
|
39
39
|
end
|
40
40
|
end
|
@@ -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::CreateSkillsApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateSkillsApiModelValue, 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::CreateSkillsApiModelValue)).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
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
# The Locale Code of the language
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::CreateSkillsApiModelSchemasValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateSkillsApiModelSchemasValue, 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::CreateSkillsApiModelSchemasValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -0,0 +1,21 @@
|
|
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 CreateSkillsApiModelSchemasProficiencyValue < T::Enum
|
12
|
+
enums do
|
13
|
+
ONE = new('1')
|
14
|
+
TWO = new('2')
|
15
|
+
THREE = new('3')
|
16
|
+
FOUR = new('4')
|
17
|
+
FIVE = new('5')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|