stackone_client 0.2.13 → 0.2.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/stack_one/ats.rb +8 -8
- data/lib/stack_one/hris.rb +83 -12
- data/lib/stack_one/marketing.rb +12 -12
- data/lib/stack_one/models/operations/ats_create_candidate_note_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_create_offer_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_document_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_get_application_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_scorecard_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_note_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_candidate_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_department_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_interview_stage_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_posting_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_job_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_offer_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_rejected_reason_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_user_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_application_documents_response.rb +4 -4
- data/lib/stack_one/models/operations/ats_list_application_scorecards_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_applications_offers_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_applications_request.rb +13 -3
- data/lib/stack_one/models/operations/ats_list_candidate_notes_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_candidates_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_departments_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_interview_stages_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_interviews_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_job_postings_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_jobs_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_locations_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_offers_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_rejected_reasons_request.rb +8 -3
- data/lib/stack_one/models/operations/ats_list_users_request.rb +8 -3
- data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_list_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +8 -3
- data/lib/stack_one/models/operations/crm_list_contacts_request.rb +8 -3
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_create_employee_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_group_request.rb +36 -0
- data/lib/stack_one/models/operations/hris_get_group_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +11 -3
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_groups_request.rb +52 -0
- data/lib/stack_one/models/operations/hris_list_groups_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +8 -3
- data/lib/stack_one/models/operations/hris_update_employee_response.rb +4 -4
- data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_create_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_create_omni_channel_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_create_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_omni_channel_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_push_template_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +8 -3
- data/lib/stack_one/models/operations/marketing_update_email_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_update_omni_channel_template_response.rb +4 -4
- data/lib/stack_one/models/operations/marketing_update_push_template_response.rb +4 -4
- data/lib/stack_one/models/operations.rb +4 -0
- data/lib/stack_one/models/shared/application_value.rb +5 -0
- data/lib/stack_one/models/shared/atscreateapplicationrequestdto_value.rb +5 -0
- data/lib/stack_one/models/shared/atsdocumentresult.rb +27 -0
- data/lib/stack_one/models/shared/atsdocumentspaginated.rb +33 -0
- data/lib/stack_one/models/shared/confidential.rb +1 -1
- data/lib/stack_one/models/shared/createresult.rb +5 -2
- data/lib/stack_one/models/shared/createresultdataapimodel.rb +27 -0
- data/lib/stack_one/models/shared/hrisgroup.rb +36 -0
- data/lib/stack_one/models/shared/hrisgroup_type.rb +27 -0
- data/lib/stack_one/models/shared/hrisgroup_value.rb +22 -0
- data/lib/stack_one/models/shared/hrisgroupspaginated.rb +33 -0
- data/lib/stack_one/models/shared/hrisgroupsresult.rb +27 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/jobresult.rb +4 -4
- data/lib/stack_one/models/shared/linkedaccount.rb +2 -5
- data/lib/stack_one/models/shared.rb +13 -11
- data/lib/stack_one/sdkconfiguration.rb +3 -3
- metadata +14 -8
- data/lib/stack_one/models/shared/createcandidatenoteresult.rb +0 -30
- data/lib/stack_one/models/shared/createemployeeresult.rb +0 -30
- data/lib/stack_one/models/shared/createofferresult.rb +0 -30
- data/lib/stack_one/models/shared/createtemplateresult.rb +0 -30
- data/lib/stack_one/models/shared/createtimeoffresult.rb +0 -30
- data/lib/stack_one/models/shared/createworkeligibilityresult.rb +0 -30
|
@@ -15,6 +15,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -15,6 +15,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The employee was created successfully.
|
|
21
|
-
field :
|
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
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, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@create_result = create_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# Record created successfully.
|
|
21
|
-
field :
|
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
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, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@create_result = create_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb
CHANGED
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# Record created successfully.
|
|
21
|
-
field :
|
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
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, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@create_result = create_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,15 +18,15 @@ module StackOne
|
|
|
18
18
|
# HTTP response status code for this operation
|
|
19
19
|
field :status_code, ::Integer
|
|
20
20
|
# The time off request was created successfully.
|
|
21
|
-
field :
|
|
21
|
+
field :create_result, T.nilable(::StackOne::Shared::CreateResult)
|
|
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, create_result: T.nilable(::StackOne::Shared::CreateResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_result: nil)
|
|
26
26
|
@content_type = content_type
|
|
27
27
|
@raw_response = raw_response
|
|
28
28
|
@status_code = status_code
|
|
29
|
-
@
|
|
29
|
+
@create_result = create_result
|
|
30
30
|
end
|
|
31
31
|
end
|
|
32
32
|
end
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
|
18
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
22
22
|
# Indicates that the raw request result is returned
|
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
24
24
|
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
|
18
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
22
22
|
# Indicates that the raw request result is returned
|
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
24
24
|
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
|
20
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
24
24
|
# Indicates that the raw request result is returned
|
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
26
26
|
|
|
@@ -22,7 +22,7 @@ module StackOne
|
|
|
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
24
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
25
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
25
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
26
26
|
# Indicates that the raw request result is returned
|
|
27
27
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
28
28
|
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
|
20
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
24
24
|
# Indicates that the raw request result is returned
|
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
26
26
|
|
|
@@ -20,7 +20,7 @@ module StackOne
|
|
|
20
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
23
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
23
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
24
24
|
# Indicates that the raw request result is returned
|
|
25
25
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
26
26
|
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
|
18
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
22
22
|
# Indicates that the raw request result is returned
|
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
24
24
|
|
|
@@ -0,0 +1,36 @@
|
|
|
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 HrisGetGroupRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
|
16
|
+
# The account identifier
|
|
17
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# The comma separated list of fields that will be returned in the response (if empty, all fields are returned)
|
|
19
|
+
field :fields_, T.nilable(::String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
|
20
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
22
|
+
# Indicates that the raw request result is returned
|
|
23
|
+
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
24
|
+
|
|
25
|
+
|
|
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)
|
|
28
|
+
@id = id
|
|
29
|
+
@x_account_id = x_account_id
|
|
30
|
+
@fields_ = fields_
|
|
31
|
+
@proxy = proxy
|
|
32
|
+
@raw = raw
|
|
33
|
+
end
|
|
34
|
+
end
|
|
35
|
+
end
|
|
36
|
+
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 HrisGetGroupResponse < ::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 group with the given identifier was retrieved.
|
|
21
|
+
field :hris_groups_result, T.nilable(::StackOne::Shared::HRISGroupsResult)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, hris_groups_result: T.nilable(::StackOne::Shared::HRISGroupsResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_groups_result: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@hris_groups_result = hris_groups_result
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
|
18
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
22
22
|
# Indicates that the raw request result is returned
|
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
24
24
|
|
|
@@ -18,7 +18,7 @@ module StackOne
|
|
|
18
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
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
21
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
21
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
22
22
|
# Indicates that the raw request result is returned
|
|
23
23
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
24
24
|
|
|
@@ -15,6 +15,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -15,6 +15,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|
|
@@ -17,6 +17,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
21
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The unified cursor
|
|
21
23
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
22
24
|
# The page number of the results to fetch
|
|
@@ -26,18 +28,21 @@ module StackOne
|
|
|
26
28
|
# The number of results per page
|
|
27
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
30
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
32
|
# Indicates that the raw request result is returned
|
|
31
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
34
|
# Use a string with a date to only select results updated after that given date
|
|
35
|
+
#
|
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
33
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
34
38
|
|
|
35
39
|
|
|
36
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
37
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
42
|
@id = id
|
|
39
43
|
@x_account_id = x_account_id
|
|
40
44
|
@fields_ = fields_
|
|
45
|
+
@filter_updated_after = filter_updated_after
|
|
41
46
|
@next_ = next_
|
|
42
47
|
@page = page
|
|
43
48
|
@page_size = page_size
|
|
@@ -17,6 +17,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
21
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The unified cursor
|
|
21
23
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
22
24
|
# The page number of the results to fetch
|
|
@@ -26,18 +28,21 @@ module StackOne
|
|
|
26
28
|
# The number of results per page
|
|
27
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
30
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
32
|
# Indicates that the raw request result is returned
|
|
31
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
34
|
# Use a string with a date to only select results updated after that given date
|
|
35
|
+
#
|
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
33
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
34
38
|
|
|
35
39
|
|
|
36
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
37
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
42
|
@id = id
|
|
39
43
|
@x_account_id = x_account_id
|
|
40
44
|
@fields_ = fields_
|
|
45
|
+
@filter_updated_after = filter_updated_after
|
|
41
46
|
@next_ = next_
|
|
42
47
|
@page = page
|
|
43
48
|
@page_size = page_size
|
|
@@ -17,6 +17,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
21
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The unified cursor
|
|
21
23
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
22
24
|
# The page number of the results to fetch
|
|
@@ -26,18 +28,21 @@ module StackOne
|
|
|
26
28
|
# The number of results per page
|
|
27
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
30
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
31
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
30
32
|
# Indicates that the raw request result is returned
|
|
31
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
32
34
|
# Use a string with a date to only select results updated after that given date
|
|
35
|
+
#
|
|
36
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
33
37
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
34
38
|
|
|
35
39
|
|
|
36
|
-
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
37
|
-
def initialize(id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
40
|
+
sig { params(id: ::String, x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
41
|
+
def initialize(id: nil, x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
42
|
@id = id
|
|
39
43
|
@x_account_id = x_account_id
|
|
40
44
|
@fields_ = fields_
|
|
45
|
+
@filter_updated_after = filter_updated_after
|
|
41
46
|
@next_ = next_
|
|
42
47
|
@page = page
|
|
43
48
|
@page_size = page_size
|
|
@@ -17,6 +17,10 @@ module StackOne
|
|
|
17
17
|
field :expand, T.nilable(::String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
|
18
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
|
+
# Filter to select employees by employee_number
|
|
21
|
+
field :filter_employee_number, T.nilable(::String), { 'query_param': { 'field_name': 'filter[employee_number]', 'style': 'form', 'explode': true } }
|
|
22
|
+
# Use a string with a date to only select results updated after that given date
|
|
23
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
20
24
|
# The comma separated list of fields that will be included in the response
|
|
21
25
|
field :include, T.nilable(::String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
|
22
26
|
# The unified cursor
|
|
@@ -28,18 +32,22 @@ module StackOne
|
|
|
28
32
|
# The number of results per page
|
|
29
33
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
30
34
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
31
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
35
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
32
36
|
# Indicates that the raw request result is returned
|
|
33
37
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
34
38
|
# Use a string with a date to only select results updated after that given date
|
|
39
|
+
#
|
|
40
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
35
41
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
36
42
|
|
|
37
43
|
|
|
38
|
-
sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
-
def initialize(x_account_id: nil, expand: nil, fields_: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
44
|
+
sig { params(x_account_id: ::String, expand: T.nilable(::String), fields_: T.nilable(::String), filter_employee_number: T.nilable(::String), filter_updated_after: T.nilable(::String), include: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
45
|
+
def initialize(x_account_id: nil, expand: nil, fields_: nil, filter_employee_number: nil, filter_updated_after: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
40
46
|
@x_account_id = x_account_id
|
|
41
47
|
@expand = expand
|
|
42
48
|
@fields_ = fields_
|
|
49
|
+
@filter_employee_number = filter_employee_number
|
|
50
|
+
@filter_updated_after = filter_updated_after
|
|
43
51
|
@include = include
|
|
44
52
|
@next_ = next_
|
|
45
53
|
@page = page
|
|
@@ -15,6 +15,8 @@ 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 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
|
+
# Use a string with a date to only select results updated after that given date
|
|
19
|
+
field :filter_updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'filter[updated_after]', 'style': 'form', 'explode': true } }
|
|
18
20
|
# The unified cursor
|
|
19
21
|
field :next_, T.nilable(::String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
|
20
22
|
# The page number of the results to fetch
|
|
@@ -24,17 +26,20 @@ module StackOne
|
|
|
24
26
|
# The number of results per page
|
|
25
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
28
|
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
|
-
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': '
|
|
29
|
+
field :proxy, T.nilable(T::Hash[Symbol, ::Object]), { 'query_param': { 'field_name': 'proxy', 'style': 'deepObject', 'explode': true } }
|
|
28
30
|
# Indicates that the raw request result is returned
|
|
29
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
30
32
|
# Use a string with a date to only select results updated after that given date
|
|
33
|
+
#
|
|
34
|
+
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
|
31
35
|
field :updated_after, T.nilable(::String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
|
32
36
|
|
|
33
37
|
|
|
34
|
-
sig { params(x_account_id: ::String, fields_: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
35
|
-
def initialize(x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
38
|
+
sig { params(x_account_id: ::String, fields_: T.nilable(::String), filter_updated_after: T.nilable(::String), next_: T.nilable(::String), page: T.nilable(::String), page_size: T.nilable(::String), proxy: T.nilable(T::Hash[Symbol, ::Object]), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(x_account_id: nil, fields_: nil, filter_updated_after: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
36
40
|
@x_account_id = x_account_id
|
|
37
41
|
@fields_ = fields_
|
|
42
|
+
@filter_updated_after = filter_updated_after
|
|
38
43
|
@next_ = next_
|
|
39
44
|
@page = page
|
|
40
45
|
@page_size = page_size
|