stackone_client 0.2.2 → 0.2.3
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 -5
- data/lib/stack_one/ats.rb +37 -37
- data/lib/stack_one/connect_sessions.rb +2 -2
- data/lib/stack_one/connectors.rb +2 -2
- data/lib/stack_one/crm.rb +12 -12
- data/lib/stack_one/hris.rb +248 -21
- data/lib/stack_one/marketing.rb +16 -16
- data/lib/stack_one/models/operations/ats_get_application_document_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_get_application_offer_queryparam_proxy.rb +1 -1
- 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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_documents_request.rb +1 -1
- data/lib/stack_one/models/operations/ats_list_application_scorecards_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_account_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_get_contact_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_accounts_request.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_contacts_queryparam_proxy.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_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/crm_list_lists_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_create_employee_document_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_benefit_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_benefit_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_company_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employees_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_location_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.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_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_benefits_request.rb +1 -1
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_list_employee_work_eligibility_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_update_employee_work_eligibility_request_request.rb +33 -0
- data/lib/stack_one/models/operations/hris_update_employee_work_eligibility_request_response.rb +30 -0
- data/lib/stack_one/models/operations/marketing_get_campaign_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_campaign_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_get_email_template_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.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_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_campaigns_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_email_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_omni_channel_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations/marketing_list_push_templates_request.rb +1 -1
- data/lib/stack_one/models/operations/proxy.rb +1 -1
- data/lib/stack_one/models/operations/queryparam_proxy.rb +1 -1
- data/lib/stack_one/models/operations.rb +12 -0
- data/lib/stack_one/models/shared/categories.rb +1 -0
- data/lib/stack_one/models/shared/category.rb +1 -0
- data/lib/stack_one/models/shared/company.rb +3 -3
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +1 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +1 -0
- data/lib/stack_one/models/shared/createdocumentresult.rb +30 -0
- data/lib/stack_one/models/shared/createworkeligibilityresult.rb +30 -0
- data/lib/stack_one/models/shared/emailmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/employee.rb +8 -5
- data/lib/stack_one/models/shared/employee_company.rb +36 -0
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +0 -2
- data/lib/stack_one/models/shared/employment_schemas_value.rb +0 -2
- data/lib/stack_one/models/shared/hrisbenefit.rb +3 -3
- data/lib/stack_one/models/shared/hrisbenefit_value.rb +4 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto.rb +33 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreatedocumentrequestdto_value.rb +28 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +5 -2
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +0 -2
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +3 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto.rb +42 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateworkeligibilityrequestdto_value.rb +266 -0
- data/lib/stack_one/models/shared/issued_by.rb +27 -0
- data/lib/stack_one/models/shared/job.rb +2 -2
- data/lib/stack_one/models/shared/{response.rb → job_schemas_status.rb} +1 -1
- data/lib/stack_one/models/shared/jobposting_schemas_status_value.rb +1 -0
- data/lib/stack_one/models/shared/jobposting_schemas_value.rb +0 -2
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +1 -0
- data/lib/stack_one/models/shared/message_message_type.rb +2 -2
- data/lib/stack_one/models/shared/message_type.rb +2 -2
- data/lib/stack_one/models/shared/message_value.rb +20 -0
- data/lib/stack_one/models/shared/pushmessages_message_type.rb +2 -2
- data/lib/stack_one/models/shared/pushmessages_value.rb +20 -0
- data/lib/stack_one/models/shared/rawresponse.rb +2 -2
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +8 -0
- data/lib/stack_one/models/shared/timeoff_value.rb +3 -0
- data/lib/stack_one/models/shared/workeligibility.rb +8 -5
- data/lib/stack_one/models/shared/workeligibility_document.rb +39 -0
- data/lib/stack_one/models/shared/workeligibility_issued_by.rb +27 -0
- data/lib/stack_one/models/shared/workeligibility_schemas_value.rb +22 -0
- data/lib/stack_one/models/shared/workeligibility_type.rb +2 -2
- data/lib/stack_one/models/shared/workeligibility_value.rb +250 -6
- data/lib/stack_one/models/shared/workeligibilitypaginated.rb +33 -0
- data/lib/stack_one/models/shared/workeligibilityresult.rb +27 -0
- data/lib/stack_one/models/shared.rb +27 -8
- data/lib/stack_one/proxy.rb +1 -1
- data/lib/stack_one/sdkconfiguration.rb +10 -11
- data/lib/stack_one/stackone.rb +21 -20
- data/lib/stack_one/utils/metadata_fields.rb +8 -12
- data/lib/stack_one/utils/t.rb +59 -0
- data/lib/stack_one/utils/utils.rb +8 -13
- data/lib/stackone_client.rb +5 -3
- metadata +35 -3
|
@@ -23,7 +23,7 @@ module StackOne
|
|
|
23
23
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
24
24
|
# The number of results per page
|
|
25
25
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
26
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
27
|
field :proxy, T.nilable(::StackOne::Operations::CrmListAccountsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
28
28
|
# Indicates that the raw request result is returned
|
|
29
29
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class CrmListContactsQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -23,7 +23,7 @@ module StackOne
|
|
|
23
23
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
24
24
|
# The number of results per page
|
|
25
25
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
26
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
27
|
field :proxy, T.nilable(::StackOne::Operations::CrmListContactsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
28
28
|
# Indicates that the raw request result is returned
|
|
29
29
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class CrmListListsQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -23,7 +23,7 @@ module StackOne
|
|
|
23
23
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
24
24
|
# The number of results per page
|
|
25
25
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
26
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
27
|
field :proxy, T.nilable(::StackOne::Operations::CrmListListsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
28
28
|
# Indicates that the raw request result is returned
|
|
29
29
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', '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 HrisCreateEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :hris_create_document_request_dto, ::StackOne::Shared::HrisCreateDocumentRequestDto, { 'request': { 'media_type': 'application/json' } }
|
|
16
|
+
|
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# The account identifier
|
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
sig { params(hris_create_document_request_dto: ::StackOne::Shared::HrisCreateDocumentRequestDto, id: ::String, x_account_id: ::String).void }
|
|
23
|
+
def initialize(hris_create_document_request_dto: nil, id: nil, x_account_id: nil)
|
|
24
|
+
@hris_create_document_request_dto = hris_create_document_request_dto
|
|
25
|
+
@id = id
|
|
26
|
+
@x_account_id = x_account_id
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
|
@@ -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 HrisCreateEmployeeDocumentResponse < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
# HTTP response content type for this operation
|
|
15
|
+
field :content_type, ::String
|
|
16
|
+
# Raw HTTP response; suitable for custom response parsing
|
|
17
|
+
field :raw_response, ::Faraday::Response
|
|
18
|
+
# HTTP response status code for this operation
|
|
19
|
+
field :status_code, ::Integer
|
|
20
|
+
# The document was created.
|
|
21
|
+
field :create_document_result, T.nilable(::StackOne::Shared::CreateDocumentResult)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_document_result: T.nilable(::StackOne::Shared::CreateDocumentResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_document_result: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@create_document_result = create_document_result
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -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 HrisCreateEmployeeWorkEligibilityRequestRequest < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
field :hris_create_work_eligibility_request_dto, ::StackOne::Shared::HrisCreateWorkEligibilityRequestDto, { 'request': { 'media_type': 'application/json' } }
|
|
16
|
+
|
|
17
|
+
field :id, ::String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# The account identifier
|
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
sig { params(hris_create_work_eligibility_request_dto: ::StackOne::Shared::HrisCreateWorkEligibilityRequestDto, id: ::String, x_account_id: ::String).void }
|
|
23
|
+
def initialize(hris_create_work_eligibility_request_dto: nil, id: nil, x_account_id: nil)
|
|
24
|
+
@hris_create_work_eligibility_request_dto = hris_create_work_eligibility_request_dto
|
|
25
|
+
@id = id
|
|
26
|
+
@x_account_id = x_account_id
|
|
27
|
+
end
|
|
28
|
+
end
|
|
29
|
+
end
|
|
30
|
+
end
|
data/lib/stack_one/models/operations/hris_create_employee_work_eligibility_request_response.rb
ADDED
|
@@ -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 HrisCreateEmployeeWorkEligibilityRequestResponse < ::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
|
+
# Record created successfully.
|
|
21
|
+
field :create_work_eligibility_result, T.nilable(::StackOne::Shared::CreateWorkEligibilityResult)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, create_work_eligibility_result: T.nilable(::StackOne::Shared::CreateWorkEligibilityResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, create_work_eligibility_result: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@create_work_eligibility_result = create_work_eligibility_result
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetBenefitQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetBenefitQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetCompanyQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetCompanyQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetEmployeeDocumentQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -27,7 +27,7 @@ module StackOne
|
|
|
27
27
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
28
28
|
# The number of results per page
|
|
29
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
30
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
30
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
31
31
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetEmployeeDocumentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
32
32
|
# Indicates that the raw request result is returned
|
|
33
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetEmployeeQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -29,7 +29,7 @@ module StackOne
|
|
|
29
29
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
30
30
|
# The number of results per page
|
|
31
31
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
32
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
32
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
33
33
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetEmployeeQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
34
34
|
# Indicates that the raw request result is returned
|
|
35
35
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetEmployeesTimeOffRequestQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -27,7 +27,7 @@ module StackOne
|
|
|
27
27
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
28
28
|
# The number of results per page
|
|
29
29
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
30
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
30
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
31
31
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
32
32
|
# Indicates that the raw request result is returned
|
|
33
33
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module StackOne
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
|
+
class HrisGetEmployeesWorkEligibilityQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def initialize; end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|
|
@@ -0,0 +1,53 @@
|
|
|
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 HrisGetEmployeesWorkEligibilityRequest < ::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 :sub_resource_id, ::String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
|
18
|
+
# The account identifier
|
|
19
|
+
field :x_account_id, ::String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
|
20
|
+
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
|
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
|
+
# 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(::StackOne::Operations::HrisGetEmployeesWorkEligibilityQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
32
|
+
# Indicates that the raw request result is returned
|
|
33
|
+
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
|
+
|
|
37
|
+
|
|
38
|
+
sig { params(id: ::String, sub_resource_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(::StackOne::Operations::HrisGetEmployeesWorkEligibilityQueryParamProxy), raw: T.nilable(T::Boolean), updated_after: T.nilable(::String)).void }
|
|
39
|
+
def initialize(id: nil, sub_resource_id: nil, x_account_id: nil, fields_: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, updated_after: nil)
|
|
40
|
+
@id = id
|
|
41
|
+
@sub_resource_id = sub_resource_id
|
|
42
|
+
@x_account_id = x_account_id
|
|
43
|
+
@fields_ = fields_
|
|
44
|
+
@next_ = next_
|
|
45
|
+
@page = page
|
|
46
|
+
@page_size = page_size
|
|
47
|
+
@proxy = proxy
|
|
48
|
+
@raw = raw
|
|
49
|
+
@updated_after = updated_after
|
|
50
|
+
end
|
|
51
|
+
end
|
|
52
|
+
end
|
|
53
|
+
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 HrisGetEmployeesWorkEligibilityResponse < ::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 work eligibility of the employee with the given identifiers was retrieved.
|
|
21
|
+
field :work_eligibility_result, T.nilable(::StackOne::Shared::WorkEligibilityResult)
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
sig { params(content_type: ::String, raw_response: ::Faraday::Response, status_code: ::Integer, work_eligibility_result: T.nilable(::StackOne::Shared::WorkEligibilityResult)).void }
|
|
25
|
+
def initialize(content_type: nil, raw_response: nil, status_code: nil, work_eligibility_result: nil)
|
|
26
|
+
@content_type = content_type
|
|
27
|
+
@raw_response = raw_response
|
|
28
|
+
@status_code = status_code
|
|
29
|
+
@work_eligibility_result = work_eligibility_result
|
|
30
|
+
end
|
|
31
|
+
end
|
|
32
|
+
end
|
|
33
|
+
end
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetEmploymentQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetEmploymentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetLocationQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetLocationQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisGetTimeOffRequestQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisGetTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisListBenefitsQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -23,7 +23,7 @@ module StackOne
|
|
|
23
23
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
24
24
|
# The number of results per page
|
|
25
25
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
26
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
27
|
field :proxy, T.nilable(::StackOne::Operations::HrisListBenefitsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
28
28
|
# Indicates that the raw request result is returned
|
|
29
29
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisListCompaniesQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -23,7 +23,7 @@ module StackOne
|
|
|
23
23
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
24
24
|
# The number of results per page
|
|
25
25
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
26
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
26
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
27
27
|
field :proxy, T.nilable(::StackOne::Operations::HrisListCompaniesQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
28
28
|
# Indicates that the raw request result is returned
|
|
29
29
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisListEmployeeDocumentsQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisListEmployeeDocumentsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb
CHANGED
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
module StackOne
|
|
8
8
|
module Operations
|
|
9
9
|
|
|
10
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
11
|
class HrisListEmployeeTimeOffRequestsQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
12
|
extend T::Sig
|
|
13
13
|
|
|
@@ -25,7 +25,7 @@ module StackOne
|
|
|
25
25
|
field :page, T.nilable(::String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
|
26
26
|
# The number of results per page
|
|
27
27
|
field :page_size, T.nilable(::String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
|
28
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with
|
|
28
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
29
29
|
field :proxy, T.nilable(::StackOne::Operations::HrisListEmployeeTimeOffRequestsQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
|
30
30
|
# Indicates that the raw request result is returned
|
|
31
31
|
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
|
2
|
+
|
|
3
|
+
# typed: true
|
|
4
|
+
# frozen_string_literal: true
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
module StackOne
|
|
8
|
+
module Operations
|
|
9
|
+
|
|
10
|
+
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with 'proxy' key
|
|
11
|
+
class HrisListEmployeeWorkEligibilityQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
|
12
|
+
extend T::Sig
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
def initialize; end
|
|
18
|
+
end
|
|
19
|
+
end
|
|
20
|
+
end
|