stackone_client 0.2.7 → 0.2.10
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/accounts.rb +5 -2
- 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/crm_get_account_request.rb +3 -17
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +3 -17
- data/lib/stack_one/models/operations/crm_get_list_request.rb +3 -17
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_company_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_location_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +3 -17
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +4 -4
- data/lib/stack_one/models/operations/stackone_get_account_request.rb +5 -2
- data/lib/stack_one/models/operations.rb +0 -2
- data/lib/stack_one/models/shared/account.rb +8 -5
- data/lib/stack_one/models/shared/answer.rb +6 -3
- data/lib/stack_one/models/shared/application.rb +7 -4
- data/lib/stack_one/models/shared/application_interview_stage.rb +6 -3
- data/lib/stack_one/models/shared/{documentapimodel.rb → atsdocumentapimodel.rb} +8 -5
- 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/atslocation.rb +6 -3
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +5 -2
- data/lib/stack_one/models/shared/campaign.rb +6 -3
- data/lib/stack_one/models/shared/candidate.rb +8 -5
- data/lib/stack_one/models/shared/company.rb +6 -3
- data/lib/stack_one/models/shared/contact.rb +6 -3
- data/lib/stack_one/models/shared/department.rb +6 -3
- data/lib/stack_one/models/shared/document.rb +6 -3
- data/lib/stack_one/models/shared/emailmessages.rb +6 -3
- data/lib/stack_one/models/shared/employee.rb +6 -3
- data/lib/stack_one/models/shared/employee_company.rb +6 -3
- data/lib/stack_one/models/shared/employeecustomfields.rb +6 -3
- data/lib/stack_one/models/shared/employment.rb +6 -3
- data/lib/stack_one/models/shared/field.rb +6 -3
- data/lib/stack_one/models/shared/headers.rb +20 -0
- data/lib/stack_one/models/shared/home_location.rb +6 -3
- data/lib/stack_one/models/shared/hrisbenefit.rb +6 -3
- 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/hrislocation.rb +6 -3
- data/lib/stack_one/models/shared/interview.rb +8 -5
- data/lib/stack_one/models/shared/interview_interview_stage.rb +6 -3
- data/lib/stack_one/models/shared/interviewer.rb +6 -3
- data/lib/stack_one/models/shared/interviewpart.rb +12 -3
- data/lib/stack_one/models/shared/interviewstage.rb +6 -3
- data/lib/stack_one/models/shared/job.rb +6 -3
- data/lib/stack_one/models/shared/jobposting.rb +8 -5
- data/lib/stack_one/models/shared/jobpostinglocation.rb +6 -3
- data/lib/stack_one/models/shared/jobpostingquestionnaire.rb +6 -3
- data/lib/stack_one/models/shared/list.rb +6 -3
- data/lib/stack_one/models/shared/marketingcreateemailtemplaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/marketingcreatepushtemplaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/marketingcreatetemplaterequestdto.rb +6 -3
- data/lib/stack_one/models/shared/message.rb +6 -3
- data/lib/stack_one/models/shared/note.rb +6 -3
- data/lib/stack_one/models/shared/offer.rb +6 -3
- data/lib/stack_one/models/shared/providererrorapimodel.rb +33 -0
- data/lib/stack_one/models/shared/pushmessages.rb +6 -3
- data/lib/stack_one/models/shared/question.rb +6 -3
- data/lib/stack_one/models/shared/questionmultiplechoiceanswers.rb +6 -3
- data/lib/stack_one/models/shared/questionnaire.rb +6 -3
- data/lib/stack_one/models/shared/raw.rb +20 -0
- data/lib/stack_one/models/shared/rejectedreason.rb +8 -3
- data/lib/stack_one/models/shared/scorecard.rb +6 -3
- data/lib/stack_one/models/shared/scorecardsection.rb +6 -3
- data/lib/stack_one/models/shared/template.rb +6 -3
- data/lib/stack_one/models/shared/timeoff.rb +6 -3
- data/lib/stack_one/models/shared/unifieduploadrequestdto.rb +2 -25
- data/lib/stack_one/models/shared/user.rb +6 -3
- data/lib/stack_one/models/shared/work_location.rb +6 -3
- data/lib/stack_one/models/shared/workeligibility.rb +6 -3
- data/lib/stack_one/models/shared/workeligibility_document.rb +6 -3
- 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
- data/lib/stack_one/utils/utils.rb +4 -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
@@ -17,36 +17,22 @@ module StackOne
|
|
17
17
|
field :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
18
18
|
# The account identifier
|
19
19
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
20
|
-
# The comma separated list of fields
|
20
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
21
21
|
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
22
|
-
# The unified cursor
|
23
|
-
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
24
|
-
# The page number of the results to fetch
|
25
|
-
#
|
26
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
27
|
-
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
28
|
-
# The number of results per page
|
29
|
-
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
30
22
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
31
23
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
32
24
|
# Indicates that the raw request result is returned
|
33
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
34
|
-
# Use a string with a date to only select results updated after that given date
|
35
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
36
26
|
|
37
27
|
|
38
|
-
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
39
|
-
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil,
|
28
|
+
sig { params(id: ::String, sub_resource_id: ::String, x_account_id: ::String, fields_: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
29
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, proxy: nil, raw: nil)
|
40
30
|
@id = id
|
41
31
|
@sub_resource_id = sub_resource_id
|
42
32
|
@x_account_id = x_account_id
|
43
33
|
@fields_ = fields_
|
44
|
-
@next_ = next_
|
45
|
-
@page = page
|
46
|
-
@page_size = page_size
|
47
34
|
@proxy = proxy
|
48
35
|
@raw = raw
|
49
|
-
@updated_after = updated_after
|
50
36
|
end
|
51
37
|
end
|
52
38
|
end
|
@@ -15,35 +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
|
-
# Use a string with a date to only select results updated after that given date
|
33
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
34
24
|
|
35
25
|
|
36
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
37
|
-
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)
|
38
28
|
@id = id
|
39
29
|
@x_account_id = x_account_id
|
40
30
|
@fields_ = fields_
|
41
|
-
@next_ = next_
|
42
|
-
@page = page
|
43
|
-
@page_size = page_size
|
44
31
|
@proxy = proxy
|
45
32
|
@raw = raw
|
46
|
-
@updated_after = updated_after
|
47
33
|
end
|
48
34
|
end
|
49
35
|
end
|
@@ -15,35 +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
|
-
# Use a string with a date to only select results updated after that given date
|
33
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
34
24
|
|
35
25
|
|
36
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
37
|
-
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)
|
38
28
|
@id = id
|
39
29
|
@x_account_id = x_account_id
|
40
30
|
@fields_ = fields_
|
41
|
-
@next_ = next_
|
42
|
-
@page = page
|
43
|
-
@page_size = page_size
|
44
31
|
@proxy = proxy
|
45
32
|
@raw = raw
|
46
|
-
@updated_after = updated_after
|
47
33
|
end
|
48
34
|
end
|
49
35
|
end
|
@@ -15,35 +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
|
-
# Use a string with a date to only select results updated after that given date
|
33
|
-
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
34
24
|
|
35
25
|
|
36
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String),
|
37
|
-
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)
|
38
28
|
@id = id
|
39
29
|
@x_account_id = x_account_id
|
40
30
|
@fields_ = fields_
|
41
|
-
@next_ = next_
|
42
|
-
@page = page
|
43
|
-
@page_size = page_size
|
44
31
|
@proxy = proxy
|
45
32
|
@raw = raw
|
46
|
-
@updated_after = updated_after
|
47
33
|
end
|
48
34
|
end
|
49
35
|
end
|
@@ -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 } }
|
@@ -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 } }
|
@@ -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
|
@@ -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 comma separated list of fields that will be included in the response
|
21
21
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', '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 } }
|
@@ -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
|
@@ -12,11 +12,14 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
+
field :expand_info, ::String, { 'query_param': { 'field_name': 'expand_info', 'style': 'form', 'explode': true } }
|
16
|
+
|
15
17
|
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
16
18
|
|
17
19
|
|
18
|
-
sig { params(id: ::String).void }
|
19
|
-
def initialize(id: nil)
|
20
|
+
sig { params(expand_info: ::String, id: ::String).void }
|
21
|
+
def initialize(expand_info: nil, id: nil)
|
22
|
+
@expand_info = expand_info
|
20
23
|
@id = id
|
21
24
|
end
|
22
25
|
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'
|
@@ -12,8 +12,6 @@ module StackOne
|
|
12
12
|
extend T::Sig
|
13
13
|
|
14
14
|
|
15
|
-
field :id, ::String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
-
|
17
15
|
field :addresses, T.nilable(T::Array[::StackOne::Shared::AccountAddress]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('addresses') } }
|
18
16
|
|
19
17
|
field :annual_revenue, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('annual_revenue') } }
|
@@ -21,6 +19,8 @@ module StackOne
|
|
21
19
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
22
20
|
|
23
21
|
field :description, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('description') } }
|
22
|
+
# Unique identifier
|
23
|
+
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
24
24
|
# Values of the industries
|
25
25
|
field :industries, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('industries') } }
|
26
26
|
|
@@ -29,23 +29,26 @@ module StackOne
|
|
29
29
|
field :owner_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('owner_id') } }
|
30
30
|
# List of account phone numbers
|
31
31
|
field :phone_numbers, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('phone_numbers') } }
|
32
|
+
# Provider's unique identifier
|
33
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
32
34
|
# Timestamp when the account was last updated
|
33
35
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
34
36
|
|
35
37
|
field :website, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('website') } }
|
36
38
|
|
37
39
|
|
38
|
-
sig { params(
|
39
|
-
def initialize(
|
40
|
-
@id = id
|
40
|
+
sig { params(addresses: T.nilable(T::Array[::StackOne::Shared::AccountAddress]), annual_revenue: T.nilable(::String), created_at: T.nilable(::DateTime), description: T.nilable(::String), id: T.nilable(::String), industries: T.nilable(T::Array[::String]), name: T.nilable(::String), owner_id: T.nilable(::String), phone_numbers: T.nilable(T::Array[::String]), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime), website: T.nilable(::String)).void }
|
41
|
+
def initialize(addresses: nil, annual_revenue: nil, created_at: nil, description: nil, id: nil, industries: nil, name: nil, owner_id: nil, phone_numbers: nil, remote_id: nil, updated_at: nil, website: nil)
|
41
42
|
@addresses = addresses
|
42
43
|
@annual_revenue = annual_revenue
|
43
44
|
@created_at = created_at
|
44
45
|
@description = description
|
46
|
+
@id = id
|
45
47
|
@industries = industries
|
46
48
|
@name = name
|
47
49
|
@owner_id = owner_id
|
48
50
|
@phone_numbers = phone_numbers
|
51
|
+
@remote_id = remote_id
|
49
52
|
@updated_at = updated_at
|
50
53
|
@website = website
|
51
54
|
end
|
@@ -11,17 +11,20 @@ module StackOne
|
|
11
11
|
class Answer < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
# Unique identifier
|
14
|
+
# Unique identifier
|
15
15
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
|
+
# Provider's unique identifier
|
17
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
16
18
|
# Type of the answer
|
17
19
|
field :type, T.nilable(::StackOne::Shared::Type), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
18
20
|
# Values of the answer
|
19
21
|
field :values, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('values') } }
|
20
22
|
|
21
23
|
|
22
|
-
sig { params(id: T.nilable(::String), type: T.nilable(::StackOne::Shared::Type), values: T.nilable(T::Array[::String])).void }
|
23
|
-
def initialize(id: nil, type: nil, values: nil)
|
24
|
+
sig { params(id: T.nilable(::String), remote_id: T.nilable(::String), type: T.nilable(::StackOne::Shared::Type), values: T.nilable(T::Array[::String])).void }
|
25
|
+
def initialize(id: nil, remote_id: nil, type: nil, values: nil)
|
24
26
|
@id = id
|
27
|
+
@remote_id = remote_id
|
25
28
|
@type = type
|
26
29
|
@values = values
|
27
30
|
end
|
@@ -24,8 +24,8 @@ 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::
|
28
|
-
# Unique identifier
|
27
|
+
field :documents, T.nilable(T::Array[::StackOne::Shared::AtsDocumentApiModel]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('documents') } }
|
28
|
+
# Unique identifier
|
29
29
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
30
30
|
|
31
31
|
field :interview_stage, T.nilable(::StackOne::Shared::ApplicationInterviewStage), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage') } }
|
@@ -45,14 +45,16 @@ module StackOne
|
|
45
45
|
field :rejected_reason_ids, T.nilable(T::Array[::String]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_ids') } }
|
46
46
|
|
47
47
|
field :rejected_reasons, T.nilable(T::Array[::StackOne::Shared::RejectedReason]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reasons') } }
|
48
|
+
# Provider's unique identifier
|
49
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
48
50
|
|
49
51
|
field :result_links, T.nilable(T::Array[::StackOne::Shared::ResultLink]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('result_links') } }
|
50
52
|
# Date of last update
|
51
53
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
52
54
|
|
53
55
|
|
54
|
-
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::
|
55
|
-
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, result_links: nil, updated_at: nil)
|
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
|
+
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)
|
56
58
|
@application_status = application_status
|
57
59
|
@attachments = attachments
|
58
60
|
@candidate = candidate
|
@@ -69,6 +71,7 @@ module StackOne
|
|
69
71
|
@rejected_at = rejected_at
|
70
72
|
@rejected_reason_ids = rejected_reason_ids
|
71
73
|
@rejected_reasons = rejected_reasons
|
74
|
+
@remote_id = remote_id
|
72
75
|
@result_links = result_links
|
73
76
|
@updated_at = updated_at
|
74
77
|
end
|
@@ -13,22 +13,25 @@ module StackOne
|
|
13
13
|
|
14
14
|
# Interview Stage created date
|
15
15
|
field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
16
|
-
|
16
|
+
# Unique identifier
|
17
17
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
18
18
|
|
19
19
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
20
20
|
|
21
21
|
field :order, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('order') } }
|
22
|
+
# Provider's unique identifier
|
23
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
22
24
|
# Interview Stage updated date
|
23
25
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
24
26
|
|
25
27
|
|
26
|
-
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), updated_at: T.nilable(::DateTime)).void }
|
27
|
-
def initialize(created_at: nil, id: nil, name: nil, order: nil, updated_at: nil)
|
28
|
+
sig { params(created_at: T.nilable(::DateTime), id: T.nilable(::String), name: T.nilable(::String), order: T.nilable(::Float), remote_id: T.nilable(::String), updated_at: T.nilable(::DateTime)).void }
|
29
|
+
def initialize(created_at: nil, id: nil, name: nil, order: nil, remote_id: nil, updated_at: nil)
|
28
30
|
@created_at = created_at
|
29
31
|
@id = id
|
30
32
|
@name = name
|
31
33
|
@order = order
|
34
|
+
@remote_id = remote_id
|
32
35
|
@updated_at = updated_at
|
33
36
|
end
|
34
37
|
end
|
@@ -8,32 +8,35 @@ 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
|
15
15
|
field :contents, T.nilable(T::Array[::StackOne::Shared::Content]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('contents') } }
|
16
16
|
# The creation date of the file
|
17
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
|
-
#
|
18
|
+
# Unique identifier
|
19
19
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
20
20
|
# The name of the file
|
21
21
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
22
22
|
# The path where the file is stored
|
23
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') } }
|
24
26
|
# The content type of the document
|
25
|
-
field :type, T.nilable(::StackOne::Shared::
|
27
|
+
field :type, T.nilable(::StackOne::Shared::AtsDocumentApiModelType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
|
26
28
|
# The update date of the file
|
27
29
|
field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }
|
28
30
|
|
29
31
|
|
30
|
-
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), type: T.nilable(::StackOne::Shared::
|
31
|
-
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, type: nil, updated_at: nil)
|
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
|
+
def initialize(contents: nil, created_at: nil, id: nil, name: nil, path: nil, remote_id: nil, type: nil, updated_at: nil)
|
32
34
|
@contents = contents
|
33
35
|
@created_at = created_at
|
34
36
|
@id = id
|
35
37
|
@name = name
|
36
38
|
@path = path
|
39
|
+
@remote_id = remote_id
|
37
40
|
@type = type
|
38
41
|
@updated_at = updated_at
|
39
42
|
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 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
|
@@ -11,16 +11,19 @@ module StackOne
|
|
11
11
|
class ATSLocation < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
-
|
14
|
+
# Unique identifier
|
15
15
|
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
|
16
16
|
|
17
17
|
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
|
18
|
+
# Provider's unique identifier
|
19
|
+
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
|
18
20
|
|
19
21
|
|
20
|
-
sig { params(id: T.nilable(::String), name: T.nilable(::String)).void }
|
21
|
-
def initialize(id: nil, name: nil)
|
22
|
+
sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
|
23
|
+
def initialize(id: nil, name: nil, remote_id: nil)
|
22
24
|
@id = id
|
23
25
|
@name = name
|
26
|
+
@remote_id = remote_id
|
24
27
|
end
|
25
28
|
end
|
26
29
|
end
|
@@ -11,12 +11,15 @@ module StackOne
|
|
11
11
|
class AtsUpdateApplicationRequestDto < ::StackOne::Utils::FieldAugmented
|
12
12
|
extend T::Sig
|
13
13
|
|
14
|
+
# Unique identifier of the interview stage
|
15
|
+
field :interview_stage_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('interview_stage_id') } }
|
14
16
|
# Unique identifier of the rejection reason
|
15
17
|
field :rejected_reason_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_id') } }
|
16
18
|
|
17
19
|
|
18
|
-
sig { params(rejected_reason_id: T.nilable(::String)).void }
|
19
|
-
def initialize(rejected_reason_id: nil)
|
20
|
+
sig { params(interview_stage_id: T.nilable(::String), rejected_reason_id: T.nilable(::String)).void }
|
21
|
+
def initialize(interview_stage_id: nil, rejected_reason_id: nil)
|
22
|
+
@interview_stage_id = interview_stage_id
|
20
23
|
@rejected_reason_id = rejected_reason_id
|
21
24
|
end
|
22
25
|
end
|