stackone_client 0.25.0 → 0.29.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 +786 -239
- data/lib/stack_one/hris.rb +2634 -446
- 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_company_group_request.rb +49 -0
- data/lib/stack_one/models/operations/hris_get_company_group_response.rb +49 -0
- data/lib/stack_one/models/operations/hris_get_division_group_request.rb +49 -0
- data/lib/stack_one/models/operations/hris_get_division_group_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_get_task_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_task_response.rb +49 -0
- data/lib/stack_one/models/operations/hris_list_companies_groups_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_companies_groups_request.rb +69 -0
- data/lib/stack_one/models/operations/hris_list_companies_groups_response.rb +49 -0
- data/lib/stack_one/models/operations/hris_list_division_groups_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_division_groups_request.rb +69 -0
- data/lib/stack_one/models/operations/hris_list_division_groups_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/hris_list_tasks_queryparam_filter.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_tasks_request.rb +73 -0
- data/lib/stack_one/models/operations/hris_list_tasks_response.rb +49 -0
- data/lib/stack_one/models/operations.rb +26 -0
- data/lib/stack_one/models/shared/approval_status.rb +37 -0
- data/lib/stack_one/models/shared/data.rb +81 -0
- data/lib/stack_one/models/shared/hrisdivision.rb +73 -0
- data/lib/stack_one/models/shared/hrisdivision_4.rb +28 -0
- data/lib/stack_one/models/shared/hrisdivision_source_value.rb +28 -0
- data/lib/stack_one/models/shared/hrisdivision_type.rb +37 -0
- data/lib/stack_one/models/shared/hrisdivision_value.rb +26 -0
- data/lib/stack_one/models/shared/hrisdivisionspaginated.rb +45 -0
- data/lib/stack_one/models/shared/hrisdivisionsresult.rb +37 -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/shiftbreak.rb +57 -0
- data/lib/stack_one/models/shared.rb +28 -0
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- metadata +56 -2
@@ -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 AtsGetApplicationDocumentCategoryRequest
|
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
|
+
# 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
|
@@ -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 AtsGetApplicationDocumentCategoryResponse
|
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 application document category with the given identifier was retrieved.
|
25
|
+
field :reference_result, T.nilable(Models::Shared::ReferenceResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, reference_result: T.nilable(Models::Shared::ReferenceResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, reference_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@reference_result = reference_result
|
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 @reference_result == other.reference_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
data/lib/stack_one/models/operations/ats_list_application_document_categories_queryparam_filter.rb
ADDED
@@ -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 AtsListApplicationDocumentCategoriesQueryParamFilter
|
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,69 @@
|
|
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 AtsListApplicationDocumentCategoriesRequest
|
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 that will be returned in the response (if empty, all fields are returned)
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
+
# Filter parameters that allow greater customisation of the list response
|
21
|
+
field :filter, T.nilable(Models::Operations::AtsListApplicationDocumentCategoriesQueryParamFilter), { '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
|
+
# Use a string with a date to only select results updated after that given date
|
35
|
+
#
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
+
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
|
+
|
39
|
+
|
40
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter: T.nilable(Models::Operations::AtsListApplicationDocumentCategoriesQueryParamFilter), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
41
|
+
def initialize(x_account_id: nil, fields_: nil, filter: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
42
|
+
@x_account_id = x_account_id
|
43
|
+
@fields_ = fields_
|
44
|
+
@filter = filter
|
45
|
+
@next_ = next_
|
46
|
+
@page = page
|
47
|
+
@page_size = page_size
|
48
|
+
@proxy = proxy
|
49
|
+
@raw = raw
|
50
|
+
@updated_after = updated_after
|
51
|
+
end
|
52
|
+
|
53
|
+
def ==(other)
|
54
|
+
return false unless other.is_a? self.class
|
55
|
+
return false unless @x_account_id == other.x_account_id
|
56
|
+
return false unless @fields_ == other.fields_
|
57
|
+
return false unless @filter == other.filter
|
58
|
+
return false unless @next_ == other.next_
|
59
|
+
return false unless @page == other.page
|
60
|
+
return false unless @page_size == other.page_size
|
61
|
+
return false unless @proxy == other.proxy
|
62
|
+
return false unless @raw == other.raw
|
63
|
+
return false unless @updated_after == other.updated_after
|
64
|
+
true
|
65
|
+
end
|
66
|
+
end
|
67
|
+
end
|
68
|
+
end
|
69
|
+
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 AtsListApplicationDocumentCategoriesResponse
|
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 application document categories were retrieved.
|
25
|
+
field :reference_paginated, T.nilable(Models::Shared::ReferencePaginated)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, reference_paginated: T.nilable(Models::Shared::ReferencePaginated)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, reference_paginated: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@reference_paginated = reference_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 @reference_paginated == other.reference_paginated
|
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 HrisGetCompanyGroupRequest
|
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
|
+
# 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
|
@@ -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 HrisGetCompanyGroupResponse
|
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 company group with the given identifier was retrieved.
|
25
|
+
field :company_result, T.nilable(Models::Shared::CompanyResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, company_result: T.nilable(Models::Shared::CompanyResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, company_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@company_result = company_result
|
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 @company_result == other.company_result
|
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 HrisGetDivisionGroupRequest
|
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
|
+
# 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
|
@@ -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 HrisGetDivisionGroupResponse
|
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 division group with the given identifier was retrieved.
|
25
|
+
field :hris_divisions_result, T.nilable(Models::Shared::HRISDivisionsResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, hris_divisions_result: T.nilable(Models::Shared::HRISDivisionsResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, hris_divisions_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@hris_divisions_result = hris_divisions_result
|
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 @hris_divisions_result == other.hris_divisions_result
|
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 HrisGetShiftRequest
|
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
|
@@ -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 HrisGetShiftResponse
|
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 shift with the given identifier was retrieved.
|
25
|
+
field :hris_shift_result, T.nilable(Models::Shared::HrisShiftResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, hris_shift_result: T.nilable(Models::Shared::HrisShiftResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, hris_shift_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@hris_shift_result = hris_shift_result
|
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 @hris_shift_result == other.hris_shift_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -0,0 +1,53 @@
|
|
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 HrisGetTaskRequest
|
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 expanded in the response
|
21
|
+
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
22
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
23
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
24
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
25
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
26
|
+
# Indicates that the raw request result should be returned in addition to the mapped result (default value is false)
|
27
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
28
|
+
|
29
|
+
|
30
|
+
sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
31
|
+
def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, proxy: nil, raw: nil)
|
32
|
+
@id = id
|
33
|
+
@x_account_id = x_account_id
|
34
|
+
@expand = expand
|
35
|
+
@fields_ = fields_
|
36
|
+
@proxy = proxy
|
37
|
+
@raw = raw
|
38
|
+
end
|
39
|
+
|
40
|
+
def ==(other)
|
41
|
+
return false unless other.is_a? self.class
|
42
|
+
return false unless @id == other.id
|
43
|
+
return false unless @x_account_id == other.x_account_id
|
44
|
+
return false unless @expand == other.expand
|
45
|
+
return false unless @fields_ == other.fields_
|
46
|
+
return false unless @proxy == other.proxy
|
47
|
+
return false unless @raw == other.raw
|
48
|
+
true
|
49
|
+
end
|
50
|
+
end
|
51
|
+
end
|
52
|
+
end
|
53
|
+
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 HrisGetTaskResponse
|
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 task with the given identifier was retrieved.
|
25
|
+
field :task_result, T.nilable(Models::Shared::TaskResult)
|
26
|
+
|
27
|
+
|
28
|
+
sig { params(content_type: ::String, headers: T::Hash[Symbol, T::Array[::String]], raw_response: ::Faraday::Response, status_code: ::Integer, task_result: T.nilable(Models::Shared::TaskResult)).void }
|
29
|
+
def initialize(content_type: nil, headers: nil, raw_response: nil, status_code: nil, task_result: nil)
|
30
|
+
@content_type = content_type
|
31
|
+
@headers = headers
|
32
|
+
@raw_response = raw_response
|
33
|
+
@status_code = status_code
|
34
|
+
@task_result = task_result
|
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 @task_result == other.task_result
|
44
|
+
true
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|