stackone_client 0.23.0 → 0.25.0
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 +1 -1
- data/lib/stack_one/ats.rb +276 -0
- data/lib/stack_one/connect_sessions.rb +1 -1
- data/lib/stack_one/connectors.rb +1 -1
- data/lib/stack_one/hris.rb +812 -265
- data/lib/stack_one/lms.rb +291 -1441
- data/lib/stack_one/models/operations/ats_list_application_changes_queryparam_filter.rb +37 -0
- data/lib/stack_one/models/operations/ats_list_application_changes_request.rb +61 -0
- data/lib/stack_one/models/operations/{lms_batch_upsert_course_response.rb → ats_list_application_changes_response.rb} +7 -7
- data/lib/stack_one/models/operations/change_type.rb +22 -0
- data/lib/stack_one/models/operations/hris_get_position_request.rb +49 -0
- data/lib/stack_one/models/operations/{lms_update_collection_response.rb → hris_get_position_response.rb} +7 -7
- data/lib/stack_one/models/operations/hris_list_positions_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_positions_request.rb +73 -0
- data/lib/stack_one/models/operations/{lms_upsert_course_response.rb → hris_list_positions_response.rb} +7 -7
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_filter.rb +2 -2
- data/lib/stack_one/models/operations/lms_list_assignments_queryparam_status.rb +21 -0
- data/lib/stack_one/models/operations/queryparam_status.rb +5 -4
- data/lib/stack_one/models/operations.rb +10 -8
- data/lib/stack_one/models/shared/active.rb +1 -1
- data/lib/stack_one/models/shared/actor.rb +37 -0
- data/lib/stack_one/models/shared/applicationchanges.rb +57 -0
- data/lib/stack_one/models/shared/{customfielddefinition_schemas_4.rb → applicationchanges_4.rb} +1 -1
- data/lib/stack_one/models/shared/applicationchanges_source_value.rb +28 -0
- data/lib/stack_one/models/shared/applicationchanges_value.rb +22 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel.rb +41 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_4.rb +28 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_application_status.rb +37 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_source_value.rb +28 -0
- data/lib/stack_one/models/shared/applicationchangesdatamodel_value.rb +38 -0
- data/lib/stack_one/models/shared/applicationchangespaginated.rb +41 -0
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/category.rb +2 -2
- data/lib/stack_one/models/shared/category_2.rb +20 -0
- data/lib/stack_one/models/shared/change_type.rb +37 -0
- data/lib/stack_one/models/shared/connectorsmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontokenauthlink_categories.rb +1 -0
- data/lib/stack_one/models/shared/course.rb +2 -2
- data/lib/stack_one/models/shared/course_2.rb +20 -0
- data/lib/stack_one/models/shared/course_active.rb +28 -0
- data/lib/stack_one/models/shared/customfielddefinition.rb +2 -2
- data/lib/stack_one/models/shared/customfielddefinition_type.rb +2 -2
- data/lib/stack_one/models/shared/customfieldoption.rb +37 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +6 -2
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_2.rb +20 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto_active.rb +28 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +2 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_2.rb +20 -0
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto_active.rb +28 -0
- data/lib/stack_one/models/shared/lmsuser.rb +2 -2
- data/lib/stack_one/models/shared/lmsuser_2.rb +20 -0
- data/lib/stack_one/models/shared/lmsuser_active.rb +28 -0
- data/lib/stack_one/models/shared/position.rb +69 -0
- data/lib/stack_one/models/shared/{options.rb → position_4.rb} +1 -1
- data/lib/stack_one/models/shared/position_source_value.rb +28 -0
- data/lib/stack_one/models/shared/position_status.rb +37 -0
- data/lib/stack_one/models/shared/position_value.rb +22 -0
- data/lib/stack_one/models/shared/positionresult.rb +37 -0
- data/lib/stack_one/models/shared/positionspaginated.rb +45 -0
- data/lib/stack_one/models/shared/reference_active.rb +28 -0
- data/lib/stack_one/models/shared/skills.rb +2 -2
- data/lib/stack_one/models/shared/skills_2.rb +20 -0
- data/lib/stack_one/models/shared/skills_active.rb +28 -0
- data/lib/stack_one/models/shared/timeoff.rb +6 -2
- data/lib/stack_one/models/shared.rb +32 -6
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/request_logs.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- metadata +44 -16
- data/lib/stack_one/models/operations/lms_batch_upsert_course_request.rb +0 -37
- data/lib/stack_one/models/operations/lms_create_collection_request.rb +0 -37
- data/lib/stack_one/models/operations/lms_create_collection_response.rb +0 -49
- data/lib/stack_one/models/operations/lms_update_collection_request.rb +0 -41
- data/lib/stack_one/models/operations/lms_upsert_course_request.rb +0 -37
- data/lib/stack_one/models/shared/createcontentapimodel.rb +0 -53
- data/lib/stack_one/models/shared/lmsbatchupsertcourserequestdto.rb +0 -33
- data/lib/stack_one/models/shared/lmscreatecollectionrequestdto.rb +0 -69
- data/lib/stack_one/models/shared/lmsupsertcourserequestdto.rb +0 -81
@@ -0,0 +1,37 @@
|
|
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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# Filter parameters for application changes (supports created_after and change_type)
|
12
|
+
class AtsListApplicationChangesQueryParamFilter
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Filter by the type of change that occurred to the application
|
17
|
+
field :change_type, T.nilable(Models::Operations::ChangeType), { 'query_param': { 'field_name': 'change_type' } }
|
18
|
+
# Use a string with a date to only select results created after that given date
|
19
|
+
field :created_after, T.nilable(::String), { 'query_param': { 'field_name': 'created_after' } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(change_type: T.nilable(Models::Operations::ChangeType), created_after: T.nilable(::String)).void }
|
23
|
+
def initialize(change_type: nil, created_after: nil)
|
24
|
+
@change_type = change_type
|
25
|
+
@created_after = created_after
|
26
|
+
end
|
27
|
+
|
28
|
+
def ==(other)
|
29
|
+
return false unless other.is_a? self.class
|
30
|
+
return false unless @change_type == other.change_type
|
31
|
+
return false unless @created_after == other.created_after
|
32
|
+
true
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,61 @@
|
|
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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class AtsListApplicationChangesRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
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
|
+
# 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
|
+
# Filter parameters for application changes (supports created_after and change_type)
|
23
|
+
field :filter, T.nilable(Models::Operations::AtsListApplicationChangesQueryParamFilter), { '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 number of results per page (default value is 25)
|
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 should be returned in addition to the mapped result (default value is false)
|
31
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
+
|
33
|
+
|
34
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AtsListApplicationChangesQueryParamFilter), next_: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
35
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter: nil, next_: nil, page_size: nil, proxy: nil, raw: nil)
|
36
|
+
@id = id
|
37
|
+
@x_account_id = x_account_id
|
38
|
+
@fields_ = fields_
|
39
|
+
@filter = filter
|
40
|
+
@next_ = next_
|
41
|
+
@page_size = page_size
|
42
|
+
@proxy = proxy
|
43
|
+
@raw = raw
|
44
|
+
end
|
45
|
+
|
46
|
+
def ==(other)
|
47
|
+
return false unless other.is_a? self.class
|
48
|
+
return false unless @id == other.id
|
49
|
+
return false unless @x_account_id == other.x_account_id
|
50
|
+
return false unless @fields_ == other.fields_
|
51
|
+
return false unless @filter == other.filter
|
52
|
+
return false unless @next_ == other.next_
|
53
|
+
return false unless @page_size == other.page_size
|
54
|
+
return false unless @proxy == other.proxy
|
55
|
+
return false unless @raw == other.raw
|
56
|
+
true
|
57
|
+
end
|
58
|
+
end
|
59
|
+
end
|
60
|
+
end
|
61
|
+
end
|
@@ -9,7 +9,7 @@ module StackOne
|
|
9
9
|
module Operations
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class AtsListApplicationChangesResponse
|
13
13
|
extend T::Sig
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
@@ -21,17 +21,17 @@ module StackOne
|
|
21
21
|
field :raw_response, ::Faraday::Response
|
22
22
|
# HTTP response status code for this operation
|
23
23
|
field :status_code, ::Integer
|
24
|
-
#
|
25
|
-
field :
|
24
|
+
# The changes related to the application with the given identifier was retrieved.
|
25
|
+
field :application_changes_paginated, T.nilable(Models::Shared::ApplicationChangesPaginated)
|
26
26
|
|
27
27
|
|
28
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer,
|
29
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil,
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, application_changes_paginated: T.nilable(Models::Shared::ApplicationChangesPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, application_changes_paginated: nil)
|
30
30
|
@content_type = content_type
|
31
31
|
@headers = headers
|
32
32
|
@raw_response = raw_response
|
33
33
|
@status_code = status_code
|
34
|
-
@
|
34
|
+
@application_changes_paginated = application_changes_paginated
|
35
35
|
end
|
36
36
|
|
37
37
|
def ==(other)
|
@@ -40,7 +40,7 @@ module StackOne
|
|
40
40
|
return false unless @headers == other.headers
|
41
41
|
return false unless @raw_response == other.raw_response
|
42
42
|
return false unless @status_code == other.status_code
|
43
|
-
return false unless @
|
43
|
+
return false unless @application_changes_paginated == other.application_changes_paginated
|
44
44
|
true
|
45
45
|
end
|
46
46
|
end
|
@@ -0,0 +1,22 @@
|
|
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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# ChangeType - Filter by the type of change that occurred to the application
|
12
|
+
class ChangeType < T::Enum
|
13
|
+
enums do
|
14
|
+
APPLICATION_STATUS = new('application_status')
|
15
|
+
INTERVIEW_STAGE = new('interview_stage')
|
16
|
+
REJECTED_REASONS = new('rejected_reasons')
|
17
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
@@ -0,0 +1,49 @@
|
|
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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class HrisGetPositionRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
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
|
+
# The comma separated list of fields to return 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 should be returned in addition to the mapped result (default value is false)
|
25
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(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, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
30
|
+
@id = id
|
31
|
+
@x_account_id = x_account_id
|
32
|
+
@fields_ = fields_
|
33
|
+
@proxy = proxy
|
34
|
+
@raw = raw
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @id == other.id
|
40
|
+
return false unless @x_account_id == other.x_account_id
|
41
|
+
return false unless @fields_ == other.fields_
|
42
|
+
return false unless @proxy == other.proxy
|
43
|
+
return false unless @raw == other.raw
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -9,7 +9,7 @@ module StackOne
|
|
9
9
|
module Operations
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class HrisGetPositionResponse
|
13
13
|
extend T::Sig
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
@@ -21,17 +21,17 @@ module StackOne
|
|
21
21
|
field :raw_response, ::Faraday::Response
|
22
22
|
# HTTP response status code for this operation
|
23
23
|
field :status_code, ::Integer
|
24
|
-
# The
|
25
|
-
field :
|
24
|
+
# The position with the given identifier was retrieved.
|
25
|
+
field :position_result, T.nilable(Models::Shared::PositionResult)
|
26
26
|
|
27
27
|
|
28
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer,
|
29
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil,
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, position_result: T.nilable(Models::Shared::PositionResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, position_result: nil)
|
30
30
|
@content_type = content_type
|
31
31
|
@headers = headers
|
32
32
|
@raw_response = raw_response
|
33
33
|
@status_code = status_code
|
34
|
-
@
|
34
|
+
@position_result = position_result
|
35
35
|
end
|
36
36
|
|
37
37
|
def ==(other)
|
@@ -40,7 +40,7 @@ module StackOne
|
|
40
40
|
return false unless @headers == other.headers
|
41
41
|
return false unless @raw_response == other.raw_response
|
42
42
|
return false unless @status_code == other.status_code
|
43
|
-
return false unless @
|
43
|
+
return false unless @position_result == other.position_result
|
44
44
|
true
|
45
45
|
end
|
46
46
|
end
|
@@ -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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# Filter parameters that allow greater customisation of the list response
|
12
|
+
class HrisListPositionsQueryParamFilter
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Use a string with a date to only select results updated after that given date
|
17
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
18
|
+
|
19
|
+
|
20
|
+
sig { params(updated_after: T.nilable(::String)).void }
|
21
|
+
def initialize(updated_after: nil)
|
22
|
+
@updated_after = updated_after
|
23
|
+
end
|
24
|
+
|
25
|
+
def ==(other)
|
26
|
+
return false unless other.is_a? self.class
|
27
|
+
return false unless @updated_after == other.updated_after
|
28
|
+
true
|
29
|
+
end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,73 @@
|
|
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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
|
12
|
+
class HrisListPositionsRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
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 to return 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(Models::Operations::HrisListPositionsQueryParamFilter), { '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 (default value is 25)
|
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 should be returned in addition to the mapped result (default value is false)
|
33
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
+
# Filter positions by status
|
35
|
+
field :status, T.nilable(Models::Operations::QueryParamStatus), { 'query_param': { 'field_name': 'status', '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(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::HrisListPositionsQueryParamFilter), 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), status: T.nilable(Models::Operations::QueryParamStatus), updated_after: T.nilable(::String)).void }
|
43
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, status: nil, updated_after: nil)
|
44
|
+
@x_account_id = x_account_id
|
45
|
+
@fields_ = fields_
|
46
|
+
@filter = filter
|
47
|
+
@next_ = next_
|
48
|
+
@page = page
|
49
|
+
@page_size = page_size
|
50
|
+
@proxy = proxy
|
51
|
+
@raw = raw
|
52
|
+
@status = status
|
53
|
+
@updated_after = updated_after
|
54
|
+
end
|
55
|
+
|
56
|
+
def ==(other)
|
57
|
+
return false unless other.is_a? self.class
|
58
|
+
return false unless @x_account_id == other.x_account_id
|
59
|
+
return false unless @fields_ == other.fields_
|
60
|
+
return false unless @filter == other.filter
|
61
|
+
return false unless @next_ == other.next_
|
62
|
+
return false unless @page == other.page
|
63
|
+
return false unless @page_size == other.page_size
|
64
|
+
return false unless @proxy == other.proxy
|
65
|
+
return false unless @raw == other.raw
|
66
|
+
return false unless @status == other.status
|
67
|
+
return false unless @updated_after == other.updated_after
|
68
|
+
true
|
69
|
+
end
|
70
|
+
end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
end
|
@@ -9,7 +9,7 @@ module StackOne
|
|
9
9
|
module Operations
|
10
10
|
|
11
11
|
|
12
|
-
class
|
12
|
+
class HrisListPositionsResponse
|
13
13
|
extend T::Sig
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
@@ -21,17 +21,17 @@ module StackOne
|
|
21
21
|
field :raw_response, ::Faraday::Response
|
22
22
|
# HTTP response status code for this operation
|
23
23
|
field :status_code, ::Integer
|
24
|
-
# The
|
25
|
-
field :
|
24
|
+
# The list of positions was retrieved.
|
25
|
+
field :positions_paginated, T.nilable(Models::Shared::PositionsPaginated)
|
26
26
|
|
27
27
|
|
28
|
-
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer,
|
29
|
-
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil,
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, positions_paginated: T.nilable(Models::Shared::PositionsPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, positions_paginated: nil)
|
30
30
|
@content_type = content_type
|
31
31
|
@headers = headers
|
32
32
|
@raw_response = raw_response
|
33
33
|
@status_code = status_code
|
34
|
-
@
|
34
|
+
@positions_paginated = positions_paginated
|
35
35
|
end
|
36
36
|
|
37
37
|
def ==(other)
|
@@ -40,7 +40,7 @@ module StackOne
|
|
40
40
|
return false unless @headers == other.headers
|
41
41
|
return false unless @raw_response == other.raw_response
|
42
42
|
return false unless @status_code == other.status_code
|
43
|
-
return false unless @
|
43
|
+
return false unless @positions_paginated == other.positions_paginated
|
44
44
|
true
|
45
45
|
end
|
46
46
|
end
|
@@ -14,12 +14,12 @@ module StackOne
|
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
16
|
# Filter to select assignment by status
|
17
|
-
field :status, T.nilable(Models::Operations::
|
17
|
+
field :status, T.nilable(Models::Operations::LmsListAssignmentsQueryParamStatus), { 'query_param': { 'field_name': 'status' } }
|
18
18
|
# Use a string with a date to only select results updated after that given date
|
19
19
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after' } }
|
20
20
|
|
21
21
|
|
22
|
-
sig { params(status: T.nilable(Models::Operations::
|
22
|
+
sig { params(status: T.nilable(Models::Operations::LmsListAssignmentsQueryParamStatus), updated_after: T.nilable(::String)).void }
|
23
23
|
def initialize(status: nil, updated_after: nil)
|
24
24
|
@status = status
|
25
25
|
@updated_after = updated_after
|
@@ -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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# LmsListAssignmentsQueryParamStatus - Filter to select assignment by status
|
12
|
+
class LmsListAssignmentsQueryParamStatus < T::Enum
|
13
|
+
enums do
|
14
|
+
PENDING = new('pending')
|
15
|
+
IN_PROGRESS = new('in_progress')
|
16
|
+
COMPLETED = new('completed')
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
@@ -8,12 +8,13 @@ module StackOne
|
|
8
8
|
module Models
|
9
9
|
module Operations
|
10
10
|
|
11
|
-
# QueryParamStatus - Filter
|
11
|
+
# QueryParamStatus - Filter positions by status
|
12
12
|
class QueryParamStatus < T::Enum
|
13
13
|
enums do
|
14
|
-
|
15
|
-
|
16
|
-
|
14
|
+
OPEN = new('open')
|
15
|
+
CLOSED = new('closed')
|
16
|
+
PAUSED = new('paused')
|
17
|
+
UNMAPPED_VALUE = new('unmapped_value')
|
17
18
|
end
|
18
19
|
end
|
19
20
|
end
|
@@ -77,6 +77,9 @@ module StackOne
|
|
77
77
|
autoload :AtsGetRejectedReasonResponse, 'stack_one/models/operations/ats_get_rejected_reason_response.rb'
|
78
78
|
autoload :AtsGetUserRequest, 'stack_one/models/operations/ats_get_user_request.rb'
|
79
79
|
autoload :AtsGetUserResponse, 'stack_one/models/operations/ats_get_user_response.rb'
|
80
|
+
autoload :AtsListApplicationChangesQueryParamFilter, 'stack_one/models/operations/ats_list_application_changes_queryparam_filter.rb'
|
81
|
+
autoload :AtsListApplicationChangesRequest, 'stack_one/models/operations/ats_list_application_changes_request.rb'
|
82
|
+
autoload :AtsListApplicationChangesResponse, 'stack_one/models/operations/ats_list_application_changes_response.rb'
|
80
83
|
autoload :AtsListApplicationCustomFieldDefinitionsQueryParamFilter, 'stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb'
|
81
84
|
autoload :AtsListApplicationCustomFieldDefinitionsRequest, 'stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb'
|
82
85
|
autoload :AtsListApplicationCustomFieldDefinitionsResponse, 'stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb'
|
@@ -170,6 +173,7 @@ module StackOne
|
|
170
173
|
autoload :AtsUpdateJobResponse, 'stack_one/models/operations/ats_update_job_response.rb'
|
171
174
|
autoload :AtsUploadApplicationDocumentRequest, 'stack_one/models/operations/ats_upload_application_document_request.rb'
|
172
175
|
autoload :AtsUploadApplicationDocumentResponse, 'stack_one/models/operations/ats_upload_application_document_response.rb'
|
176
|
+
autoload :ChangeType, 'stack_one/models/operations/change_type.rb'
|
173
177
|
autoload :CrmCreateContactRequest, 'stack_one/models/operations/crm_create_contact_request.rb'
|
174
178
|
autoload :CrmCreateContactResponse, 'stack_one/models/operations/crm_create_contact_response.rb'
|
175
179
|
autoload :CrmGetAccountRequest, 'stack_one/models/operations/crm_get_account_request.rb'
|
@@ -249,6 +253,8 @@ module StackOne
|
|
249
253
|
autoload :HrisGetJobResponse, 'stack_one/models/operations/hris_get_job_response.rb'
|
250
254
|
autoload :HrisGetLocationRequest, 'stack_one/models/operations/hris_get_location_request.rb'
|
251
255
|
autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb'
|
256
|
+
autoload :HrisGetPositionRequest, 'stack_one/models/operations/hris_get_position_request.rb'
|
257
|
+
autoload :HrisGetPositionResponse, 'stack_one/models/operations/hris_get_position_response.rb'
|
252
258
|
autoload :HrisGetTeamGroupRequest, 'stack_one/models/operations/hris_get_team_group_request.rb'
|
253
259
|
autoload :HrisGetTeamGroupResponse, 'stack_one/models/operations/hris_get_team_group_response.rb'
|
254
260
|
autoload :HrisGetTimeEntriesRequest, 'stack_one/models/operations/hris_get_time_entries_request.rb'
|
@@ -318,6 +324,9 @@ module StackOne
|
|
318
324
|
autoload :HrisListLocationsQueryParamFilter, 'stack_one/models/operations/hris_list_locations_queryparam_filter.rb'
|
319
325
|
autoload :HrisListLocationsRequest, 'stack_one/models/operations/hris_list_locations_request.rb'
|
320
326
|
autoload :HrisListLocationsResponse, 'stack_one/models/operations/hris_list_locations_response.rb'
|
327
|
+
autoload :HrisListPositionsQueryParamFilter, 'stack_one/models/operations/hris_list_positions_queryparam_filter.rb'
|
328
|
+
autoload :HrisListPositionsRequest, 'stack_one/models/operations/hris_list_positions_request.rb'
|
329
|
+
autoload :HrisListPositionsResponse, 'stack_one/models/operations/hris_list_positions_response.rb'
|
321
330
|
autoload :HrisListTeamGroupsQueryParamFilter, 'stack_one/models/operations/hris_list_team_groups_queryparam_filter.rb'
|
322
331
|
autoload :HrisListTeamGroupsRequest, 'stack_one/models/operations/hris_list_team_groups_request.rb'
|
323
332
|
autoload :HrisListTeamGroupsResponse, 'stack_one/models/operations/hris_list_team_groups_response.rb'
|
@@ -371,10 +380,6 @@ module StackOne
|
|
371
380
|
autoload :JobStatus, 'stack_one/models/operations/job_status.rb'
|
372
381
|
autoload :LmsBatchUpsertContentRequest, 'stack_one/models/operations/lms_batch_upsert_content_request.rb'
|
373
382
|
autoload :LmsBatchUpsertContentResponse, 'stack_one/models/operations/lms_batch_upsert_content_response.rb'
|
374
|
-
autoload :LmsBatchUpsertCourseRequest, 'stack_one/models/operations/lms_batch_upsert_course_request.rb'
|
375
|
-
autoload :LmsBatchUpsertCourseResponse, 'stack_one/models/operations/lms_batch_upsert_course_response.rb'
|
376
|
-
autoload :LmsCreateCollectionRequest, 'stack_one/models/operations/lms_create_collection_request.rb'
|
377
|
-
autoload :LmsCreateCollectionResponse, 'stack_one/models/operations/lms_create_collection_response.rb'
|
378
383
|
autoload :LmsCreateUserAssignmentRequest, 'stack_one/models/operations/lms_create_user_assignment_request.rb'
|
379
384
|
autoload :LmsCreateUserAssignmentResponse, 'stack_one/models/operations/lms_create_user_assignment_response.rb'
|
380
385
|
autoload :LmsCreateUserCompletionRequest, 'stack_one/models/operations/lms_create_user_completion_request.rb'
|
@@ -400,6 +405,7 @@ module StackOne
|
|
400
405
|
autoload :LmsGetUserRequest, 'stack_one/models/operations/lms_get_user_request.rb'
|
401
406
|
autoload :LmsGetUserResponse, 'stack_one/models/operations/lms_get_user_response.rb'
|
402
407
|
autoload :LmsListAssignmentsQueryParamFilter, 'stack_one/models/operations/lms_list_assignments_queryparam_filter.rb'
|
408
|
+
autoload :LmsListAssignmentsQueryParamStatus, 'stack_one/models/operations/lms_list_assignments_queryparam_status.rb'
|
403
409
|
autoload :LmsListAssignmentsRequest, 'stack_one/models/operations/lms_list_assignments_request.rb'
|
404
410
|
autoload :LmsListAssignmentsResponse, 'stack_one/models/operations/lms_list_assignments_response.rb'
|
405
411
|
autoload :LmsListCategoriesQueryParamFilter, 'stack_one/models/operations/lms_list_categories_queryparam_filter.rb'
|
@@ -427,14 +433,10 @@ module StackOne
|
|
427
433
|
autoload :LmsListUsersQueryParamFilter, 'stack_one/models/operations/lms_list_users_queryparam_filter.rb'
|
428
434
|
autoload :LmsListUsersRequest, 'stack_one/models/operations/lms_list_users_request.rb'
|
429
435
|
autoload :LmsListUsersResponse, 'stack_one/models/operations/lms_list_users_response.rb'
|
430
|
-
autoload :LmsUpdateCollectionRequest, 'stack_one/models/operations/lms_update_collection_request.rb'
|
431
|
-
autoload :LmsUpdateCollectionResponse, 'stack_one/models/operations/lms_update_collection_response.rb'
|
432
436
|
autoload :LmsUpdateContentRequest, 'stack_one/models/operations/lms_update_content_request.rb'
|
433
437
|
autoload :LmsUpdateContentResponse, 'stack_one/models/operations/lms_update_content_response.rb'
|
434
438
|
autoload :LmsUpsertContentRequest, 'stack_one/models/operations/lms_upsert_content_request.rb'
|
435
439
|
autoload :LmsUpsertContentResponse, 'stack_one/models/operations/lms_upsert_content_response.rb'
|
436
|
-
autoload :LmsUpsertCourseRequest, 'stack_one/models/operations/lms_upsert_course_request.rb'
|
437
|
-
autoload :LmsUpsertCourseResponse, 'stack_one/models/operations/lms_upsert_course_response.rb'
|
438
440
|
autoload :MarketingCreateContentBlockRequest, 'stack_one/models/operations/marketing_create_content_block_request.rb'
|
439
441
|
autoload :MarketingCreateContentBlockResponse, 'stack_one/models/operations/marketing_create_content_block_response.rb'
|
440
442
|
autoload :MarketingCreateEmailTemplateRequest, 'stack_one/models/operations/marketing_create_email_template_request.rb'
|
@@ -0,0 +1,37 @@
|
|
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 Models
|
9
|
+
module Shared
|
10
|
+
|
11
|
+
# The actor who made the change
|
12
|
+
class Actor
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Unique identifier
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@remote_id = remote_id
|
26
|
+
end
|
27
|
+
|
28
|
+
def ==(other)
|
29
|
+
return false unless other.is_a? self.class
|
30
|
+
return false unless @id == other.id
|
31
|
+
return false unless @remote_id == other.remote_id
|
32
|
+
true
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -0,0 +1,57 @@
|
|
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 Models
|
9
|
+
module Shared
|
10
|
+
|
11
|
+
|
12
|
+
class ApplicationChanges
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Timestamp when the change was created
|
17
|
+
field :created_at, ::DateTime, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(false) } }
|
18
|
+
# The new values for changed application properties. Only includes fields that commonly change over the application lifecycle.
|
19
|
+
field :new_values, Models::Shared::ApplicationChangesDataModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('new_values') } }
|
20
|
+
# The actor who made the change
|
21
|
+
field :actor, T.nilable(Models::Shared::Actor), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('actor') } }
|
22
|
+
# The type of change that occurred to the application
|
23
|
+
field :change_type, T.nilable(Models::Shared::ChangeType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('change_type') } }
|
24
|
+
# Timestamp when the change became effective
|
25
|
+
field :effective_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('effective_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
# Unique identifier
|
27
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
28
|
+
# Provider's unique identifier
|
29
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
30
|
+
|
31
|
+
|
32
|
+
sig { params(created_at: ::DateTime, new_values: Models::Shared::ApplicationChangesDataModel, actor: T.nilable(Models::Shared::Actor), change_type: T.nilable(Models::Shared::ChangeType), effective_at: T.nilable(::DateTime), id: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
33
|
+
def initialize(created_at: nil, new_values: nil, actor: nil, change_type: nil, effective_at: nil, id: nil, remote_id: nil)
|
34
|
+
@created_at = created_at
|
35
|
+
@new_values = new_values
|
36
|
+
@actor = actor
|
37
|
+
@change_type = change_type
|
38
|
+
@effective_at = effective_at
|
39
|
+
@id = id
|
40
|
+
@remote_id = remote_id
|
41
|
+
end
|
42
|
+
|
43
|
+
def ==(other)
|
44
|
+
return false unless other.is_a? self.class
|
45
|
+
return false unless @created_at == other.created_at
|
46
|
+
return false unless @new_values == other.new_values
|
47
|
+
return false unless @actor == other.actor
|
48
|
+
return false unless @change_type == other.change_type
|
49
|
+
return false unless @effective_at == other.effective_at
|
50
|
+
return false unless @id == other.id
|
51
|
+
return false unless @remote_id == other.remote_id
|
52
|
+
true
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|