stackone_client 0.37.0 → 0.37.1
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/accounting.rb +1 -1
- data/lib/stack_one/hris.rb +926 -311
- data/lib/stack_one/models/operations/hris_get_employee_shift_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employee_shift_request.rbi +23 -0
- data/lib/stack_one/models/operations/hris_get_employee_shift_response.rb +49 -0
- data/lib/stack_one/models/operations/hris_get_employee_shift_response.rbi +21 -0
- data/lib/stack_one/models/operations/hris_list_employee_shifts_queryparam_filter.rb +45 -0
- data/lib/stack_one/models/operations/hris_list_employee_shifts_queryparam_filter.rbi +19 -0
- data/lib/stack_one/models/operations/hris_list_employee_shifts_request.rb +73 -0
- data/lib/stack_one/models/operations/hris_list_employee_shifts_request.rbi +31 -0
- data/lib/stack_one/models/operations/hris_list_employee_shifts_response.rb +61 -0
- data/lib/stack_one/models/operations/hris_list_employee_shifts_response.rbi +21 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rb +10 -2
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_filter.rbi +4 -0
- data/lib/stack_one/models/operations/hris_list_positions_queryparam_status.rb +24 -0
- data/lib/stack_one/models/operations/hris_list_positions_queryparam_status.rbi +11 -0
- data/lib/stack_one/models/operations/hris_list_positions_request.rb +2 -2
- data/lib/stack_one/models/operations/hris_list_shifts_queryparam_filter.rb +2 -6
- data/lib/stack_one/models/operations/hris_list_shifts_queryparam_filter.rbi +0 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rb +10 -2
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_filter.rbi +4 -0
- data/lib/stack_one/models/operations/queryparam_status.rb +5 -4
- data/lib/stack_one/models/operations.rb +6 -0
- data/lib/stack_one/models/shared/actionmetaitem.rb +10 -6
- data/lib/stack_one/models/shared/actionmetaitem.rbi +4 -2
- data/lib/stack_one/models/shared/actionsrpcrequestdto.rb +18 -6
- data/lib/stack_one/models/shared/actionsrpcrequestdto.rbi +8 -2
- data/lib/stack_one/models/shared/employee.rb +0 -2
- data/lib/stack_one/models/shared/messagingmessage.rb +2 -2
- data/lib/stack_one/models/shared/messagingmessageresult_data.rb +2 -2
- data/lib/stack_one/models/shared.rb +0 -1
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +14 -4
- data/lib/stack_one/models/shared/input.rb +0 -41
- data/lib/stack_one/models/shared/input.rbi +0 -17
@@ -19,21 +19,24 @@ module StackOne
|
|
19
19
|
field :description, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
20
20
|
# The action ID
|
21
21
|
field :id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
22
|
-
# The action
|
23
|
-
field :
|
22
|
+
# The action label
|
23
|
+
field :label, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
|
24
24
|
# The operation details for the action
|
25
25
|
field :operation_details, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('operation_details') } }
|
26
26
|
# The schema type for the action
|
27
27
|
field :schema_type, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('schema_type') } }
|
28
|
+
# The tags associated with this action
|
29
|
+
field :tags, Crystalline::Nilable.new(Crystalline::Array.new(::String)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tags') } }
|
28
30
|
|
29
|
-
sig { params(authentication: T.nilable(T::Array[Models::Shared::AuthenticationMetaItem]), description: T.nilable(::String), id: T.nilable(::String),
|
30
|
-
def initialize(authentication: nil, description: nil, id: nil,
|
31
|
+
sig { params(authentication: T.nilable(T::Array[Models::Shared::AuthenticationMetaItem]), description: T.nilable(::String), id: T.nilable(::String), label: T.nilable(::String), operation_details: T.nilable(T::Hash[Symbol, ::Object]), schema_type: T.nilable(::String), tags: T.nilable(T::Array[::String])).void }
|
32
|
+
def initialize(authentication: nil, description: nil, id: nil, label: nil, operation_details: nil, schema_type: nil, tags: nil)
|
31
33
|
@authentication = authentication
|
32
34
|
@description = description
|
33
35
|
@id = id
|
34
|
-
@
|
36
|
+
@label = label
|
35
37
|
@operation_details = operation_details
|
36
38
|
@schema_type = schema_type
|
39
|
+
@tags = tags
|
37
40
|
end
|
38
41
|
|
39
42
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
@@ -42,9 +45,10 @@ module StackOne
|
|
42
45
|
return false unless @authentication == other.authentication
|
43
46
|
return false unless @description == other.description
|
44
47
|
return false unless @id == other.id
|
45
|
-
return false unless @
|
48
|
+
return false unless @label == other.label
|
46
49
|
return false unless @operation_details == other.operation_details
|
47
50
|
return false unless @schema_type == other.schema_type
|
51
|
+
return false unless @tags == other.tags
|
48
52
|
true
|
49
53
|
end
|
50
54
|
end
|
@@ -14,10 +14,12 @@ class StackOne::Models::Shared::ActionMetaItem
|
|
14
14
|
def description=(str_); end
|
15
15
|
def id(); end
|
16
16
|
def id=(str_); end
|
17
|
-
def
|
18
|
-
def
|
17
|
+
def label(); end
|
18
|
+
def label=(str_); end
|
19
19
|
def operation_details(); end
|
20
20
|
def operation_details=(str_); end
|
21
21
|
def schema_type(); end
|
22
22
|
def schema_type=(str_); end
|
23
|
+
def tags(); end
|
24
|
+
def tags=(str_); end
|
23
25
|
end
|
@@ -15,20 +15,32 @@ module StackOne
|
|
15
15
|
|
16
16
|
# The action to execute
|
17
17
|
field :action, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('action'), required: true } }
|
18
|
-
#
|
19
|
-
field :
|
18
|
+
# Request body for the action
|
19
|
+
field :body, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
20
|
+
# Headers for the action
|
21
|
+
field :headers, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers') } }
|
22
|
+
# Path parameters for the action
|
23
|
+
field :path, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
|
24
|
+
# Query parameters for the action
|
25
|
+
field :query, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('query') } }
|
20
26
|
|
21
|
-
sig { params(action: ::String,
|
22
|
-
def initialize(action:,
|
27
|
+
sig { params(action: ::String, body: T.nilable(T::Hash[Symbol, ::Object]), headers: T.nilable(T::Hash[Symbol, ::Object]), path: T.nilable(T::Hash[Symbol, ::Object]), query: T.nilable(T::Hash[Symbol, ::Object])).void }
|
28
|
+
def initialize(action:, body: nil, headers: nil, path: nil, query: nil)
|
23
29
|
@action = action
|
24
|
-
@
|
30
|
+
@body = body
|
31
|
+
@headers = headers
|
32
|
+
@path = path
|
33
|
+
@query = query
|
25
34
|
end
|
26
35
|
|
27
36
|
sig { params(other: T.untyped).returns(T::Boolean) }
|
28
37
|
def ==(other)
|
29
38
|
return false unless other.is_a? self.class
|
30
39
|
return false unless @action == other.action
|
31
|
-
return false unless @
|
40
|
+
return false unless @body == other.body
|
41
|
+
return false unless @headers == other.headers
|
42
|
+
return false unless @path == other.path
|
43
|
+
return false unless @query == other.query
|
32
44
|
true
|
33
45
|
end
|
34
46
|
end
|
@@ -10,6 +10,12 @@ end
|
|
10
10
|
class StackOne::Models::Shared::ActionsRpcRequestDto
|
11
11
|
def action(); end
|
12
12
|
def action=(str_); end
|
13
|
-
def
|
14
|
-
def
|
13
|
+
def body(); end
|
14
|
+
def body=(str_); end
|
15
|
+
def headers(); end
|
16
|
+
def headers=(str_); end
|
17
|
+
def path(); end
|
18
|
+
def path=(str_); end
|
19
|
+
def query(); end
|
20
|
+
def query=(str_); end
|
15
21
|
end
|
@@ -120,8 +120,6 @@ module StackOne
|
|
120
120
|
# The employee skills
|
121
121
|
field :skills, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::EntitySkills)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('skills') } }
|
122
122
|
# The employee start date
|
123
|
-
#
|
124
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
125
123
|
field :start_date, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
126
124
|
# The employee tenure
|
127
125
|
field :tenure, Crystalline::Nilable.new(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('tenure') } }
|
@@ -14,7 +14,7 @@ module StackOne
|
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
16
|
# List of attachments in the message
|
17
|
-
field :attachments, Crystalline::Nilable.new(Crystalline::Array.new(::
|
17
|
+
field :attachments, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::MessagingAttachment)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
18
18
|
# Author of the message
|
19
19
|
field :author, Crystalline::Nilable.new(Models::Shared::Author), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author') } }
|
20
20
|
# Content of the message
|
@@ -30,7 +30,7 @@ module StackOne
|
|
30
30
|
# Timestamp when the message was last updated
|
31
31
|
field :updated_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
32
32
|
|
33
|
-
sig { params(attachments: T.nilable(T::Array[::
|
33
|
+
sig { params(attachments: T.nilable(T::Array[Models::Shared::MessagingAttachment]), author: T.nilable(Models::Shared::Author), content: T.nilable(Models::Shared::MessagingMessageContent), created_at: T.nilable(::DateTime), id: T.nilable(::String), parent_message_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
34
34
|
def initialize(attachments: nil, author: nil, content: nil, created_at: nil, id: nil, parent_message_id: nil, remote_id: nil, updated_at: nil)
|
35
35
|
@attachments = attachments
|
36
36
|
@author = author
|
@@ -14,7 +14,7 @@ module StackOne
|
|
14
14
|
include Crystalline::MetadataFields
|
15
15
|
|
16
16
|
# List of attachments in the message
|
17
|
-
field :attachments, Crystalline::Nilable.new(Crystalline::Array.new(::
|
17
|
+
field :attachments, Crystalline::Nilable.new(Crystalline::Array.new(Models::Shared::MessagingAttachment)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
18
18
|
# Author of the message
|
19
19
|
field :author, Crystalline::Nilable.new(Models::Shared::MessagingMessageResultAuthor), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('author') } }
|
20
20
|
# Content of the message
|
@@ -30,7 +30,7 @@ module StackOne
|
|
30
30
|
# Timestamp when the message was last updated
|
31
31
|
field :updated_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
32
32
|
|
33
|
-
sig { params(attachments: T.nilable(T::Array[::
|
33
|
+
sig { params(attachments: T.nilable(T::Array[Models::Shared::MessagingAttachment]), author: T.nilable(Models::Shared::MessagingMessageResultAuthor), content: T.nilable(Models::Shared::MessagingMessageResultContent), created_at: T.nilable(::DateTime), id: T.nilable(::String), parent_message_id: T.nilable(::String), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
34
34
|
def initialize(attachments: nil, author: nil, content: nil, created_at: nil, id: nil, parent_message_id: nil, remote_id: nil, updated_at: nil)
|
35
35
|
@attachments = attachments
|
36
36
|
@author = author
|
@@ -1613,7 +1613,6 @@ module StackOne
|
|
1613
1613
|
autoload :HomeLocation, 'stack_one/models/shared/home_location.rb'
|
1614
1614
|
autoload :Id, 'stack_one/models/shared/id.rb'
|
1615
1615
|
autoload :Images, 'stack_one/models/shared/images.rb'
|
1616
|
-
autoload :Input, 'stack_one/models/shared/input.rb'
|
1617
1616
|
autoload :Internal, 'stack_one/models/shared/internal.rb'
|
1618
1617
|
autoload :InterviewStatus, 'stack_one/models/shared/interview_status.rb'
|
1619
1618
|
autoload :IsBotUser, 'stack_one/models/shared/is_bot_user.rb'
|
@@ -89,9 +89,9 @@ module StackOne
|
|
89
89
|
end
|
90
90
|
@language = 'ruby'
|
91
91
|
@openapi_doc_version = '1.0.0'
|
92
|
-
@sdk_version = '0.37.
|
93
|
-
@gen_version = '2.
|
94
|
-
@user_agent = 'speakeasy-sdk/ruby 0.37.
|
92
|
+
@sdk_version = '0.37.1'
|
93
|
+
@gen_version = '2.716.16'
|
94
|
+
@user_agent = 'speakeasy-sdk/ruby 0.37.1 2.716.16 1.0.0 stackone_client'
|
95
95
|
end
|
96
96
|
|
97
97
|
sig { returns([String, T::Hash[Symbol, String]]) }
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: stackone_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.37.
|
4
|
+
version: 0.37.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-09-
|
11
|
+
date: 2025-09-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: base64
|
@@ -832,6 +832,10 @@ files:
|
|
832
832
|
- lib/stack_one/models/operations/hris_get_employee_request.rbi
|
833
833
|
- lib/stack_one/models/operations/hris_get_employee_response.rb
|
834
834
|
- lib/stack_one/models/operations/hris_get_employee_response.rbi
|
835
|
+
- lib/stack_one/models/operations/hris_get_employee_shift_request.rb
|
836
|
+
- lib/stack_one/models/operations/hris_get_employee_shift_request.rbi
|
837
|
+
- lib/stack_one/models/operations/hris_get_employee_shift_response.rb
|
838
|
+
- lib/stack_one/models/operations/hris_get_employee_shift_response.rbi
|
835
839
|
- lib/stack_one/models/operations/hris_get_employee_skill_request.rb
|
836
840
|
- lib/stack_one/models/operations/hris_get_employee_skill_request.rbi
|
837
841
|
- lib/stack_one/models/operations/hris_get_employee_skill_response.rb
|
@@ -964,6 +968,12 @@ files:
|
|
964
968
|
- lib/stack_one/models/operations/hris_list_employee_employments_request.rbi
|
965
969
|
- lib/stack_one/models/operations/hris_list_employee_employments_response.rb
|
966
970
|
- lib/stack_one/models/operations/hris_list_employee_employments_response.rbi
|
971
|
+
- lib/stack_one/models/operations/hris_list_employee_shifts_queryparam_filter.rb
|
972
|
+
- lib/stack_one/models/operations/hris_list_employee_shifts_queryparam_filter.rbi
|
973
|
+
- lib/stack_one/models/operations/hris_list_employee_shifts_request.rb
|
974
|
+
- lib/stack_one/models/operations/hris_list_employee_shifts_request.rbi
|
975
|
+
- lib/stack_one/models/operations/hris_list_employee_shifts_response.rb
|
976
|
+
- lib/stack_one/models/operations/hris_list_employee_shifts_response.rbi
|
967
977
|
- lib/stack_one/models/operations/hris_list_employee_skills_queryparam_filter.rb
|
968
978
|
- lib/stack_one/models/operations/hris_list_employee_skills_queryparam_filter.rbi
|
969
979
|
- lib/stack_one/models/operations/hris_list_employee_skills_request.rb
|
@@ -1032,6 +1042,8 @@ files:
|
|
1032
1042
|
- lib/stack_one/models/operations/hris_list_locations_response.rbi
|
1033
1043
|
- lib/stack_one/models/operations/hris_list_positions_queryparam_filter.rb
|
1034
1044
|
- lib/stack_one/models/operations/hris_list_positions_queryparam_filter.rbi
|
1045
|
+
- lib/stack_one/models/operations/hris_list_positions_queryparam_status.rb
|
1046
|
+
- lib/stack_one/models/operations/hris_list_positions_queryparam_status.rbi
|
1035
1047
|
- lib/stack_one/models/operations/hris_list_positions_request.rb
|
1036
1048
|
- lib/stack_one/models/operations/hris_list_positions_request.rbi
|
1037
1049
|
- lib/stack_one/models/operations/hris_list_positions_response.rb
|
@@ -3813,8 +3825,6 @@ files:
|
|
3813
3825
|
- lib/stack_one/models/shared/inapptemplateresult.rbi
|
3814
3826
|
- lib/stack_one/models/shared/inapptemplatespaginated.rb
|
3815
3827
|
- lib/stack_one/models/shared/inapptemplatespaginated.rbi
|
3816
|
-
- lib/stack_one/models/shared/input.rb
|
3817
|
-
- lib/stack_one/models/shared/input.rbi
|
3818
3828
|
- lib/stack_one/models/shared/internal.rb
|
3819
3829
|
- lib/stack_one/models/shared/internal.rbi
|
3820
3830
|
- lib/stack_one/models/shared/interview.rb
|
@@ -1,41 +0,0 @@
|
|
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
|
-
# Input parameters for the action
|
12
|
-
class Input
|
13
|
-
extend T::Sig
|
14
|
-
include Crystalline::MetadataFields
|
15
|
-
|
16
|
-
# Request body for the action
|
17
|
-
field :body, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }
|
18
|
-
# Headers for the action
|
19
|
-
field :headers, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers') } }
|
20
|
-
# Query parameters for the action
|
21
|
-
field :query, Crystalline::Nilable.new(Crystalline::Hash.new(Symbol, ::Object)), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('query') } }
|
22
|
-
|
23
|
-
sig { params(body: T.nilable(T::Hash[Symbol, ::Object]), headers: T.nilable(T::Hash[Symbol, ::Object]), query: T.nilable(T::Hash[Symbol, ::Object])).void }
|
24
|
-
def initialize(body: nil, headers: nil, query: nil)
|
25
|
-
@body = body
|
26
|
-
@headers = headers
|
27
|
-
@query = query
|
28
|
-
end
|
29
|
-
|
30
|
-
sig { params(other: T.untyped).returns(T::Boolean) }
|
31
|
-
def ==(other)
|
32
|
-
return false unless other.is_a? self.class
|
33
|
-
return false unless @body == other.body
|
34
|
-
return false unless @headers == other.headers
|
35
|
-
return false unless @query == other.query
|
36
|
-
true
|
37
|
-
end
|
38
|
-
end
|
39
|
-
end
|
40
|
-
end
|
41
|
-
end
|
@@ -1,17 +0,0 @@
|
|
1
|
-
# typed: true
|
2
|
-
# frozen_string_literal: true
|
3
|
-
|
4
|
-
|
5
|
-
class StackOne::Models::Shared::Input
|
6
|
-
extend ::Crystalline::MetadataFields::ClassMethods
|
7
|
-
end
|
8
|
-
|
9
|
-
|
10
|
-
class StackOne::Models::Shared::Input
|
11
|
-
def body(); end
|
12
|
-
def body=(str_); end
|
13
|
-
def headers(); end
|
14
|
-
def headers=(str_); end
|
15
|
-
def query(); end
|
16
|
-
def query=(str_); end
|
17
|
-
end
|