stackone_client 0.37.0 → 0.37.2
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 +4 -8
- 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/queryparam_type.rb +1 -0
- data/lib/stack_one/models/operations/type.rb +1 -0
- 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/hriscreatetimeoffrequestdto_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared/hrisshift.rb +5 -5
- data/lib/stack_one/models/shared/hrisshiftresult_data.rb +5 -5
- 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/timeoff_schemas_policy_type_value.rb +1 -0
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +1 -0
- data/lib/stack_one/models/shared/timeoffbalances_schemas_policy_value.rb +1 -0
- data/lib/stack_one/models/shared/timeoffpolicies_schemas_value.rb +1 -0
- 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
|
@@ -294,6 +294,8 @@ module StackOne
|
|
|
294
294
|
autoload :HrisGetEmployeeEmploymentResponse, 'stack_one/models/operations/hris_get_employee_employment_response.rb'
|
|
295
295
|
autoload :HrisGetEmployeeRequest, 'stack_one/models/operations/hris_get_employee_request.rb'
|
|
296
296
|
autoload :HrisGetEmployeeResponse, 'stack_one/models/operations/hris_get_employee_response.rb'
|
|
297
|
+
autoload :HrisGetEmployeeShiftRequest, 'stack_one/models/operations/hris_get_employee_shift_request.rb'
|
|
298
|
+
autoload :HrisGetEmployeeShiftResponse, 'stack_one/models/operations/hris_get_employee_shift_response.rb'
|
|
297
299
|
autoload :HrisGetEmployeeSkillRequest, 'stack_one/models/operations/hris_get_employee_skill_request.rb'
|
|
298
300
|
autoload :HrisGetEmployeeSkillResponse, 'stack_one/models/operations/hris_get_employee_skill_response.rb'
|
|
299
301
|
autoload :HrisGetEmployeeTaskRequest, 'stack_one/models/operations/hris_get_employee_task_request.rb'
|
|
@@ -360,6 +362,9 @@ module StackOne
|
|
|
360
362
|
autoload :HrisListEmployeeEmploymentsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_employments_queryparam_filter.rb'
|
|
361
363
|
autoload :HrisListEmployeeEmploymentsRequest, 'stack_one/models/operations/hris_list_employee_employments_request.rb'
|
|
362
364
|
autoload :HrisListEmployeeEmploymentsResponse, 'stack_one/models/operations/hris_list_employee_employments_response.rb'
|
|
365
|
+
autoload :HrisListEmployeeShiftsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_shifts_queryparam_filter.rb'
|
|
366
|
+
autoload :HrisListEmployeeShiftsRequest, 'stack_one/models/operations/hris_list_employee_shifts_request.rb'
|
|
367
|
+
autoload :HrisListEmployeeShiftsResponse, 'stack_one/models/operations/hris_list_employee_shifts_response.rb'
|
|
363
368
|
autoload :HrisListEmployeeSkillsQueryParamFilter, 'stack_one/models/operations/hris_list_employee_skills_queryparam_filter.rb'
|
|
364
369
|
autoload :HrisListEmployeeSkillsRequest, 'stack_one/models/operations/hris_list_employee_skills_request.rb'
|
|
365
370
|
autoload :HrisListEmployeeSkillsResponse, 'stack_one/models/operations/hris_list_employee_skills_response.rb'
|
|
@@ -394,6 +399,7 @@ module StackOne
|
|
|
394
399
|
autoload :HrisListLocationsRequest, 'stack_one/models/operations/hris_list_locations_request.rb'
|
|
395
400
|
autoload :HrisListLocationsResponse, 'stack_one/models/operations/hris_list_locations_response.rb'
|
|
396
401
|
autoload :HrisListPositionsQueryParamFilter, 'stack_one/models/operations/hris_list_positions_queryparam_filter.rb'
|
|
402
|
+
autoload :HrisListPositionsQueryParamStatus, 'stack_one/models/operations/hris_list_positions_queryparam_status.rb'
|
|
397
403
|
autoload :HrisListPositionsRequest, 'stack_one/models/operations/hris_list_positions_request.rb'
|
|
398
404
|
autoload :HrisListPositionsResponse, 'stack_one/models/operations/hris_list_positions_response.rb'
|
|
399
405
|
autoload :HrisListShiftsQueryParamFilter, 'stack_one/models/operations/hris_list_shifts_queryparam_filter.rb'
|
|
@@ -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') } }
|
|
@@ -25,22 +25,22 @@ module StackOne
|
|
|
25
25
|
field :created_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
|
26
26
|
# The employee ID associated with this shift
|
|
27
27
|
field :employee_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
|
28
|
-
# The end time of the shift
|
|
29
|
-
field :end_time, Crystalline::Nilable.new(::
|
|
28
|
+
# The end time of the shift (ISO8601 date-time without timezone)
|
|
29
|
+
field :end_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_time') } }
|
|
30
30
|
# Unique identifier
|
|
31
31
|
field :id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
|
32
32
|
# The location ID where this shift takes place
|
|
33
33
|
field :location_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
|
34
34
|
# Provider's unique identifier
|
|
35
35
|
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
|
36
|
-
# The start time of the shift
|
|
37
|
-
field :start_time, Crystalline::Nilable.new(::
|
|
36
|
+
# The start time of the shift (ISO8601 date-time without timezone)
|
|
37
|
+
field :start_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_time') } }
|
|
38
38
|
# The status of the shift
|
|
39
39
|
field :status, Crystalline::Nilable.new(Models::Shared::HrisShiftStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
|
40
40
|
# The date and time the shift was last updated
|
|
41
41
|
field :updated_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
|
42
42
|
|
|
43
|
-
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(::
|
|
43
|
+
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(::String), id: T.nilable(::String), location_id: T.nilable(::String), remote_id: T.nilable(::String), start_time: T.nilable(::String), status: T.nilable(Models::Shared::HrisShiftStatus), updated_at: T.nilable(::DateTime)).void }
|
|
44
44
|
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)
|
|
45
45
|
@approval_status = approval_status
|
|
46
46
|
@break_duration = break_duration
|
|
@@ -25,22 +25,22 @@ module StackOne
|
|
|
25
25
|
field :created_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
|
26
26
|
# The employee ID associated with this shift
|
|
27
27
|
field :employee_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
|
28
|
-
# The end time of the shift
|
|
29
|
-
field :end_time, Crystalline::Nilable.new(::
|
|
28
|
+
# The end time of the shift (ISO8601 date-time without timezone)
|
|
29
|
+
field :end_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_time') } }
|
|
30
30
|
# Unique identifier
|
|
31
31
|
field :id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
|
32
32
|
# The location ID where this shift takes place
|
|
33
33
|
field :location_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
|
34
34
|
# Provider's unique identifier
|
|
35
35
|
field :remote_id, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
|
36
|
-
# The start time of the shift
|
|
37
|
-
field :start_time, Crystalline::Nilable.new(::
|
|
36
|
+
# The start time of the shift (ISO8601 date-time without timezone)
|
|
37
|
+
field :start_time, Crystalline::Nilable.new(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_time') } }
|
|
38
38
|
# The status of the shift
|
|
39
39
|
field :status, Crystalline::Nilable.new(Models::Shared::HrisShiftResultStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
|
40
40
|
# The date and time the shift was last updated
|
|
41
41
|
field :updated_at, Crystalline::Nilable.new(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
|
42
42
|
|
|
43
|
-
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(::
|
|
43
|
+
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(::String), id: T.nilable(::String), location_id: T.nilable(::String), remote_id: T.nilable(::String), start_time: T.nilable(::String), status: T.nilable(Models::Shared::HrisShiftResultStatus), updated_at: T.nilable(::DateTime)).void }
|
|
44
44
|
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)
|
|
45
45
|
@approval_status = approval_status
|
|
46
46
|
@break_duration = break_duration
|
|
@@ -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.2'
|
|
93
|
+
@gen_version = '2.721.3'
|
|
94
|
+
@user_agent = 'speakeasy-sdk/ruby 0.37.2 2.721.3 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.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- StackOne
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2025-
|
|
11
|
+
date: 2025-10-06 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
|