stackone_client 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/{stackone → stack_one}/accounts.rb +32 -26
- data/lib/{stackone → stack_one}/connect_sessions.rb +10 -7
- data/lib/{stackone → stack_one}/connectors.rb +15 -12
- data/lib/{stackone → stack_one}/hris.rb +109 -89
- data/lib/stack_one/models/operations/hris_create_employee_request.rb +27 -0
- data/lib/stack_one/models/operations/hris_create_employee_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_create_employee_time_off_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_create_time_off_request_request.rb +27 -0
- data/lib/stack_one/models/operations/hris_create_time_off_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_company_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_get_company_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employee_document_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employee_document_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employee_document_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employee_request.rb +56 -0
- data/lib/stack_one/models/operations/hris_get_employee_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_get_employees_time_off_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_employment_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_employment_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_get_employment_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_location_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_location_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_get_location_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_get_time_off_request_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_get_time_off_request_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_get_time_off_request_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_companies_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_companies_request.rb +47 -0
- data/lib/stack_one/models/operations/hris_list_companies_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employee_documents_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employee_documents_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_list_employee_documents_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_request.rb +50 -0
- data/lib/stack_one/models/operations/hris_list_employee_time_off_requests_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employees_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employees_request.rb +53 -0
- data/lib/stack_one/models/operations/hris_list_employees_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_employments_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_employments_request.rb +47 -0
- data/lib/stack_one/models/operations/hris_list_employments_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_locations_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_locations_request.rb +47 -0
- data/lib/stack_one/models/operations/hris_list_locations_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_list_time_off_requests_queryparam_proxy.rb +20 -0
- data/lib/stack_one/models/operations/hris_list_time_off_requests_request.rb +47 -0
- data/lib/stack_one/models/operations/hris_list_time_off_requests_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_update_employee_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_update_employee_response.rb +33 -0
- data/lib/stack_one/models/operations/hris_update_time_off_request_request.rb +30 -0
- data/lib/stack_one/models/operations/hris_update_time_off_request_response.rb +33 -0
- data/lib/stack_one/models/operations/proxy.rb +20 -0
- data/lib/stack_one/models/operations/queryparam_proxy.rb +20 -0
- data/lib/{stackone/models/operations/stackone_authenticate_connect_session.rb → stack_one/models/operations/stackone_authenticate_connect_session_response.rb} +6 -8
- data/lib/{stackone/models/operations/stackone_create_connect_session.rb → stack_one/models/operations/stackone_create_connect_session_response.rb} +6 -8
- data/lib/stack_one/models/operations/stackone_delete_account_request.rb +24 -0
- data/lib/{stackone/models/operations/stackone_delete_account.rb → stack_one/models/operations/stackone_delete_account_response.rb} +6 -22
- data/lib/stack_one/models/operations/stackone_get_account_meta_info_request.rb +24 -0
- data/lib/{stackone/models/operations/stackone_get_account_meta_info.rb → stack_one/models/operations/stackone_get_account_meta_info_response.rb} +6 -22
- data/lib/stack_one/models/operations/stackone_get_account_request.rb +24 -0
- data/lib/{stackone/models/operations/stackone_get_account.rb → stack_one/models/operations/stackone_get_account_response.rb} +6 -22
- data/lib/stack_one/models/operations/stackone_get_connector_meta_request.rb +27 -0
- data/lib/stack_one/models/operations/stackone_get_connector_meta_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_list_connectors_meta_request.rb +24 -0
- data/lib/stack_one/models/operations/stackone_list_connectors_meta_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_request.rb +27 -0
- data/lib/stack_one/models/operations/stackone_list_linked_accounts_response.rb +33 -0
- data/lib/stack_one/models/operations/stackone_proxy_request_request.rb +27 -0
- data/lib/stack_one/models/operations/stackone_proxy_request_response.rb +30 -0
- data/lib/stack_one/models/operations/stackone_update_account_request.rb +27 -0
- data/lib/stack_one/models/operations/stackone_update_account_response.rb +33 -0
- data/lib/stack_one/models/operations.rb +79 -0
- data/lib/stack_one/models/shared/avatar.rb +27 -0
- data/lib/stack_one/models/shared/body.rb +20 -0
- data/lib/stack_one/models/shared/categories.rb +23 -0
- data/lib/stack_one/models/shared/category.rb +23 -0
- data/lib/stack_one/models/shared/companiespaginated.rb +33 -0
- data/lib/stack_one/models/shared/company.rb +36 -0
- data/lib/stack_one/models/shared/companyresult.rb +27 -0
- data/lib/stack_one/models/shared/connectorsmeta.rb +39 -0
- data/lib/stack_one/models/shared/connectsession.rb +54 -0
- data/lib/{stackone → stack_one}/models/shared/connectsessionauthenticate.rb +3 -4
- data/lib/stack_one/models/shared/connectsessioncreate.rb +51 -0
- data/lib/stack_one/models/shared/connectsessioncreate_categories.rb +23 -0
- data/lib/stack_one/models/shared/connectsessiontoken.rb +57 -0
- data/lib/stack_one/models/shared/connectsessiontoken_categories.rb +23 -0
- data/lib/{stackone → stack_one}/models/shared/content.rb +4 -6
- data/lib/{stackone → stack_one}/models/shared/costcenters.rb +4 -5
- data/lib/stack_one/models/shared/country.rb +27 -0
- data/lib/stack_one/models/shared/countrycodeenum.rb +27 -0
- data/lib/stack_one/models/shared/createemployeeresult.rb +30 -0
- data/lib/stack_one/models/shared/createtimeoffresult.rb +30 -0
- data/lib/stack_one/models/shared/credentials.rb +20 -0
- data/lib/stack_one/models/shared/document.rb +39 -0
- data/lib/stack_one/models/shared/documentapimodel.rb +42 -0
- data/lib/stack_one/models/shared/documentapimodel_value.rb +28 -0
- data/lib/stack_one/models/shared/documentresult.rb +27 -0
- data/lib/stack_one/models/shared/documentspaginated.rb +33 -0
- data/lib/stack_one/models/shared/employee.rb +135 -0
- data/lib/stack_one/models/shared/employee_country.rb +27 -0
- data/lib/stack_one/models/shared/employee_location_type.rb +27 -0
- data/lib/stack_one/models/shared/employee_schemas_country.rb +27 -0
- data/lib/stack_one/models/shared/employee_schemas_employment_type_value.rb +33 -0
- data/lib/stack_one/models/shared/employee_schemas_ethnicity_value.rb +27 -0
- data/lib/stack_one/models/shared/employee_schemas_gender_value.rb +24 -0
- data/lib/stack_one/models/shared/employee_schemas_home_location_location_type_value.rb +20 -0
- data/lib/stack_one/models/shared/employee_schemas_home_location_value.rb +266 -0
- data/lib/stack_one/models/shared/employee_schemas_location_type.rb +27 -0
- data/lib/stack_one/models/shared/employee_schemas_marital_status_value.rb +27 -0
- data/lib/stack_one/models/shared/employee_schemas_value.rb +24 -0
- data/lib/stack_one/models/shared/employee_schemas_work_location_location_type_value.rb +20 -0
- data/lib/stack_one/models/shared/employee_schemas_work_location_value.rb +266 -0
- data/lib/stack_one/models/shared/employee_value.rb +21 -0
- data/lib/stack_one/models/shared/employeecustomfields.rb +42 -0
- data/lib/stack_one/models/shared/employeecustomfields_schemas_value.rb +23 -0
- data/lib/stack_one/models/shared/employeecustomfields_type.rb +27 -0
- data/lib/stack_one/models/shared/employeecustomfields_value.rb +20 -0
- data/lib/stack_one/models/shared/employeeresult.rb +27 -0
- data/lib/stack_one/models/shared/employeespaginated.rb +33 -0
- data/lib/stack_one/models/shared/employment.rb +57 -0
- data/lib/stack_one/models/shared/employment_contract_type.rb +27 -0
- data/lib/stack_one/models/shared/employment_employment_contract_type.rb +27 -0
- data/lib/stack_one/models/shared/employment_employment_type.rb +27 -0
- data/lib/stack_one/models/shared/employment_schemas_pay_frequency_value.rb +33 -0
- data/lib/stack_one/models/shared/employment_schemas_pay_period_value.rb +26 -0
- data/lib/stack_one/models/shared/employment_schemas_value.rb +33 -0
- data/lib/stack_one/models/shared/employment_status.rb +27 -0
- data/lib/stack_one/models/shared/employment_type.rb +27 -0
- data/lib/stack_one/models/shared/employment_value.rb +21 -0
- data/lib/stack_one/models/shared/employmentresult.rb +27 -0
- data/lib/stack_one/models/shared/employmentspaginated.rb +33 -0
- data/lib/stack_one/models/shared/ethnicity.rb +27 -0
- data/lib/stack_one/models/shared/fileformatenum.rb +27 -0
- data/lib/stack_one/models/shared/fileformatenum_value.rb +34 -0
- data/lib/stack_one/models/shared/gender.rb +27 -0
- data/lib/stack_one/models/shared/headers.rb +20 -0
- data/lib/stack_one/models/shared/home_location.rb +60 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto.rb +117 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_avatar.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_country.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_contract_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_status.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_employment_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_ethnicity.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_gender.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_home_location.rb +45 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_marital_status.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_country.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_employment_type_value.rb +33 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_ethnicity_value.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_gender_value.rb +24 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_state_value.rb +3841 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_home_location_value.rb +266 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_marital_status_value.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_value.rb +24 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_state_value.rb +3841 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_schemas_work_location_value.rb +266 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_state.rb +27 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_value.rb +21 -0
- data/lib/stack_one/models/shared/hriscreateemployeerequestdto_work_location.rb +45 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto.rb +39 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_schemas_value.rb +20 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_type.rb +27 -0
- data/lib/stack_one/models/shared/hriscreatetimeoffrequestdto_value.rb +19 -0
- data/lib/stack_one/models/shared/hrislocation.rb +60 -0
- data/lib/stack_one/models/shared/hrislocation_schemas_value.rb +20 -0
- data/lib/{stackone/models/shared/hrislocation.rb → stack_one/models/shared/hrislocation_value.rb} +1 -96
- data/lib/stack_one/models/shared/hrislocationresult.rb +27 -0
- data/lib/stack_one/models/shared/hrislocationspaginated.rb +33 -0
- data/lib/stack_one/models/shared/images.rb +27 -0
- data/lib/stack_one/models/shared/job_description.rb +24 -0
- data/lib/stack_one/models/shared/linkedaccount.rb +54 -0
- data/lib/stack_one/models/shared/linkedaccountmeta.rb +30 -0
- data/lib/stack_one/models/shared/linkedaccountmeta_category.rb +23 -0
- data/lib/stack_one/models/shared/location_type.rb +27 -0
- data/lib/stack_one/models/shared/marital_status.rb +27 -0
- data/lib/stack_one/models/shared/metadata.rb +20 -0
- data/lib/stack_one/models/shared/method.rb +22 -0
- data/lib/{stackone → stack_one}/models/shared/patchaccountdto.rb +1 -2
- data/lib/stack_one/models/shared/pay_frequency.rb +27 -0
- data/lib/stack_one/models/shared/pay_period.rb +27 -0
- data/lib/stack_one/models/shared/proxyrequestbody.rb +36 -0
- data/lib/stack_one/models/shared/rawresponse.rb +33 -0
- data/lib/stack_one/models/shared/resources.rb +24 -0
- data/lib/stack_one/models/shared/response.rb +20 -0
- data/lib/stack_one/models/shared/security.rb +27 -0
- data/lib/stack_one/models/shared/setup_information.rb +20 -0
- data/lib/stack_one/models/shared/state.rb +27 -0
- data/lib/stack_one/models/shared/status.rb +27 -0
- data/lib/stack_one/models/shared/timeoff.rb +48 -0
- data/lib/stack_one/models/shared/timeoff_schemas_value.rb +20 -0
- data/lib/stack_one/models/shared/timeoff_status.rb +27 -0
- data/lib/stack_one/models/shared/timeoff_type.rb +27 -0
- data/lib/stack_one/models/shared/timeoff_value.rb +19 -0
- data/lib/stack_one/models/shared/timeoffpaginated.rb +33 -0
- data/lib/stack_one/models/shared/timeoffresult.rb +27 -0
- data/lib/stack_one/models/shared/type.rb +27 -0
- data/lib/{stackone/models/shared/countrycodeenum.rb → stack_one/models/shared/value.rb} +1 -19
- data/lib/stack_one/models/shared/work_location.rb +60 -0
- data/lib/stack_one/models/shared/workeligibility.rb +42 -0
- data/lib/stack_one/models/shared/workeligibility_type.rb +27 -0
- data/lib/stack_one/models/shared/workeligibility_value.rb +22 -0
- data/lib/stack_one/models/shared.rb +139 -0
- data/lib/{stackone → stack_one}/proxy.rb +6 -4
- data/lib/{stackone → stack_one}/sdkconfiguration.rb +4 -4
- data/lib/{stackone/sdk.rb → stack_one/stackone.rb} +1 -1
- data/lib/stackone_client.rb +11 -79
- metadata +213 -80
- data/lib/stackone/models/operations/hris_create_employee.rb +0 -53
- data/lib/stackone/models/operations/hris_create_employee_time_off_request.rb +0 -56
- data/lib/stackone/models/operations/hris_create_time_off_request.rb +0 -53
- data/lib/stackone/models/operations/hris_get_company.rb +0 -88
- data/lib/stackone/models/operations/hris_get_employee.rb +0 -94
- data/lib/stackone/models/operations/hris_get_employee_document.rb +0 -91
- data/lib/stackone/models/operations/hris_get_employees_time_off_request.rb +0 -91
- data/lib/stackone/models/operations/hris_get_employment.rb +0 -88
- data/lib/stackone/models/operations/hris_get_location.rb +0 -88
- data/lib/stackone/models/operations/hris_get_time_off_request.rb +0 -88
- data/lib/stackone/models/operations/hris_list_companies.rb +0 -85
- data/lib/stackone/models/operations/hris_list_employee_documents.rb +0 -88
- data/lib/stackone/models/operations/hris_list_employee_time_off_requests.rb +0 -88
- data/lib/stackone/models/operations/hris_list_employees.rb +0 -91
- data/lib/stackone/models/operations/hris_list_employments.rb +0 -85
- data/lib/stackone/models/operations/hris_list_locations.rb +0 -85
- data/lib/stackone/models/operations/hris_list_time_off_requests.rb +0 -85
- data/lib/stackone/models/operations/hris_update_employee.rb +0 -56
- data/lib/stackone/models/operations/hris_update_time_off_request.rb +0 -56
- data/lib/stackone/models/operations/stackone_get_connector_meta.rb +0 -52
- data/lib/stackone/models/operations/stackone_list_connectors_meta.rb +0 -48
- data/lib/stackone/models/operations/stackone_list_linked_accounts.rb +0 -51
- data/lib/stackone/models/operations/stackone_proxy_request.rb +0 -49
- data/lib/stackone/models/operations/stackone_update_account.rb +0 -53
- data/lib/stackone/models/shared/companiespaginated.rb +0 -34
- data/lib/stackone/models/shared/company.rb +0 -37
- data/lib/stackone/models/shared/companyresult.rb +0 -29
- data/lib/stackone/models/shared/connectorsmeta.rb +0 -84
- data/lib/stackone/models/shared/connectsession.rb +0 -68
- data/lib/stackone/models/shared/connectsessioncreate.rb +0 -75
- data/lib/stackone/models/shared/connectsessiontoken.rb +0 -71
- data/lib/stackone/models/shared/createemployeeresult.rb +0 -31
- data/lib/stackone/models/shared/createtimeoffresult.rb +0 -31
- data/lib/stackone/models/shared/documentapimodel.rb +0 -44
- data/lib/stackone/models/shared/documentresult.rb +0 -29
- data/lib/stackone/models/shared/documentspaginated.rb +0 -34
- data/lib/stackone/models/shared/documenttypeenum.rb +0 -40
- data/lib/stackone/models/shared/employee.rb +0 -1065
- data/lib/stackone/models/shared/employeecustomfields.rb +0 -83
- data/lib/stackone/models/shared/employeeresult.rb +0 -29
- data/lib/stackone/models/shared/employeespaginated.rb +0 -34
- data/lib/stackone/models/shared/employment.rb +0 -199
- data/lib/stackone/models/shared/employmentresult.rb +0 -29
- data/lib/stackone/models/shared/employmentspaginated.rb +0 -34
- data/lib/stackone/models/shared/fileformatenum.rb +0 -52
- data/lib/stackone/models/shared/hriscreateemployeerequestdto.rb +0 -8645
- data/lib/stackone/models/shared/hriscreatetimeoffrequestdto.rb +0 -93
- data/lib/stackone/models/shared/hrislocationresult.rb +0 -29
- data/lib/stackone/models/shared/hrislocationspaginated.rb +0 -34
- data/lib/stackone/models/shared/linkedaccount.rb +0 -75
- data/lib/stackone/models/shared/linkedaccountmeta.rb +0 -44
- data/lib/stackone/models/shared/proxyrequestbody.rb +0 -69
- data/lib/stackone/models/shared/rawresponse.rb +0 -44
- data/lib/stackone/models/shared/security.rb +0 -28
- data/lib/stackone/models/shared/timeoff.rb +0 -102
- data/lib/stackone/models/shared/timeoffpaginated.rb +0 -34
- data/lib/stackone/models/shared/timeoffresult.rb +0 -29
- data/lib/stackone/models/shared/workeligibility.rb +0 -101
- /data/lib/{stackone → stack_one}/utils/metadata_fields.rb +0 -0
- /data/lib/{stackone → stack_one}/utils/utils.rb +0 -0
@@ -1,88 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/companyresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class Proxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetCompanyRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
# The account identifier
|
29
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
30
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
31
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
32
|
-
# The unified cursor
|
33
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
34
|
-
# The page number of the results to fetch
|
35
|
-
#
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
38
|
-
# The number of results per page
|
39
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
40
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
41
|
-
field :proxy, T.nilable(Operations::Proxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
42
|
-
# Indicates that the raw request result is returned
|
43
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
44
|
-
# The sync token to select the only updated results
|
45
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
46
|
-
# Use a string with a date to only select results updated after that given date
|
47
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
48
|
-
|
49
|
-
|
50
|
-
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(Operations::Proxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
51
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
52
|
-
@id = id
|
53
|
-
@x_account_id = x_account_id
|
54
|
-
@fields = fields
|
55
|
-
@next_ = next_
|
56
|
-
@page = page
|
57
|
-
@page_size = page_size
|
58
|
-
@proxy = proxy
|
59
|
-
@raw = raw
|
60
|
-
@sync_token = sync_token
|
61
|
-
@updated_after = updated_after
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
class HrisGetCompanyResponse < ::StackOne::Utils::FieldAugmented
|
67
|
-
extend T::Sig
|
68
|
-
|
69
|
-
# HTTP response content type for this operation
|
70
|
-
field :content_type, String
|
71
|
-
# Raw HTTP response; suitable for custom response parsing
|
72
|
-
field :raw_response, Faraday::Response
|
73
|
-
# HTTP response status code for this operation
|
74
|
-
field :status_code, Integer
|
75
|
-
# The Company with the given identifier was retrieved.
|
76
|
-
field :company_result, T.nilable(Shared::CompanyResult)
|
77
|
-
|
78
|
-
|
79
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, company_result: T.nilable(Shared::CompanyResult)).void }
|
80
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, company_result: nil)
|
81
|
-
@content_type = content_type
|
82
|
-
@raw_response = raw_response
|
83
|
-
@status_code = status_code
|
84
|
-
@company_result = company_result
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
@@ -1,94 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/employeeresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class QueryParamProxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetEmployeeRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
# The account identifier
|
29
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
30
|
-
# The comma separated list of fields that will be expanded in the response
|
31
|
-
field :expand, T.nilable(String), { 'query_param': { 'field_name': 'expand', 'style': 'form', 'explode': true } }
|
32
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
33
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
34
|
-
# The comma separated list of fields that will be included in the response
|
35
|
-
field :include, T.nilable(String), { 'query_param': { 'field_name': 'include', 'style': 'form', 'explode': true } }
|
36
|
-
# The unified cursor
|
37
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
38
|
-
# The page number of the results to fetch
|
39
|
-
#
|
40
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
41
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
42
|
-
# The number of results per page
|
43
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
44
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
45
|
-
field :proxy, T.nilable(Operations::QueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
46
|
-
# Indicates that the raw request result is returned
|
47
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
48
|
-
# The sync token to select the only updated results
|
49
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
50
|
-
# Use a string with a date to only select results updated after that given date
|
51
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
52
|
-
|
53
|
-
|
54
|
-
sig { params(id: String, 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(Operations::QueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
55
|
-
def initialize(id: nil, x_account_id: nil, expand: nil, fields: nil, include: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
56
|
-
@id = id
|
57
|
-
@x_account_id = x_account_id
|
58
|
-
@expand = expand
|
59
|
-
@fields = fields
|
60
|
-
@include = include
|
61
|
-
@next_ = next_
|
62
|
-
@page = page
|
63
|
-
@page_size = page_size
|
64
|
-
@proxy = proxy
|
65
|
-
@raw = raw
|
66
|
-
@sync_token = sync_token
|
67
|
-
@updated_after = updated_after
|
68
|
-
end
|
69
|
-
end
|
70
|
-
|
71
|
-
|
72
|
-
class HrisGetEmployeeResponse < ::StackOne::Utils::FieldAugmented
|
73
|
-
extend T::Sig
|
74
|
-
|
75
|
-
# HTTP response content type for this operation
|
76
|
-
field :content_type, String
|
77
|
-
# Raw HTTP response; suitable for custom response parsing
|
78
|
-
field :raw_response, Faraday::Response
|
79
|
-
# HTTP response status code for this operation
|
80
|
-
field :status_code, Integer
|
81
|
-
# The employee with the given identifier was retrieved.
|
82
|
-
field :employee_result, T.nilable(Shared::EmployeeResult)
|
83
|
-
|
84
|
-
|
85
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, employee_result: T.nilable(Shared::EmployeeResult)).void }
|
86
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, employee_result: nil)
|
87
|
-
@content_type = content_type
|
88
|
-
@raw_response = raw_response
|
89
|
-
@status_code = status_code
|
90
|
-
@employee_result = employee_result
|
91
|
-
end
|
92
|
-
end
|
93
|
-
end
|
94
|
-
end
|
@@ -1,91 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/documentresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class HrisGetEmployeeDocumentQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetEmployeeDocumentRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
|
29
|
-
field :sub_resource_id, String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
30
|
-
# The account identifier
|
31
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
32
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
33
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
34
|
-
# The unified cursor
|
35
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
36
|
-
# The page number of the results to fetch
|
37
|
-
#
|
38
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
40
|
-
# The number of results per page
|
41
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
42
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
43
|
-
field :proxy, T.nilable(Operations::HrisGetEmployeeDocumentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
44
|
-
# Indicates that the raw request result is returned
|
45
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
46
|
-
# The sync token to select the only updated results
|
47
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
48
|
-
# Use a string with a date to only select results updated after that given date
|
49
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
50
|
-
|
51
|
-
|
52
|
-
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(Operations::HrisGetEmployeeDocumentQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
53
|
-
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, sync_token: nil, updated_after: nil)
|
54
|
-
@id = id
|
55
|
-
@sub_resource_id = sub_resource_id
|
56
|
-
@x_account_id = x_account_id
|
57
|
-
@fields = fields
|
58
|
-
@next_ = next_
|
59
|
-
@page = page
|
60
|
-
@page_size = page_size
|
61
|
-
@proxy = proxy
|
62
|
-
@raw = raw
|
63
|
-
@sync_token = sync_token
|
64
|
-
@updated_after = updated_after
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
|
69
|
-
class HrisGetEmployeeDocumentResponse < ::StackOne::Utils::FieldAugmented
|
70
|
-
extend T::Sig
|
71
|
-
|
72
|
-
# HTTP response content type for this operation
|
73
|
-
field :content_type, String
|
74
|
-
# Raw HTTP response; suitable for custom response parsing
|
75
|
-
field :raw_response, Faraday::Response
|
76
|
-
# HTTP response status code for this operation
|
77
|
-
field :status_code, Integer
|
78
|
-
# The document related to the employee with the given identifiers was retrieved.
|
79
|
-
field :document_result, T.nilable(Shared::DocumentResult)
|
80
|
-
|
81
|
-
|
82
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, document_result: T.nilable(Shared::DocumentResult)).void }
|
83
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, document_result: nil)
|
84
|
-
@content_type = content_type
|
85
|
-
@raw_response = raw_response
|
86
|
-
@status_code = status_code
|
87
|
-
@document_result = document_result
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
@@ -1,91 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/timeoffresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class HrisGetEmployeesTimeOffRequestQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetEmployeesTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
|
29
|
-
field :sub_resource_id, String, { 'path_param': { 'field_name': 'subResourceId', 'style': 'simple', 'explode': false } }
|
30
|
-
# The account identifier
|
31
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
32
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
33
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
34
|
-
# The unified cursor
|
35
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
36
|
-
# The page number of the results to fetch
|
37
|
-
#
|
38
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
39
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
40
|
-
# The number of results per page
|
41
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
42
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
43
|
-
field :proxy, T.nilable(Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
44
|
-
# Indicates that the raw request result is returned
|
45
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
46
|
-
# The sync token to select the only updated results
|
47
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
48
|
-
# Use a string with a date to only select results updated after that given date
|
49
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
50
|
-
|
51
|
-
|
52
|
-
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(Operations::HrisGetEmployeesTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
53
|
-
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, sync_token: nil, updated_after: nil)
|
54
|
-
@id = id
|
55
|
-
@sub_resource_id = sub_resource_id
|
56
|
-
@x_account_id = x_account_id
|
57
|
-
@fields = fields
|
58
|
-
@next_ = next_
|
59
|
-
@page = page
|
60
|
-
@page_size = page_size
|
61
|
-
@proxy = proxy
|
62
|
-
@raw = raw
|
63
|
-
@sync_token = sync_token
|
64
|
-
@updated_after = updated_after
|
65
|
-
end
|
66
|
-
end
|
67
|
-
|
68
|
-
|
69
|
-
class HrisGetEmployeesTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
|
70
|
-
extend T::Sig
|
71
|
-
|
72
|
-
# HTTP response content type for this operation
|
73
|
-
field :content_type, String
|
74
|
-
# Raw HTTP response; suitable for custom response parsing
|
75
|
-
field :raw_response, Faraday::Response
|
76
|
-
# HTTP response status code for this operation
|
77
|
-
field :status_code, Integer
|
78
|
-
# The time off request related to the employee with the given identifiers was retrieved.
|
79
|
-
field :time_off_result, T.nilable(Shared::TimeOffResult)
|
80
|
-
|
81
|
-
|
82
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, time_off_result: T.nilable(Shared::TimeOffResult)).void }
|
83
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, time_off_result: nil)
|
84
|
-
@content_type = content_type
|
85
|
-
@raw_response = raw_response
|
86
|
-
@status_code = status_code
|
87
|
-
@time_off_result = time_off_result
|
88
|
-
end
|
89
|
-
end
|
90
|
-
end
|
91
|
-
end
|
@@ -1,88 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/employmentresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class HrisGetEmploymentQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetEmploymentRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
# The account identifier
|
29
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
30
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
31
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
32
|
-
# The unified cursor
|
33
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
34
|
-
# The page number of the results to fetch
|
35
|
-
#
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
38
|
-
# The number of results per page
|
39
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
40
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
41
|
-
field :proxy, T.nilable(Operations::HrisGetEmploymentQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
42
|
-
# Indicates that the raw request result is returned
|
43
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
44
|
-
# The sync token to select the only updated results
|
45
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
46
|
-
# Use a string with a date to only select results updated after that given date
|
47
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
48
|
-
|
49
|
-
|
50
|
-
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(Operations::HrisGetEmploymentQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
51
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
52
|
-
@id = id
|
53
|
-
@x_account_id = x_account_id
|
54
|
-
@fields = fields
|
55
|
-
@next_ = next_
|
56
|
-
@page = page
|
57
|
-
@page_size = page_size
|
58
|
-
@proxy = proxy
|
59
|
-
@raw = raw
|
60
|
-
@sync_token = sync_token
|
61
|
-
@updated_after = updated_after
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
class HrisGetEmploymentResponse < ::StackOne::Utils::FieldAugmented
|
67
|
-
extend T::Sig
|
68
|
-
|
69
|
-
# HTTP response content type for this operation
|
70
|
-
field :content_type, String
|
71
|
-
# Raw HTTP response; suitable for custom response parsing
|
72
|
-
field :raw_response, Faraday::Response
|
73
|
-
# HTTP response status code for this operation
|
74
|
-
field :status_code, Integer
|
75
|
-
# The Employment with the given identifier was retrieved.
|
76
|
-
field :employment_result, T.nilable(Shared::EmploymentResult)
|
77
|
-
|
78
|
-
|
79
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, employment_result: T.nilable(Shared::EmploymentResult)).void }
|
80
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, employment_result: nil)
|
81
|
-
@content_type = content_type
|
82
|
-
@raw_response = raw_response
|
83
|
-
@status_code = status_code
|
84
|
-
@employment_result = employment_result
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
@@ -1,88 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/hrislocationresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class HrisGetLocationQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetLocationRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
# The account identifier
|
29
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
30
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
31
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
32
|
-
# The unified cursor
|
33
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
34
|
-
# The page number of the results to fetch
|
35
|
-
#
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
38
|
-
# The number of results per page
|
39
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
40
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
41
|
-
field :proxy, T.nilable(Operations::HrisGetLocationQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
42
|
-
# Indicates that the raw request result is returned
|
43
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
44
|
-
# The sync token to select the only updated results
|
45
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
46
|
-
# Use a string with a date to only select results updated after that given date
|
47
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
48
|
-
|
49
|
-
|
50
|
-
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(Operations::HrisGetLocationQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
51
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
52
|
-
@id = id
|
53
|
-
@x_account_id = x_account_id
|
54
|
-
@fields = fields
|
55
|
-
@next_ = next_
|
56
|
-
@page = page
|
57
|
-
@page_size = page_size
|
58
|
-
@proxy = proxy
|
59
|
-
@raw = raw
|
60
|
-
@sync_token = sync_token
|
61
|
-
@updated_after = updated_after
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
class HrisGetLocationResponse < ::StackOne::Utils::FieldAugmented
|
67
|
-
extend T::Sig
|
68
|
-
|
69
|
-
# HTTP response content type for this operation
|
70
|
-
field :content_type, String
|
71
|
-
# Raw HTTP response; suitable for custom response parsing
|
72
|
-
field :raw_response, Faraday::Response
|
73
|
-
# HTTP response status code for this operation
|
74
|
-
field :status_code, Integer
|
75
|
-
# The Location with the given identifier was retrieved.
|
76
|
-
field :hris_location_result, T.nilable(Shared::HRISLocationResult)
|
77
|
-
|
78
|
-
|
79
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, hris_location_result: T.nilable(Shared::HRISLocationResult)).void }
|
80
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, hris_location_result: nil)
|
81
|
-
@content_type = content_type
|
82
|
-
@raw_response = raw_response
|
83
|
-
@status_code = status_code
|
84
|
-
@hris_location_result = hris_location_result
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|
@@ -1,88 +0,0 @@
|
|
1
|
-
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.
|
2
|
-
|
3
|
-
# typed: true
|
4
|
-
# frozen_string_literal: true
|
5
|
-
|
6
|
-
require 'sorbet-runtime'
|
7
|
-
require 'faraday'
|
8
|
-
require_relative '../shared/timeoffresult'
|
9
|
-
|
10
|
-
module StackOne
|
11
|
-
module Operations
|
12
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
13
|
-
class HrisGetTimeOffRequestQueryParamProxy < ::StackOne::Utils::FieldAugmented
|
14
|
-
extend T::Sig
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
def initialize; end
|
20
|
-
end
|
21
|
-
|
22
|
-
|
23
|
-
class HrisGetTimeOffRequestRequest < ::StackOne::Utils::FieldAugmented
|
24
|
-
extend T::Sig
|
25
|
-
|
26
|
-
|
27
|
-
field :id, String, { 'path_param': { 'field_name': 'id', 'style': 'simple', 'explode': false } }
|
28
|
-
# The account identifier
|
29
|
-
field :x_account_id, String, { 'header': { 'field_name': 'x-account-id', 'style': 'simple', 'explode': false } }
|
30
|
-
# The comma separated list of fields to return in the response (if empty, all fields are returned)
|
31
|
-
field :fields, T.nilable(String), { 'query_param': { 'field_name': 'fields', 'style': 'form', 'explode': true } }
|
32
|
-
# The unified cursor
|
33
|
-
field :next_, T.nilable(String), { 'query_param': { 'field_name': 'next', 'style': 'form', 'explode': true } }
|
34
|
-
# The page number of the results to fetch
|
35
|
-
#
|
36
|
-
# @deprecated true: This will be removed in a future release, please migrate away from it as soon as possible.
|
37
|
-
field :page, T.nilable(String), { 'query_param': { 'field_name': 'page', 'style': 'form', 'explode': true } }
|
38
|
-
# The number of results per page
|
39
|
-
field :page_size, T.nilable(String), { 'query_param': { 'field_name': 'page_size', 'style': 'form', 'explode': true } }
|
40
|
-
# Query parameters that can be used to pass through parameters to the underlying provider request by surrounding them with "proxy" key
|
41
|
-
field :proxy, T.nilable(Operations::HrisGetTimeOffRequestQueryParamProxy), { 'query_param': { 'field_name': 'proxy', 'style': 'form', 'explode': true } }
|
42
|
-
# Indicates that the raw request result is returned
|
43
|
-
field :raw, T.nilable(T::Boolean), { 'query_param': { 'field_name': 'raw', 'style': 'form', 'explode': true } }
|
44
|
-
# The sync token to select the only updated results
|
45
|
-
field :sync_token, T.nilable(String), { 'query_param': { 'field_name': 'sync_token', 'style': 'form', 'explode': true } }
|
46
|
-
# Use a string with a date to only select results updated after that given date
|
47
|
-
field :updated_after, T.nilable(String), { 'query_param': { 'field_name': 'updated_after', 'style': 'form', 'explode': true } }
|
48
|
-
|
49
|
-
|
50
|
-
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(Operations::HrisGetTimeOffRequestQueryParamProxy), raw: T.nilable(T::Boolean), sync_token: T.nilable(String), updated_after: T.nilable(String)).void }
|
51
|
-
def initialize(id: nil, x_account_id: nil, fields: nil, next_: nil, page: nil, page_size: nil, proxy: nil, raw: nil, sync_token: nil, updated_after: nil)
|
52
|
-
@id = id
|
53
|
-
@x_account_id = x_account_id
|
54
|
-
@fields = fields
|
55
|
-
@next_ = next_
|
56
|
-
@page = page
|
57
|
-
@page_size = page_size
|
58
|
-
@proxy = proxy
|
59
|
-
@raw = raw
|
60
|
-
@sync_token = sync_token
|
61
|
-
@updated_after = updated_after
|
62
|
-
end
|
63
|
-
end
|
64
|
-
|
65
|
-
|
66
|
-
class HrisGetTimeOffRequestResponse < ::StackOne::Utils::FieldAugmented
|
67
|
-
extend T::Sig
|
68
|
-
|
69
|
-
# HTTP response content type for this operation
|
70
|
-
field :content_type, String
|
71
|
-
# Raw HTTP response; suitable for custom response parsing
|
72
|
-
field :raw_response, Faraday::Response
|
73
|
-
# HTTP response status code for this operation
|
74
|
-
field :status_code, Integer
|
75
|
-
# The time off request with the given identifier was retrieved.
|
76
|
-
field :time_off_result, T.nilable(Shared::TimeOffResult)
|
77
|
-
|
78
|
-
|
79
|
-
sig { params(content_type: String, raw_response: Faraday::Response, status_code: Integer, time_off_result: T.nilable(Shared::TimeOffResult)).void }
|
80
|
-
def initialize(content_type: nil, raw_response: nil, status_code: nil, time_off_result: nil)
|
81
|
-
@content_type = content_type
|
82
|
-
@raw_response = raw_response
|
83
|
-
@status_code = status_code
|
84
|
-
@time_off_result = time_off_result
|
85
|
-
end
|
86
|
-
end
|
87
|
-
end
|
88
|
-
end
|