stackone_client 0.2.6 → 0.2.7
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/ats.rb +1 -1
- data/lib/stack_one/hris.rb +50 -0
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_application_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_department_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_job_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_location_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_get_user_request.rb +3 -22
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_users_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_upload_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations.rb +2 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -28
- data/lib/stack_one/models/shared/content.rb +5 -2
- data/lib/stack_one/models/shared/employee.rb +5 -2
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_preferred_language.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_preferred_language_value.rb +115 -0
- data/lib/stack_one/models/shared/preferred_language.rb +27 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +59 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto_confidential.rb +27 -0
- data/lib/stack_one/models/shared/{atsupdateapplicationrequestdto_application_status.rb → unifieduploadrequestdto_file_format.rb} +6 -6
- data/lib/stack_one/models/shared/unifieduploadrequestdto_schemas_value.rb +1226 -0
- data/lib/stack_one/models/shared/unifieduploadrequestdto_value.rb +19 -0
- data/lib/stack_one/models/shared.rb +12 -6
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +13 -5
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_candidate.rb +0 -30
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto_value.rb +0 -32
@@ -15,40 +15,21 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
21
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
22
|
# Indicates that the raw request result is returned
|
31
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
#
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
24
|
|
39
25
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil,
|
26
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
42
28
|
@id = id
|
43
29
|
@x_account_id = x_account_id
|
44
30
|
@fields_ = fields_
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
31
|
@proxy = proxy
|
49
32
|
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
33
|
end
|
53
34
|
end
|
54
35
|
end
|
@@ -15,40 +15,21 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
21
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
22
|
# Indicates that the raw request result is returned
|
31
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
#
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
24
|
|
39
25
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil,
|
26
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
42
28
|
@id = id
|
43
29
|
@x_account_id = x_account_id
|
44
30
|
@fields_ = fields_
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
31
|
@proxy = proxy
|
49
32
|
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
33
|
end
|
53
34
|
end
|
54
35
|
end
|
@@ -15,40 +15,21 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
21
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
22
|
# Indicates that the raw request result is returned
|
31
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
#
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
24
|
|
39
25
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil,
|
26
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
42
28
|
@id = id
|
43
29
|
@x_account_id = x_account_id
|
44
30
|
@fields_ = fields_
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
31
|
@proxy = proxy
|
49
32
|
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
33
|
end
|
53
34
|
end
|
54
35
|
end
|
@@ -15,40 +15,21 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
|
-
# The unified cursor
|
21
|
-
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
22
|
-
# The page number of the results to fetch
|
23
|
-
#
|
24
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
25
|
-
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
26
|
-
# The number of results per page
|
27
|
-
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
28
20
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
29
21
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
30
22
|
# Indicates that the raw request result is returned
|
31
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
32
|
-
# The sync token to select the only updated results
|
33
|
-
#
|
34
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
35
|
-
field :sync_token, T.nilable(::String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
36
|
-
# Use a string with a date to only select results updated after that given date
|
37
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
38
24
|
|
39
25
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
41
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil,
|
26
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
27
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
42
28
|
@id = id
|
43
29
|
@x_account_id = x_account_id
|
44
30
|
@fields_ = fields_
|
45
|
-
@next_ = next_
|
46
|
-
@page = page
|
47
|
-
@page_size = page_size
|
48
31
|
@proxy = proxy
|
49
32
|
@raw = raw
|
50
|
-
@sync_token = sync_token
|
51
|
-
@updated_after = updated_after
|
52
33
|
end
|
53
34
|
end
|
54
35
|
end
|
@@ -15,7 +15,7 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# The unified cursor
|
21
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -15,7 +15,7 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# The unified cursor
|
21
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -15,7 +15,7 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# The unified cursor
|
21
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -15,7 +15,7 @@ module StackOne
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The comma separated list of fields that will be expanded in the response
|
17
17
|
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# The unified cursor
|
21
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -15,7 +15,7 @@ module StackOne
|
|
15
15
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The account identifier
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# The unified cursor
|
21
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The comma separated list of fields that will be included in the response
|
19
19
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
@@ -15,7 +15,7 @@ module StackOne
|
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
16
|
# The comma separated list of fields that will be expanded in the response
|
17
17
|
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
18
|
-
# The comma separated list of fields
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
19
19
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
20
20
|
# The unified cursor
|
21
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -13,7 +13,7 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The account identifier
|
15
15
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
16
|
-
# The comma separated list of fields
|
16
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
17
17
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
18
18
|
# The unified cursor
|
19
19
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
@@ -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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisUploadEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
|
12
|
+
extend T::Sig
|
13
|
+
|
14
|
+
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
|
+
|
17
|
+
field :unified_upload_request_dto, ::StackOne::Shared::UnifiedUploadRequestDto, { 'request': { 'media_type': 'application/json' } }
|
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(id: ::String, unified_upload_request_dto: ::StackOne::Shared::UnifiedUploadRequestDto, x_account_id: ::String).void }
|
23
|
+
def initialize(id: nil, unified_upload_request_dto: nil, x_account_id: nil)
|
24
|
+
@id = id
|
25
|
+
@unified_upload_request_dto = unified_upload_request_dto
|
26
|
+
@x_account_id = x_account_id
|
27
|
+
end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
end
|
@@ -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 Operations
|
9
|
+
|
10
|
+
|
11
|
+
class HrisUploadEmployeeDocumentResponse < ::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 related to the employee with the given identifier was uploaded.
|
21
|
+
field :bytes, T.nilable(::String)
|
22
|
+
|
23
|
+
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, bytes: T.nilable(::String)).void }
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, bytes: nil)
|
26
|
+
@content_type = content_type
|
27
|
+
@raw_response = raw_response
|
28
|
+
@status_code = status_code
|
29
|
+
@bytes = bytes
|
30
|
+
end
|
31
|
+
end
|
32
|
+
end
|
33
|
+
end
|
@@ -165,6 +165,8 @@ module StackOne
|
|
165
165
|
autoload :HrisUpdateEmployeeWorkEligibilityRequestResponse, 'stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb'
|
166
166
|
autoload :HrisUpdateTimeOffRequestRequest, 'stack_one/models/operations/hris_update_time_off_request_request.rb'
|
167
167
|
autoload :HrisUpdateTimeOffRequestResponse, 'stack_one/models/operations/hris_update_time_off_request_response.rb'
|
168
|
+
autoload :HrisUploadEmployeeDocumentRequest, 'stack_one/models/operations/hris_upload_employee_document_request.rb'
|
169
|
+
autoload :HrisUploadEmployeeDocumentResponse, 'stack_one/models/operations/hris_upload_employee_document_response.rb'
|
168
170
|
autoload :MarketingCreateEmailTemplateRequest, 'stack_one/models/operations/marketing_create_email_template_request.rb'
|
169
171
|
autoload :MarketingCreateEmailTemplateResponse, 'stack_one/models/operations/marketing_create_email_template_response.rb'
|
170
172
|
autoload :MarketingCreateOmniChannelTemplateRequest, 'stack_one/models/operations/marketing_create_omni_channel_template_request.rb'
|
@@ -13,30 +13,25 @@ module StackOne
|
|
13
13
|
|
14
14
|
|
15
15
|
field :application_status, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
16
|
-
# Use `documents` expand instead
|
17
|
-
#
|
18
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
19
|
-
field :attachments, T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
20
16
|
|
21
17
|
field :candidate, T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoCandidate), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate') } }
|
22
18
|
# Unique identifier of the candidate
|
23
19
|
field :candidate_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('candidate_id') } }
|
24
20
|
# Unique identifier of the job
|
25
21
|
field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
26
|
-
# Unique
|
27
|
-
field :
|
22
|
+
# Unique identifier of the location
|
23
|
+
field :location_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_id') } }
|
28
24
|
# Questionnaires associated with the application
|
29
25
|
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
30
26
|
|
31
27
|
|
32
|
-
sig { params(application_status: T.nilable(::StackOne::Shared::AtsCreateApplicationRequestDtoApplicationStatus),
|
33
|
-
def initialize(application_status: nil,
|
28
|
+
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), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire])).void }
|
29
|
+
def initialize(application_status: nil, candidate: nil, candidate_id: nil, job_id: nil, location_id: nil, questionnaires: nil)
|
34
30
|
@application_status = application_status
|
35
|
-
@attachments = attachments
|
36
31
|
@candidate = candidate
|
37
32
|
@candidate_id = candidate_id
|
38
33
|
@job_id = job_id
|
39
|
-
@
|
34
|
+
@location_id = location_id
|
40
35
|
@questionnaires = questionnaires
|
41
36
|
end
|
42
37
|
end
|
@@ -11,36 +11,13 @@ module StackOne
|
|
11
11
|
class AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# Unique identifier of the rejection reason
|
15
|
+
field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
|
14
16
|
|
15
|
-
field :application_status, T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('application_status') } }
|
16
|
-
# Use `documents` expand instead
|
17
|
-
#
|
18
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
19
|
-
field :attachments, T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('attachments') } }
|
20
17
|
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
# The ID of the application to update.
|
25
|
-
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
26
|
-
# Unique identifier of the job
|
27
|
-
field :job_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('job_id') } }
|
28
|
-
# Unique identifiers of the locations
|
29
|
-
field :location_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('location_ids') } }
|
30
|
-
# Questionnaires associated with the application
|
31
|
-
field :questionnaires, T.nilable(T::Array[::StackOne::Shared::Questionnaire]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('questionnaires') } }
|
32
|
-
|
33
|
-
|
34
|
-
sig { params(application_status: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoApplicationStatus), attachments: T.nilable(T::Array[::StackOne::Shared::ApplicationAttachment]), candidate: T.nilable(::StackOne::Shared::AtsUpdateApplicationRequestDtoCandidate), candidate_id: T.nilable(::String), id: T.nilable(::String), job_id: T.nilable(::String), location_ids: T.nilable(T::Array[::String]), questionnaires: T.nilable(T::Array[::StackOne::Shared::Questionnaire])).void }
|
35
|
-
def initialize(application_status: nil, attachments: nil, candidate: nil, candidate_id: nil, id: nil, job_id: nil, location_ids: nil, questionnaires: nil)
|
36
|
-
@application_status = application_status
|
37
|
-
@attachments = attachments
|
38
|
-
@candidate = candidate
|
39
|
-
@candidate_id = candidate_id
|
40
|
-
@id = id
|
41
|
-
@job_id = job_id
|
42
|
-
@location_ids = location_ids
|
43
|
-
@questionnaires = questionnaires
|
18
|
+
sig { params(rejected_reason_id: T.nilable(::String)).void }
|
19
|
+
def initialize(rejected_reason_id: nil)
|
20
|
+
@rejected_reason_id = rejected_reason_id
|
44
21
|
end
|
45
22
|
end
|
46
23
|
end
|
@@ -13,13 +13,16 @@ module StackOne
|
|
13
13
|
|
14
14
|
# The file format of the file
|
15
15
|
field :file_format, T.nilable(::StackOne::Shared::FileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
|
16
|
+
# Unified URL where the file content is located
|
17
|
+
field :unified_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_url') } }
|
16
18
|
# URL where the file content is located
|
17
19
|
field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(file_format: T.nilable(::StackOne::Shared::FileFormat), url: T.nilable(::String)).void }
|
21
|
-
def initialize(file_format: nil, url: nil)
|
22
|
+
sig { params(file_format: T.nilable(::StackOne::Shared::FileFormat), unified_url: T.nilable(::String), url: T.nilable(::String)).void }
|
23
|
+
def initialize(file_format: nil, unified_url: nil, url: nil)
|
22
24
|
@file_format = file_format
|
25
|
+
@unified_url = unified_url
|
23
26
|
@url = url
|
24
27
|
end
|
25
28
|
end
|
@@ -73,6 +73,8 @@ module StackOne
|
|
73
73
|
field :personal_email, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_email') } }
|
74
74
|
# The employee personal phone number
|
75
75
|
field :personal_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('personal_phone_number') } }
|
76
|
+
# The employee preferred language
|
77
|
+
field :preferred_language, T.nilable(::StackOne::Shared::PreferredLanguage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('preferred_language') } }
|
76
78
|
# The employee start date
|
77
79
|
field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
78
80
|
# The employee tenure
|
@@ -91,8 +93,8 @@ module StackOne
|
|
91
93
|
field :work_phone_number, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('work_phone_number') } }
|
92
94
|
|
93
95
|
|
94
|
-
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
95
|
-
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
96
|
+
sig { params(avatar: T.nilable(::StackOne::Shared::Avatar), avatar_url: T.nilable(::String), benefits: T.nilable(T::Array[::StackOne::Shared::HRISBenefit]), birthday: T.nilable(::DateTime), citizenships: T.nilable(T::Array[::StackOne::Shared::CountryCodeEnum]), company: T.nilable(::StackOne::Shared::EmployeeCompany), company_name: T.nilable(::String), cost_centers: T.nilable(T::Array[::StackOne::Shared::CostCenters]), created_at: T.nilable(::DateTime), custom_fields: T.nilable(T::Array[::StackOne::Shared::EmployeeCustomFields]), date_of_birth: T.nilable(::DateTime), department: T.nilable(::String), display_name: T.nilable(::String), employment_contract_type: T.nilable(::StackOne::Shared::EmploymentContractType), employment_status: T.nilable(::StackOne::Shared::EmploymentStatus), employment_type: T.nilable(::StackOne::Shared::EmploymentType), employments: T.nilable(T::Array[::StackOne::Shared::Employment]), ethnicity: T.nilable(::StackOne::Shared::Ethnicity), first_name: T.nilable(::String), gender: T.nilable(::StackOne::Shared::Gender), hire_date: T.nilable(::DateTime), home_location: T.nilable(::StackOne::Shared::HomeLocation), id: T.nilable(::String), job_description: T.nilable(::StackOne::Shared::JobDescription), job_title: T.nilable(::String), last_name: T.nilable(::String), manager_id: T.nilable(::String), marital_status: T.nilable(::StackOne::Shared::MaritalStatus), name: T.nilable(::String), personal_email: T.nilable(::String), personal_phone_number: T.nilable(::String), preferred_language: T.nilable(::StackOne::Shared::PreferredLanguage), start_date: T.nilable(::DateTime), tenure: T.nilable(::Float), termination_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime), work_anniversary: T.nilable(::DateTime), work_email: T.nilable(::String), work_location: T.nilable(::StackOne::Shared::WorkLocation), work_phone_number: T.nilable(::String)).void }
|
97
|
+
def initialize(avatar: nil, avatar_url: nil, benefits: nil, birthday: nil, citizenships: nil, company: nil, company_name: nil, cost_centers: nil, created_at: nil, custom_fields: nil, date_of_birth: nil, department: nil, display_name: nil, employment_contract_type: nil, employment_status: nil, employment_type: nil, employments: nil, ethnicity: nil, first_name: nil, gender: nil, hire_date: nil, home_location: nil, id: nil, job_description: nil, job_title: nil, last_name: nil, manager_id: nil, marital_status: nil, name: nil, personal_email: nil, personal_phone_number: nil, preferred_language: nil, start_date: nil, tenure: nil, termination_date: nil, updated_at: nil, work_anniversary: nil, work_email: nil, work_location: nil, work_phone_number: nil)
|
96
98
|
@avatar = avatar
|
97
99
|
@avatar_url = avatar_url
|
98
100
|
@benefits = benefits
|
@@ -124,6 +126,7 @@ module StackOne
|
|
124
126
|
@name = name
|
125
127
|
@personal_email = personal_email
|
126
128
|
@personal_phone_number = personal_phone_number
|
129
|
+
@preferred_language = preferred_language
|
127
130
|
@start_date = start_date
|
128
131
|
@tenure = tenure
|
129
132
|
@termination_date = termination_date
|