stackone_client 0.2.9 → 0.2.10
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 +4 -4
- data/lib/stack_one/hris.rb +8 -58
- data/lib/stack_one/models/operations/ats_get_application_document_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +4 -4
- data/lib/stack_one/models/operations.rb +0 -2
- data/lib/stack_one/models/shared/application.rb +2 -2
- data/lib/stack_one/models/shared/{documentapimodel.rb → atsdocumentapimodel.rb} +3 -3
- data/lib/stack_one/models/shared/{documentapimodel_type.rb → atsdocumentapimodel_type.rb} +3 -3
- data/lib/stack_one/models/shared/{documentapimodel_value.rb → atsdocumentapimodel_value.rb} +1 -1
- data/lib/stack_one/models/shared/headers.rb +20 -0
- data/lib/stack_one/models/shared/hrisdocumentapimodel.rb +45 -0
- data/lib/stack_one/models/shared/{hriscreatedocumentrequestdto_type.rb → hrisdocumentapimodel_type.rb} +3 -3
- data/lib/stack_one/models/shared/{hriscreatedocumentrequestdto_value.rb → hrisdocumentapimodel_value.rb} +1 -1
- data/lib/stack_one/models/shared/{documentresult.rb → hrisdocumentresult.rb} +3 -3
- data/lib/stack_one/models/shared/{documentspaginated.rb → hrisdocumentspaginated.rb} +3 -3
- data/lib/stack_one/models/shared/providererrorapimodel.rb +33 -0
- data/lib/stack_one/models/shared/raw.rb +20 -0
- data/lib/stack_one/models/shared/rejectedreason.rb +2 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +2 -25
- data/lib/stack_one/models/shared/{createdocumentresult.rb → writeresultapimodel.rb} +6 -3
- data/lib/stack_one/models/shared.rb +12 -9
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +14 -13
- data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +0 -30
- data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +0 -33
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +0 -33
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: def77857be8cc62c88ecfdf9c3040a4dc24fe263402352a431f525672b4a62ff
|
4
|
+
data.tar.gz: 452918ae345bfedb19ab5e72062d968e3786a961d3f648c7c52e094525b5ebc5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4abc91b27af93bdab8ca85dd26b5e8a1d037fcbeae52e60a34e8536ad9c968bf23cefb631637dd02e19a1b6b6b1fd864a5f3a813bf80a1be5ca543a4c28a6de5
|
7
|
+
data.tar.gz: 4767ac490595e362f1d2829377e0b0bf20e963eae08b2a11d9ebf95ae5da0a0b59b792a97d8387bcbffe1ef529bd0fe83d4b2426710dc295bb4896fc5404e7f0
|
data/lib/stack_one/ats.rb
CHANGED
@@ -319,8 +319,8 @@ module StackOne
|
|
319
319
|
)
|
320
320
|
if r.status == 200
|
321
321
|
if Utils.match_content_type(content_type, 'application/json')
|
322
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
323
|
-
res.
|
322
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::HrisDocumentResult)
|
323
|
+
res.hris_document_result = out
|
324
324
|
end
|
325
325
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
326
326
|
end
|
@@ -851,8 +851,8 @@ module StackOne
|
|
851
851
|
)
|
852
852
|
if r.status == 200
|
853
853
|
if Utils.match_content_type(content_type, 'application/json')
|
854
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
855
|
-
res.
|
854
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::HrisDocumentsPaginated)
|
855
|
+
res.hris_documents_paginated = out
|
856
856
|
end
|
857
857
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
858
858
|
end
|
data/lib/stack_one/hris.rb
CHANGED
@@ -65,58 +65,6 @@ module StackOne
|
|
65
65
|
end
|
66
66
|
|
67
67
|
|
68
|
-
sig { params(hris_create_document_request_dto: ::StackOne::Shared::HrisCreateDocumentRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::HrisCreateEmployeeDocumentResponse) }
|
69
|
-
def create_employee_document(hris_create_document_request_dto, id, x_account_id)
|
70
|
-
# create_employee_document - Create Employee Document
|
71
|
-
request = ::StackOne::Operations::HrisCreateEmployeeDocumentRequest.new(
|
72
|
-
|
73
|
-
hris_create_document_request_dto: hris_create_document_request_dto,
|
74
|
-
id: id,
|
75
|
-
x_account_id: x_account_id
|
76
|
-
)
|
77
|
-
url, params = @sdk_configuration.get_server_details
|
78
|
-
base_url = Utils.template_url(url, params)
|
79
|
-
url = Utils.generate_url(
|
80
|
-
::StackOne::Operations::HrisCreateEmployeeDocumentRequest,
|
81
|
-
base_url,
|
82
|
-
'/unified/hris/employees/{id}/documents',
|
83
|
-
request
|
84
|
-
)
|
85
|
-
headers = Utils.get_headers(request)
|
86
|
-
req_content_type, data, form = Utils.serialize_request_body(request, :hris_create_document_request_dto, :json)
|
87
|
-
headers['content-type'] = req_content_type
|
88
|
-
raise StandardError, 'request body is required' if data.nil? && form.nil?
|
89
|
-
headers['Accept'] = 'application/json'
|
90
|
-
headers['user-agent'] = @sdk_configuration.user_agent
|
91
|
-
|
92
|
-
r = @sdk_configuration.client.post(url) do |req|
|
93
|
-
req.headers = headers
|
94
|
-
Utils.configure_request_security(req, @sdk_configuration.security) if !@sdk_configuration.nil? && !@sdk_configuration.security.nil?
|
95
|
-
if form
|
96
|
-
req.body = Utils.encode_form(form)
|
97
|
-
elsif Utils.match_content_type(req_content_type, 'application/x-www-form-urlencoded')
|
98
|
-
req.body = URI.encode_www_form(data)
|
99
|
-
else
|
100
|
-
req.body = data
|
101
|
-
end
|
102
|
-
end
|
103
|
-
|
104
|
-
content_type = r.headers.fetch('Content-Type', 'application/octet-stream')
|
105
|
-
|
106
|
-
res = ::StackOne::Operations::HrisCreateEmployeeDocumentResponse.new(
|
107
|
-
status_code: r.status, content_type: content_type, raw_response: r
|
108
|
-
)
|
109
|
-
if r.status == 201
|
110
|
-
if Utils.match_content_type(content_type, 'application/json')
|
111
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::CreateDocumentResult)
|
112
|
-
res.create_document_result = out
|
113
|
-
end
|
114
|
-
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
115
|
-
end
|
116
|
-
res
|
117
|
-
end
|
118
|
-
|
119
|
-
|
120
68
|
sig { params(hris_create_time_off_request_dto: ::StackOne::Shared::HrisCreateTimeOffRequestDto, id: ::String, x_account_id: ::String).returns(::StackOne::Operations::HrisCreateEmployeeTimeOffRequestResponse) }
|
121
69
|
def create_employee_time_off_request(hris_create_time_off_request_dto, id, x_account_id)
|
122
70
|
# create_employee_time_off_request - Create Employee Time Off Request
|
@@ -453,8 +401,8 @@ module StackOne
|
|
453
401
|
)
|
454
402
|
if r.status == 200
|
455
403
|
if Utils.match_content_type(content_type, 'application/json')
|
456
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
457
|
-
res.
|
404
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::HrisDocumentResult)
|
405
|
+
res.hris_document_result = out
|
458
406
|
end
|
459
407
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
460
408
|
end
|
@@ -747,8 +695,8 @@ module StackOne
|
|
747
695
|
)
|
748
696
|
if r.status == 200
|
749
697
|
if Utils.match_content_type(content_type, 'application/json')
|
750
|
-
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::
|
751
|
-
res.
|
698
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::HrisDocumentsPaginated)
|
699
|
+
res.hris_documents_paginated = out
|
752
700
|
end
|
753
701
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
754
702
|
end
|
@@ -1157,8 +1105,10 @@ module StackOne
|
|
1157
1105
|
status_code: r.status, content_type: content_type, raw_response: r
|
1158
1106
|
)
|
1159
1107
|
if r.status == 200
|
1160
|
-
|
1161
|
-
|
1108
|
+
if Utils.match_content_type(content_type, 'application/json')
|
1109
|
+
out = Utils.unmarshal_complex(r.env.response_body, ::StackOne::Shared::WriteResultApiModel)
|
1110
|
+
res.write_result_api_model = out
|
1111
|
+
end
|
1162
1112
|
elsif [400, 403, 412, 429, 500, 501].include?(r.status)
|
1163
1113
|
end
|
1164
1114
|
res
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The document related to the application with the given identifiers was retrieved.
|
21
|
-
field :
|
21
|
+
field :hris_document_result, T.nilable(::StackOne::Shared::HrisDocumentResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_document_result: T.nilable(::StackOne::Shared::HrisDocumentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_document_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@hris_document_result = hris_document_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The documents related to the application with the given identifier were retrieved.
|
21
|
-
field :
|
21
|
+
field :hris_documents_paginated, T.nilable(::StackOne::Shared::HrisDocumentsPaginated)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_documents_paginated: T.nilable(::StackOne::Shared::HrisDocumentsPaginated)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_documents_paginated: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@hris_documents_paginated = hris_documents_paginated
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The document related to the employee with the given identifiers was retrieved.
|
21
|
-
field :
|
21
|
+
field :hris_document_result, T.nilable(::StackOne::Shared::HrisDocumentResult)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_document_result: T.nilable(::StackOne::Shared::HrisDocumentResult)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_document_result: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@hris_document_result = hris_document_result
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The documents related to the employee with the given identifier were retrieved.
|
21
|
-
field :
|
21
|
+
field :hris_documents_paginated, T.nilable(::StackOne::Shared::HrisDocumentsPaginated)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_documents_paginated: T.nilable(::StackOne::Shared::HrisDocumentsPaginated)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_documents_paginated: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@hris_documents_paginated = hris_documents_paginated
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -18,15 +18,15 @@ module StackOne
|
|
18
18
|
# HTTP response status code for this operation
|
19
19
|
field :status_code, ::Integer
|
20
20
|
# The document related to the employee with the given identifier was uploaded.
|
21
|
-
field :
|
21
|
+
field :write_result_api_model, T.nilable(::StackOne::Shared::WriteResultApiModel)
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer,
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil,
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, write_result_api_model: T.nilable(::StackOne::Shared::WriteResultApiModel)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, write_result_api_model: nil)
|
26
26
|
@content_type = content_type
|
27
27
|
@raw_response = raw_response
|
28
28
|
@status_code = status_code
|
29
|
-
@
|
29
|
+
@write_result_api_model = write_result_api_model
|
30
30
|
end
|
31
31
|
end
|
32
32
|
end
|
@@ -113,8 +113,6 @@ module StackOne
|
|
113
113
|
autoload :CrmUpdateContactResponse, 'stack_one/models/operations/crm_update_contact_response.rb'
|
114
114
|
autoload :HrisCreateEmployeeRequest, 'stack_one/models/operations/hris_create_employee_request.rb'
|
115
115
|
autoload :HrisCreateEmployeeResponse, 'stack_one/models/operations/hris_create_employee_response.rb'
|
116
|
-
autoload :HrisCreateEmployeeDocumentRequest, 'stack_one/models/operations/hris_create_employee_document_request.rb'
|
117
|
-
autoload :HrisCreateEmployeeDocumentResponse, 'stack_one/models/operations/hris_create_employee_document_response.rb'
|
118
116
|
autoload :HrisCreateEmployeeTimeOffRequestRequest, 'stack_one/models/operations/hris_create_employee_time_off_request_request.rb'
|
119
117
|
autoload :HrisCreateEmployeeTimeOffRequestResponse, 'stack_one/models/operations/hris_create_employee_time_off_request_response.rb'
|
120
118
|
autoload :HrisCreateEmployeeWorkEligibilityRequestRequest, 'stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb'
|
@@ -24,7 +24,7 @@ module StackOne
|
|
24
24
|
# Date of creation
|
25
25
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
26
26
|
# The documents attached to this application (eg. resume, cover letter etc.)
|
27
|
-
field :documents, T.nilable(T::Array[::StackOne::Shared::
|
27
|
+
field :documents, T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('documents') } }
|
28
28
|
# Unique identifier
|
29
29
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
30
30
|
|
@@ -53,7 +53,7 @@ module StackOne
|
|
53
53
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
54
54
|
|
55
55
|
|
56
|
-
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::
|
56
|
+
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]), updated_at: T.nilable(::DateTime)).void }
|
57
57
|
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, updated_at: nil)
|
58
58
|
@application_status = application_status
|
59
59
|
@attachments = attachments
|
@@ -8,7 +8,7 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class AtsDocumentApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
# The content of the file
|
@@ -24,12 +24,12 @@ module StackOne
|
|
24
24
|
# Provider's unique identifier
|
25
25
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
26
26
|
# The content type of the document
|
27
|
-
field :type, T.nilable(::StackOne::Shared::
|
27
|
+
field :type, T.nilable(::StackOne::Shared::AtsDocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
28
28
|
# The update date of the file
|
29
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
30
|
|
31
31
|
|
32
|
-
sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::
|
32
|
+
sig { params(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::AtsDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
|
33
33
|
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
34
34
|
@contents = contents
|
35
35
|
@created_at = created_at
|
@@ -8,16 +8,16 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# The content type of the document
|
11
|
-
class
|
11
|
+
class AtsDocumentApiModelType < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::AtsDocumentApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::AtsDocumentApiModelValue, true) } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::AtsDocumentApiModelValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -0,0 +1,20 @@
|
|
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 Headers < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -0,0 +1,45 @@
|
|
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 HrisDocumentApiModel < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
# The content of the file
|
15
|
+
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
|
+
# The creation date of the file
|
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
|
+
# Unique identifier
|
19
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
|
+
# The name of the file
|
21
|
+
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
22
|
+
# The path where the file is stored
|
23
|
+
field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
|
24
|
+
# Provider's unique identifier
|
25
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
26
|
+
# The content type of the document
|
27
|
+
field :type, T.nilable(::StackOne::Shared::HrisDocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
28
|
+
# The update date of the file
|
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(contents: T.nilable(T::Array[::StackOne::Shared::Content]), created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), path: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisDocumentApiModelType), updated_at: T.nilable(::DateTime)).void }
|
33
|
+
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
34
|
+
@contents = contents
|
35
|
+
@created_at = created_at
|
36
|
+
@id = id
|
37
|
+
@name = name
|
38
|
+
@path = path
|
39
|
+
@remote_id = remote_id
|
40
|
+
@type = type
|
41
|
+
@updated_at = updated_at
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -8,16 +8,16 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
# The content type of the document
|
11
|
-
class
|
11
|
+
class HrisDocumentApiModelType < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
15
|
field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
|
16
16
|
|
17
|
-
field :value, T.nilable(::StackOne::Shared::
|
17
|
+
field :value, T.nilable(::StackOne::Shared::HrisDocumentApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisDocumentApiModelValue, true) } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::
|
20
|
+
sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::HrisDocumentApiModelValue)).void }
|
21
21
|
def initialize(source_value: nil, value: nil)
|
22
22
|
@source_value = source_value
|
23
23
|
@value = value
|
@@ -8,16 +8,16 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class HrisDocumentResult < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :data, ::StackOne::Shared::
|
15
|
+
field :data, ::StackOne::Shared::HrisDocumentApiModel, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
16
|
|
17
17
|
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
18
|
|
19
19
|
|
20
|
-
sig { params(data: ::StackOne::Shared::
|
20
|
+
sig { params(data: ::StackOne::Shared::HrisDocumentApiModel, raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
21
21
|
def initialize(data: nil, raw: nil)
|
22
22
|
@data = data
|
23
23
|
@raw = raw
|
@@ -8,11 +8,11 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class HrisDocumentsPaginated < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :data, T::Array[::StackOne::Shared::
|
15
|
+
field :data, T::Array[::StackOne::Shared::HrisDocumentApiModel], { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('data') } }
|
16
16
|
|
17
17
|
field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
18
18
|
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
@@ -21,7 +21,7 @@ module StackOne
|
|
21
21
|
field :raw, T.nilable(T::Array[::StackOne::Shared::RawResponse]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
22
22
|
|
23
23
|
|
24
|
-
sig { params(data: T::Array[::StackOne::Shared::
|
24
|
+
sig { params(data: T::Array[::StackOne::Shared::HrisDocumentApiModel], next_: T.nilable(::String), next_page: T.nilable(::String), raw: T.nilable(T::Array[::StackOne::Shared::RawResponse])).void }
|
25
25
|
def initialize(data: nil, next_: nil, next_page: nil, raw: nil)
|
26
26
|
@data = data
|
27
27
|
@next_ = next_
|
@@ -0,0 +1,33 @@
|
|
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 ProviderErrorApiModel < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :headers, T.nilable(::StackOne::Shared::Headers), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('headers') } }
|
16
|
+
|
17
|
+
field :raw, T.nilable(::StackOne::Shared::Raw), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
18
|
+
|
19
|
+
field :status, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('status') } }
|
20
|
+
|
21
|
+
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(headers: T.nilable(::StackOne::Shared::Headers), raw: T.nilable(::StackOne::Shared::Raw), status: T.nilable(::Float), url: T.nilable(::String)).void }
|
25
|
+
def initialize(headers: nil, raw: nil, status: nil, url: nil)
|
26
|
+
@headers = headers
|
27
|
+
@raw = raw
|
28
|
+
@status = status
|
29
|
+
@url = url
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -0,0 +1,20 @@
|
|
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 Raw < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
|
16
|
+
|
17
|
+
def initialize; end
|
18
|
+
end
|
19
|
+
end
|
20
|
+
end
|
@@ -20,6 +20,8 @@ module StackOne
|
|
20
20
|
# Provider's unique identifier
|
21
21
|
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
22
|
# The string type of the rejected reason.
|
23
|
+
#
|
24
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
23
25
|
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
24
26
|
|
25
27
|
|
@@ -15,44 +15,21 @@ module StackOne
|
|
15
15
|
field :confidential, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential') } }
|
16
16
|
# The base64 encoded content of the file to upload
|
17
17
|
field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
18
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
19
|
-
field :fields_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('fields') } }
|
20
18
|
# The file format of the file
|
21
19
|
field :file_format, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoFileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
|
22
20
|
# The filename of the file to upload
|
23
21
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
24
|
-
# The unified cursor
|
25
|
-
field :next_, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('next') } }
|
26
|
-
# The page number of the results to fetch
|
27
|
-
#
|
28
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
29
|
-
field :page, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('page') } }
|
30
|
-
# The number of results per page
|
31
|
-
field :page_size, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('page_size') } }
|
32
22
|
# The location, category or path for the file to be uploaded to
|
33
23
|
field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
|
34
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
35
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('proxy') } }
|
36
|
-
# Indicates that the raw request result is returned
|
37
|
-
field :raw, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('raw') } }
|
38
|
-
# Use a string with a date to only select results updated after that given date
|
39
|
-
field :updated_after, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_after') } }
|
40
24
|
|
41
25
|
|
42
|
-
sig { params(confidential: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), content: T.nilable(::String),
|
43
|
-
def initialize(confidential: nil, content: nil,
|
26
|
+
sig { params(confidential: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), content: T.nilable(::String), file_format: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoFileFormat), name: T.nilable(::String), path: T.nilable(::String)).void }
|
27
|
+
def initialize(confidential: nil, content: nil, file_format: nil, name: nil, path: nil)
|
44
28
|
@confidential = confidential
|
45
29
|
@content = content
|
46
|
-
@fields_ = fields_
|
47
30
|
@file_format = file_format
|
48
31
|
@name = name
|
49
|
-
@next_ = next_
|
50
|
-
@page = page
|
51
|
-
@page_size = page_size
|
52
32
|
@path = path
|
53
|
-
@proxy = proxy
|
54
|
-
@raw = raw
|
55
|
-
@updated_after = updated_after
|
56
33
|
end
|
57
34
|
end
|
58
35
|
end
|
@@ -8,20 +8,23 @@ module StackOne
|
|
8
8
|
module Shared
|
9
9
|
|
10
10
|
|
11
|
-
class
|
11
|
+
class WriteResultApiModel < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
15
|
field :message, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message') } }
|
16
16
|
|
17
|
+
field :provider_errors, T.nilable(T::Array[::StackOne::Shared::ProviderErrorApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('provider_errors') } }
|
18
|
+
|
17
19
|
field :status_code, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('statusCode') } }
|
18
20
|
|
19
21
|
field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
20
22
|
|
21
23
|
|
22
|
-
sig { params(message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::DateTime)).void }
|
23
|
-
def initialize(message: nil, status_code: nil, timestamp: nil)
|
24
|
+
sig { params(message: T.nilable(::String), provider_errors: T.nilable(T::Array[::StackOne::Shared::ProviderErrorApiModel]), status_code: T.nilable(::Float), timestamp: T.nilable(::DateTime)).void }
|
25
|
+
def initialize(message: nil, provider_errors: nil, status_code: nil, timestamp: nil)
|
24
26
|
@message = message
|
27
|
+
@provider_errors = provider_errors
|
25
28
|
@status_code = status_code
|
26
29
|
@timestamp = timestamp
|
27
30
|
end
|
@@ -60,16 +60,19 @@ module StackOne
|
|
60
60
|
autoload :RejectedReasonValue, 'stack_one/models/shared/rejectedreason_value.rb'
|
61
61
|
autoload :RejectedReasonType, 'stack_one/models/shared/rejected_reason_type.rb'
|
62
62
|
autoload :RejectedReason, 'stack_one/models/shared/rejectedreason.rb'
|
63
|
-
autoload :
|
64
|
-
autoload :
|
65
|
-
autoload :
|
63
|
+
autoload :AtsDocumentApiModelValue, 'stack_one/models/shared/atsdocumentapimodel_value.rb'
|
64
|
+
autoload :AtsDocumentApiModelType, 'stack_one/models/shared/atsdocumentapimodel_type.rb'
|
65
|
+
autoload :AtsDocumentApiModel, 'stack_one/models/shared/atsdocumentapimodel.rb'
|
66
66
|
autoload :ContentValue, 'stack_one/models/shared/content_value.rb'
|
67
67
|
autoload :FileFormat, 'stack_one/models/shared/file_format.rb'
|
68
68
|
autoload :Content, 'stack_one/models/shared/content.rb'
|
69
69
|
autoload :ApplicationAttachmentValue, 'stack_one/models/shared/applicationattachment_value.rb'
|
70
70
|
autoload :ContentType, 'stack_one/models/shared/content_type.rb'
|
71
71
|
autoload :ApplicationAttachment, 'stack_one/models/shared/applicationattachment.rb'
|
72
|
-
autoload :
|
72
|
+
autoload :HrisDocumentResult, 'stack_one/models/shared/hrisdocumentresult.rb'
|
73
|
+
autoload :HrisDocumentApiModelValue, 'stack_one/models/shared/hrisdocumentapimodel_value.rb'
|
74
|
+
autoload :HrisDocumentApiModelType, 'stack_one/models/shared/hrisdocumentapimodel_type.rb'
|
75
|
+
autoload :HrisDocumentApiModel, 'stack_one/models/shared/hrisdocumentapimodel.rb'
|
73
76
|
autoload :OffersResult, 'stack_one/models/shared/offersresult.rb'
|
74
77
|
autoload :OfferValue, 'stack_one/models/shared/offer_value.rb'
|
75
78
|
autoload :OfferOfferStatus, 'stack_one/models/shared/offer_offer_status.rb'
|
@@ -123,7 +126,7 @@ module StackOne
|
|
123
126
|
autoload :RejectedReasonResult, 'stack_one/models/shared/rejectedreasonresult.rb'
|
124
127
|
autoload :UserResult, 'stack_one/models/shared/userresult.rb'
|
125
128
|
autoload :User, 'stack_one/models/shared/user.rb'
|
126
|
-
autoload :
|
129
|
+
autoload :HrisDocumentsPaginated, 'stack_one/models/shared/hrisdocumentspaginated.rb'
|
127
130
|
autoload :ScorecardsPaginated, 'stack_one/models/shared/scorecardspaginated.rb'
|
128
131
|
autoload :OverallRecommendation, 'stack_one/models/shared/overall_recommendation.rb'
|
129
132
|
autoload :Scorecard, 'stack_one/models/shared/scorecard.rb'
|
@@ -207,10 +210,6 @@ module StackOne
|
|
207
210
|
autoload :HRISBenefitValue, 'stack_one/models/shared/hrisbenefit_value.rb'
|
208
211
|
autoload :BenefitType, 'stack_one/models/shared/benefit_type.rb'
|
209
212
|
autoload :HRISBenefit, 'stack_one/models/shared/hrisbenefit.rb'
|
210
|
-
autoload :CreateDocumentResult, 'stack_one/models/shared/createdocumentresult.rb'
|
211
|
-
autoload :HrisCreateDocumentRequestDtoValue, 'stack_one/models/shared/hriscreatedocumentrequestdto_value.rb'
|
212
|
-
autoload :HrisCreateDocumentRequestDtoType, 'stack_one/models/shared/hriscreatedocumentrequestdto_type.rb'
|
213
|
-
autoload :HrisCreateDocumentRequestDto, 'stack_one/models/shared/hriscreatedocumentrequestdto.rb'
|
214
213
|
autoload :CreateTimeOffResult, 'stack_one/models/shared/createtimeoffresult.rb'
|
215
214
|
autoload :HrisCreateTimeOffRequestDtoValue, 'stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb'
|
216
215
|
autoload :HrisCreateTimeOffRequestDtoStatus, 'stack_one/models/shared/hriscreatetimeoffrequestdto_status.rb'
|
@@ -284,6 +283,10 @@ module StackOne
|
|
284
283
|
autoload :EmployeesPaginated, 'stack_one/models/shared/employeespaginated.rb'
|
285
284
|
autoload :EmploymentsPaginated, 'stack_one/models/shared/employmentspaginated.rb'
|
286
285
|
autoload :HRISLocationsPaginated, 'stack_one/models/shared/hrislocationspaginated.rb'
|
286
|
+
autoload :WriteResultApiModel, 'stack_one/models/shared/writeresultapimodel.rb'
|
287
|
+
autoload :Headers, 'stack_one/models/shared/headers.rb'
|
288
|
+
autoload :Raw, 'stack_one/models/shared/raw.rb'
|
289
|
+
autoload :ProviderErrorApiModel, 'stack_one/models/shared/providererrorapimodel.rb'
|
287
290
|
autoload :UnifiedUploadRequestDtoValue, 'stack_one/models/shared/unifieduploadrequestdto_value.rb'
|
288
291
|
autoload :UnifiedUploadRequestDtoConfidential, 'stack_one/models/shared/unifieduploadrequestdto_confidential.rb'
|
289
292
|
autoload :UnifiedUploadRequestDtoSchemasValue, 'stack_one/models/shared/unifieduploadrequestdto_schemas_value.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.
|
42
|
-
@gen_version = '2.
|
43
|
-
@user_agent = 'speakeasy-sdk/ruby 0.2.
|
41
|
+
@sdk_version = '0.2.10'
|
42
|
+
@gen_version = '2.298.2'
|
43
|
+
@user_agent = 'speakeasy-sdk/ruby 0.2.10 2.298.2 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.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- StackOne
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-04-
|
11
|
+
date: 2024-04-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: faraday
|
@@ -240,8 +240,6 @@ files:
|
|
240
240
|
- lib/stack_one/models/operations/crm_list_lists_response.rb
|
241
241
|
- lib/stack_one/models/operations/crm_update_contact_request.rb
|
242
242
|
- lib/stack_one/models/operations/crm_update_contact_response.rb
|
243
|
-
- lib/stack_one/models/operations/hris_create_employee_document_request.rb
|
244
|
-
- lib/stack_one/models/operations/hris_create_employee_document_response.rb
|
245
243
|
- lib/stack_one/models/operations/hris_create_employee_request.rb
|
246
244
|
- lib/stack_one/models/operations/hris_create_employee_response.rb
|
247
245
|
- lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb
|
@@ -369,6 +367,9 @@ files:
|
|
369
367
|
- lib/stack_one/models/shared/atscreatenotesrequestdto_value.rb
|
370
368
|
- lib/stack_one/models/shared/atscreateofferrequestdto.rb
|
371
369
|
- lib/stack_one/models/shared/atscreateofferrequestdto_value.rb
|
370
|
+
- lib/stack_one/models/shared/atsdocumentapimodel.rb
|
371
|
+
- lib/stack_one/models/shared/atsdocumentapimodel_type.rb
|
372
|
+
- lib/stack_one/models/shared/atsdocumentapimodel_value.rb
|
372
373
|
- lib/stack_one/models/shared/atslocation.rb
|
373
374
|
- lib/stack_one/models/shared/atslocationresult.rb
|
374
375
|
- lib/stack_one/models/shared/atslocationspaginated.rb
|
@@ -410,7 +411,6 @@ files:
|
|
410
411
|
- lib/stack_one/models/shared/countrycodeenum.rb
|
411
412
|
- lib/stack_one/models/shared/countrycodeenum_value.rb
|
412
413
|
- lib/stack_one/models/shared/createcandidatenoteresult.rb
|
413
|
-
- lib/stack_one/models/shared/createdocumentresult.rb
|
414
414
|
- lib/stack_one/models/shared/createemployeeresult.rb
|
415
415
|
- lib/stack_one/models/shared/createofferresult.rb
|
416
416
|
- lib/stack_one/models/shared/createresult.rb
|
@@ -423,11 +423,6 @@ files:
|
|
423
423
|
- lib/stack_one/models/shared/departmentresult.rb
|
424
424
|
- lib/stack_one/models/shared/departmentspaginated.rb
|
425
425
|
- lib/stack_one/models/shared/document.rb
|
426
|
-
- lib/stack_one/models/shared/documentapimodel.rb
|
427
|
-
- lib/stack_one/models/shared/documentapimodel_type.rb
|
428
|
-
- lib/stack_one/models/shared/documentapimodel_value.rb
|
429
|
-
- lib/stack_one/models/shared/documentresult.rb
|
430
|
-
- lib/stack_one/models/shared/documentspaginated.rb
|
431
426
|
- lib/stack_one/models/shared/emailmessages.rb
|
432
427
|
- lib/stack_one/models/shared/emailmessages_value.rb
|
433
428
|
- lib/stack_one/models/shared/employee.rb
|
@@ -470,14 +465,12 @@ files:
|
|
470
465
|
- lib/stack_one/models/shared/field_type.rb
|
471
466
|
- lib/stack_one/models/shared/file_format.rb
|
472
467
|
- lib/stack_one/models/shared/gender.rb
|
468
|
+
- lib/stack_one/models/shared/headers.rb
|
473
469
|
- lib/stack_one/models/shared/home_location.rb
|
474
470
|
- lib/stack_one/models/shared/hrisbenefit.rb
|
475
471
|
- lib/stack_one/models/shared/hrisbenefit_value.rb
|
476
472
|
- lib/stack_one/models/shared/hrisbenefitresult.rb
|
477
473
|
- lib/stack_one/models/shared/hrisbenefitspaginated.rb
|
478
|
-
- lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb
|
479
|
-
- lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb
|
480
|
-
- lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb
|
481
474
|
- lib/stack_one/models/shared/hriscreateemployeerequestdto.rb
|
482
475
|
- lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb
|
483
476
|
- lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb
|
@@ -512,6 +505,11 @@ files:
|
|
512
505
|
- lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb
|
513
506
|
- lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb
|
514
507
|
- lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb
|
508
|
+
- lib/stack_one/models/shared/hrisdocumentapimodel.rb
|
509
|
+
- lib/stack_one/models/shared/hrisdocumentapimodel_type.rb
|
510
|
+
- lib/stack_one/models/shared/hrisdocumentapimodel_value.rb
|
511
|
+
- lib/stack_one/models/shared/hrisdocumentresult.rb
|
512
|
+
- lib/stack_one/models/shared/hrisdocumentspaginated.rb
|
515
513
|
- lib/stack_one/models/shared/hrislocation.rb
|
516
514
|
- lib/stack_one/models/shared/hrislocation_country.rb
|
517
515
|
- lib/stack_one/models/shared/hrislocation_location_type.rb
|
@@ -599,6 +597,7 @@ files:
|
|
599
597
|
- lib/stack_one/models/shared/phonenumber.rb
|
600
598
|
- lib/stack_one/models/shared/phonenumber_type.rb
|
601
599
|
- lib/stack_one/models/shared/preferred_language.rb
|
600
|
+
- lib/stack_one/models/shared/providererrorapimodel.rb
|
602
601
|
- lib/stack_one/models/shared/proxyrequestbody.rb
|
603
602
|
- lib/stack_one/models/shared/pushmessages.rb
|
604
603
|
- lib/stack_one/models/shared/pushmessages_message_content.rb
|
@@ -609,6 +608,7 @@ files:
|
|
609
608
|
- lib/stack_one/models/shared/question_value.rb
|
610
609
|
- lib/stack_one/models/shared/questionmultiplechoiceanswers.rb
|
611
610
|
- lib/stack_one/models/shared/questionnaire.rb
|
611
|
+
- lib/stack_one/models/shared/raw.rb
|
612
612
|
- lib/stack_one/models/shared/rawresponse.rb
|
613
613
|
- lib/stack_one/models/shared/rejected_reason_type.rb
|
614
614
|
- lib/stack_one/models/shared/rejectedreason.rb
|
@@ -657,6 +657,7 @@ files:
|
|
657
657
|
- lib/stack_one/models/shared/workeligibility_value.rb
|
658
658
|
- lib/stack_one/models/shared/workeligibilitypaginated.rb
|
659
659
|
- lib/stack_one/models/shared/workeligibilityresult.rb
|
660
|
+
- lib/stack_one/models/shared/writeresultapimodel.rb
|
660
661
|
- lib/stack_one/proxy.rb
|
661
662
|
- lib/stack_one/sdkconfiguration.rb
|
662
663
|
- lib/stack_one/stackone.rb
|
@@ -1,30 +0,0 @@
|
|
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 Operations
|
9
|
-
|
10
|
-
|
11
|
-
class HrisCreateEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
|
15
|
-
field :hris_create_document_request_dto, ::StackOne::Shared::HrisCreateDocumentRequestDto, { 'request': { 'media_type': 'application/json' } }
|
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
|
-
|
21
|
-
|
22
|
-
sig { params(hris_create_document_request_dto: ::StackOne::Shared::HrisCreateDocumentRequestDto, id: ::String, x_account_id: ::String).void }
|
23
|
-
def initialize(hris_create_document_request_dto: nil, id: nil, x_account_id: nil)
|
24
|
-
@hris_create_document_request_dto = hris_create_document_request_dto
|
25
|
-
@id = id
|
26
|
-
@x_account_id = x_account_id
|
27
|
-
end
|
28
|
-
end
|
29
|
-
end
|
30
|
-
end
|
@@ -1,33 +0,0 @@
|
|
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 Operations
|
9
|
-
|
10
|
-
|
11
|
-
class HrisCreateEmployeeDocumentResponse < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# HTTP response content type for this operation
|
15
|
-
field :content_type, ::String
|
16
|
-
# Raw HTTP response; suitable for custom response parsing
|
17
|
-
field :raw_response, ::Faraday::Response
|
18
|
-
# HTTP response status code for this operation
|
19
|
-
field :status_code, ::Integer
|
20
|
-
# The document was created.
|
21
|
-
field :create_document_result, T.nilable(::StackOne::Shared::CreateDocumentResult)
|
22
|
-
|
23
|
-
|
24
|
-
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_document_result: T.nilable(::StackOne::Shared::CreateDocumentResult)).void }
|
25
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_document_result: nil)
|
26
|
-
@content_type = content_type
|
27
|
-
@raw_response = raw_response
|
28
|
-
@status_code = status_code
|
29
|
-
@create_document_result = create_document_result
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|
@@ -1,33 +0,0 @@
|
|
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 HrisCreateDocumentRequestDto < ::StackOne::Utils::FieldAugmented
|
12
|
-
extend T::Sig
|
13
|
-
|
14
|
-
# The content of the file
|
15
|
-
field :content, ::StackOne::Shared::Content, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }
|
16
|
-
# The name of the file
|
17
|
-
field :name, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
-
# The path where the file is stored
|
19
|
-
field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } }
|
20
|
-
# The content type of the document
|
21
|
-
field :type, T.nilable(::StackOne::Shared::HrisCreateDocumentRequestDtoType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
22
|
-
|
23
|
-
|
24
|
-
sig { params(content: ::StackOne::Shared::Content, name: ::String, path: T.nilable(::String), type: T.nilable(::StackOne::Shared::HrisCreateDocumentRequestDtoType)).void }
|
25
|
-
def initialize(content: nil, name: nil, path: nil, type: nil)
|
26
|
-
@content = content
|
27
|
-
@name = name
|
28
|
-
@path = path
|
29
|
-
@type = type
|
30
|
-
end
|
31
|
-
end
|
32
|
-
end
|
33
|
-
end
|