stackone_client 0.27.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 +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.rb +11 -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/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 +21 -0
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- metadata +34 -2
@@ -0,0 +1,41 @@
|
|
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 HrisShiftsPaginated
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
|
17
|
+
field :data, T.nilable(T::Array[Models::Shared::HrisShift]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
18
|
+
|
19
|
+
field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
20
|
+
|
21
|
+
field :raw, T.nilable(T::Array[Models::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(data: T.nilable(T::Array[Models::Shared::HrisShift]), next_: T.nilable(::String), raw: T.nilable(T::Array[Models::Shared::RawResponse])).void }
|
25
|
+
def initialize(data: nil, next_: nil, raw: nil)
|
26
|
+
@data = data
|
27
|
+
@next_ = next_
|
28
|
+
@raw = raw
|
29
|
+
end
|
30
|
+
|
31
|
+
def ==(other)
|
32
|
+
return false unless other.is_a? self.class
|
33
|
+
return false unless @data == other.data
|
34
|
+
return false unless @next_ == other.next_
|
35
|
+
return false unless @raw == other.raw
|
36
|
+
true
|
37
|
+
end
|
38
|
+
end
|
39
|
+
end
|
40
|
+
end
|
41
|
+
end
|
@@ -0,0 +1,57 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Models
|
9
|
+
module Shared
|
10
|
+
|
11
|
+
|
12
|
+
class ShiftBreak
|
13
|
+
extend T::Sig
|
14
|
+
include Crystalline::MetadataFields
|
15
|
+
|
16
|
+
# The date and time the break was created
|
17
|
+
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
|
+
# The duration of the break in ISO 8601 duration format
|
19
|
+
field :duration, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
20
|
+
# The end time of the break
|
21
|
+
field :end_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('end_time'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
|
+
# The unique identifier of the break
|
23
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
|
+
# Whether the break is paid
|
25
|
+
field :is_paid, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('is_paid') } }
|
26
|
+
# The start time of the break
|
27
|
+
field :start_time, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_time'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
|
+
# The date and time the break was last updated
|
29
|
+
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
30
|
+
|
31
|
+
|
32
|
+
sig { params(created_at: T.nilable(::DateTime), duration: T.nilable(::String), end_time: T.nilable(::DateTime), id: T.nilable(::String), is_paid: T.nilable(T::Boolean), start_time: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(created_at: nil, duration: nil, end_time: nil, id: nil, is_paid: nil, start_time: nil, updated_at: nil)
|
34
|
+
@created_at = created_at
|
35
|
+
@duration = duration
|
36
|
+
@end_time = end_time
|
37
|
+
@id = id
|
38
|
+
@is_paid = is_paid
|
39
|
+
@start_time = start_time
|
40
|
+
@updated_at = updated_at
|
41
|
+
end
|
42
|
+
|
43
|
+
def ==(other)
|
44
|
+
return false unless other.is_a? self.class
|
45
|
+
return false unless @created_at == other.created_at
|
46
|
+
return false unless @duration == other.duration
|
47
|
+
return false unless @end_time == other.end_time
|
48
|
+
return false unless @id == other.id
|
49
|
+
return false unless @is_paid == other.is_paid
|
50
|
+
return false unless @start_time == other.start_time
|
51
|
+
return false unless @updated_at == other.updated_at
|
52
|
+
true
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
56
|
+
end
|
57
|
+
end
|
@@ -692,6 +692,24 @@ module StackOne
|
|
692
692
|
autoload :HrisDocumentsUploadRequestDtoSourceValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_source_value.rb'
|
693
693
|
autoload :HrisDocumentsUploadRequestDtoValue, 'stack_one/models/shared/hrisdocumentsuploadrequestdto_value.rb'
|
694
694
|
autoload :HrisInviteEmployeeRequestDto, 'stack_one/models/shared/hrisinviteemployeerequestdto.rb'
|
695
|
+
autoload :HrisShift, 'stack_one/models/shared/hrisshift.rb'
|
696
|
+
autoload :HrisShiftResult, 'stack_one/models/shared/hrisshiftresult.rb'
|
697
|
+
autoload :HrisShiftResult4, 'stack_one/models/shared/hrisshiftresult_4.rb'
|
698
|
+
autoload :HrisShiftResultSchemas4, 'stack_one/models/shared/hrisshiftresult_schemas_4.rb'
|
699
|
+
autoload :HrisShiftResultSchemasSourceValue, 'stack_one/models/shared/hrisshiftresult_schemas_source_value.rb'
|
700
|
+
autoload :HrisShiftResultSchemasValue, 'stack_one/models/shared/hrisshiftresult_schemas_value.rb'
|
701
|
+
autoload :HrisShiftResultApprovalStatus, 'stack_one/models/shared/hrisshiftresult_approval_status.rb'
|
702
|
+
autoload :HrisShiftResultSourceValue, 'stack_one/models/shared/hrisshiftresult_source_value.rb'
|
703
|
+
autoload :HrisShiftResultStatus, 'stack_one/models/shared/hrisshiftresult_status.rb'
|
704
|
+
autoload :HrisShiftResultValue, 'stack_one/models/shared/hrisshiftresult_value.rb'
|
705
|
+
autoload :HrisShift4, 'stack_one/models/shared/hrisshift_4.rb'
|
706
|
+
autoload :HrisShiftSchemas4, 'stack_one/models/shared/hrisshift_schemas_4.rb'
|
707
|
+
autoload :HrisShiftSchemasSourceValue, 'stack_one/models/shared/hrisshift_schemas_source_value.rb'
|
708
|
+
autoload :HrisShiftSchemasValue, 'stack_one/models/shared/hrisshift_schemas_value.rb'
|
709
|
+
autoload :HrisShiftSourceValue, 'stack_one/models/shared/hrisshift_source_value.rb'
|
710
|
+
autoload :HrisShiftStatus, 'stack_one/models/shared/hrisshift_status.rb'
|
711
|
+
autoload :HrisShiftValue, 'stack_one/models/shared/hrisshift_value.rb'
|
712
|
+
autoload :HrisShiftsPaginated, 'stack_one/models/shared/hrisshiftspaginated.rb'
|
695
713
|
autoload :HrisUpdateEmployeeRequestDto, 'stack_one/models/shared/hrisupdateemployeerequestdto.rb'
|
696
714
|
autoload :HrisUpdateEmployeeRequestDto4, 'stack_one/models/shared/hrisupdateemployeerequestdto_4.rb'
|
697
715
|
autoload :HrisUpdateEmployeeRequestDtoSchemas4, 'stack_one/models/shared/hrisupdateemployeerequestdto_schemas_4.rb'
|
@@ -1083,6 +1101,7 @@ module StackOne
|
|
1083
1101
|
autoload :ScorecardsPaginated, 'stack_one/models/shared/scorecardspaginated.rb'
|
1084
1102
|
autoload :ScorecardsResult, 'stack_one/models/shared/scorecardsresult.rb'
|
1085
1103
|
autoload :Security, 'stack_one/models/shared/security.rb'
|
1104
|
+
autoload :ShiftBreak, 'stack_one/models/shared/shiftbreak.rb'
|
1086
1105
|
autoload :SkillResult, 'stack_one/models/shared/skillresult.rb'
|
1087
1106
|
autoload :Skills, 'stack_one/models/shared/skills.rb'
|
1088
1107
|
autoload :SkillsPaginated, 'stack_one/models/shared/skillspaginated.rb'
|
@@ -1236,6 +1255,7 @@ module StackOne
|
|
1236
1255
|
autoload :Active, 'stack_one/models/shared/active.rb'
|
1237
1256
|
autoload :Actor, 'stack_one/models/shared/actor.rb'
|
1238
1257
|
autoload :ApplicationStatus, 'stack_one/models/shared/application_status.rb'
|
1258
|
+
autoload :ApprovalStatus, 'stack_one/models/shared/approval_status.rb'
|
1239
1259
|
autoload :Archived, 'stack_one/models/shared/archived.rb'
|
1240
1260
|
autoload :Avatar, 'stack_one/models/shared/avatar.rb'
|
1241
1261
|
autoload :BalanceUnit, 'stack_one/models/shared/balance_unit.rb'
|
@@ -1250,6 +1270,7 @@ module StackOne
|
|
1250
1270
|
autoload :CostCenter, 'stack_one/models/shared/cost_center.rb'
|
1251
1271
|
autoload :Country, 'stack_one/models/shared/country.rb'
|
1252
1272
|
autoload :Credentials, 'stack_one/models/shared/credentials.rb'
|
1273
|
+
autoload :Data, 'stack_one/models/shared/data.rb'
|
1253
1274
|
autoload :Description, 'stack_one/models/shared/description.rb'
|
1254
1275
|
autoload :Division, 'stack_one/models/shared/division.rb'
|
1255
1276
|
autoload :Document, 'stack_one/models/shared/document.rb'
|
@@ -63,9 +63,9 @@ module StackOne
|
|
63
63
|
end
|
64
64
|
@language = 'ruby'
|
65
65
|
@openapi_doc_version = '1.0.0'
|
66
|
-
@sdk_version = '0.
|
66
|
+
@sdk_version = '0.29.0'
|
67
67
|
@gen_version = '2.570.4'
|
68
|
-
@user_agent = 'speakeasy-sdk/ruby 0.
|
68
|
+
@user_agent = 'speakeasy-sdk/ruby 0.29.0 2.570.4 1.0.0 stackone_client'
|
69
69
|
end
|
70
70
|
|
71
71
|
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.
|
4
|
+
version: 0.29.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-07-
|
11
|
+
date: 2025-07-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -235,6 +235,8 @@ files:
|
|
235
235
|
- lib/stack_one/models/operations/ats_get_application_custom_field_definition_queryparam_filter.rb
|
236
236
|
- lib/stack_one/models/operations/ats_get_application_custom_field_definition_request.rb
|
237
237
|
- lib/stack_one/models/operations/ats_get_application_custom_field_definition_response.rb
|
238
|
+
- lib/stack_one/models/operations/ats_get_application_document_category_request.rb
|
239
|
+
- lib/stack_one/models/operations/ats_get_application_document_category_response.rb
|
238
240
|
- lib/stack_one/models/operations/ats_get_application_document_request.rb
|
239
241
|
- lib/stack_one/models/operations/ats_get_application_document_response.rb
|
240
242
|
- lib/stack_one/models/operations/ats_get_application_note_request.rb
|
@@ -291,6 +293,9 @@ files:
|
|
291
293
|
- lib/stack_one/models/operations/ats_list_application_custom_field_definitions_queryparam_filter.rb
|
292
294
|
- lib/stack_one/models/operations/ats_list_application_custom_field_definitions_request.rb
|
293
295
|
- lib/stack_one/models/operations/ats_list_application_custom_field_definitions_response.rb
|
296
|
+
- lib/stack_one/models/operations/ats_list_application_document_categories_queryparam_filter.rb
|
297
|
+
- lib/stack_one/models/operations/ats_list_application_document_categories_request.rb
|
298
|
+
- lib/stack_one/models/operations/ats_list_application_document_categories_response.rb
|
294
299
|
- lib/stack_one/models/operations/ats_list_application_documents_queryparam_filter.rb
|
295
300
|
- lib/stack_one/models/operations/ats_list_application_documents_request.rb
|
296
301
|
- lib/stack_one/models/operations/ats_list_application_documents_response.rb
|
@@ -467,6 +472,8 @@ files:
|
|
467
472
|
- lib/stack_one/models/operations/hris_get_location_response.rb
|
468
473
|
- lib/stack_one/models/operations/hris_get_position_request.rb
|
469
474
|
- lib/stack_one/models/operations/hris_get_position_response.rb
|
475
|
+
- lib/stack_one/models/operations/hris_get_shift_request.rb
|
476
|
+
- lib/stack_one/models/operations/hris_get_shift_response.rb
|
470
477
|
- lib/stack_one/models/operations/hris_get_task_request.rb
|
471
478
|
- lib/stack_one/models/operations/hris_get_task_response.rb
|
472
479
|
- lib/stack_one/models/operations/hris_get_team_group_request.rb
|
@@ -547,6 +554,10 @@ files:
|
|
547
554
|
- lib/stack_one/models/operations/hris_list_positions_queryparam_filter.rb
|
548
555
|
- lib/stack_one/models/operations/hris_list_positions_request.rb
|
549
556
|
- lib/stack_one/models/operations/hris_list_positions_response.rb
|
557
|
+
- lib/stack_one/models/operations/hris_list_shifts_queryparam_filter.rb
|
558
|
+
- lib/stack_one/models/operations/hris_list_shifts_queryparam_status.rb
|
559
|
+
- lib/stack_one/models/operations/hris_list_shifts_request.rb
|
560
|
+
- lib/stack_one/models/operations/hris_list_shifts_response.rb
|
550
561
|
- lib/stack_one/models/operations/hris_list_tasks_queryparam_filter.rb
|
551
562
|
- lib/stack_one/models/operations/hris_list_tasks_request.rb
|
552
563
|
- lib/stack_one/models/operations/hris_list_tasks_response.rb
|
@@ -796,6 +807,7 @@ files:
|
|
796
807
|
- lib/stack_one/models/shared/applicationchangespaginated.rb
|
797
808
|
- lib/stack_one/models/shared/applicationresult.rb
|
798
809
|
- lib/stack_one/models/shared/applicationspaginated.rb
|
810
|
+
- lib/stack_one/models/shared/approval_status.rb
|
799
811
|
- lib/stack_one/models/shared/archived.rb
|
800
812
|
- lib/stack_one/models/shared/assessmentpackage.rb
|
801
813
|
- lib/stack_one/models/shared/assessmentpackagepaginated.rb
|
@@ -1100,6 +1112,7 @@ files:
|
|
1100
1112
|
- lib/stack_one/models/shared/customfields_4.rb
|
1101
1113
|
- lib/stack_one/models/shared/customfields_value.rb
|
1102
1114
|
- lib/stack_one/models/shared/custommappingerror.rb
|
1115
|
+
- lib/stack_one/models/shared/data.rb
|
1103
1116
|
- lib/stack_one/models/shared/deleteresult.rb
|
1104
1117
|
- lib/stack_one/models/shared/department.rb
|
1105
1118
|
- lib/stack_one/models/shared/departmentresult.rb
|
@@ -1467,6 +1480,24 @@ files:
|
|
1467
1480
|
- lib/stack_one/models/shared/hrislocation_value.rb
|
1468
1481
|
- lib/stack_one/models/shared/hrislocationresult.rb
|
1469
1482
|
- lib/stack_one/models/shared/hrislocationspaginated.rb
|
1483
|
+
- lib/stack_one/models/shared/hrisshift.rb
|
1484
|
+
- lib/stack_one/models/shared/hrisshift_4.rb
|
1485
|
+
- lib/stack_one/models/shared/hrisshift_schemas_4.rb
|
1486
|
+
- lib/stack_one/models/shared/hrisshift_schemas_source_value.rb
|
1487
|
+
- lib/stack_one/models/shared/hrisshift_schemas_value.rb
|
1488
|
+
- lib/stack_one/models/shared/hrisshift_source_value.rb
|
1489
|
+
- lib/stack_one/models/shared/hrisshift_status.rb
|
1490
|
+
- lib/stack_one/models/shared/hrisshift_value.rb
|
1491
|
+
- lib/stack_one/models/shared/hrisshiftresult.rb
|
1492
|
+
- lib/stack_one/models/shared/hrisshiftresult_4.rb
|
1493
|
+
- lib/stack_one/models/shared/hrisshiftresult_approval_status.rb
|
1494
|
+
- lib/stack_one/models/shared/hrisshiftresult_schemas_4.rb
|
1495
|
+
- lib/stack_one/models/shared/hrisshiftresult_schemas_source_value.rb
|
1496
|
+
- lib/stack_one/models/shared/hrisshiftresult_schemas_value.rb
|
1497
|
+
- lib/stack_one/models/shared/hrisshiftresult_source_value.rb
|
1498
|
+
- lib/stack_one/models/shared/hrisshiftresult_status.rb
|
1499
|
+
- lib/stack_one/models/shared/hrisshiftresult_value.rb
|
1500
|
+
- lib/stack_one/models/shared/hrisshiftspaginated.rb
|
1470
1501
|
- lib/stack_one/models/shared/hristeam.rb
|
1471
1502
|
- lib/stack_one/models/shared/hristeam_4.rb
|
1472
1503
|
- lib/stack_one/models/shared/hristeam_source_value.rb
|
@@ -1908,6 +1939,7 @@ files:
|
|
1908
1939
|
- lib/stack_one/models/shared/secrets.rb
|
1909
1940
|
- lib/stack_one/models/shared/security.rb
|
1910
1941
|
- lib/stack_one/models/shared/setup_information.rb
|
1942
|
+
- lib/stack_one/models/shared/shiftbreak.rb
|
1911
1943
|
- lib/stack_one/models/shared/skillresult.rb
|
1912
1944
|
- lib/stack_one/models/shared/skills.rb
|
1913
1945
|
- lib/stack_one/models/shared/skills_2.rb
|