stackone_client 0.2.6 → 0.2.9
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/accounts.rb +5 -2
- 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/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_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_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_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_upload_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_get_account_request.rb +5 -2
- data/lib/stack_one/models/operations.rb +2 -0
- 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 +6 -3
- data/lib/stack_one/models/shared/application_interview_stage.rb +6 -3
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto.rb +5 -10
- data/lib/stack_one/models/shared/atslocation.rb +6 -3
- data/lib/stack_one/models/shared/atsupdateapplicationrequestdto.rb +8 -28
- 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/content.rb +5 -2
- 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/documentapimodel.rb +6 -3
- data/lib/stack_one/models/shared/emailmessages.rb +6 -3
- data/lib/stack_one/models/shared/employee.rb +9 -3
- data/lib/stack_one/models/shared/employee_company.rb +6 -3
- data/lib/stack_one/models/shared/employee_schemas_preferred_language_value.rb +115 -0
- 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/home_location.rb +6 -3
- data/lib/stack_one/models/shared/hrisbenefit.rb +6 -3
- 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/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/preferred_language.rb +27 -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/rejectedreason.rb +6 -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 +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/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.rb +12 -6
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- data/lib/stack_one/utils/utils.rb +4 -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,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
|
|
@@ -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
|
|
@@ -17,39 +17,25 @@ module StackOne
|
|
|
17
17
|
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
18
18
|
# The comma separated list of fields that will be expanded in the response
|
|
19
19
|
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
|
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
22
|
# The comma separated list of fields that will be included in the response
|
|
23
23
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
|
24
|
-
# The unified cursor
|
|
25
|
-
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
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), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
30
|
-
# The number of results per page
|
|
31
|
-
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
32
24
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
33
25
|
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
34
26
|
# Indicates that the raw request result is returned
|
|
35
27
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', '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
28
|
|
|
39
29
|
|
|
40
|
-
sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String),
|
|
41
|
-
def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, include: nil,
|
|
30
|
+
sig { params(id: ::String, x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean)).void }
|
|
31
|
+
def initialize(id: nil, x_account_id: nil, expand: nil, fields_: nil, include: nil, proxy: nil, raw: nil)
|
|
42
32
|
@id = id
|
|
43
33
|
@x_account_id = x_account_id
|
|
44
34
|
@expand = expand
|
|
45
35
|
@fields_ = fields_
|
|
46
36
|
@include = include
|
|
47
|
-
@next_ = next_
|
|
48
|
-
@page = page
|
|
49
|
-
@page_size = page_size
|
|
50
37
|
@proxy = proxy
|
|
51
38
|
@raw = raw
|
|
52
|
-
@updated_after = updated_after
|
|
53
39
|
end
|
|
54
40
|
end
|
|
55
41
|
end
|
|
@@ -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
|
|
@@ -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 } }
|
|
@@ -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 } }
|
|
@@ -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
|
|
@@ -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
|
|
@@ -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'
|
|
@@ -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
|