stackone_client 0.27.0 → 0.31.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/ats.rb +788 -241
- data/lib/stack_one/hris.rb +847 -300
- data/lib/stack_one/models/operations/ats_get_application_document_category_request.rb +49 -0
- data/lib/stack_one/models/operations/ats_get_application_document_category_response.rb +49 -0
- data/lib/stack_one/models/operations/ats_list_application_document_categories_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/ats_list_application_document_categories_request.rb +69 -0
- data/lib/stack_one/models/operations/ats_list_application_document_categories_response.rb +49 -0
- data/lib/stack_one/models/operations/hris_get_shift_request.rb +49 -0
- data/lib/stack_one/models/operations/hris_get_shift_response.rb +49 -0
- data/lib/stack_one/models/operations/hris_list_shifts_queryparam_filter.rb +49 -0
- data/lib/stack_one/models/operations/hris_list_shifts_queryparam_status.rb +23 -0
- data/lib/stack_one/models/operations/hris_list_shifts_request.rb +69 -0
- data/lib/stack_one/models/operations/hris_list_shifts_response.rb +49 -0
- data/lib/stack_one/models/operations/queryparam_filter.rb +26 -18
- data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_order_by.rb +23 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_order_direction.rb +20 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_by.rb +23 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_direction.rb +20 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_request.rb +49 -0
- data/lib/stack_one/models/operations/stackone_list_platform_logs_response.rb +49 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_queryparam_filter.rb +81 -0
- data/lib/stack_one/models/operations/stackone_list_step_logs_request.rb +2 -2
- data/lib/stack_one/models/operations.rb +18 -0
- data/lib/stack_one/models/shared/approval_status.rb +37 -0
- data/lib/stack_one/models/shared/authormodel.rb +37 -0
- data/lib/stack_one/models/shared/course.rb +6 -2
- data/lib/stack_one/models/shared/data.rb +81 -0
- data/lib/stack_one/models/shared/hrisshift.rb +81 -0
- data/lib/stack_one/models/shared/hrisshift_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisshift_schemas_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisshift_schemas_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisshift_schemas_value.rb +23 -0
- data/lib/stack_one/models/shared/hrisshift_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisshift_status.rb +37 -0
- data/lib/stack_one/models/shared/hrisshift_value.rb +22 -0
- data/lib/stack_one/models/shared/hrisshiftresult.rb +37 -0
- data/lib/stack_one/models/shared/hrisshiftresult_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisshiftresult_approval_status.rb +37 -0
- data/lib/stack_one/models/shared/hrisshiftresult_schemas_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisshiftresult_schemas_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisshiftresult_schemas_value.rb +23 -0
- data/lib/stack_one/models/shared/hrisshiftresult_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisshiftresult_status.rb +37 -0
- data/lib/stack_one/models/shared/hrisshiftresult_value.rb +22 -0
- data/lib/stack_one/models/shared/hrisshiftspaginated.rb +41 -0
- data/lib/stack_one/models/shared/lmscreatecontentrequestdto.rb +6 -2
- data/lib/stack_one/models/shared/lmsupsertcontentrequestdto.rb +6 -2
- data/lib/stack_one/models/shared/platformlog.rb +113 -0
- data/lib/stack_one/models/shared/platformlogspaginated.rb +37 -0
- data/lib/stack_one/models/shared/shiftbreak.rb +57 -0
- data/lib/stack_one/models/shared/steplog.rb +6 -2
- data/lib/stack_one/models/shared/unifiedlogs.rb +6 -2
- data/lib/stack_one/models/shared/unifiedlogspartial.rb +6 -2
- data/lib/stack_one/models/shared.rb +24 -0
- data/lib/stack_one/request_logs.rb +258 -0
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- metadata +44 -2
data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_order_direction.rb
ADDED
@@ -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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# StackoneListPlatformLogsQueryParamOrderDirection - The direction to order the results by.
|
12
|
+
class StackoneListPlatformLogsQueryParamOrderDirection < T::Enum
|
13
|
+
enums do
|
14
|
+
ASC = new('asc')
|
15
|
+
DESC = new('desc')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
data/lib/stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_by.rb
ADDED
@@ -0,0 +1,23 @@
|
|
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
|
+
# StackoneListPlatformLogsQueryParamRequestLogsOrderBy - The field to order the results by.
|
12
|
+
class StackoneListPlatformLogsQueryParamRequestLogsOrderBy < T::Enum
|
13
|
+
enums do
|
14
|
+
PROVIDER = new('provider')
|
15
|
+
SERVICE = new('service')
|
16
|
+
STATUS = new('status')
|
17
|
+
EVENT_DATETIME = new('eventDatetime')
|
18
|
+
DURATION = new('duration')
|
19
|
+
end
|
20
|
+
end
|
21
|
+
end
|
22
|
+
end
|
23
|
+
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 Models
|
9
|
+
module Operations
|
10
|
+
|
11
|
+
# StackoneListPlatformLogsQueryParamRequestLogsOrderDirection - The direction to order the results by.
|
12
|
+
class StackoneListPlatformLogsQueryParamRequestLogsOrderDirection < T::Enum
|
13
|
+
enums do
|
14
|
+
ASC = new('asc')
|
15
|
+
DESC = new('desc')
|
16
|
+
end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
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 StackoneListPlatformLogsRequest
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# Filter parameters that allow greater customisation of the list response
|
17
|
+
field :filter, T.nilable(Models::Operations::QueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
|
18
|
+
# The unified cursor
|
19
|
+
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
20
|
+
# The field to order the results by.
|
21
|
+
field :order_by, T.nilable(Models::Operations::StackoneListPlatformLogsQueryParamOrderBy), { 'query_param': { 'field_name': 'order_by', 'style': 'form', 'explode': true } }
|
22
|
+
# The direction to order the results by.
|
23
|
+
field :order_direction, T.nilable(Models::Operations::StackoneListPlatformLogsQueryParamOrderDirection), { 'query_param': { 'field_name': 'order_direction', 'style': 'form', 'explode': true } }
|
24
|
+
# The number of results per page (default value is 25)
|
25
|
+
field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(filter: T.nilable(Models::Operations::QueryParamFilter), next_: T.nilable(::String), order_by: T.nilable(Models::Operations::StackoneListPlatformLogsQueryParamOrderBy), order_direction: T.nilable(Models::Operations::StackoneListPlatformLogsQueryParamOrderDirection), page_size: T.nilable(::Float)).void }
|
29
|
+
def initialize(filter: nil, next_: nil, order_by: nil, order_direction: nil, page_size: nil)
|
30
|
+
@filter = filter
|
31
|
+
@next_ = next_
|
32
|
+
@order_by = order_by
|
33
|
+
@order_direction = order_direction
|
34
|
+
@page_size = page_size
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @filter == other.filter
|
40
|
+
return false unless @next_ == other.next_
|
41
|
+
return false unless @order_by == other.order_by
|
42
|
+
return false unless @order_direction == other.order_direction
|
43
|
+
return false unless @page_size == other.page_size
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
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 StackoneListPlatformLogsResponse
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# HTTP response content type for this operation
|
17
|
+
field :content_type, ::String
|
18
|
+
|
19
|
+
field :headers, T::Hash[Symbol, T::Array[::String]]
|
20
|
+
# Raw HTTP response; suitable for custom response parsing
|
21
|
+
field :raw_response, ::Faraday::Response
|
22
|
+
# HTTP response status code for this operation
|
23
|
+
field :status_code, ::Integer
|
24
|
+
# The list of platform logs was retrieved.
|
25
|
+
field :platform_logs_paginated, T.nilable(Models::Shared::PlatformLogsPaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, platform_logs_paginated: T.nilable(Models::Shared::PlatformLogsPaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, platform_logs_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@platform_logs_paginated = platform_logs_paginated
|
35
|
+
end
|
36
|
+
|
37
|
+
def ==(other)
|
38
|
+
return false unless other.is_a? self.class
|
39
|
+
return false unless @content_type == other.content_type
|
40
|
+
return false unless @headers == other.headers
|
41
|
+
return false unless @raw_response == other.raw_response
|
42
|
+
return false unless @status_code == other.status_code
|
43
|
+
return false unless @platform_logs_paginated == other.platform_logs_paginated
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,81 @@
|
|
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 StackoneListStepLogsQueryParamFilter
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# A comma-separated list of account IDs to filter the results by.
|
17
|
+
field :account_ids, T.nilable(::String), { 'query_param': { 'field_name': 'account_ids' } }
|
18
|
+
# A comma-separated list of actions to filter the results by.
|
19
|
+
field :actions, T.nilable(::String), { 'query_param': { 'field_name': 'actions' } }
|
20
|
+
# A comma-separated list of child resources to filter the results by.
|
21
|
+
field :child_resources, T.nilable(::String), { 'query_param': { 'field_name': 'child_resources' } }
|
22
|
+
# A ISO8601 date string to filter the results by end_date.
|
23
|
+
field :end_date, T.nilable(::String), { 'query_param': { 'field_name': 'end_date' } }
|
24
|
+
# A comma-separated list of HTTP methods to filter the results by.
|
25
|
+
field :http_methods, T.nilable(::String), { 'query_param': { 'field_name': 'http_methods' } }
|
26
|
+
# A comma-separated list of provider keys to filter the results by.
|
27
|
+
field :providers, T.nilable(::String), { 'query_param': { 'field_name': 'providers' } }
|
28
|
+
# A comma-separated list of request IDs to filter the results by.
|
29
|
+
field :request_ids, T.nilable(::String), { 'query_param': { 'field_name': 'request_ids' } }
|
30
|
+
# A comma-separated list of resources to filter the results by.
|
31
|
+
field :resources, T.nilable(::String), { 'query_param': { 'field_name': 'resources' } }
|
32
|
+
# A comma-separated list of services to filter the results by.
|
33
|
+
field :services, T.nilable(::String), { 'query_param': { 'field_name': 'services' } }
|
34
|
+
# A ISO8601 date string to filter the results by start_date.
|
35
|
+
field :start_date, T.nilable(::String), { 'query_param': { 'field_name': 'start_date' } }
|
36
|
+
# A comma-separated list of status codes to filter the results by.
|
37
|
+
field :status_codes, T.nilable(::String), { 'query_param': { 'field_name': 'status_codes' } }
|
38
|
+
# A comma-separated list of sub resources to filter the results by.
|
39
|
+
field :sub_resources, T.nilable(::String), { 'query_param': { 'field_name': 'sub_resources' } }
|
40
|
+
# A boolean value to filter the results by success or failure.
|
41
|
+
field :success, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'success' } }
|
42
|
+
|
43
|
+
|
44
|
+
sig { params(account_ids: T.nilable(::String), actions: T.nilable(::String), child_resources: T.nilable(::String), end_date: T.nilable(::String), http_methods: T.nilable(::String), providers: T.nilable(::String), request_ids: T.nilable(::String), resources: T.nilable(::String), services: T.nilable(::String), start_date: T.nilable(::String), status_codes: T.nilable(::String), sub_resources: T.nilable(::String), success: T.nilable(T::Boolean)).void }
|
45
|
+
def initialize(account_ids: nil, actions: nil, child_resources: nil, end_date: nil, http_methods: nil, providers: nil, request_ids: nil, resources: nil, services: nil, start_date: nil, status_codes: nil, sub_resources: nil, success: nil)
|
46
|
+
@account_ids = account_ids
|
47
|
+
@actions = actions
|
48
|
+
@child_resources = child_resources
|
49
|
+
@end_date = end_date
|
50
|
+
@http_methods = http_methods
|
51
|
+
@providers = providers
|
52
|
+
@request_ids = request_ids
|
53
|
+
@resources = resources
|
54
|
+
@services = services
|
55
|
+
@start_date = start_date
|
56
|
+
@status_codes = status_codes
|
57
|
+
@sub_resources = sub_resources
|
58
|
+
@success = success
|
59
|
+
end
|
60
|
+
|
61
|
+
def ==(other)
|
62
|
+
return false unless other.is_a? self.class
|
63
|
+
return false unless @account_ids == other.account_ids
|
64
|
+
return false unless @actions == other.actions
|
65
|
+
return false unless @child_resources == other.child_resources
|
66
|
+
return false unless @end_date == other.end_date
|
67
|
+
return false unless @http_methods == other.http_methods
|
68
|
+
return false unless @providers == other.providers
|
69
|
+
return false unless @request_ids == other.request_ids
|
70
|
+
return false unless @resources == other.resources
|
71
|
+
return false unless @services == other.services
|
72
|
+
return false unless @start_date == other.start_date
|
73
|
+
return false unless @status_codes == other.status_codes
|
74
|
+
return false unless @sub_resources == other.sub_resources
|
75
|
+
return false unless @success == other.success
|
76
|
+
true
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -14,7 +14,7 @@ module StackOne
|
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
16
|
# Filter parameters that allow greater customisation of the list response
|
17
|
-
field :filter, T.nilable(Models::Operations::
|
17
|
+
field :filter, T.nilable(Models::Operations::StackoneListStepLogsQueryParamFilter), { 'query_param': { 'field_name': 'filter', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
20
20
|
# The field to order the results by.
|
@@ -25,7 +25,7 @@ module StackOne
|
|
25
25
|
field :page_size, T.nilable(::Float), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
26
26
|
|
27
27
|
|
28
|
-
sig { params(filter: T.nilable(Models::Operations::
|
28
|
+
sig { params(filter: T.nilable(Models::Operations::StackoneListStepLogsQueryParamFilter), next_: T.nilable(::String), order_by: T.nilable(Models::Operations::StackoneListStepLogsQueryParamOrderBy), order_direction: T.nilable(Models::Operations::StackoneListStepLogsQueryParamOrderDirection), page_size: T.nilable(::Float)).void }
|
29
29
|
def initialize(filter: nil, next_: nil, order_by: nil, order_direction: nil, page_size: nil)
|
30
30
|
@filter = filter
|
31
31
|
@next_ = next_
|
@@ -27,6 +27,8 @@ module StackOne
|
|
27
27
|
autoload :AtsGetApplicationCustomFieldDefinitionQueryParamFilter, 'stack_one/models/operations/ats_get_application_custom_field_definition_queryparam_filter.rb'
|
28
28
|
autoload :AtsGetApplicationCustomFieldDefinitionRequest, 'stack_one/models/operations/ats_get_application_custom_field_definition_request.rb'
|
29
29
|
autoload :AtsGetApplicationCustomFieldDefinitionResponse, 'stack_one/models/operations/ats_get_application_custom_field_definition_response.rb'
|
30
|
+
autoload :AtsGetApplicationDocumentCategoryRequest, 'stack_one/models/operations/ats_get_application_document_category_request.rb'
|
31
|
+
autoload :AtsGetApplicationDocumentCategoryResponse, 'stack_one/models/operations/ats_get_application_document_category_response.rb'
|
30
32
|
autoload :AtsGetApplicationDocumentRequest, 'stack_one/models/operations/ats_get_application_document_request.rb'
|
31
33
|
autoload :AtsGetApplicationDocumentResponse, 'stack_one/models/operations/ats_get_application_document_response.rb'
|
32
34
|
autoload :AtsGetApplicationNoteRequest, 'stack_one/models/operations/ats_get_application_note_request.rb'
|
@@ -83,6 +85,9 @@ module StackOne
|
|
83
85
|
autoload :AtsListApplicationCustomFieldDefinitionsQueryParamFilter, 'stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb'
|
84
86
|
autoload :AtsListApplicationCustomFieldDefinitionsRequest, 'stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb'
|
85
87
|
autoload :AtsListApplicationCustomFieldDefinitionsResponse, 'stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb'
|
88
|
+
autoload :AtsListApplicationDocumentCategoriesQueryParamFilter, 'stack_one/models/operations/ats_list_application_document_categories_queryparam_filter.rb'
|
89
|
+
autoload :AtsListApplicationDocumentCategoriesRequest, 'stack_one/models/operations/ats_list_application_document_categories_request.rb'
|
90
|
+
autoload :AtsListApplicationDocumentCategoriesResponse, 'stack_one/models/operations/ats_list_application_document_categories_response.rb'
|
86
91
|
autoload :AtsListApplicationDocumentsQueryParamFilter, 'stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb'
|
87
92
|
autoload :AtsListApplicationDocumentsRequest, 'stack_one/models/operations/ats_list_application_documents_request.rb'
|
88
93
|
autoload :AtsListApplicationDocumentsResponse, 'stack_one/models/operations/ats_list_application_documents_response.rb'
|
@@ -259,6 +264,8 @@ module StackOne
|
|
259
264
|
autoload :HrisGetLocationResponse, 'stack_one/models/operations/hris_get_location_response.rb'
|
260
265
|
autoload :HrisGetPositionRequest, 'stack_one/models/operations/hris_get_position_request.rb'
|
261
266
|
autoload :HrisGetPositionResponse, 'stack_one/models/operations/hris_get_position_response.rb'
|
267
|
+
autoload :HrisGetShiftRequest, 'stack_one/models/operations/hris_get_shift_request.rb'
|
268
|
+
autoload :HrisGetShiftResponse, 'stack_one/models/operations/hris_get_shift_response.rb'
|
262
269
|
autoload :HrisGetTaskRequest, 'stack_one/models/operations/hris_get_task_request.rb'
|
263
270
|
autoload :HrisGetTaskResponse, 'stack_one/models/operations/hris_get_task_response.rb'
|
264
271
|
autoload :HrisGetTeamGroupRequest, 'stack_one/models/operations/hris_get_team_group_request.rb'
|
@@ -339,6 +346,10 @@ module StackOne
|
|
339
346
|
autoload :HrisListPositionsQueryParamFilter, 'stack_one/models/operations/hris_list_positions_queryparam_filter.rb'
|
340
347
|
autoload :HrisListPositionsRequest, 'stack_one/models/operations/hris_list_positions_request.rb'
|
341
348
|
autoload :HrisListPositionsResponse, 'stack_one/models/operations/hris_list_positions_response.rb'
|
349
|
+
autoload :HrisListShiftsQueryParamFilter, 'stack_one/models/operations/hris_list_shifts_queryparam_filter.rb'
|
350
|
+
autoload :HrisListShiftsQueryParamStatus, 'stack_one/models/operations/hris_list_shifts_queryparam_status.rb'
|
351
|
+
autoload :HrisListShiftsRequest, 'stack_one/models/operations/hris_list_shifts_request.rb'
|
352
|
+
autoload :HrisListShiftsResponse, 'stack_one/models/operations/hris_list_shifts_response.rb'
|
342
353
|
autoload :HrisListTasksQueryParamFilter, 'stack_one/models/operations/hris_list_tasks_queryparam_filter.rb'
|
343
354
|
autoload :HrisListTasksRequest, 'stack_one/models/operations/hris_list_tasks_request.rb'
|
344
355
|
autoload :HrisListTasksResponse, 'stack_one/models/operations/hris_list_tasks_response.rb'
|
@@ -537,6 +548,13 @@ module StackOne
|
|
537
548
|
autoload :StackoneListLinkedAccountsResponse, 'stack_one/models/operations/stackone_list_linked_accounts_response.rb'
|
538
549
|
autoload :StackoneListLogsRequest, 'stack_one/models/operations/stackone_list_logs_request.rb'
|
539
550
|
autoload :StackoneListLogsResponse, 'stack_one/models/operations/stackone_list_logs_response.rb'
|
551
|
+
autoload :StackoneListPlatformLogsQueryParamRequestLogsOrderBy, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_by.rb'
|
552
|
+
autoload :StackoneListPlatformLogsQueryParamRequestLogsOrderDirection, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_request_logs_order_direction.rb'
|
553
|
+
autoload :StackoneListPlatformLogsQueryParamOrderBy, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_order_by.rb'
|
554
|
+
autoload :StackoneListPlatformLogsQueryParamOrderDirection, 'stack_one/models/operations/stackone_list_platform_logs_queryparam_order_direction.rb'
|
555
|
+
autoload :StackoneListPlatformLogsRequest, 'stack_one/models/operations/stackone_list_platform_logs_request.rb'
|
556
|
+
autoload :StackoneListPlatformLogsResponse, 'stack_one/models/operations/stackone_list_platform_logs_response.rb'
|
557
|
+
autoload :StackoneListStepLogsQueryParamFilter, 'stack_one/models/operations/stackone_list_step_logs_queryparam_filter.rb'
|
540
558
|
autoload :StackoneListStepLogsQueryParamOrderBy, 'stack_one/models/operations/stackone_list_step_logs_queryparam_order_by.rb'
|
541
559
|
autoload :StackoneListStepLogsQueryParamOrderDirection, 'stack_one/models/operations/stackone_list_step_logs_queryparam_order_direction.rb'
|
542
560
|
autoload :StackoneListStepLogsRequest, 'stack_one/models/operations/stackone_list_step_logs_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 approval status of the shift
|
12
|
+
class ApprovalStatus
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :source_value, T.nilable(T.any(::String, ::Float, T::Boolean, Models::Shared::HrisShift4, T::Array[::Object])), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
18
|
+
# The approval status of the shift
|
19
|
+
field :value, T.nilable(Models::Shared::HrisShiftValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(Models::Shared::HrisShiftValue, true) } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(source_value: T.nilable(T.any(::String, ::Float, T::Boolean, Models::Shared::HrisShift4, T::Array[::Object])), value: T.nilable(Models::Shared::HrisShiftValue)).void }
|
23
|
+
def initialize(source_value: nil, value: nil)
|
24
|
+
@source_value = source_value
|
25
|
+
@value = value
|
26
|
+
end
|
27
|
+
|
28
|
+
def ==(other)
|
29
|
+
return false unless other.is_a? self.class
|
30
|
+
return false unless @source_value == other.source_value
|
31
|
+
return false unless @value == other.value
|
32
|
+
true
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -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
|
+
|
12
|
+
class AuthorModel
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# The ID of the author
|
17
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
|
+
# The name of the author
|
19
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
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 @name == other.name
|
32
|
+
true
|
33
|
+
end
|
34
|
+
end
|
35
|
+
end
|
36
|
+
end
|
37
|
+
end
|
@@ -15,6 +15,8 @@ module StackOne
|
|
15
15
|
|
16
16
|
# Whether the course is active and available for users.
|
17
17
|
field :active, T.nilable(T.any(T::Boolean, Models::Shared::Course2)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
|
18
|
+
# The authors of the course
|
19
|
+
field :authors, T.nilable(T::Array[Models::Shared::AuthorModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('authors') } }
|
18
20
|
# The categories associated with this course
|
19
21
|
field :categories, T.nilable(T::Array[Models::Shared::Category]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('categories') } }
|
20
22
|
# The child ID/IDs associated with this course
|
@@ -51,9 +53,10 @@ module StackOne
|
|
51
53
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
52
54
|
|
53
55
|
|
54
|
-
sig { params(active: T.nilable(T.any(T::Boolean, Models::Shared::Course2)), categories: T.nilable(T::Array[Models::Shared::Category]), content_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[Models::Shared::LanguageEnum]), provider: T.nilable(::String), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[Models::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
|
55
|
-
def initialize(active: nil, categories: nil, content_ids: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, provider: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil)
|
56
|
+
sig { params(active: T.nilable(T.any(T::Boolean, Models::Shared::Course2)), authors: T.nilable(T::Array[Models::Shared::AuthorModel]), categories: T.nilable(T::Array[Models::Shared::Category]), content_ids: T.nilable(T::Array[::String]), cover_url: T.nilable(::String), created_at: T.nilable(::String), description: T.nilable(::String), duration: T.nilable(::String), external_reference: T.nilable(::String), id: T.nilable(::String), languages: T.nilable(T::Array[Models::Shared::LanguageEnum]), provider: T.nilable(::String), remote_content_ids: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), skills: T.nilable(T::Array[Models::Shared::Skills]), title: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object]), updated_at: T.nilable(::String), url: T.nilable(::String)).void }
|
57
|
+
def initialize(active: nil, authors: nil, categories: nil, content_ids: nil, cover_url: nil, created_at: nil, description: nil, duration: nil, external_reference: nil, id: nil, languages: nil, provider: nil, remote_content_ids: nil, remote_id: nil, skills: nil, title: nil, unified_custom_fields: nil, updated_at: nil, url: nil)
|
56
58
|
@active = active
|
59
|
+
@authors = authors
|
57
60
|
@categories = categories
|
58
61
|
@content_ids = content_ids
|
59
62
|
@cover_url = cover_url
|
@@ -76,6 +79,7 @@ module StackOne
|
|
76
79
|
def ==(other)
|
77
80
|
return false unless other.is_a? self.class
|
78
81
|
return false unless @active == other.active
|
82
|
+
return false unless @authors == other.authors
|
79
83
|
return false unless @categories == other.categories
|
80
84
|
return false unless @content_ids == other.content_ids
|
81
85
|
return false unless @cover_url == other.cover_url
|
@@ -0,0 +1,81 @@
|
|
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 Data
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# The approval status of the shift
|
17
|
+
field :approval_status, T.nilable(Models::Shared::HrisShiftResultApprovalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approval_status') } }
|
18
|
+
# The total break duration for this shift in ISO 8601 duration format
|
19
|
+
field :break_duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('break_duration') } }
|
20
|
+
# The breaks taken during this shift
|
21
|
+
field :breaks, T.nilable(T::Array[Models::Shared::ShiftBreak]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('breaks') } }
|
22
|
+
# The company ID associated with this shift
|
23
|
+
field :company_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_id') } }
|
24
|
+
# The date and time the shift was created
|
25
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
# The employee ID associated with this shift
|
27
|
+
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
28
|
+
# The end time of the shift
|
29
|
+
field :end_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_time'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
|
+
# Unique identifier
|
31
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
32
|
+
# The location ID where this shift takes place
|
33
|
+
field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
34
|
+
# Provider's unique identifier
|
35
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
36
|
+
# The start time of the shift
|
37
|
+
field :start_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_time'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
|
+
# The status of the shift
|
39
|
+
field :status, T.nilable(Models::Shared::HrisShiftResultStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
40
|
+
# The date and time the shift was last updated
|
41
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
|
+
|
43
|
+
|
44
|
+
sig { params(approval_status: T.nilable(Models::Shared::HrisShiftResultApprovalStatus), break_duration: T.nilable(::String), breaks: T.nilable(T::Array[Models::Shared::ShiftBreak]), company_id: T.nilable(::String), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), end_time: T.nilable(::DateTime), id: T.nilable(::String), location_id: T.nilable(::String), remote_id: T.nilable(::String), start_time: T.nilable(::DateTime), status: T.nilable(Models::Shared::HrisShiftResultStatus), updated_at: T.nilable(::DateTime)).void }
|
45
|
+
def initialize(approval_status: nil, break_duration: nil, breaks: nil, company_id: nil, created_at: nil, employee_id: nil, end_time: nil, id: nil, location_id: nil, remote_id: nil, start_time: nil, status: nil, updated_at: nil)
|
46
|
+
@approval_status = approval_status
|
47
|
+
@break_duration = break_duration
|
48
|
+
@breaks = breaks
|
49
|
+
@company_id = company_id
|
50
|
+
@created_at = created_at
|
51
|
+
@employee_id = employee_id
|
52
|
+
@end_time = end_time
|
53
|
+
@id = id
|
54
|
+
@location_id = location_id
|
55
|
+
@remote_id = remote_id
|
56
|
+
@start_time = start_time
|
57
|
+
@status = status
|
58
|
+
@updated_at = updated_at
|
59
|
+
end
|
60
|
+
|
61
|
+
def ==(other)
|
62
|
+
return false unless other.is_a? self.class
|
63
|
+
return false unless @approval_status == other.approval_status
|
64
|
+
return false unless @break_duration == other.break_duration
|
65
|
+
return false unless @breaks == other.breaks
|
66
|
+
return false unless @company_id == other.company_id
|
67
|
+
return false unless @created_at == other.created_at
|
68
|
+
return false unless @employee_id == other.employee_id
|
69
|
+
return false unless @end_time == other.end_time
|
70
|
+
return false unless @id == other.id
|
71
|
+
return false unless @location_id == other.location_id
|
72
|
+
return false unless @remote_id == other.remote_id
|
73
|
+
return false unless @start_time == other.start_time
|
74
|
+
return false unless @status == other.status
|
75
|
+
return false unless @updated_at == other.updated_at
|
76
|
+
true
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,81 @@
|
|
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 HrisShift
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# The approval status of the shift
|
17
|
+
field :approval_status, T.nilable(Models::Shared::ApprovalStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approval_status') } }
|
18
|
+
# The total break duration for this shift in ISO 8601 duration format
|
19
|
+
field :break_duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('break_duration') } }
|
20
|
+
# The breaks taken during this shift
|
21
|
+
field :breaks, T.nilable(T::Array[Models::Shared::ShiftBreak]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('breaks') } }
|
22
|
+
# The company ID associated with this shift
|
23
|
+
field :company_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('company_id') } }
|
24
|
+
# The date and time the shift was created
|
25
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
|
+
# The employee ID associated with this shift
|
27
|
+
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
28
|
+
# The end time of the shift
|
29
|
+
field :end_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_time'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
|
+
# Unique identifier
|
31
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
32
|
+
# The location ID where this shift takes place
|
33
|
+
field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
34
|
+
# Provider's unique identifier
|
35
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
36
|
+
# The start time of the shift
|
37
|
+
field :start_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_time'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
|
+
# The status of the shift
|
39
|
+
field :status, T.nilable(Models::Shared::HrisShiftStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
40
|
+
# The date and time the shift was last updated
|
41
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
42
|
+
|
43
|
+
|
44
|
+
sig { params(approval_status: T.nilable(Models::Shared::ApprovalStatus), break_duration: T.nilable(::String), breaks: T.nilable(T::Array[Models::Shared::ShiftBreak]), company_id: T.nilable(::String), created_at: T.nilable(::DateTime), employee_id: T.nilable(::String), end_time: T.nilable(::DateTime), id: T.nilable(::String), location_id: T.nilable(::String), remote_id: T.nilable(::String), start_time: T.nilable(::DateTime), status: T.nilable(Models::Shared::HrisShiftStatus), updated_at: T.nilable(::DateTime)).void }
|
45
|
+
def initialize(approval_status: nil, break_duration: nil, breaks: nil, company_id: nil, created_at: nil, employee_id: nil, end_time: nil, id: nil, location_id: nil, remote_id: nil, start_time: nil, status: nil, updated_at: nil)
|
46
|
+
@approval_status = approval_status
|
47
|
+
@break_duration = break_duration
|
48
|
+
@breaks = breaks
|
49
|
+
@company_id = company_id
|
50
|
+
@created_at = created_at
|
51
|
+
@employee_id = employee_id
|
52
|
+
@end_time = end_time
|
53
|
+
@id = id
|
54
|
+
@location_id = location_id
|
55
|
+
@remote_id = remote_id
|
56
|
+
@start_time = start_time
|
57
|
+
@status = status
|
58
|
+
@updated_at = updated_at
|
59
|
+
end
|
60
|
+
|
61
|
+
def ==(other)
|
62
|
+
return false unless other.is_a? self.class
|
63
|
+
return false unless @approval_status == other.approval_status
|
64
|
+
return false unless @break_duration == other.break_duration
|
65
|
+
return false unless @breaks == other.breaks
|
66
|
+
return false unless @company_id == other.company_id
|
67
|
+
return false unless @created_at == other.created_at
|
68
|
+
return false unless @employee_id == other.employee_id
|
69
|
+
return false unless @end_time == other.end_time
|
70
|
+
return false unless @id == other.id
|
71
|
+
return false unless @location_id == other.location_id
|
72
|
+
return false unless @remote_id == other.remote_id
|
73
|
+
return false unless @start_time == other.start_time
|
74
|
+
return false unless @status == other.status
|
75
|
+
return false unless @updated_at == other.updated_at
|
76
|
+
true
|
77
|
+
end
|
78
|
+
end
|
79
|
+
end
|
80
|
+
end
|
81
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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 HrisShift4
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
def initialize; end
|
20
|
+
|
21
|
+
def ==(other)
|
22
|
+
return false unless other.is_a? self.class
|
23
|
+
true
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|
@@ -0,0 +1,28 @@
|
|
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 HrisShiftSchemas4
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
|
18
|
+
|
19
|
+
def initialize; end
|
20
|
+
|
21
|
+
def ==(other)
|
22
|
+
return false unless other.is_a? self.class
|
23
|
+
true
|
24
|
+
end
|
25
|
+
end
|
26
|
+
end
|
27
|
+
end
|
28
|
+
end
|