stackone_client 0.2.23 → 0.2.24
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/stack_one/models/shared/application.rb +3 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +3 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb +30 -0
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +3 -3
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb +30 -0
- data/lib/stack_one/models/shared/source.rb +30 -0
- data/lib/stack_one/models/shared/timeoff.rb +5 -2
- data/lib/stack_one/models/shared.rb +3 -0
- data/lib/stack_one/sdkconfiguration.rb +2 -2
- metadata +5 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0f747f0fe6db6b7dc14fe9b19ec0102f372c77c3d1851113bd2c90de144df78d
|
4
|
+
data.tar.gz: 1143a69c2f846a0742b1f212547ba979326f728f64527624000c286097cb4b05
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: dd9965addc2d4c11a9c2e569c6efb95a637ec8d661595f86c0fa4428db073197321ed3200e0eb5a40ecce151739b6bf7a8e14a0321921dec7ecc879d4890cc47
|
7
|
+
data.tar.gz: 0d31cd2df143f7a7ca1e754875833108c0b5adaf6b5e71214fc77a4f10e6f278ee1415af40935c869300b2921f93c098277a95e15a986b091bdf7aa0e8b6764f
|
@@ -49,13 +49,13 @@ module StackOne
|
|
49
49
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
50
50
|
|
51
51
|
field :result_links, T.nilable(T::Array[::StackOne::Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
|
52
|
-
|
53
|
-
field :source, T.nilable(::
|
52
|
+
|
53
|
+
field :source, T.nilable(::StackOne::Shared::Source), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
54
54
|
# Date of last update
|
55
55
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
56
56
|
|
57
57
|
|
58
|
-
sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_id: T.nilable(::String), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::
|
58
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::ApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::ApplicationCandidate), candidate_id: T.nilable(::String), created_at: T.nilable(::DateTime), documents: T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), id: T.nilable(::String), interview_stage: T.nilable(::StackOne::Shared::ApplicationInterviewStage), interview_stage_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), rejected_at: T.nilable(::DateTime), rejected_reason_ids: T.nilable(T::Array[::String]), rejected_reasons: T.nilable(T::Array[::StackOne::Shared::RejectedReason]), remote_id: T.nilable(::String), result_links: T.nilable(T::Array[::StackOne::Shared::ResultLink]), source: T.nilable(::StackOne::Shared::Source), updated_at: T.nilable(::DateTime)).void }
|
59
59
|
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, created_at: nil, documents: nil, id: nil, interview_stage: nil, interview_stage_id: nil, job_id: nil, location_id: nil, location_ids: nil, questionnaires: nil, rejected_at: nil, rejected_reason_ids: nil, rejected_reasons: nil, remote_id: nil, result_links: nil, source: nil, updated_at: nil)
|
60
60
|
@application_status = application_status
|
61
61
|
@attachments = attachments
|
@@ -25,11 +25,11 @@ module StackOne
|
|
25
25
|
field :passthrough, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('passthrough') } }
|
26
26
|
# Questionnaires associated with the application
|
27
27
|
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
28
|
-
# Source of the application
|
29
|
-
field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
30
28
|
|
29
|
+
field :source, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoSource), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
31
30
|
|
32
|
-
|
31
|
+
|
32
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), candidate: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), job_id: T.nilable(::String), location_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire]), source: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoSource)).void }
|
33
33
|
def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, passthrough: nil, questionnaires: nil, source: nil)
|
34
34
|
@application_status = application_status
|
35
35
|
@candidate = candidate
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class AtsCreateApplicationRequestDtoSource < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The source of the application
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -21,11 +21,11 @@ module StackOne
|
|
21
21
|
#
|
22
22
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
23
23
|
field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
|
24
|
-
# Source of the application
|
25
|
-
field :source, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
26
24
|
|
25
|
+
field :source, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source') } }
|
27
26
|
|
28
|
-
|
27
|
+
|
28
|
+
sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), interview_stage_id: T.nilable(::String), passthrough: T.nilable(T::Hash[Symbol, ::Object]), rejected_reason_id: T.nilable(::String), source: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoSource)).void }
|
29
29
|
def initialize(application_status: nil, interview_stage_id: nil, passthrough: nil, rejected_reason_id: nil, source: nil)
|
30
30
|
@application_status = application_status
|
31
31
|
@interview_stage_id = interview_stage_id
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class AtsUpdateApplicationRequestDtoSource < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The source of the application
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -0,0 +1,30 @@
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
+
|
3
|
+
# typed: true
|
4
|
+
# frozen_string_literal: true
|
5
|
+
|
6
|
+
|
7
|
+
module StackOne
|
8
|
+
module Shared
|
9
|
+
|
10
|
+
|
11
|
+
class Source < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# Unique identifier
|
15
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# The source of the application
|
17
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
20
|
+
|
21
|
+
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
24
|
+
@id = id
|
25
|
+
@name = name
|
26
|
+
@remote_id = remote_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -15,6 +15,8 @@ module StackOne
|
|
15
15
|
field :approver_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('approver_id') } }
|
16
16
|
# The created date of the time off request
|
17
17
|
field :created_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
18
|
+
# The duration of the time off request (in days)
|
19
|
+
field :duration, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('duration') } }
|
18
20
|
# The employee ID
|
19
21
|
field :employee_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('employee_id') } }
|
20
22
|
# The end date of the time off request
|
@@ -37,10 +39,11 @@ module StackOne
|
|
37
39
|
field :updated_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
38
40
|
|
39
41
|
|
40
|
-
sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
|
41
|
-
def initialize(approver_id: nil, created_date: nil, employee_id: nil, end_date: nil, end_half_day: nil, id: nil, remote_id: nil, start_date: nil, start_half_day: nil, status: nil, type: nil, updated_date: nil)
|
42
|
+
sig { params(approver_id: T.nilable(::String), created_date: T.nilable(::DateTime), duration: T.nilable(::Float), employee_id: T.nilable(::String), end_date: T.nilable(::DateTime), end_half_day: T.nilable(T::Boolean), id: T.nilable(::String), remote_id: T.nilable(::String), start_date: T.nilable(::DateTime), start_half_day: T.nilable(T::Boolean), status: T.nilable(::StackOne::Shared::TimeOffStatus), type: T.nilable(::StackOne::Shared::TimeOffType), updated_date: T.nilable(::DateTime)).void }
|
43
|
+
def initialize(approver_id: nil, created_date: nil, duration: nil, employee_id: nil, end_date: nil, end_half_day: nil, id: nil, remote_id: nil, start_date: nil, start_half_day: nil, status: nil, type: nil, updated_date: nil)
|
42
44
|
@approver_id = approver_id
|
43
45
|
@created_date = created_date
|
46
|
+
@duration = duration
|
44
47
|
@employee_id = employee_id
|
45
48
|
@end_date = end_date
|
46
49
|
@end_half_day = end_half_day
|
@@ -29,6 +29,7 @@ module StackOne
|
|
29
29
|
autoload :AtsCreateApplicationRequestDtoValue, 'stack_one/models/shared/atscreateapplicationrequestdto_value.rb'
|
30
30
|
autoload :AtsCreateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb'
|
31
31
|
autoload :AtsCreateApplicationRequestDtoCandidate, 'stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb'
|
32
|
+
autoload :AtsCreateApplicationRequestDtoSource, 'stack_one/models/shared/atscreateapplicationrequestdto_source.rb'
|
32
33
|
autoload :AtsCreateApplicationRequestDto, 'stack_one/models/shared/atscreateapplicationrequestdto.rb'
|
33
34
|
autoload :Questionnaire, 'stack_one/models/shared/questionnaire.rb'
|
34
35
|
autoload :AnswerValue, 'stack_one/models/shared/answer_value.rb'
|
@@ -50,6 +51,7 @@ module StackOne
|
|
50
51
|
autoload :ApplicationStatus, 'stack_one/models/shared/application_status.rb'
|
51
52
|
autoload :ApplicationCandidate, 'stack_one/models/shared/application_candidate.rb'
|
52
53
|
autoload :ApplicationInterviewStage, 'stack_one/models/shared/application_interview_stage.rb'
|
54
|
+
autoload :Source, 'stack_one/models/shared/source.rb'
|
53
55
|
autoload :Application, 'stack_one/models/shared/application.rb'
|
54
56
|
autoload :ResultLink, 'stack_one/models/shared/resultlink.rb'
|
55
57
|
autoload :RejectedReasonValue, 'stack_one/models/shared/rejectedreason_value.rb'
|
@@ -149,6 +151,7 @@ module StackOne
|
|
149
151
|
autoload :UpdateResult, 'stack_one/models/shared/updateresult.rb'
|
150
152
|
autoload :AtsUpdateApplicationRequestDtoValue, 'stack_one/models/shared/atsupdateapplicationrequestdto_value.rb'
|
151
153
|
autoload :AtsUpdateApplicationRequestDtoApplicationStatus, 'stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb'
|
154
|
+
autoload :AtsUpdateApplicationRequestDtoSource, 'stack_one/models/shared/atsupdateapplicationrequestdto_source.rb'
|
152
155
|
autoload :AtsUpdateApplicationRequestDto, 'stack_one/models/shared/atsupdateapplicationrequestdto.rb'
|
153
156
|
autoload :AtsUpdateCandidateRequestDto, 'stack_one/models/shared/atsupdatecandidaterequestdto.rb'
|
154
157
|
autoload :WriteResultApiModel, 'stack_one/models/shared/writeresultapimodel.rb'
|
@@ -38,9 +38,9 @@ module StackOne
|
|
38
38
|
@security = security
|
39
39
|
@language = 'ruby'
|
40
40
|
@openapi_doc_version = '1.0.0'
|
41
|
-
@sdk_version = '0.2.
|
41
|
+
@sdk_version = '0.2.24'
|
42
42
|
@gen_version = '2.333.3'
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.24 2.333.3 1.0.0 stackone_client'
|
44
44
|
end
|
45
45
|
|
46
46
|
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.2.
|
4
|
+
version: 0.2.24
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-05-
|
11
|
+
date: 2024-05-21 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -399,6 +399,7 @@ files:
|
|
399
399
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto.rb
|
400
400
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto_application_status.rb
|
401
401
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto_candidate.rb
|
402
|
+
- lib/stack_one/models/shared/atscreateapplicationrequestdto_source.rb
|
402
403
|
- lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb
|
403
404
|
- lib/stack_one/models/shared/atscreatecandidaterequestdto.rb
|
404
405
|
- lib/stack_one/models/shared/atscreatenotesrequestdto.rb
|
@@ -415,6 +416,7 @@ files:
|
|
415
416
|
- lib/stack_one/models/shared/atslocationspaginated.rb
|
416
417
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb
|
417
418
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto_application_status.rb
|
419
|
+
- lib/stack_one/models/shared/atsupdateapplicationrequestdto_source.rb
|
418
420
|
- lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb
|
419
421
|
- lib/stack_one/models/shared/atsupdatecandidaterequestdto.rb
|
420
422
|
- lib/stack_one/models/shared/avatar.rb
|
@@ -686,6 +688,7 @@ files:
|
|
686
688
|
- lib/stack_one/models/shared/security.rb
|
687
689
|
- lib/stack_one/models/shared/setup_information.rb
|
688
690
|
- lib/stack_one/models/shared/sociallink.rb
|
691
|
+
- lib/stack_one/models/shared/source.rb
|
689
692
|
- lib/stack_one/models/shared/state.rb
|
690
693
|
- lib/stack_one/models/shared/status.rb
|
691
694
|
- lib/stack_one/models/shared/template.rb
|